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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="profiles-others"/>
  <meta>
    <lastUpdated value="2023-03-26T15:21:02.749+11:00"/>
  </meta>
  <type value="collection"/>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration"/>
    <resource>
      <StructureDefinition>
        <id value="cdshooksrequestorchestration"/>
        <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="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1377"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="CDSHooksRequestOrchestration"/>
        <title value="C D S  Hooks  Request Orchestration"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines a RequestOrchestration that can represent a CDS Hooks response"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="RequestOrchestration"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="RequestOrchestration">
            <path value="RequestOrchestration"/>
            <short value="A set of related requests"/>
            <definition value="A set of related requests that can be used to capture intended activities that have inter-dependencies such as &quot;give this medication after that one&quot;."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration"/>
              <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Request"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.general"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.id">
            <path value="RequestOrchestration.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="RequestOrchestration.meta">
            <path value="RequestOrchestration.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="RequestOrchestration.implicitRules">
            <path value="RequestOrchestration.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="RequestOrchestration.language">
            <path value="RequestOrchestration.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="RequestOrchestration.text">
            <path value="RequestOrchestration.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="RequestOrchestration.contained">
            <path value="RequestOrchestration.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."/>
            <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="RequestOrchestration.extension">
            <path value="RequestOrchestration.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.modifierExtension">
            <path value="RequestOrchestration.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>
            <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="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="RequestOrchestration.identifier">
            <path value="RequestOrchestration.identifier"/>
            <short value="Business identifier"/>
            <definition value="Allows a service to provide a unique, business identifier for the request."/>
            <requirements value="Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.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="Request.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.instantiatesCanonical">
            <path value="RequestOrchestration.instantiatesCanonical"/>
            <short value="Instantiates FHIR protocol or definition"/>
            <definition value="A canonical URL referencing a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.instantiatesCanonical"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Request.instantiatesCanonical"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.instantiatesUri">
            <path value="RequestOrchestration.instantiatesUri"/>
            <short value="Instantiates external protocol or definition"/>
            <definition value="A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.instantiatesUri"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.instantiatesUri"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.basedOn">
            <path value="RequestOrchestration.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 request."/>
            <requirements value="Allows tracing of authorization for the request and tracking whether proposals/recommendations were acted upon."/>
            <alias value="fulfills"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.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="Request.basedOn"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.replaces">
            <path value="RequestOrchestration.replaces"/>
            <short value="Request(s) replaced by this request"/>
            <definition value="Completed or terminated request(s) whose function is taken by this new request."/>
            <comment value="The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing."/>
            <requirements value="Allows tracing the continuation of a therapy or administrative process instantiated through multiple requests."/>
            <alias value="supersedes"/>
            <alias value="prior"/>
            <alias value="renewed order"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.replaces"/>
              <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="Request.replaces"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.groupIdentifier">
            <path value="RequestOrchestration.groupIdentifier"/>
            <short value="Composite request this is part of"/>
            <definition value="A shared identifier common to multiple independent Request instances that were activated/authorized more or less simultaneously by a single author.  The presence of the same identifier on each request ties those requests together and may have business ramifications in terms of reporting of results, billing, etc.  E.g. a requisition number shared by a set of lab tests ordered together, or a prescription number shared by all meds ordered at one time."/>
            <comment value="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition.  Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
            <requirements value="Some business processes need to know if multiple items were ordered as part of the same &quot;prescription&quot; or &quot;requisition&quot; for billing or other purposes."/>
            <alias value="grouperid"/>
            <alias value="requisition"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.groupIdentifier"/>
              <min value="0"/>
              <max value="1"/>
            </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="Request.groupIdentifier"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.status">
            <path value="RequestOrchestration.status"/>
            <short value="draft | active | on-hold | revoked | completed | entered-in-error | unknown"/>
            <definition value="The current state of the request. For request orchestrations, the status reflects the status of all the requests in the orchestration."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.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 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="RequestStatus"/>
              </extension>
              <strength value="required"/>
              <description value="Codes identifying the lifecycle stage of a request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.intent">
            <path value="RequestOrchestration.intent"/>
            <short value="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option"/>
            <definition value="Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain."/>
            <requirements value="Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain."/>
            <alias value="category"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.intent"/>
              <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 changes the interpretation of all descriptive attributes. For example &quot;the time the request is recommended to occur&quot; vs. &quot;the time the request is authorized to occur&quot; or &quot;who is recommended to perform the request&quot; vs. &quot;who is authorized to perform the request"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RequestIntent"/>
              </extension>
              <strength value="required"/>
              <description value="Codes indicating the degree of authority/intentionality associated with a request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-intent|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.intent"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.priority">
            <path value="RequestOrchestration.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the request should be addressed with respect to other requests."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.priority"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If missing, this request should be performed with normal priority"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.priority"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.grade"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.code">
            <path value="RequestOrchestration.code"/>
            <short value="What's being requested/ordered"/>
            <definition value="A code that identifies what the overall request orchestration is."/>
            <comment value="This element can be used to provide a code that captures the meaning of the request orchestration as a whole, as opposed to the code of the action element, which captures the meaning of the individual actions within the request orchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RequestCode"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.subject">
            <path value="RequestOrchestration.subject"/>
            <short value="Who the request orchestration is about"/>
            <definition value="The subject for which the request orchestration was created."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.subject"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Request.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.encounter">
            <path value="RequestOrchestration.encounter"/>
            <short value="Created as part of"/>
            <definition value="Describes the context of the request orchestration, if any."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.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="Request.encounter"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.context"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.authoredOn">
            <path value="RequestOrchestration.authoredOn"/>
            <short value="When the request orchestration was authored"/>
            <definition value="Indicates when the request orchestration was created."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.authoredOn"/>
              <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="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.authoredOn"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.author">
            <path value="RequestOrchestration.author"/>
            <short value="Device or practitioner that authored the request orchestration"/>
            <definition value="Provides a reference to the author of the request orchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.author"/>
              <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/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Request.requester"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.author"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.reason">
            <path value="RequestOrchestration.reason"/>
            <short value="Why the request orchestration is needed"/>
            <definition value="Describes the reason for the request orchestration in coded or textual form."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.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/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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionReasonCode"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-reason-code"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.reason"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.goal">
            <path value="RequestOrchestration.goal"/>
            <short value="What goals"/>
            <definition value="Goals that are intended to be achieved by following the requests in this RequestOrchestration."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Goal"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.note">
            <path value="RequestOrchestration.note"/>
            <short value="Additional notes about the response"/>
            <definition value="Provides a mechanism to communicate additional information about the response."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.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="Request.note"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action">
            <path value="RequestOrchestration.action"/>
            <short value="Proposed actions, if any"/>
            <definition value="The actions, if any, produced by the evaluation of the artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="rqg-1"/>
              <severity value="error"/>
              <human value="Must have resource or action but not both"/>
              <expression value="resource.exists() != action.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="RequestOrchestration.action.id">
            <path value="RequestOrchestration.action.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="RequestOrchestration.action.extension">
            <path value="RequestOrchestration.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.modifierExtension">
            <path value="RequestOrchestration.action.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>
            <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>
            <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="RequestOrchestration.action.linkId">
            <path value="RequestOrchestration.action.linkId"/>
            <short value="Pointer to specific item from the PlanDefinition"/>
            <definition value="The linkId of the action from the PlanDefinition that corresponds to this action in the RequestOrchestration resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.linkId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.prefix">
            <path value="RequestOrchestration.action.prefix"/>
            <short value="User-visible prefix for the action (e.g. 1. or A.)"/>
            <definition value="A user-visible prefix for the action. For example a section or item numbering such as 1. or A."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.prefix"/>
              <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"/>
          </element>
          <element id="RequestOrchestration.action.title">
            <path value="RequestOrchestration.action.title"/>
            <short value="User-visible title"/>
            <definition value="The title of the action displayed to a user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="RequestOrchestration.action.description">
            <path value="RequestOrchestration.action.description"/>
            <short value="Short description of the action"/>
            <definition value="A short description of the action used to provide a summary to display to the user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.description"/>
              <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="true"/>
          </element>
          <element id="RequestOrchestration.action.textEquivalent">
            <path value="RequestOrchestration.action.textEquivalent"/>
            <short value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
            <definition value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.textEquivalent"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="RequestOrchestration.action.priority">
            <path value="RequestOrchestration.action.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the action should be addressed with respect to other actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.priority"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.priority"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.code">
            <path value="RequestOrchestration.action.code"/>
            <short value="Code representing the meaning of the action or sub-actions"/>
            <definition value="A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.code"/>
              <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="ActionCode"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Request.code"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.documentation">
            <path value="RequestOrchestration.action.documentation"/>
            <short value="Supporting documentation for the intended performer of the action"/>
            <definition value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Request.supportingInfo"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.goal">
            <path value="RequestOrchestration.action.goal"/>
            <short value="What goals"/>
            <definition value="Goals that are intended to be achieved by following the requests in this action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Goal"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.condition">
            <path value="RequestOrchestration.action.condition"/>
            <short value="Whether or not the action is applicable"/>
            <definition value="An expression that describes applicability criteria, or start/stop conditions for the action."/>
            <comment value="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all of the conditions are true."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.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"/>
              <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"/>
          </element>
          <element id="RequestOrchestration.action.condition.id">
            <path value="RequestOrchestration.action.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="RequestOrchestration.action.condition.extension">
            <path value="RequestOrchestration.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.condition.modifierExtension">
            <path value="RequestOrchestration.action.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>
            <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>
            <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="RequestOrchestration.action.condition.kind">
            <path value="RequestOrchestration.action.condition.kind"/>
            <short value="applicability | start | stop"/>
            <definition value="The kind of condition."/>
            <comment value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.condition.kind"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionConditionKind"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of condition for the action."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-condition-kind|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.condition.expression">
            <path value="RequestOrchestration.action.condition.expression"/>
            <short value="Boolean-valued expression"/>
            <definition value="An expression that returns true or false, indicating whether or not the condition is satisfied."/>
            <comment value="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.condition.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="RequestOrchestration.action.input">
            <path value="RequestOrchestration.action.input"/>
            <short value="Input data requirements"/>
            <definition value="Defines input data requirements for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.input"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-0"/>
              <severity value="error"/>
              <human value="Input data elements must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.input.id">
            <path value="RequestOrchestration.action.input.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="RequestOrchestration.action.input.extension">
            <path value="RequestOrchestration.action.input.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.input.modifierExtension">
            <path value="RequestOrchestration.action.input.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>
            <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>
            <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="RequestOrchestration.action.input.title">
            <path value="RequestOrchestration.action.input.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.input.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.input.requirement">
            <path value="RequestOrchestration.action.input.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that is to be provided as input to the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.input.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.input.relatedData">
            <path value="RequestOrchestration.action.input.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that provides data to this input."/>
            <comment value="The relatedData element allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.input.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.output">
            <path value="RequestOrchestration.action.output"/>
            <short value="Output data definition"/>
            <definition value="Defines the outputs of the action, if any."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.output"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-1"/>
              <severity value="error"/>
              <human value="Output data element must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.output.id">
            <path value="RequestOrchestration.action.output.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="RequestOrchestration.action.output.extension">
            <path value="RequestOrchestration.action.output.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.output.modifierExtension">
            <path value="RequestOrchestration.action.output.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>
            <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>
            <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="RequestOrchestration.action.output.title">
            <path value="RequestOrchestration.action.output.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.output.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.output.requirement">
            <path value="RequestOrchestration.action.output.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that results as output from the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.output.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.output.relatedData">
            <path value="RequestOrchestration.action.output.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that is results as output from the action."/>
            <comment value="The relatedData element allows indicating that the output of child action is also the output of a parent action. It also allows the input of one action to be identified as the output of a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.output.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.relatedAction">
            <path value="RequestOrchestration.action.relatedAction"/>
            <short value="Relationship to another action"/>
            <definition value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.relatedAction"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="RequestOrchestration.action.relatedAction.id">
            <path value="RequestOrchestration.action.relatedAction.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="RequestOrchestration.action.relatedAction.extension">
            <path value="RequestOrchestration.action.relatedAction.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.relatedAction.modifierExtension">
            <path value="RequestOrchestration.action.relatedAction.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>
            <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>
            <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="RequestOrchestration.action.relatedAction.targetId">
            <path value="RequestOrchestration.action.relatedAction.targetId"/>
            <short value="What action this is related to"/>
            <definition value="The element id of the target related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.relatedAction.targetId"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="RequestOrchestration.action.relatedAction.relationship">
            <path value="RequestOrchestration.action.relatedAction.relationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of this action to the related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.relatedAction.relationship"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.relatedAction.endRelationship">
            <path value="RequestOrchestration.action.relatedAction.endRelationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the end of this action to the related action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.relatedAction.endRelationship"/>
              <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="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.relatedAction.offset[x]">
            <path value="RequestOrchestration.action.relatedAction.offset[x]"/>
            <short value="Time offset for the relationship"/>
            <definition value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.relatedAction.offset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <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"/>
          </element>
          <element id="RequestOrchestration.action.timing[x]">
            <path value="RequestOrchestration.action.timing[x]"/>
            <short value="When the action should take place"/>
            <definition value="An optional value describing when the action should be performed."/>
            <comment value="The intent of the timing element is to provide timing for when the action should be performed. The timing may be absolute (specified as a dateTime or Period) or relative (specified as an Age, Duration, or Range), or it may be a more complex, potentially repeating timing specified using Timing."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Request.occurrence[x]"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.location">
            <path value="RequestOrchestration.action.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant">
            <path value="RequestOrchestration.action.participant"/>
            <short value="Who should perform the action"/>
            <definition value="The participant that should perform or be responsible for this action."/>
            <comment value="Because request orchestrations represent potential options for performing activities, some specific participants may still be unknown, so this element allows for both definitional participants (in the same way they are specified in ActivityDefinition and PlanDefinition resources) as well as identifying specific participants when they are known."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.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"/>
              <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="Request.performer"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.id">
            <path value="RequestOrchestration.action.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="RequestOrchestration.action.participant.extension">
            <path value="RequestOrchestration.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.modifierExtension">
            <path value="RequestOrchestration.action.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>
            <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>
            <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="RequestOrchestration.action.participant.type">
            <path value="RequestOrchestration.action.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.typeCanonical">
            <path value="RequestOrchestration.action.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.typeReference">
            <path value="RequestOrchestration.action.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.role">
            <path value="RequestOrchestration.action.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent, etc"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.role"/>
              <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="ActivityParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.function">
            <path value="RequestOrchestration.action.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.participant.actor[x]">
            <path value="RequestOrchestration.action.participant.actor[x]"/>
            <short value="Who/what is participating?"/>
            <definition value="A reference to the actual participant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.participant.actor[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.code"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.type">
            <path value="RequestOrchestration.action.type"/>
            <short value="create | update | remove | fire-event"/>
            <definition value="The type of action to perform (create, update, remove)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of action to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-type"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.groupingBehavior">
            <path value="RequestOrchestration.action.groupingBehavior"/>
            <short value="visual-group | logical-group | sentence-group"/>
            <definition value="Defines the grouping behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.groupingBehavior"/>
              <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="ActionGroupingBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines organization behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-grouping-behavior|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.selectionBehavior">
            <path value="RequestOrchestration.action.selectionBehavior"/>
            <short value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
            <definition value="Defines the selection behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.selectionBehavior"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionSelectionBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-selection-behavior|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.requiredBehavior">
            <path value="RequestOrchestration.action.requiredBehavior"/>
            <short value="must | could | must-unless-documented"/>
            <definition value="Defines expectations around whether an action is required."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.requiredBehavior"/>
              <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="ActionRequiredBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines expectations around whether an action or action group is required."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-required-behavior|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.precheckBehavior">
            <path value="RequestOrchestration.action.precheckBehavior"/>
            <short value="yes | no"/>
            <definition value="Defines whether the action should usually be preselected."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.precheckBehavior"/>
              <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="ActionPrecheckBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection frequency behavior for an action or group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-precheck-behavior|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.cardinalityBehavior">
            <path value="RequestOrchestration.action.cardinalityBehavior"/>
            <short value="single | multiple"/>
            <definition value="Defines whether the action can be selected multiple times."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.cardinalityBehavior"/>
              <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="ActionCardinalityBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines behavior for an action or a group for how many times that item may be repeated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior|5.0.0"/>
            </binding>
          </element>
          <element id="RequestOrchestration.action.resource">
            <path value="RequestOrchestration.action.resource"/>
            <short value="The target of the action"/>
            <definition value="The resource that is the target of the action (e.g. CommunicationRequest)."/>
            <comment value="The target resource SHALL be a [Request](request.html) resource with a Request.intent set to &quot;option&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Resource"/>
            </type>
            <condition value="rqg-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"/>
          </element>
          <element id="RequestOrchestration.action.definition[x]">
            <path value="RequestOrchestration.action.definition[x]"/>
            <short value="Description of the activity to be performed"/>
            <definition value="A reference to an ActivityDefinition that describes the action to be taken in detail, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured."/>
            <comment value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.definition[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <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="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.transform">
            <path value="RequestOrchestration.action.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="RequestOrchestration.action.dynamicValue">
            <path value="RequestOrchestration.action.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the RequestOrchestration resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="RequestOrchestration.action.dynamicValue.id">
            <path value="RequestOrchestration.action.dynamicValue.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="RequestOrchestration.action.dynamicValue.extension">
            <path value="RequestOrchestration.action.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.dynamicValue.modifierExtension">
            <path value="RequestOrchestration.action.dynamicValue.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>
            <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>
            <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="RequestOrchestration.action.dynamicValue.path">
            <path value="RequestOrchestration.action.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.dynamicValue.path"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="RequestOrchestration.action.dynamicValue.expression">
            <path value="RequestOrchestration.action.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RequestOrchestration.action.dynamicValue.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="RequestOrchestration.action.action">
            <path value="RequestOrchestration.action.action"/>
            <short value="Sub action"/>
            <definition value="Sub actions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RequestOrchestration.action.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration#RequestOrchestration.action"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="RequestOrchestration">
            <path value="RequestOrchestration"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="RequestOrchestration.identifier">
            <path value="RequestOrchestration.identifier"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="RequestOrchestration.instantiatesUri">
            <path value="RequestOrchestration.instantiatesUri"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="RequestOrchestration.priority">
            <path value="RequestOrchestration.priority"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.subject">
            <path value="RequestOrchestration.subject"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.authoredOn">
            <path value="RequestOrchestration.authoredOn"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.author">
            <path value="RequestOrchestration.author"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action">
            <path value="RequestOrchestration.action"/>
          </element>
          <element id="RequestOrchestration.action.title">
            <path value="RequestOrchestration.action.title"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.description">
            <path value="RequestOrchestration.action.description"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.priority">
            <path value="RequestOrchestration.action.priority"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.documentation">
            <path value="RequestOrchestration.action.documentation"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.condition">
            <path value="RequestOrchestration.action.condition"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.timing[x]">
            <path value="RequestOrchestration.action.timing[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.participant">
            <path value="RequestOrchestration.action.participant"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.type">
            <path value="RequestOrchestration.action.type"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.selectionBehavior">
            <path value="RequestOrchestration.action.selectionBehavior"/>
            <mustSupport value="true"/>
          </element>
          <element id="RequestOrchestration.action.resource">
            <path value="RequestOrchestration.action.resource"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/ebmrecommendation"/>
    <resource>
      <StructureDefinition>
        <id value="ebmrecommendation"/>
        <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="0"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/ebmrecommendation"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1263"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="EBMRecommendation"/>
        <title value="EBM Recommendation"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2021-12-12"/>
        <publisher value="HL7"/>
        <description value="Represents justification for a recommendation"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ArtifactAssessment"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ArtifactAssessment"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ArtifactAssessment">
            <path value="ArtifactAssessment"/>
            <short value="Adds metadata-supported comments, classifiers or ratings related to a Resource"/>
            <definition value="This Resource provides one or more comments, classifiers or ratings about a Resource and supports attribution and rights management metadata for the added content."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment"/>
              <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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,Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.general"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.id">
            <path value="ArtifactAssessment.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="ArtifactAssessment.meta">
            <path value="ArtifactAssessment.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="ArtifactAssessment.implicitRules">
            <path value="ArtifactAssessment.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ArtifactAssessment.language">
            <path value="ArtifactAssessment.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ArtifactAssessment.text">
            <path value="ArtifactAssessment.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="ArtifactAssessment.contained">
            <path value="ArtifactAssessment.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."/>
            <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="ArtifactAssessment.extension">
            <path value="ArtifactAssessment.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.modifierExtension">
            <path value="ArtifactAssessment.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>
            <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="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="ArtifactAssessment.identifier">
            <path value="ArtifactAssessment.identifier"/>
            <short value="Additional identifier for the artifact assessment"/>
            <definition value="A formal identifier that is used to identify this artifact assessment when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this activity definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the artifact assessment."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ArtifactAssessment.title"/>
            <short value="A short title for the assessment for use in displaying and selecting"/>
            <definition value="A short title for the assessment for use in displaying and selecting."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.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"/>
          </element>
          <element id="ArtifactAssessment.citeAs[x]">
            <path value="ArtifactAssessment.citeAs[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="How to cite the recommendation"/>
            <definition value="Display of or reference to the bibliographic citation of the recommendation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.citeAs[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Citation"/>
            </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="ArtifactAssessment.date">
            <path value="ArtifactAssessment.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the artifact assessment was published. The date must change when the disposition changes and it must change if the workflow status code changes. In addition, it should change when the substantive content of the artifact assessment changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the artifact assessment. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.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="ArtifactAssessment.copyright">
            <path value="ArtifactAssessment.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the artifact assessment and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the artifact assessment."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the artifact assessment and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.approvalDate">
            <path value="ArtifactAssessment.approvalDate"/>
            <short value="When the artifact assessment was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.lastReviewDate">
            <path value="ArtifactAssessment.lastReviewDate"/>
            <short value="When the artifact assessment was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.artifact[x]">
            <path value="ArtifactAssessment.artifact[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="The artifact assessed, commented upon or rated"/>
            <definition value="A reference to a resource, canonical resource, or non-FHIR resource which is the recommendation this comment or assessment is about."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.artifact[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ArtifactAssessment.content">
            <path value="ArtifactAssessment.content"/>
            <short value="Comment, classifier, or rating content"/>
            <definition value="A component comment, classifier, or rating of the artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ArtifactAssessment.content.id">
            <path value="ArtifactAssessment.content.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="ArtifactAssessment.content.extension">
            <path value="ArtifactAssessment.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ArtifactAssessment.content.modifierExtension">
            <path value="ArtifactAssessment.content.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>
            <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>
            <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="ArtifactAssessment.content.informationType">
            <path value="ArtifactAssessment.content.informationType"/>
            <short value="comment | classifier | rating | container | response | change-request"/>
            <definition value="The type of information this component of the content represents."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.informationType"/>
              <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="InformationType"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/artifactassessment-information-type|5.0.0"/>
            </binding>
          </element>
          <element id="ArtifactAssessment.content.summary">
            <path value="ArtifactAssessment.content.summary"/>
            <short value="Brief summary of the content"/>
            <definition value="A brief summary of the content of this component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.summary"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ArtifactAssessment.content.type">
            <path value="ArtifactAssessment.content.type"/>
            <short value="What type of content"/>
            <definition value="Indicates what type of content this component represents."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.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="EvidenceCertaintyType"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/certainty-type"/>
            </binding>
          </element>
          <element id="ArtifactAssessment.content.classifier">
            <path value="ArtifactAssessment.content.classifier"/>
            <short value="Rating, classifier, or assessment"/>
            <definition value="Represents a rating, classifier, or assessment of the artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.content.classifier"/>
              <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="EvidenceCertaintyRating"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/certainty-rating"/>
            </binding>
          </element>
          <element id="ArtifactAssessment.content.quantity">
            <path value="ArtifactAssessment.content.quantity"/>
            <short value="Quantitative rating"/>
            <definition value="A quantitative rating of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.quantity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ArtifactAssessment.content.author">
            <path value="ArtifactAssessment.content.author"/>
            <short value="Who authored the content"/>
            <definition value="Indicates who or what authored the content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.author"/>
              <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/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <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"/>
          </element>
          <element id="ArtifactAssessment.content.path">
            <path value="ArtifactAssessment.content.path"/>
            <short value="What the comment is directed to"/>
            <definition value="A URI that points to what the comment is about, such as a line of text in the CQL, or a specific element in a resource."/>
            <comment value="The target element is used to point the comment to aspect of the artifact, such as a text range within a CQL library (e.g. #content?0:0-120:80)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.content.path"/>
              <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"/>
          </element>
          <element id="ArtifactAssessment.content.relatedArtifact">
            <path value="ArtifactAssessment.content.relatedArtifact"/>
            <short value="Additional information"/>
            <definition value="Additional related artifacts that provide supporting documentation, additional evidence, or further information related to the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.content.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ArtifactAssessment.content.freeToShare">
            <path value="ArtifactAssessment.content.freeToShare"/>
            <short value="Acceptable to publicly share the resource content"/>
            <definition value="Acceptable to publicly share the comment, classifier or rating."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ArtifactAssessment.content.freeToShare"/>
              <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="ArtifactAssessment.content.component">
            <path value="ArtifactAssessment.content.component"/>
            <short value="Contained content"/>
            <definition value="If the informationType is container, the components of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ArtifactAssessment.content.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ArtifactAssessment#ArtifactAssessment.content"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ArtifactAssessment.workflowStatus">
            <path value="ArtifactAssessment.workflowStatus"/>
            <short value="submitted | triaged | waiting-for-input | resolved-no-change | resolved-change-required | deferred | duplicate | applied | published | entered-in-error"/>
            <definition value="Indicates the workflow status of the comment or change request."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ArtifactAssessment.workflowStatus"/>
              <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="WorkflowStatus"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/artifactassessment-workflow-status|5.0.0"/>
            </binding>
          </element>
          <element id="ArtifactAssessment.disposition">
            <path value="ArtifactAssessment.disposition"/>
            <short value="unresolved | not-persuasive | persuasive | persuasive-with-modification | not-persuasive-with-modification"/>
            <definition value="Indicates the disposition of the responsible party to the comment or change request."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ArtifactAssessment.disposition"/>
              <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="Disposition"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/artifactassessment-disposition|5.0.0"/>
            </binding>
          </element>
        </snapshot>
        <differential>
          <element id="ArtifactAssessment">
            <path value="ArtifactAssessment"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ArtifactAssessment.citeAs">
            <path value="ArtifactAssessment.citeAs"/>
            <short value="How to cite the recommendation"/>
            <definition value="Display of or reference to the bibliographic citation of the recommendation."/>
            <min value="0"/>
            <max value="1"/>
          </element>
          <element id="ArtifactAssessment.artifact">
            <path value="ArtifactAssessment.artifact"/>
            <definition value="A reference to a resource, canonical resource, or non-FHIR resource which is the recommendation this comment or assessment is about."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ArtifactAssessment.workflowStatus">
            <path value="ArtifactAssessment.workflowStatus"/>
            <min value="0"/>
            <max value="0"/>
            <mustSupport value="false"/>
          </element>
          <element id="ArtifactAssessment.disposition">
            <path value="ArtifactAssessment.disposition"/>
            <min value="0"/>
            <max value="0"/>
            <mustSupport value="false"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareablemeasure"/>
    <resource>
      <StructureDefinition>
        <id value="shareablemeasure"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cqi"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareablemeasure"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1376"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableMeasure"/>
        <title value="Shareable Measure"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the measure metadata required by HL7 and other organizations that share and publish measures"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Measure"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Measure"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Measure">
            <path value="Measure"/>
            <short value="A quality measure definition"/>
            <definition value="The Measure resource provides the definition of a quality measure."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <constraint>
              <key value="mea-1"/>
              <severity value="error"/>
              <human value="Stratifier SHALL be either a single criteria or a set of criteria components"/>
              <expression value="group.stratifier.all((code | description | criteria).exists() xor component.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Observation[classCode=OBS, moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="Measure.id">
            <path value="Measure.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="Measure.meta">
            <path value="Measure.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="Measure.implicitRules">
            <path value="Measure.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Measure.language">
            <path value="Measure.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Measure.text">
            <path value="Measure.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="Measure.contained">
            <path value="Measure.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."/>
            <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="Measure.extension">
            <path value="Measure.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>
            <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="Measure.extension:knowledgeCapability">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.extension:knowledgeRepresentationLevel">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.extension:artifactComment">
            <path value="Measure.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.modifierExtension">
            <path value="Measure.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>
            <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="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="Measure.url">
            <path value="Measure.url"/>
            <short value="Canonical identifier for this measure, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this measure 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 measure is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the measure 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the measure to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Measure.identifier">
            <path value="Measure.identifier"/>
            <short value="Additional identifier for the measure"/>
            <definition value="A formal identifier that is used to identify this measure when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this measure outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.version">
            <path value="Measure.version"/>
            <short value="Business version of the measure"/>
            <definition value="The identifier that is used to identify this version of the measure when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the measure author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different measure instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the measure with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.versionAlgorithm[x]">
            <path value="Measure.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.name">
            <path value="Measure.name"/>
            <short value="Name for this measure (computer friendly)"/>
            <definition value="A natural language name identifying the measure. 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="Measure.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Measure.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.title"/>
            <short value="Name for this measure (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the measure."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Measure.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.subtitle"/>
            <short value="Subordinate title of the measure"/>
            <definition value="An explanatory or alternate title for the measure giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.subtitle"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.status">
            <path value="Measure.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this measure. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of measures that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Measure.experimental">
            <path value="Measure.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this measure is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of measures that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.subject[x]">
            <path value="Measure.subject[x]"/>
            <short value="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device"/>
            <definition value="The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything."/>
            <comment value="The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.basis">
            <path value="Measure.basis"/>
            <short value="Population basis"/>
            <definition value="The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters."/>
            <comment value="For a subject-based measure, the population basis is simply boolean; all the criteria are expressed as true/false conditions that determine membership of an individual case in the population. For non-subject-based measures, the population basis can be any resource type, and the criteria are queries that return the subject's contribution to the population as a list of that resource type. For example, for a procedure-based measure, the population criteria would return lists of procedures that should be included in each population."/>
            <requirements value="Allows non-subject-based measures to be specified. Note that because the binding is to all fhir types, it is possible to specify abstract types such as Resource or DomainResource as the basis for a measure. Authoring environments may wish to constrain this further, depending on content needs."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.basis"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="boolean"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="BasisType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/fhir-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.date">
            <path value="Measure.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the measure was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the measure changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the measure. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Measure.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the measure."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the measure is the organization or individual primarily responsible for the maintenance and upkeep of the measure. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the measure. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the measure.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Measure.contact">
            <path value="Measure.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Measure.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.description"/>
            <short value="Natural language description of the measure"/>
            <definition value="A free text natural language description of the measure from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the measure as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the measure is presumed to be the predominant language in the place the measure was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.useContext">
            <path value="Measure.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 measure 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="Measure.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Measure.jurisdiction"/>
            <short value="Intended jurisdiction for measure (if applicable)"/>
            <definition value="A legal or geographic region in which the measure is intended to be used."/>
            <comment value="It may be possible for the measure to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.purpose"/>
            <short value="Why this measure is defined"/>
            <definition value="Explanation of why this measure is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the measure. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.usage"/>
            <short value="Describes the clinical usage of the measure"/>
            <definition value="A detailed description, from a clinical perspective, of how the measure is used."/>
            <comment value="This metadata element was typically referred to as Guidance in HQMF"/>
            <requirements value="Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance."/>
            <alias value="guidance"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the measure and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the measure."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the measure and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.copyrightLabel"/>
              <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="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.approvalDate">
            <path value="Measure.approvalDate"/>
            <short value="When the measure was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=SUBJ].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.lastReviewDate">
            <path value="Measure.lastReviewDate"/>
            <short value="When the measure was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRleationship[typeCode=SUBJ;subsetCode=RECENT].act[classCode=CACT;moodCode=EVN;code=review].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.effectivePeriod">
            <path value="Measure.effectivePeriod"/>
            <short value="When the measure is expected to be used"/>
            <definition value="The period during which the measure content was or is planned to be in active use."/>
            <comment value="The effective period for a measure determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the measure are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.effectivePeriod"/>
              <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="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Measure.topic"/>
            <short value="The category of the measure, such as Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the measure. Topics provide a high-level categorization grouping types of measures that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the measure so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.author">
            <path value="Measure.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Measure.editor">
            <path value="Measure.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }"/>
            </mapping>
          </element>
          <element id="Measure.reviewer">
            <path value="Measure.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Measure.endorser">
            <path value="Measure.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Measure.relatedArtifact">
            <path value="Measure.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Measures must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Measure.library">
            <path value="Measure.library"/>
            <short value="Logic used by the measure"/>
            <definition value="A reference to a Library resource containing the formal logic used by the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.disclaimer">
            <path value="Measure.disclaimer"/>
            <short value="Disclaimer for use of the measure or its referenced content"/>
            <definition value="Notices and disclaimers regarding the use of the measure or related to intellectual property (such as code systems) referenced by the measure."/>
            <requirements value="Some organizations require that notices and disclosures be included when publishing measures that reference their intellecutal property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.disclaimer"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.scoring">
            <path value="Measure.scoring"/>
            <short value="proportion | ratio | continuous-variable | cohort"/>
            <definition value="Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.scoring"/>
              <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="MeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <description value="The scoring type of the measure."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.scoringUnit">
            <path value="Measure.scoringUnit"/>
            <short value="What units?"/>
            <definition value="Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit."/>
            <comment value="When this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM."/>
            <requirements value="When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.scoringUnit"/>
              <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="MeasureScoringUnit"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-scoring-unit"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.compositeScoring">
            <path value="Measure.compositeScoring"/>
            <short value="opportunity | all-or-nothing | linear | weighted"/>
            <definition value="If this is a composite measure, the scoring method used to combine the component measures to determine the composite score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.compositeScoring"/>
              <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="CompositeMeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <description value="The composite scoring method of the measure."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composite-measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how component measures are combined }"/>
            </mapping>
          </element>
          <element id="Measure.type">
            <path value="Measure.type"/>
            <short value="process | outcome | structure | patient-reported-outcome | composite"/>
            <definition value="Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.type"/>
              <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="MeasureType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of what the measure applies to }"/>
            </mapping>
          </element>
          <element id="Measure.riskAdjustment">
            <path value="Measure.riskAdjustment"/>
            <short value="How risk adjustment is applied for this measure"/>
            <definition value="A description of the risk adjustment factors that may impact the resulting score for the measure and how they may be accounted for when computing and reporting measure results."/>
            <comment value="Describes the method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether a measure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow for more useful comparisons."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.riskAdjustment"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.rateAggregation">
            <path value="Measure.rateAggregation"/>
            <short value="How is rate aggregation performed for this measure"/>
            <definition value="Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result."/>
            <comment value="The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.rateAggregation"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.rationale">
            <path value="Measure.rationale"/>
            <short value="Detailed description of why the measure exists"/>
            <definition value="Provides a succinct statement of the need for the measure. Usually includes statements pertaining to importance criterion: impact, gap in care, and evidence."/>
            <requirements value="Measure developers need to be able to provide a detailed description of the purpose of the measure. This element provides detailed rationale, where the purpose element provides a summary of the rationale."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.rationale"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.clinicalRecommendationStatement">
            <path value="Measure.clinicalRecommendationStatement"/>
            <short value="Summary of clinical guidelines"/>
            <definition value="Provides a summary of relevant clinical guidelines or other clinical recommendations supporting the measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.clinicalRecommendationStatement"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.improvementNotation">
            <path value="Measure.improvementNotation"/>
            <short value="increase | decrease"/>
            <definition value="Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)."/>
            <requirements value="Measure consumers and implementers must be able to determine how to interpret a measure score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.improvementNotation"/>
              <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="MeasureImprovementNotation"/>
              </extension>
              <strength value="required"/>
              <description value="Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".interpretationCode"/>
            </mapping>
          </element>
          <element id="Measure.term">
            <path value="Measure.term"/>
            <short value="Defined terms used in the measure documentation"/>
            <definition value="Provides a description of an individual term used within the measure."/>
            <requirements value="Measure developers must be able to provide precise definitions of terms used within measure descriptions and guidance to help communicate the intent of the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.term"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="Measure.term.id">
            <path value="Measure.term.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="Measure.term.extension">
            <path value="Measure.term.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.term.modifierExtension">
            <path value="Measure.term.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>
            <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>
            <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="Measure.term.code">
            <path value="Measure.term.code"/>
            <short value="What term?"/>
            <definition value="A codeable representation of the defined term."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.term.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="DefinitionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codeable representations of measure definition terms."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-definition-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Measure.term.definition">
            <path value="Measure.term.definition"/>
            <short value="Meaning of the term"/>
            <definition value="Provides a definition for the term as used within the measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.term.definition"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.guidance">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Measure.guidance"/>
            <short value="Additional guidance for implementers (deprecated)"/>
            <definition value="Additional guidance for the measure including how it can be used in a clinical context, and the intent of the measure."/>
            <comment value="NOTE: This element is deprecated in favor of the usage element"/>
            <requirements value="Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.guidance"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group">
            <path value="Measure.group"/>
            <short value="Population criteria group"/>
            <definition value="A group of population criteria for the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.id">
            <path value="Measure.group.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="Measure.group.extension">
            <path value="Measure.group.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.modifierExtension">
            <path value="Measure.group.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>
            <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>
            <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="Measure.group.linkId">
            <path value="Measure.group.linkId"/>
            <short value="Unique id for group in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted groups to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.linkId"/>
              <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>
            <constraint>
              <key value="mea-2"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.code">
            <path value="Measure.group.code"/>
            <short value="Meaning of the group"/>
            <definition value="Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.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="MeasureGroupExample"/>
              </extension>
              <strength value="example"/>
              <description value="Example of measure groups."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-group-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.description">
            <path value="Measure.group.description"/>
            <short value="Summary description"/>
            <definition value="The human readable description of this population group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.type">
            <path value="Measure.group.type"/>
            <short value="process | outcome | structure | patient-reported-outcome | composite"/>
            <definition value="Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization."/>
            <comment value="When specified at the group level, defines the measure type for this specific group. If not specified, the measureType of the group is determined by the root type element"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.type"/>
              <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="MeasureType"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".typeCode"/>
            </mapping>
          </element>
          <element id="Measure.group.subject[x]">
            <path value="Measure.group.subject[x]"/>
            <short value="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device"/>
            <definition value="The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything."/>
            <comment value="The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.group.basis">
            <path value="Measure.group.basis"/>
            <short value="Population basis"/>
            <definition value="The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters."/>
            <comment value="When specified at the group level, defines the population basis for this specific group. If not specified, the basis for the group is determined by the root basis element"/>
            <requirements value="Allows non-subject-based measures to be specified"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.basis"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="boolean"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="BasisType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/fhir-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.group.scoring">
            <path value="Measure.group.scoring"/>
            <short value="proportion | ratio | continuous-variable | cohort"/>
            <definition value="Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented."/>
            <comment value="When specified at the group level, defines the scoring for this specific group. If not specified, scoring for this group is determined by the root scoring element"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.scoring"/>
              <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="MeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.scoringUnit">
            <path value="Measure.group.scoringUnit"/>
            <short value="What units?"/>
            <definition value="Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit."/>
            <comment value="When specified at the group level, this defines the scoringUnit for this specific group. If not specified, the scoringUnit for this group is determined by the root scoringUnit element. As with the root element, when this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM."/>
            <requirements value="When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.scoringUnit"/>
              <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="MeasureScoringUnit"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-scoring-unit"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.rateAggregation">
            <path value="Measure.group.rateAggregation"/>
            <short value="How is rate aggregation performed for this measure"/>
            <definition value="Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result."/>
            <comment value="The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.rateAggregation"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.improvementNotation">
            <path value="Measure.group.improvementNotation"/>
            <short value="increase | decrease"/>
            <definition value="Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)."/>
            <comment value="When specified at the group level, this element defines the improvementNotation for this specific group. If not specified, improvementNotation for this group is determined by the root improvementNotation element"/>
            <requirements value="Measure consumers and implementers must be able to determine how to interpret a measure score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.improvementNotation"/>
              <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="MeasureImprovementNotation"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.library">
            <path value="Measure.group.library"/>
            <short value="Logic used by the measure group"/>
            <definition value="A reference to a Library resource containing the formal logic used by the measure group."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population">
            <path value="Measure.group.population"/>
            <short value="Population criteria"/>
            <definition value="A population criteria for the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.population"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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]"/>
            </mapping>
          </element>
          <element id="Measure.group.population.id">
            <path value="Measure.group.population.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="Measure.group.population.extension">
            <path value="Measure.group.population.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.population.modifierExtension">
            <path value="Measure.group.population.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>
            <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>
            <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="Measure.group.population.linkId">
            <path value="Measure.group.population.linkId"/>
            <short value="Unique id for population in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent population in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted populations to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.linkId"/>
              <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>
            <constraint>
              <key value="mea-3"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.population.code">
            <path value="Measure.group.population.code"/>
            <short value="initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation"/>
            <definition value="The type of population criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.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="MeasurePopulationType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of population."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-population"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.population.description">
            <path value="Measure.group.population.description"/>
            <short value="The human readable description of this population criteria"/>
            <definition value="The human readable description of this population criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.population.criteria">
            <path value="Measure.group.population.criteria"/>
            <short value="The criteria that defines this population"/>
            <definition value="An expression that specifies the criteria for the population, typically the name of an expression in a library."/>
            <comment value="In the case of a continuous-variable or ratio measure, this may be the name of a function that calculates the value of the individual observation for each patient or event in the population. For these types of measures, individual observations are reported as observation resources included in the evaluatedResources bundle for each patient. See the MeasureReport resource or the Quality Reporting topic for more information."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.groupDefinition">
            <path value="Measure.group.population.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group resource SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.inputPopulationId">
            <path value="Measure.group.population.inputPopulationId"/>
            <short value="Which population"/>
            <definition value="The id of a population element in this measure that provides the input for this population criteria. In most cases, the scoring structure of the measure implies specific relationships (e.g. the Numerator uses the Denominator as the source in a proportion scoring). In some cases, however, multiple possible choices exist and must be resolved explicitly. For example in a ratio measure with multiple initial populations, the denominator must specify which population should be used as the starting point."/>
            <requirements value="For ratio and continuous variable measures, the source populations must be specified explicitly when they cannot be unambiguously determined from the scoring structure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.inputPopulationId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.aggregateMethod">
            <path value="Measure.group.population.aggregateMethod"/>
            <short value="Aggregation method for a measure score (e.g. sum, average, median, minimum, maximum, count)"/>
            <definition value="Specifies which method should be used to aggregate measure observation values. For most scoring types, this is implied by scoring (e.g. a proportion measure counts members of the populations). For continuous variables, however, this information must be specified to ensure correct calculation."/>
            <requirements value="For continuous variable measures, specifications must be able to indicate the aggregation method to be used for tallying results from individual observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.aggregateMethod"/>
              <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="MeasureAggregateMethod"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-aggregate-method"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier">
            <path value="Measure.group.stratifier"/>
            <short value="Stratifier criteria for the measure"/>
            <definition value="The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.stratifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.id">
            <path value="Measure.group.stratifier.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="Measure.group.stratifier.extension">
            <path value="Measure.group.stratifier.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.modifierExtension">
            <path value="Measure.group.stratifier.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>
            <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>
            <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="Measure.group.stratifier.linkId">
            <path value="Measure.group.stratifier.linkId"/>
            <short value="Unique id for stratifier in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted stratifiers to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.linkId"/>
              <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>
            <constraint>
              <key value="mea-4"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.code">
            <path value="Measure.group.stratifier.code"/>
            <short value="Meaning of the stratifier"/>
            <definition value="Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="mea-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MeasureStratifierExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the stratifier."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-stratifier-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.description">
            <path value="Measure.group.stratifier.description"/>
            <short value="The human readable description of this stratifier"/>
            <definition value="The human readable description of this stratifier criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.description"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="mea-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>
          </element>
          <element id="Measure.group.stratifier.criteria">
            <path value="Measure.group.stratifier.criteria"/>
            <short value="How the measure should be stratified"/>
            <definition value="An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <condition value="mea-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.groupDefinition">
            <path value="Measure.group.stratifier.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component">
            <path value="Measure.group.stratifier.component"/>
            <short value="Stratifier criteria component for the measure"/>
            <definition value="A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path."/>
            <comment value="Stratifiers are defined either as a single criteria, or as a set of component criteria."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.stratifier.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.id">
            <path value="Measure.group.stratifier.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="Measure.group.stratifier.component.extension">
            <path value="Measure.group.stratifier.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.modifierExtension">
            <path value="Measure.group.stratifier.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>
            <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>
            <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="Measure.group.stratifier.component.linkId">
            <path value="Measure.group.stratifier.component.linkId"/>
            <short value="Unique id for stratifier component in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted stratifier components to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.linkId"/>
              <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>
            <constraint>
              <key value="mea-5"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.code">
            <path value="Measure.group.stratifier.component.code"/>
            <short value="Meaning of the stratifier component"/>
            <definition value="Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.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="MeasureStratifierExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the stratifier."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-stratifier-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.description">
            <path value="Measure.group.stratifier.component.description"/>
            <short value="The human readable description of this stratifier component"/>
            <definition value="The human readable description of this stratifier criteria component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.criteria">
            <path value="Measure.group.stratifier.component.criteria"/>
            <short value="Component of how the measure should be stratified"/>
            <definition value="An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.groupDefinition">
            <path value="Measure.group.stratifier.component.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData">
            <path value="Measure.supplementalData"/>
            <short value="What other data should be reported with the measure"/>
            <definition value="The supplemental data criteria for the measure report, specified as either the name of a valid CQL expression within a referenced library, or a valid FHIR Resource Path."/>
            <comment value="Note that supplemental data are reported as resources for each patient and referenced in the supplementalData element of the MeasureReport. If the supplementalData expression results in a value other than a resource, it is reported using an Observation resource, typically contained in the resulting MeasureReport. See the MeasureReport resource and the Quality Reporting topic for more information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.supplementalData"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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]"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.id">
            <path value="Measure.supplementalData.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="Measure.supplementalData.extension">
            <path value="Measure.supplementalData.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.modifierExtension">
            <path value="Measure.supplementalData.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>
            <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>
            <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="Measure.supplementalData.linkId">
            <path value="Measure.supplementalData.linkId"/>
            <short value="Unique id for supplementalData in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted supplementalData to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.linkId"/>
              <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>
            <constraint>
              <key value="mea-6"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.code">
            <path value="Measure.supplementalData.code"/>
            <short value="Meaning of the supplemental data"/>
            <definition value="Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.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="MeasureSupplementalDataExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the supplemental data."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-supplemental-data-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.usage">
            <path value="Measure.supplementalData.usage"/>
            <short value="supplemental-data | risk-adjustment-factor"/>
            <definition value="An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.supplementalData.usage"/>
              <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="MeasureDataUsage"/>
              </extension>
              <strength value="extensible"/>
              <description value="The intended usage for supplemental data elements in the measure."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-data-usage"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.description">
            <path value="Measure.supplementalData.description"/>
            <short value="The human readable description of this supplemental data"/>
            <definition value="The human readable description of this supplemental data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.criteria">
            <path value="Measure.supplementalData.criteria"/>
            <short value="Expression describing additional data to be reported"/>
            <definition value="The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.criteria"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Measure">
            <path value="Measure"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Measure.extension:knowledgeCapability">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeCapability"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.extension:knowledgeRepresentationLevel">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.extension:artifactComment">
            <path value="Measure.extension"/>
            <sliceName value="artifactComment"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-artifactComment"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.url">
            <path value="Measure.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.version">
            <path value="Measure.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.versionAlgorithm[x]">
            <path value="Measure.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.name">
            <path value="Measure.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.title">
            <path value="Measure.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.experimental">
            <path value="Measure.experimental"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.publisher">
            <path value="Measure.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.description">
            <path value="Measure.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishablemeasure"/>
    <resource>
      <StructureDefinition>
        <id value="publishablemeasure"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishablemeasure"/>
        <version value="5.0.0"/>
        <name value="PublishableMeasure"/>
        <title value="Publishable Measure"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Supports declaration of the Measure metadata required by HL7 and other organizations that share and publish measures with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation."/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Measure"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablemeasure"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Measure">
            <path value="Measure"/>
            <short value="A quality measure definition"/>
            <definition value="The Measure resource provides the definition of a quality measure."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <constraint>
              <key value="mea-1"/>
              <severity value="error"/>
              <human value="Stratifier SHALL be either a single criteria or a set of criteria components"/>
              <expression value="group.stratifier.all((code | description | criteria).exists() xor component.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Observation[classCode=OBS, moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="Measure.id">
            <path value="Measure.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="Measure.meta">
            <path value="Measure.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="Measure.implicitRules">
            <path value="Measure.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Measure.language">
            <path value="Measure.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Measure.text">
            <path value="Measure.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="Measure.contained">
            <path value="Measure.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."/>
            <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="Measure.extension">
            <path value="Measure.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>
            <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="Measure.extension:knowledgeCapability">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.extension:knowledgeRepresentationLevel">
            <path value="Measure.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.extension:artifactComment">
            <path value="Measure.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Measure.modifierExtension">
            <path value="Measure.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>
            <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="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="Measure.url">
            <path value="Measure.url"/>
            <short value="Canonical identifier for this measure, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this measure 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 measure is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the measure 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the measure to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Measure.identifier">
            <path value="Measure.identifier"/>
            <short value="Additional identifier for the measure"/>
            <definition value="A formal identifier that is used to identify this measure when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this measure outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.version">
            <path value="Measure.version"/>
            <short value="Business version of the measure"/>
            <definition value="The identifier that is used to identify this version of the measure when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the measure author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different measure instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the measure with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.versionAlgorithm[x]">
            <path value="Measure.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.name">
            <path value="Measure.name"/>
            <short value="Name for this measure (computer friendly)"/>
            <definition value="A natural language name identifying the measure. 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="Measure.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Measure.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.title"/>
            <short value="Name for this measure (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the measure."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Measure.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.subtitle"/>
            <short value="Subordinate title of the measure"/>
            <definition value="An explanatory or alternate title for the measure giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.subtitle"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.status">
            <path value="Measure.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this measure. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of measures that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Measure.experimental">
            <path value="Measure.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this measure is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of measures that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.subject[x]">
            <path value="Measure.subject[x]"/>
            <short value="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device"/>
            <definition value="The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything."/>
            <comment value="The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.basis">
            <path value="Measure.basis"/>
            <short value="Population basis"/>
            <definition value="The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters."/>
            <comment value="For a subject-based measure, the population basis is simply boolean; all the criteria are expressed as true/false conditions that determine membership of an individual case in the population. For non-subject-based measures, the population basis can be any resource type, and the criteria are queries that return the subject's contribution to the population as a list of that resource type. For example, for a procedure-based measure, the population criteria would return lists of procedures that should be included in each population."/>
            <requirements value="Allows non-subject-based measures to be specified. Note that because the binding is to all fhir types, it is possible to specify abstract types such as Resource or DomainResource as the basis for a measure. Authoring environments may wish to constrain this further, depending on content needs."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.basis"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="boolean"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="BasisType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/fhir-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.date">
            <path value="Measure.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the measure was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the measure changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the measure. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="Measure.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the measure."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the measure is the organization or individual primarily responsible for the maintenance and upkeep of the measure. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the measure. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the measure.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Measure.contact">
            <path value="Measure.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Measure.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.description"/>
            <short value="Natural language description of the measure"/>
            <definition value="A free text natural language description of the measure from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the measure as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the measure is presumed to be the predominant language in the place the measure was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.useContext">
            <path value="Measure.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 measure 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="Measure.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.jurisdiction">
            <path value="Measure.jurisdiction"/>
            <short value="Intended jurisdiction for measure (if applicable)"/>
            <definition value="A legal or geographic region in which the measure is intended to be used."/>
            <comment value="It may be possible for the measure to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.purpose"/>
            <short value="Why this measure is defined"/>
            <definition value="Explanation of why this measure is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the measure. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.purpose"/>
              <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="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.usage"/>
            <short value="Describes the clinical usage of the measure"/>
            <definition value="A detailed description, from a clinical perspective, of how the measure is used."/>
            <comment value="This metadata element was typically referred to as Guidance in HQMF"/>
            <requirements value="Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance."/>
            <alias value="guidance"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.usage"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the measure and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the measure."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the measure and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.copyright"/>
              <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="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Measure.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.approvalDate">
            <path value="Measure.approvalDate"/>
            <short value="When the measure was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=SUBJ].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.lastReviewDate">
            <path value="Measure.lastReviewDate"/>
            <short value="When the measure was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRleationship[typeCode=SUBJ;subsetCode=RECENT].act[classCode=CACT;moodCode=EVN;code=review].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.effectivePeriod">
            <path value="Measure.effectivePeriod"/>
            <short value="When the measure is expected to be used"/>
            <definition value="The period during which the measure content was or is planned to be in active use."/>
            <comment value="The effective period for a measure determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the measure are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Measure.topic">
            <path value="Measure.topic"/>
            <short value="The category of the measure, such as Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the measure. Topics provide a high-level categorization grouping types of measures that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the measure so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.author">
            <path value="Measure.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="Measure.editor">
            <path value="Measure.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }"/>
            </mapping>
          </element>
          <element id="Measure.reviewer">
            <path value="Measure.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Measure.endorser">
            <path value="Measure.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Measure.relatedArtifact">
            <path value="Measure.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Measures must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Measure.relatedArtifact.id">
            <path value="Measure.relatedArtifact.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="id"/>
              </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="Measure.relatedArtifact.extension">
            <path value="Measure.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.relatedArtifact.type">
            <path value="Measure.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Measure.relatedArtifact.classifier">
            <path value="Measure.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Measure.relatedArtifact.label">
            <path value="Measure.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Measure.relatedArtifact.display">
            <path value="Measure.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Measure.relatedArtifact.citation">
            <path value="Measure.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Measure.relatedArtifact.document">
            <path value="Measure.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Measure.relatedArtifact.resource">
            <path value="Measure.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <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"/>
          </element>
          <element id="Measure.relatedArtifact.resourceReference">
            <path value="Measure.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Measure.relatedArtifact.publicationStatus">
            <path value="Measure.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Measure.relatedArtifact.publicationDate">
            <path value="Measure.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Measure.library">
            <path value="Measure.library"/>
            <short value="Logic used by the measure"/>
            <definition value="A reference to a Library resource containing the formal logic used by the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.disclaimer">
            <path value="Measure.disclaimer"/>
            <short value="Disclaimer for use of the measure or its referenced content"/>
            <definition value="Notices and disclaimers regarding the use of the measure or related to intellectual property (such as code systems) referenced by the measure."/>
            <requirements value="Some organizations require that notices and disclosures be included when publishing measures that reference their intellecutal property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.disclaimer"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.scoring">
            <path value="Measure.scoring"/>
            <short value="proportion | ratio | continuous-variable | cohort"/>
            <definition value="Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.scoring"/>
              <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="MeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <description value="The scoring type of the measure."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.scoringUnit">
            <path value="Measure.scoringUnit"/>
            <short value="What units?"/>
            <definition value="Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit."/>
            <comment value="When this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM."/>
            <requirements value="When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.scoringUnit"/>
              <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="MeasureScoringUnit"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-scoring-unit"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.compositeScoring">
            <path value="Measure.compositeScoring"/>
            <short value="opportunity | all-or-nothing | linear | weighted"/>
            <definition value="If this is a composite measure, the scoring method used to combine the component measures to determine the composite score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.compositeScoring"/>
              <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="CompositeMeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <description value="The composite scoring method of the measure."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composite-measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how component measures are combined }"/>
            </mapping>
          </element>
          <element id="Measure.type">
            <path value="Measure.type"/>
            <short value="process | outcome | structure | patient-reported-outcome | composite"/>
            <definition value="Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.type"/>
              <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="MeasureType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of what the measure applies to }"/>
            </mapping>
          </element>
          <element id="Measure.riskAdjustment">
            <path value="Measure.riskAdjustment"/>
            <short value="How risk adjustment is applied for this measure"/>
            <definition value="A description of the risk adjustment factors that may impact the resulting score for the measure and how they may be accounted for when computing and reporting measure results."/>
            <comment value="Describes the method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether a measure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow for more useful comparisons."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.riskAdjustment"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.rateAggregation">
            <path value="Measure.rateAggregation"/>
            <short value="How is rate aggregation performed for this measure"/>
            <definition value="Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result."/>
            <comment value="The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.rateAggregation"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.rationale">
            <path value="Measure.rationale"/>
            <short value="Detailed description of why the measure exists"/>
            <definition value="Provides a succinct statement of the need for the measure. Usually includes statements pertaining to importance criterion: impact, gap in care, and evidence."/>
            <requirements value="Measure developers need to be able to provide a detailed description of the purpose of the measure. This element provides detailed rationale, where the purpose element provides a summary of the rationale."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.rationale"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.clinicalRecommendationStatement">
            <path value="Measure.clinicalRecommendationStatement"/>
            <short value="Summary of clinical guidelines"/>
            <definition value="Provides a summary of relevant clinical guidelines or other clinical recommendations supporting the measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.clinicalRecommendationStatement"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.improvementNotation">
            <path value="Measure.improvementNotation"/>
            <short value="increase | decrease"/>
            <definition value="Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)."/>
            <requirements value="Measure consumers and implementers must be able to determine how to interpret a measure score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.improvementNotation"/>
              <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="MeasureImprovementNotation"/>
              </extension>
              <strength value="required"/>
              <description value="Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".interpretationCode"/>
            </mapping>
          </element>
          <element id="Measure.term">
            <path value="Measure.term"/>
            <short value="Defined terms used in the measure documentation"/>
            <definition value="Provides a description of an individual term used within the measure."/>
            <requirements value="Measure developers must be able to provide precise definitions of terms used within measure descriptions and guidance to help communicate the intent of the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.term"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="Measure.term.id">
            <path value="Measure.term.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="Measure.term.extension">
            <path value="Measure.term.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.term.modifierExtension">
            <path value="Measure.term.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>
            <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>
            <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="Measure.term.code">
            <path value="Measure.term.code"/>
            <short value="What term?"/>
            <definition value="A codeable representation of the defined term."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.term.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="DefinitionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codeable representations of measure definition terms."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-definition-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Measure.term.definition">
            <path value="Measure.term.definition"/>
            <short value="Meaning of the term"/>
            <definition value="Provides a definition for the term as used within the measure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.term.definition"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.guidance">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Measure.guidance"/>
            <short value="Additional guidance for implementers (deprecated)"/>
            <definition value="Additional guidance for the measure including how it can be used in a clinical context, and the intent of the measure."/>
            <comment value="NOTE: This element is deprecated in favor of the usage element"/>
            <requirements value="Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.guidance"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group">
            <path value="Measure.group"/>
            <short value="Population criteria group"/>
            <definition value="A group of population criteria for the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.id">
            <path value="Measure.group.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="Measure.group.extension">
            <path value="Measure.group.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.modifierExtension">
            <path value="Measure.group.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>
            <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>
            <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="Measure.group.linkId">
            <path value="Measure.group.linkId"/>
            <short value="Unique id for group in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted groups to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.linkId"/>
              <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>
            <constraint>
              <key value="mea-2"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.code">
            <path value="Measure.group.code"/>
            <short value="Meaning of the group"/>
            <definition value="Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.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="MeasureGroupExample"/>
              </extension>
              <strength value="example"/>
              <description value="Example of measure groups."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-group-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.description">
            <path value="Measure.group.description"/>
            <short value="Summary description"/>
            <definition value="The human readable description of this population group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.type">
            <path value="Measure.group.type"/>
            <short value="process | outcome | structure | patient-reported-outcome | composite"/>
            <definition value="Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization."/>
            <comment value="When specified at the group level, defines the measure type for this specific group. If not specified, the measureType of the group is determined by the root type element"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.type"/>
              <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="MeasureType"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".typeCode"/>
            </mapping>
          </element>
          <element id="Measure.group.subject[x]">
            <path value="Measure.group.subject[x]"/>
            <short value="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device"/>
            <definition value="The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything."/>
            <comment value="The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.group.basis">
            <path value="Measure.group.basis"/>
            <short value="Population basis"/>
            <definition value="The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters."/>
            <comment value="When specified at the group level, defines the population basis for this specific group. If not specified, the basis for the group is determined by the root basis element"/>
            <requirements value="Allows non-subject-based measures to be specified"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.basis"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="boolean"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="BasisType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/fhir-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="Measure.group.scoring">
            <path value="Measure.group.scoring"/>
            <short value="proportion | ratio | continuous-variable | cohort"/>
            <definition value="Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented."/>
            <comment value="When specified at the group level, defines the scoring for this specific group. If not specified, scoring for this group is determined by the root scoring element"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.scoring"/>
              <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="MeasureScoring"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/measure-scoring"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.scoringUnit">
            <path value="Measure.group.scoringUnit"/>
            <short value="What units?"/>
            <definition value="Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit."/>
            <comment value="When specified at the group level, this defines the scoringUnit for this specific group. If not specified, the scoringUnit for this group is determined by the root scoringUnit element. As with the root element, when this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM."/>
            <requirements value="When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.scoringUnit"/>
              <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="MeasureScoringUnit"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-scoring-unit"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.rateAggregation">
            <path value="Measure.group.rateAggregation"/>
            <short value="How is rate aggregation performed for this measure"/>
            <definition value="Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result."/>
            <comment value="The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.rateAggregation"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.improvementNotation">
            <path value="Measure.group.improvementNotation"/>
            <short value="increase | decrease"/>
            <definition value="Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)."/>
            <comment value="When specified at the group level, this element defines the improvementNotation for this specific group. If not specified, improvementNotation for this group is determined by the root improvementNotation element"/>
            <requirements value="Measure consumers and implementers must be able to determine how to interpret a measure score."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.improvementNotation"/>
              <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="MeasureImprovementNotation"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode { the aspect of how the calculation is performed }"/>
            </mapping>
          </element>
          <element id="Measure.group.library">
            <path value="Measure.group.library"/>
            <short value="Logic used by the measure group"/>
            <definition value="A reference to a Library resource containing the formal logic used by the measure group."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population">
            <path value="Measure.group.population"/>
            <short value="Population criteria"/>
            <definition value="A population criteria for the measure."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.population"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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]"/>
            </mapping>
          </element>
          <element id="Measure.group.population.id">
            <path value="Measure.group.population.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="Measure.group.population.extension">
            <path value="Measure.group.population.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.population.modifierExtension">
            <path value="Measure.group.population.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>
            <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>
            <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="Measure.group.population.linkId">
            <path value="Measure.group.population.linkId"/>
            <short value="Unique id for population in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent population in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted populations to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.linkId"/>
              <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>
            <constraint>
              <key value="mea-3"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.population.code">
            <path value="Measure.group.population.code"/>
            <short value="initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation"/>
            <definition value="The type of population criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.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="MeasurePopulationType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of population."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-population"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.population.description">
            <path value="Measure.group.population.description"/>
            <short value="The human readable description of this population criteria"/>
            <definition value="The human readable description of this population criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.population.criteria">
            <path value="Measure.group.population.criteria"/>
            <short value="The criteria that defines this population"/>
            <definition value="An expression that specifies the criteria for the population, typically the name of an expression in a library."/>
            <comment value="In the case of a continuous-variable or ratio measure, this may be the name of a function that calculates the value of the individual observation for each patient or event in the population. For these types of measures, individual observations are reported as observation resources included in the evaluatedResources bundle for each patient. See the MeasureReport resource or the Quality Reporting topic for more information."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.groupDefinition">
            <path value="Measure.group.population.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group resource SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.inputPopulationId">
            <path value="Measure.group.population.inputPopulationId"/>
            <short value="Which population"/>
            <definition value="The id of a population element in this measure that provides the input for this population criteria. In most cases, the scoring structure of the measure implies specific relationships (e.g. the Numerator uses the Denominator as the source in a proportion scoring). In some cases, however, multiple possible choices exist and must be resolved explicitly. For example in a ratio measure with multiple initial populations, the denominator must specify which population should be used as the starting point."/>
            <requirements value="For ratio and continuous variable measures, the source populations must be specified explicitly when they cannot be unambiguously determined from the scoring structure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.inputPopulationId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.population.aggregateMethod">
            <path value="Measure.group.population.aggregateMethod"/>
            <short value="Aggregation method for a measure score (e.g. sum, average, median, minimum, maximum, count)"/>
            <definition value="Specifies which method should be used to aggregate measure observation values. For most scoring types, this is implied by scoring (e.g. a proportion measure counts members of the populations). For continuous variables, however, this information must be specified to ensure correct calculation."/>
            <requirements value="For continuous variable measures, specifications must be able to indicate the aggregation method to be used for tallying results from individual observations."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.population.aggregateMethod"/>
              <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="MeasureAggregateMethod"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-aggregate-method"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier">
            <path value="Measure.group.stratifier"/>
            <short value="Stratifier criteria for the measure"/>
            <definition value="The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.stratifier"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.id">
            <path value="Measure.group.stratifier.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="Measure.group.stratifier.extension">
            <path value="Measure.group.stratifier.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.modifierExtension">
            <path value="Measure.group.stratifier.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>
            <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>
            <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="Measure.group.stratifier.linkId">
            <path value="Measure.group.stratifier.linkId"/>
            <short value="Unique id for stratifier in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted stratifiers to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.linkId"/>
              <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>
            <constraint>
              <key value="mea-4"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.code">
            <path value="Measure.group.stratifier.code"/>
            <short value="Meaning of the stratifier"/>
            <definition value="Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="mea-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MeasureStratifierExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the stratifier."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-stratifier-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.description">
            <path value="Measure.group.stratifier.description"/>
            <short value="The human readable description of this stratifier"/>
            <definition value="The human readable description of this stratifier criteria."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.description"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="mea-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>
          </element>
          <element id="Measure.group.stratifier.criteria">
            <path value="Measure.group.stratifier.criteria"/>
            <short value="How the measure should be stratified"/>
            <definition value="An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <condition value="mea-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.groupDefinition">
            <path value="Measure.group.stratifier.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component">
            <path value="Measure.group.stratifier.component"/>
            <short value="Stratifier criteria component for the measure"/>
            <definition value="A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path."/>
            <comment value="Stratifiers are defined either as a single criteria, or as a set of component criteria."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.group.stratifier.component"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="mea-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=".outboundRelationship[typeCode=COMP]"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.id">
            <path value="Measure.group.stratifier.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="Measure.group.stratifier.component.extension">
            <path value="Measure.group.stratifier.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.modifierExtension">
            <path value="Measure.group.stratifier.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>
            <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>
            <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="Measure.group.stratifier.component.linkId">
            <path value="Measure.group.stratifier.component.linkId"/>
            <short value="Unique id for stratifier component in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted stratifier components to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.linkId"/>
              <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>
            <constraint>
              <key value="mea-5"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.code">
            <path value="Measure.group.stratifier.component.code"/>
            <short value="Meaning of the stratifier component"/>
            <definition value="Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.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="MeasureStratifierExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the stratifier."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-stratifier-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.description">
            <path value="Measure.group.stratifier.component.description"/>
            <short value="The human readable description of this stratifier component"/>
            <definition value="The human readable description of this stratifier criteria component."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.criteria">
            <path value="Measure.group.stratifier.component.criteria"/>
            <short value="Component of how the measure should be stratified"/>
            <definition value="An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.criteria"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.group.stratifier.component.groupDefinition">
            <path value="Measure.group.stratifier.component.groupDefinition"/>
            <short value="A group resource that defines this population"/>
            <definition value="A Group resource that defines this population as a set of characteristics."/>
            <comment value="Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.group.stratifier.component.groupDefinition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData">
            <path value="Measure.supplementalData"/>
            <short value="What other data should be reported with the measure"/>
            <definition value="The supplemental data criteria for the measure report, specified as either the name of a valid CQL expression within a referenced library, or a valid FHIR Resource Path."/>
            <comment value="Note that supplemental data are reported as resources for each patient and referenced in the supplementalData element of the MeasureReport. If the supplementalData expression results in a value other than a resource, it is reported using an Observation resource, typically contained in the resulting MeasureReport. See the MeasureReport resource and the Quality Reporting topic for more information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.supplementalData"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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]"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.id">
            <path value="Measure.supplementalData.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="Measure.supplementalData.extension">
            <path value="Measure.supplementalData.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.modifierExtension">
            <path value="Measure.supplementalData.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>
            <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>
            <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="Measure.supplementalData.linkId">
            <path value="Measure.supplementalData.linkId"/>
            <short value="Unique id for supplementalData in measure"/>
            <definition value="An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource."/>
            <comment value="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.&#xA;&#xA;LinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such"/>
            <requirements value="[MeasureReport](measurereport.html#) does not require omitted supplementalData to be included."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.linkId"/>
              <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>
            <constraint>
              <key value="mea-6"/>
              <severity value="warning"/>
              <human value="Link ids should be 255 characters or less"/>
              <expression value="$this.length() &lt;= 255"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Measure"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.code">
            <path value="Measure.supplementalData.code"/>
            <short value="Meaning of the supplemental data"/>
            <definition value="Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.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="MeasureSupplementalDataExample"/>
              </extension>
              <strength value="example"/>
              <description value="Meaning of the supplemental data."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-supplemental-data-example"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.usage">
            <path value="Measure.supplementalData.usage"/>
            <short value="supplemental-data | risk-adjustment-factor"/>
            <definition value="An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Measure.supplementalData.usage"/>
              <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="MeasureDataUsage"/>
              </extension>
              <strength value="extensible"/>
              <description value="The intended usage for supplemental data elements in the measure."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/measure-data-usage"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".methodCode"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.description">
            <path value="Measure.supplementalData.description"/>
            <short value="The human readable description of this supplemental data"/>
            <definition value="The human readable description of this supplemental data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Measure.supplementalData.criteria">
            <path value="Measure.supplementalData.criteria"/>
            <short value="Expression describing additional data to be reported"/>
            <definition value="The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Measure.supplementalData.criteria"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Measure">
            <path value="Measure"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Measure.identifier">
            <path value="Measure.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.date">
            <path value="Measure.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.contact">
            <path value="Measure.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.useContext">
            <path value="Measure.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.jurisdiction">
            <path value="Measure.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.purpose">
            <path value="Measure.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.usage">
            <path value="Measure.usage"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.copyright">
            <path value="Measure.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.copyrightLabel">
            <path value="Measure.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.approvalDate">
            <path value="Measure.approvalDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.lastReviewDate">
            <path value="Measure.lastReviewDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.effectivePeriod">
            <path value="Measure.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.topic">
            <path value="Measure.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.author">
            <path value="Measure.author"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.editor">
            <path value="Measure.editor"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.reviewer">
            <path value="Measure.reviewer"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.endorser">
            <path value="Measure.endorser"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.relatedArtifact">
            <path value="Measure.relatedArtifact"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.relatedArtifact.display">
            <path value="Measure.relatedArtifact.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.relatedArtifact.document">
            <path value="Measure.relatedArtifact.document"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.relatedArtifact.resource">
            <path value="Measure.relatedArtifact.resource"/>
            <mustSupport value="true"/>
          </element>
          <element id="Measure.relatedArtifact.resourceReference">
            <path value="Measure.relatedArtifact.resourceReference"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/actualgroup"/>
    <resource>
      <StructureDefinition>
        <id value="actualgroup"/>
        <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="0"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/actualgroup"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1090"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ActualGroup"/>
        <title value="Actual  Group"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces an enumerated group, rather than a definitional group"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="interface"/>
          <uri value="http://hl7.org/fhir/interface"/>
          <name value="Interface Pattern"/>
        </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="Group"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Group"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Group">
            <path value="Group"/>
            <short value="Group of multiple entities"/>
            <definition value="Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively, and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization."/>
            <comment value="If both Group.characteristic and Group.member are present, then the members are the individuals who were found who met the characteristic.  It's possible that there might be other candidate members who meet the characteristic and aren't (yet) in the list.  All members SHALL have the listed characteristics."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group"/>
              <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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,Entity[determinerCode=&quot;GRP&quot; or determinerCode=&quot;GRP_KIND&quot;]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="administrative.group"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant"/>
            </mapping>
          </element>
          <element id="Group.id">
            <path value="Group.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="Group.meta">
            <path value="Group.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="Group.implicitRules">
            <path value="Group.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Group.language">
            <path value="Group.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Group.text">
            <path value="Group.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="Group.contained">
            <path value="Group.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."/>
            <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="Group.extension">
            <path value="Group.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Group.modifierExtension">
            <path value="Group.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>
            <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="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="Group.identifier">
            <path value="Group.identifier"/>
            <short value="Business Identifier for this Group"/>
            <definition value="Business identifiers assigned to this participant by one of the applications involved.  These identifiers remain constant as the resource is updated and propagates from server to server."/>
            <comment value="Note: 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."/>
            <requirements value="Allows identification of the group 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="Group.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./id[displayable=&quot;true&quot; and scope=&quot;OBJ&quot;])"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.identifier"/>
            </mapping>
          </element>
          <element id="Group.active">
            <path value="Group.active"/>
            <short value="Whether this group's record is in active use"/>
            <definition value="Indicates whether the record for the group is available for use or is merely being retained for historical purposes."/>
            <requirements value="Need to be able to mark a group record as not to be used because it was created in error or is otherwise no longer available (e.g. a herd that no longer exists)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.active"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or 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 can indicate that a record should not be treated as valid"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./statusCode"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.active"/>
            </mapping>
          </element>
          <element id="Group.type">
            <path value="Group.type"/>
            <short value="person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen"/>
            <definition value="Identifies the broad classification of the kind of resources the group includes."/>
            <comment value="Group members SHALL be of the appropriate resource type (Patient for person or animal; or Practitioner, PractitionerRole, Device, CareTeam, HealthcareService, Location, Organization, RelatedPerson, or Specimen for the other types.), or a Group of the resources of the appropriate type."/>
            <requirements value="Identifies what type of resources the group is made up of."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.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="GroupType"/>
              </extension>
              <strength value="required"/>
              <description value="Types of resources that are part of group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/group-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="person: ./classCode=&quot;PSN&quot;  animal: ./classCode=&quot;ANM&quot;  device: ./classCode=&quot;DEV&quot;  medication: ./classCode=&quot;MMAT&quot; and ./playedRole[isNormalRole() and classCode=&quot;THER&quot;]  food: ./classCode=&quot;FOOD&quot;"/>
            </mapping>
          </element>
          <element id="Group.membership">
            <path value="Group.membership"/>
            <short value="definitional | enumerated"/>
            <definition value="Basis for membership in the Group:&#xA;&#xA;* 'definitional': The Group.characteristics specified are both necessary and sufficient to determine membership. All entities that meet the criteria are considered to be members of the group, whether referenced by the group or not. If members are present, they are individuals that happen to be known as meeting the Group.characteristics. The list cannot be presumed to be complete.&#xA;* 'enumerated': The Group.characteristics are necessary but not sufficient to determine membership. Membership is determined by being listed as one of the Group.member."/>
            <requirements value="There are use-cases for groups that define specific collections of individuals, and other groups that define &quot;types&quot; of intended individuals.  The requirements for both kinds of groups are similar, so we use a single resource, distinguished by this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.membership"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="enumerated"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
              <description value="The basis for membership in a group"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/group-membership-basis|5.0.0"/>
            </binding>
          </element>
          <element id="Group.code">
            <path value="Group.code"/>
            <short value="Kind of Group members"/>
            <definition value="Provides a specific type of resource the group includes; e.g. &quot;cow&quot;, &quot;syringe&quot;, etc."/>
            <comment value="This would generally be omitted for Person resources."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GroupKind"/>
              </extension>
              <strength value="example"/>
              <description value="Kind of particular resource; e.g. cow, syringe, lake, etc."/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
          </element>
          <element id="Group.name">
            <path value="Group.name"/>
            <short value="Label for Group"/>
            <definition value="A label assigned to the group for human identification and communication."/>
            <requirements value="Used to identify the group in human communication."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.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[type=&quot;ST&quot;]"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.name"/>
            </mapping>
          </element>
          <element id="Group.description">
            <path value="Group.description"/>
            <short value="Natural language description of the group"/>
            <definition value="Explanation of what the group represents and how it is intended to be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Group.quantity">
            <path value="Group.quantity"/>
            <short value="Number of members"/>
            <definition value="A count of the number of resource instances that are part of the group."/>
            <comment value="Note that the quantity may be less than the number of members if some of the members are not active."/>
            <requirements value="Group size is a common defining characteristic."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.quantity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="./quantity"/>
            </mapping>
          </element>
          <element id="Group.managingEntity">
            <path value="Group.managingEntity"/>
            <short value="Entity that is the custodian of the Group's definition"/>
            <definition value="Entity responsible for defining and maintaining Group characteristics and/or registered members."/>
            <comment value="This does not strictly align with ownership of a herd or flock, but may suffice to represent that relationship in simple cases. More complex cases will require an extension."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.managingEntity"/>
              <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/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.witness"/>
            </mapping>
          </element>
          <element id="Group.characteristic">
            <path value="Group.characteristic"/>
            <short value="Include / Exclude group members by Trait"/>
            <definition value="Identifies traits whose presence r absence is shared by members of the group."/>
            <comment value="All the identified characteristics must be true for an entity to a member of the group."/>
            <requirements value="Needs to be a generic mechanism for identifying what individuals can be part of a group."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Group.characteristic"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="./playedRole[isNormalRole()]/participation[isNormalParticipation() and typeCode=&quot;SBJ&quot;]/act[isNormalAct and classCode=&quot;OBS&quot; and moodCode=&quot;EVN&quot;]"/>
            </mapping>
          </element>
          <element id="Group.characteristic.id">
            <path value="Group.characteristic.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="Group.characteristic.extension">
            <path value="Group.characteristic.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Group.characteristic.modifierExtension">
            <path value="Group.characteristic.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>
            <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>
            <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="Group.characteristic.code">
            <path value="Group.characteristic.code"/>
            <short value="Kind of characteristic"/>
            <definition value="A code that identifies the kind of trait being asserted."/>
            <requirements value="Need a formal way of identifying the characteristic being described."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GroupCharacteristicKind"/>
              </extension>
              <strength value="example"/>
              <description value="List of characteristics used to describe group members; e.g. gender, age, owner, location, etc."/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
          </element>
          <element id="Group.characteristic.value[x]">
            <path value="Group.characteristic.value[x]"/>
            <short value="Value held by characteristic"/>
            <definition value="The value of the trait that holds (or does not hold - see 'exclude') for members of the group."/>
            <comment value="For Range, it means members of the group have a value that falls somewhere within the specified range."/>
            <requirements value="The value of the characteristic is what determines group membership."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="GroupCharacteristicValue"/>
              </extension>
              <strength value="example"/>
              <description value="Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc."/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./value"/>
            </mapping>
          </element>
          <element id="Group.characteristic.exclude">
            <path value="Group.characteristic.exclude"/>
            <short value="Group includes or excludes"/>
            <definition value="If true, indicates the characteristic is one that is NOT held by members of the group."/>
            <comment value="This is labeled as &quot;Is Modifier&quot; because applications cannot wrongly include excluded members as included or vice versa."/>
            <requirements value="Sometimes group membership is determined by characteristics not possessed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.exclude"/>
              <min value="1"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./valueNegationInd"/>
            </mapping>
          </element>
          <element id="Group.characteristic.period">
            <path value="Group.characteristic.period"/>
            <short value="Period over which characteristic is tested"/>
            <definition value="The period over which the characteristic is tested; e.g. the patient had an operation during the month of June."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.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="false"/>
          </element>
          <element id="Group.member">
            <path value="Group.member"/>
            <short value="Who or what is in group"/>
            <definition value="Identifies the resource instances that are members of the group."/>
            <requirements value="Often the only thing of interest about a group is &quot;who's in it&quot;."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Group.member"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./scopedRole[isNormalRole() and classCode=&quot;MBR&quot;]/player"/>
            </mapping>
          </element>
          <element id="Group.member.id">
            <path value="Group.member.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="Group.member.extension">
            <path value="Group.member.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Group.member.modifierExtension">
            <path value="Group.member.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>
            <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>
            <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="Group.member.entity">
            <path value="Group.member.entity"/>
            <short value="Reference to the group member"/>
            <definition value="A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.member.entity"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group.member.period">
            <path value="Group.member.period"/>
            <short value="Period member belonged to the group"/>
            <definition value="The period that the member was in the group, if known."/>
            <requirements value="Need to track who was in a group at a  particular time."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.member.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </type>
            <meaningWhenMissing value="The member is in the group at this time"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group.member.inactive">
            <path value="Group.member.inactive"/>
            <short value="If member is no longer in group"/>
            <definition value="A flag to indicate that the member is no longer in the group, but previously may have been a member."/>
            <requirements value="Sometimes you don't know when someone stopped being in a group, but not when."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.member.inactive"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="Members are considered active unless explicitly specified otherwise"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group">
            <path value="Group"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Group.membership">
            <path value="Group.membership"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="enumerated"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/groupdefinition"/>
    <resource>
      <StructureDefinition>
        <id value="groupdefinition"/>
        <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="0"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/groupdefinition"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1092"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="GroupDefinition"/>
        <title value="Group  Definition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces a descriptive group that can be used in definitional resources"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="interface"/>
          <uri value="http://hl7.org/fhir/interface"/>
          <name value="Interface Pattern"/>
        </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="Group"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Group"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Group">
            <path value="Group"/>
            <short value="Group of multiple entities"/>
            <definition value="Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively, and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization."/>
            <comment value="If both Group.characteristic and Group.member are present, then the members are the individuals who were found who met the characteristic.  It's possible that there might be other candidate members who meet the characteristic and aren't (yet) in the list.  All members SHALL have the listed characteristics."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group"/>
              <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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,Entity[determinerCode=&quot;GRP&quot; or determinerCode=&quot;GRP_KIND&quot;]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="administrative.group"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant"/>
            </mapping>
          </element>
          <element id="Group.id">
            <path value="Group.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="Group.meta">
            <path value="Group.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="Group.implicitRules">
            <path value="Group.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Group.language">
            <path value="Group.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Group.text">
            <path value="Group.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="Group.contained">
            <path value="Group.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."/>
            <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="Group.extension">
            <path value="Group.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Group.modifierExtension">
            <path value="Group.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>
            <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="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="Group.identifier">
            <path value="Group.identifier"/>
            <short value="Business Identifier for this Group"/>
            <definition value="Business identifiers assigned to this participant by one of the applications involved.  These identifiers remain constant as the resource is updated and propagates from server to server."/>
            <comment value="Note: 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."/>
            <requirements value="Allows identification of the group 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="Group.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="unique(./id[displayable=&quot;true&quot; and scope=&quot;OBJ&quot;])"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.identifier"/>
            </mapping>
          </element>
          <element id="Group.active">
            <path value="Group.active"/>
            <short value="Whether this group's record is in active use"/>
            <definition value="Indicates whether the record for the group is available for use or is merely being retained for historical purposes."/>
            <requirements value="Need to be able to mark a group record as not to be used because it was created in error or is otherwise no longer available (e.g. a herd that no longer exists)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.active"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="This resource is generally assumed to be active if no value is provided for the active element"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or 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 can indicate that a record should not be treated as valid"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./statusCode"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.active"/>
            </mapping>
          </element>
          <element id="Group.type">
            <path value="Group.type"/>
            <short value="person | animal | practitioner | device | careteam | healthcareservice | location | organization | relatedperson | specimen"/>
            <definition value="Identifies the broad classification of the kind of resources the group includes."/>
            <comment value="Group members SHALL be of the appropriate resource type (Patient for person or animal; or Practitioner, PractitionerRole, Device, CareTeam, HealthcareService, Location, Organization, RelatedPerson, or Specimen for the other types.), or a Group of the resources of the appropriate type."/>
            <requirements value="Identifies what type of resources the group is made up of."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.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="GroupType"/>
              </extension>
              <strength value="required"/>
              <description value="Types of resources that are part of group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/group-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="person: ./classCode=&quot;PSN&quot;  animal: ./classCode=&quot;ANM&quot;  device: ./classCode=&quot;DEV&quot;  medication: ./classCode=&quot;MMAT&quot; and ./playedRole[isNormalRole() and classCode=&quot;THER&quot;]  food: ./classCode=&quot;FOOD&quot;"/>
            </mapping>
          </element>
          <element id="Group.membership">
            <path value="Group.membership"/>
            <short value="definitional | enumerated"/>
            <definition value="Basis for membership in the Group:&#xA;&#xA;* 'definitional': The Group.characteristics specified are both necessary and sufficient to determine membership. All entities that meet the criteria are considered to be members of the group, whether referenced by the group or not. If members are present, they are individuals that happen to be known as meeting the Group.characteristics. The list cannot be presumed to be complete.&#xA;* 'enumerated': The Group.characteristics are necessary but not sufficient to determine membership. Membership is determined by being listed as one of the Group.member."/>
            <requirements value="There are use-cases for groups that define specific collections of individuals, and other groups that define &quot;types&quot; of intended individuals.  The requirements for both kinds of groups are similar, so we use a single resource, distinguished by this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.membership"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="definitional"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
              <description value="The basis for membership in a group"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/group-membership-basis|5.0.0"/>
            </binding>
          </element>
          <element id="Group.code">
            <path value="Group.code"/>
            <short value="Kind of Group members"/>
            <definition value="Provides a specific type of resource the group includes; e.g. &quot;cow&quot;, &quot;syringe&quot;, etc."/>
            <comment value="This would generally be omitted for Person resources."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GroupKind"/>
              </extension>
              <strength value="example"/>
              <description value="Kind of particular resource; e.g. cow, syringe, lake, etc."/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
          </element>
          <element id="Group.name">
            <path value="Group.name"/>
            <short value="Label for Group"/>
            <definition value="A label assigned to the group for human identification and communication."/>
            <requirements value="Used to identify the group in human communication."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.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[type=&quot;ST&quot;]"/>
            </mapping>
            <mapping>
              <identity value="interface"/>
              <map value="Participant.name"/>
            </mapping>
          </element>
          <element id="Group.description">
            <path value="Group.description"/>
            <short value="Natural language description of the group"/>
            <definition value="Explanation of what the group represents and how it is intended to be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="Group.quantity">
            <path value="Group.quantity"/>
            <short value="Number of members"/>
            <definition value="A count of the number of resource instances that are part of the group."/>
            <comment value="Note that the quantity may be less than the number of members if some of the members are not active."/>
            <requirements value="Group size is a common defining characteristic."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.quantity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="./quantity"/>
            </mapping>
          </element>
          <element id="Group.managingEntity">
            <path value="Group.managingEntity"/>
            <short value="Entity that is the custodian of the Group's definition"/>
            <definition value="Entity responsible for defining and maintaining Group characteristics and/or registered members."/>
            <comment value="This does not strictly align with ownership of a herd or flock, but may suffice to represent that relationship in simple cases. More complex cases will require an extension."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.managingEntity"/>
              <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/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.witness"/>
            </mapping>
          </element>
          <element id="Group.characteristic">
            <path value="Group.characteristic"/>
            <short value="Include / Exclude group members by Trait"/>
            <definition value="Identifies traits whose presence r absence is shared by members of the group."/>
            <comment value="All the identified characteristics must be true for an entity to a member of the group."/>
            <requirements value="Needs to be a generic mechanism for identifying what individuals can be part of a group."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Group.characteristic"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="./playedRole[isNormalRole()]/participation[isNormalParticipation() and typeCode=&quot;SBJ&quot;]/act[isNormalAct and classCode=&quot;OBS&quot; and moodCode=&quot;EVN&quot;]"/>
            </mapping>
          </element>
          <element id="Group.characteristic.id">
            <path value="Group.characteristic.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="Group.characteristic.extension">
            <path value="Group.characteristic.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Group.characteristic.modifierExtension">
            <path value="Group.characteristic.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>
            <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>
            <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="Group.characteristic.code">
            <path value="Group.characteristic.code"/>
            <short value="Kind of characteristic"/>
            <definition value="A code that identifies the kind of trait being asserted."/>
            <requirements value="Need a formal way of identifying the characteristic being described."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GroupCharacteristicKind"/>
              </extension>
              <strength value="example"/>
              <description value="List of characteristics used to describe group members; e.g. gender, age, owner, location, etc."/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
          </element>
          <element id="Group.characteristic.value[x]">
            <path value="Group.characteristic.value[x]"/>
            <short value="Value held by characteristic"/>
            <definition value="The value of the trait that holds (or does not hold - see 'exclude') for members of the group."/>
            <comment value="For Range, it means members of the group have a value that falls somewhere within the specified range."/>
            <requirements value="The value of the characteristic is what determines group membership."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="GroupCharacteristicValue"/>
              </extension>
              <strength value="example"/>
              <description value="Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc."/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./value"/>
            </mapping>
          </element>
          <element id="Group.characteristic.exclude">
            <path value="Group.characteristic.exclude"/>
            <short value="Group includes or excludes"/>
            <definition value="If true, indicates the characteristic is one that is NOT held by members of the group."/>
            <comment value="This is labeled as &quot;Is Modifier&quot; because applications cannot wrongly include excluded members as included or vice versa."/>
            <requirements value="Sometimes group membership is determined by characteristics not possessed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.exclude"/>
              <min value="1"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./valueNegationInd"/>
            </mapping>
          </element>
          <element id="Group.characteristic.period">
            <path value="Group.characteristic.period"/>
            <short value="Period over which characteristic is tested"/>
            <definition value="The period over which the characteristic is tested; e.g. the patient had an operation during the month of June."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.characteristic.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="false"/>
          </element>
          <element id="Group.member">
            <path value="Group.member"/>
            <short value="Who or what is in group"/>
            <definition value="Identifies the resource instances that are members of the group."/>
            <requirements value="Often the only thing of interest about a group is &quot;who's in it&quot;."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Group.member"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./scopedRole[isNormalRole() and classCode=&quot;MBR&quot;]/player"/>
            </mapping>
          </element>
          <element id="Group.member.id">
            <path value="Group.member.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="Group.member.extension">
            <path value="Group.member.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Group.member.modifierExtension">
            <path value="Group.member.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>
            <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>
            <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="Group.member.entity">
            <path value="Group.member.entity"/>
            <short value="Reference to the group member"/>
            <definition value="A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Group.member.entity"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group.member.period">
            <path value="Group.member.period"/>
            <short value="Period member belonged to the group"/>
            <definition value="The period that the member was in the group, if known."/>
            <requirements value="Need to track who was in a group at a  particular time."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.member.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </type>
            <meaningWhenMissing value="The member is in the group at this time"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group.member.inactive">
            <path value="Group.member.inactive"/>
            <short value="If member is no longer in group"/>
            <definition value="A flag to indicate that the member is no longer in the group, but previously may have been a member."/>
            <requirements value="Sometimes you don't know when someone stopped being in a group, but not when."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Group.member.inactive"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="Members are considered active unless explicitly specified otherwise"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Group">
            <path value="Group"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Group.membership">
            <path value="Group.membership"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="definitional"/>
          </element>
          <element id="Group.characteristic">
            <path value="Group.characteristic"/>
            <min value="1"/>
            <max value="*"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <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="pc"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </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="5.0.0"/>
        <name value="FamilyMemberHistoryForGeneticsAnalysis"/>
        <title value="Family member history for genetics analysis"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2019-05-29"/>
        <publisher value="Health Level Seven 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="5.0.0"/>
        <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>
          <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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-2"/>
              <severity value="error"/>
              <human value="Can only have estimatedAge if age[x] is present"/>
              <expression value="age.exists() or estimatedAge.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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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="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"/>
            <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"/>
          </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"/>
            <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>
            <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="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.instantiatesCanonical">
            <path value="FamilyMemberHistory.instantiatesCanonical"/>
            <short value="Instantiates FHIR protocol or definition"/>
            <definition value="The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.instantiatesCanonical"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Measure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.instantiatesUri">
            <path value="FamilyMemberHistory.instantiatesUri"/>
            <short value="Instantiates external protocol or definition"/>
            <definition value="The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory."/>
            <comment value="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.instantiatesUri"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.instantiatesUri"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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|5.0.0"/>
            </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[x]"/>
            </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.participant">
            <path value="FamilyMemberHistory.participant"/>
            <short value="Who or what participated in the activities related to the family member history and how they were involved"/>
            <definition value="Indicates who or what participated in the activities related to the family member history and how they were involved."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="FamilyMemberHistory.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"/>
              <expression value="hasValue() 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=PRF]"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.participant.id">
            <path value="FamilyMemberHistory.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="FamilyMemberHistory.participant.extension">
            <path value="FamilyMemberHistory.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.participant.modifierExtension">
            <path value="FamilyMemberHistory.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>
            <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>
            <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.participant.function">
            <path value="FamilyMemberHistory.participant.function"/>
            <short value="Type of involvement"/>
            <definition value="Distinguishes the type of involvement of the actor in the activities related to the family member history."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.participant.function"/>
              <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="FamilyMemberHistoryParticipantFunction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participation-role-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".participation.functionCode"/>
            </mapping>
          </element>
          <element id="FamilyMemberHistory.participant.actor">
            <path value="FamilyMemberHistory.participant.actor"/>
            <short value="Who or what participated in the activities related to the family member history"/>
            <definition value="Indicates who or what participated in the activities related to the family member history."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.participant.actor"/>
              <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.who"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".player"/>
            </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="male | female | other | unknown"/>
            <definition value="The birth sex of the family member."/>
            <comment value="This element should ideally reflect whether the individual is genetically male or female.  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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Codes describing the sex assigned at birth as documented on the birth registration."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
            </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."/>
            <comment value="use estimatedAge to indicate whether the age is actual or not."/>
            <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-2"/>
            <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.estimatedAge">
            <path value="FamilyMemberHistory.estimatedAge"/>
            <short value="Age is estimated?"/>
            <definition value="If true, indicates that the age value specified is an estimated value."/>
            <comment value="This element is labeled as a modifier because the fact that age is estimated can/should change the results of any algorithm that calculates based on the specified age."/>
            <requirements value="Clinicians often prefer to specify an estimaged age rather than an age range."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="FamilyMemberHistory.estimatedAge"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="It is unknown whether the age is an estimate or not"/>
            <condition value="fhs-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"/>
          </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"/>
              <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=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>
            <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>
            <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>
            <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>
            <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 suffered by relation"/>
            <definition value="The actual condition 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="false"/>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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/shareableactivitydefinition"/>
    <resource>
      <StructureDefinition>
        <id value="shareableactivitydefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1172"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableActivityDefinition"/>
        <title value="Shareable ActivityDefinition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the activity definition metadata required by HL7 and other organizations that share and publish activity definitions"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ActivityDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ActivityDefinition">
            <path value="ActivityDefinition"/>
            <short value="The definition of a specific activity to be taken, independent of any particular patient or context"/>
            <definition value="This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.id">
            <path value="ActivityDefinition.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="ActivityDefinition.meta">
            <path value="ActivityDefinition.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="ActivityDefinition.implicitRules">
            <path value="ActivityDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ActivityDefinition.language">
            <path value="ActivityDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ActivityDefinition.text">
            <path value="ActivityDefinition.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="ActivityDefinition.contained">
            <path value="ActivityDefinition.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."/>
            <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="ActivityDefinition.extension">
            <path value="ActivityDefinition.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>
            <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="ActivityDefinition.extension:knowledgeCapability">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.extension:knowledgeRepresentationLevel">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.extension:artifactComment">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.modifierExtension">
            <path value="ActivityDefinition.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>
            <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="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="ActivityDefinition.url">
            <path value="ActivityDefinition.url"/>
            <short value="Canonical identifier for this activity definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this activity definition 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 activity definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the activity definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the activity definition to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.identifier">
            <path value="ActivityDefinition.identifier"/>
            <short value="Additional identifier for the activity definition"/>
            <definition value="A formal identifier that is used to identify this activity definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this activity definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.version">
            <path value="ActivityDefinition.version"/>
            <short value="Business version of the activity definition"/>
            <definition value="The identifier that is used to identify this version of the activity definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the activity definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active assets."/>
            <comment value="There may be different activity definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the activity definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.versionAlgorithm[x]">
            <path value="ActivityDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.name">
            <path value="ActivityDefinition.name"/>
            <short value="Name for this activity definition (computer friendly)"/>
            <definition value="A natural language name identifying the activity definition. 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="ActivityDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.title"/>
            <short value="Name for this activity definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the activity definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.subtitle"/>
            <short value="Subordinate title of the activity definition"/>
            <definition value="An explanatory or alternate title for the activity definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.subtitle"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.status">
            <path value="ActivityDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this activity definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of activity definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.experimental">
            <path value="ActivityDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this activity definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of activity definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level activity definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.subject[x]">
            <path value="ActivityDefinition.subject[x]"/>
            <short value="Type of individual the activity definition is intended for"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the activity being defined.  Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.date">
            <path value="ActivityDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the activity definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the activity definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the activity definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the activity definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the activity definition is the organization or individual primarily responsible for the maintenance and upkeep of the activity definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the activity definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the activity definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher {as string instead of CodeableConcept}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.contact">
            <path value="ActivityDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.description"/>
            <short value="Natural language description of the activity definition"/>
            <definition value="A free text natural language description of the activity definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the activity definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the activity definition is presumed to be the predominant language in the place the activity definition was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.useContext">
            <path value="ActivityDefinition.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 activity definition 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="ActivityDefinition.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ActivityDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for activity definition (if applicable)"/>
            <definition value="A legal or geographic region in which the activity definition is intended to be used."/>
            <comment value="It may be possible for the activity definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.purpose"/>
            <short value="Why this activity definition is defined"/>
            <definition value="Explanation of why this activity definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the activity definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this activity definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.usage"/>
            <short value="Describes the clinical usage of the activity definition"/>
            <definition value="A detailed description of how the activity definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the activity definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the activity definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the activity definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.copyrightLabel"/>
              <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="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.approvalDate">
            <path value="ActivityDefinition.approvalDate"/>
            <short value="When the activity definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.lastReviewDate">
            <path value="ActivityDefinition.lastReviewDate"/>
            <short value="When the activity definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.effectivePeriod">
            <path value="ActivityDefinition.effectivePeriod"/>
            <short value="When the activity definition is expected to be used"/>
            <definition value="The period during which the activity definition content was or is planned to be in active use."/>
            <comment value="The effective period for an activity definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a activity intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the activity definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.effectivePeriod"/>
              <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="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ActivityDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the activity. Topics provide a high-level categorization of the activity that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the activity definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.author">
            <path value="ActivityDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.editor">
            <path value="ActivityDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.reviewer">
            <path value="ActivityDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.endorser">
            <path value="ActivityDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.relatedArtifact">
            <path value="ActivityDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Activity definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.library">
            <path value="ActivityDefinition.library"/>
            <short value="Logic used by the activity definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the activity definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=USE].target[classCode=GROUPER,moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.kind">
            <path value="ActivityDefinition.kind"/>
            <short value="Kind of resource"/>
            <definition value="A description of the kind of resource the activity definition is representing. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest."/>
            <comment value="The kind element may only specify Request resource types to facilitate considering user input as part of processing the result of any automated clinical reasoning processes. To support creation of event resources, such as Observations, RiskAssessments, and DetectedIssues, use a Task resource with the focus of the task set to the event resource to be created. Note that the kind of resource to be created may determine what types of extensions are permitted."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.kind"/>
              <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="ActivityDefinitionKind"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of activity the definition is describing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-resource-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.profile">
            <path value="ActivityDefinition.profile"/>
            <short value="What profile the resource needs to conform to"/>
            <definition value="A profile to which the target of the activity definition is expected to conform."/>
            <requirements value="Allows profiles to be used to describe the types of activities that can be performed within a workflow, protocol, or order set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.profile"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".templateId"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.code">
            <path value="ActivityDefinition.code"/>
            <short value="Detail type of activity"/>
            <definition value="Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter."/>
            <comment value="Tends to be less relevant for activities involving particular products."/>
            <requirements value="Allows matching performed to planned as well as validation against protocols."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActivityDefinitionType"/>
              </extension>
              <strength value="example"/>
              <description value="Detailed type of the activity; e.g. CBC."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/procedure-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.intent">
            <path value="ActivityDefinition.intent"/>
            <short value="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option"/>
            <definition value="Indicates the level of authority/intentionality associated with the activity and where the request should fit into the workflow chain."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.intent"/>
              <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="RequestIntent"/>
              </extension>
              <strength value="required"/>
              <description value="Codes indicating the degree of authority/intentionality associated with a request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-intent|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { of the realized Activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.priority">
            <path value="ActivityDefinition.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the activity  should be addressed with respect to other requests."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.priority"/>
              <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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority { of the realized activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.doNotPerform">
            <path value="ActivityDefinition.doNotPerform"/>
            <short value="True if the activity should not be performed"/>
            <definition value="Set this to true if the definition is to indicate that a particular activity should NOT be performed. If true, this element should be interpreted to reinforce a negative coding. For example NPO as a code with a doNotPerform of true would still indicate to NOT perform the action."/>
            <comment value="This element is not intended to be used to communicate a decision support response to cancel an order in progress. That should be done with the &quot;remove&quot; type of a PlanDefinition or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.doNotPerform"/>
              <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="true"/>
            <isModifierReason value="If true this element negates the specified action. For Example,  instead of a request for a procedure, it is a request for the procedure to not occur."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".negationInd { of the realized activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.timing[x]">
            <path value="ActivityDefinition.timing[x]"/>
            <short value="When activity is to occur"/>
            <definition value="The timing or frequency upon which the described activity is to occur."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.asNeeded[x]">
            <path value="ActivityDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.location">
            <path value="ActivityDefinition.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant">
            <path value="ActivityDefinition.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.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"/>
              <expression value="hasValue() 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=PFM]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.id">
            <path value="ActivityDefinition.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="ActivityDefinition.participant.extension">
            <path value="ActivityDefinition.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.modifierExtension">
            <path value="ActivityDefinition.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>
            <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>
            <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="ActivityDefinition.participant.type">
            <path value="ActivityDefinition.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.typeCanonical">
            <path value="ActivityDefinition.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.typeReference">
            <path value="ActivityDefinition.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.role">
            <path value="ActivityDefinition.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent, etc"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.role"/>
              <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="ActivityParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.function">
            <path value="ActivityDefinition.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.product[x]">
            <path value="ActivityDefinition.product[x]"/>
            <short value="What's administered/supplied"/>
            <definition value="Identifies the food, drug or other product being consumed or supplied in the activity."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.product[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Ingredient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
            </type>
            <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="ActivityProduct"/>
              </extension>
              <strength value="example"/>
              <description value="Code describing the type of substance or medication."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CSM].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.quantity">
            <path value="ActivityDefinition.quantity"/>
            <short value="How much is administered/consumed/supplied"/>
            <definition value="Identifies the quantity expected to be consumed at once (per dose, per meal, etc.)."/>
            <alias value="dose"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.quantity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".quantity {for classCode=SPLY}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dosage">
            <path value="ActivityDefinition.dosage"/>
            <short value="Detailed dosage instructions"/>
            <definition value="Provides detailed dosage instructions in the same way that they are described for MedicationRequest resources."/>
            <comment value="If a dosage instruction is used, the definition should not specify timing or quantity."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.dosage"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Dosage"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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].target[classCode=SBADM; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.bodySite">
            <path value="ActivityDefinition.bodySite"/>
            <short value="What part of body to perform on"/>
            <definition value="Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites)."/>
            <comment value="Only used if not implicit in the code found in ServiceRequest.type."/>
            <requirements value="Knowing where the procedure is made is important for tracking if multiple sites are possible."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.bodySite"/>
              <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="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="A code that identifies the anatomical location."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".targetSiteCode {for classCode=PROC, SBADM}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.specimenRequirement">
            <path value="ActivityDefinition.specimenRequirement"/>
            <short value="What specimens are required to perform this action"/>
            <definition value="Defines specimen requirements for the action to be performed, such as required specimens for a lab test."/>
            <requirements value="Needed to represent lab order definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.specimenRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.observationRequirement">
            <path value="ActivityDefinition.observationRequirement"/>
            <short value="What observations are required to perform this action"/>
            <definition value="Defines observation requirements for the action to be performed, such as body weight or surface area."/>
            <requirements value="Needed to represent observation definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.observationRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.observationResultRequirement">
            <path value="ActivityDefinition.observationResultRequirement"/>
            <short value="What observations must be produced by this action"/>
            <definition value="Defines the observations that are expected to be produced by the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.observationResultRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.transform">
            <path value="ActivityDefinition.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.dynamicValue">
            <path value="ActivityDefinition.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Dynamic values that will be evaluated to produce values for elements of the resulting resource. For example, if the dosage of a medication must be computed based on the patient's weight, a dynamic value would be used to specify an expression that calculated the weight, and the path on the request resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the ActivityDefinition. Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="ActivityDefinition.dynamicValue.id">
            <path value="ActivityDefinition.dynamicValue.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="ActivityDefinition.dynamicValue.extension">
            <path value="ActivityDefinition.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dynamicValue.modifierExtension">
            <path value="ActivityDefinition.dynamicValue.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>
            <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>
            <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="ActivityDefinition.dynamicValue.path">
            <path value="ActivityDefinition.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.dynamicValue.path"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dynamicValue.expression">
            <path value="ActivityDefinition.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.dynamicValue.expression"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
        </snapshot>
        <differential>
          <element id="ActivityDefinition">
            <path value="ActivityDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ActivityDefinition.extension:knowledgeCapability">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.extension:knowledgeRepresentationLevel">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.extension:artifactComment">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-artifactComment"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.url">
            <path value="ActivityDefinition.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.version">
            <path value="ActivityDefinition.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.versionAlgorithm[x]">
            <path value="ActivityDefinition.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.name">
            <path value="ActivityDefinition.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.title">
            <path value="ActivityDefinition.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.experimental">
            <path value="ActivityDefinition.experimental"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.publisher">
            <path value="ActivityDefinition.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.description">
            <path value="ActivityDefinition.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition"/>
    <resource>
      <StructureDefinition>
        <id value="publishableactivitydefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishableactivitydefinition"/>
        <version value="5.0.0"/>
        <name value="PublishableActivityDefinition"/>
        <title value="Publishable ActivityDefinition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Supports declaration of the ActivityDefinition metadata required by HL7 and other organizations that share and publish activity definitions with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation."/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ActivityDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ActivityDefinition">
            <path value="ActivityDefinition"/>
            <short value="The definition of a specific activity to be taken, independent of any particular patient or context"/>
            <definition value="This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.id">
            <path value="ActivityDefinition.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="ActivityDefinition.meta">
            <path value="ActivityDefinition.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="ActivityDefinition.implicitRules">
            <path value="ActivityDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ActivityDefinition.language">
            <path value="ActivityDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ActivityDefinition.text">
            <path value="ActivityDefinition.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="ActivityDefinition.contained">
            <path value="ActivityDefinition.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."/>
            <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="ActivityDefinition.extension">
            <path value="ActivityDefinition.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>
            <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="ActivityDefinition.extension:knowledgeCapability">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.extension:knowledgeRepresentationLevel">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.extension:artifactComment">
            <path value="ActivityDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ActivityDefinition.modifierExtension">
            <path value="ActivityDefinition.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>
            <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="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="ActivityDefinition.url">
            <path value="ActivityDefinition.url"/>
            <short value="Canonical identifier for this activity definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this activity definition 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 activity definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the activity definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the activity definition to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.identifier">
            <path value="ActivityDefinition.identifier"/>
            <short value="Additional identifier for the activity definition"/>
            <definition value="A formal identifier that is used to identify this activity definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this activity definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.version">
            <path value="ActivityDefinition.version"/>
            <short value="Business version of the activity definition"/>
            <definition value="The identifier that is used to identify this version of the activity definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the activity definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active assets."/>
            <comment value="There may be different activity definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the activity definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.versionAlgorithm[x]">
            <path value="ActivityDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.name">
            <path value="ActivityDefinition.name"/>
            <short value="Name for this activity definition (computer friendly)"/>
            <definition value="A natural language name identifying the activity definition. 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="ActivityDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.title"/>
            <short value="Name for this activity definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the activity definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.subtitle"/>
            <short value="Subordinate title of the activity definition"/>
            <definition value="An explanatory or alternate title for the activity definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.subtitle"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.status">
            <path value="ActivityDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this activity definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of activity definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.experimental">
            <path value="ActivityDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this activity definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of activity definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level activity definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.subject[x]">
            <path value="ActivityDefinition.subject[x]"/>
            <short value="Type of individual the activity definition is intended for"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the activity being defined.  Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?) { only applies for subject Patient? }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.date">
            <path value="ActivityDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the activity definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the activity definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the activity definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the activity definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the activity definition is the organization or individual primarily responsible for the maintenance and upkeep of the activity definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the activity definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the activity definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher {as string instead of CodeableConcept}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.contact">
            <path value="ActivityDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.description"/>
            <short value="Natural language description of the activity definition"/>
            <definition value="A free text natural language description of the activity definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the activity definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the activity definition is presumed to be the predominant language in the place the activity definition was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.useContext">
            <path value="ActivityDefinition.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 activity definition 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="ActivityDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.jurisdiction">
            <path value="ActivityDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for activity definition (if applicable)"/>
            <definition value="A legal or geographic region in which the activity definition is intended to be used."/>
            <comment value="It may be possible for the activity definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.purpose"/>
            <short value="Why this activity definition is defined"/>
            <definition value="Explanation of why this activity definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the activity definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this activity definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.purpose"/>
              <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="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.usage"/>
            <short value="Describes the clinical usage of the activity definition"/>
            <definition value="A detailed description of how the activity definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.usage"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the activity definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the activity definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the activity definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.copyright"/>
              <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="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ActivityDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.approvalDate">
            <path value="ActivityDefinition.approvalDate"/>
            <short value="When the activity definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.lastReviewDate">
            <path value="ActivityDefinition.lastReviewDate"/>
            <short value="When the activity definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.effectivePeriod">
            <path value="ActivityDefinition.effectivePeriod"/>
            <short value="When the activity definition is expected to be used"/>
            <definition value="The period during which the activity definition content was or is planned to be in active use."/>
            <comment value="The effective period for an activity definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a activity intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the activity definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.topic">
            <path value="ActivityDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the activity. Topics provide a high-level categorization of the activity that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the activity definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.author">
            <path value="ActivityDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.editor">
            <path value="ActivityDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.reviewer">
            <path value="ActivityDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.endorser">
            <path value="ActivityDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.relatedArtifact">
            <path value="ActivityDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Activity definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.relatedArtifact.id">
            <path value="ActivityDefinition.relatedArtifact.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="id"/>
              </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="ActivityDefinition.relatedArtifact.extension">
            <path value="ActivityDefinition.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.relatedArtifact.type">
            <path value="ActivityDefinition.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="ActivityDefinition.relatedArtifact.classifier">
            <path value="ActivityDefinition.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="ActivityDefinition.relatedArtifact.label">
            <path value="ActivityDefinition.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.display">
            <path value="ActivityDefinition.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.citation">
            <path value="ActivityDefinition.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.document">
            <path value="ActivityDefinition.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.resource">
            <path value="ActivityDefinition.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <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"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.resourceReference">
            <path value="ActivityDefinition.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.publicationStatus">
            <path value="ActivityDefinition.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="ActivityDefinition.relatedArtifact.publicationDate">
            <path value="ActivityDefinition.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ActivityDefinition.library">
            <path value="ActivityDefinition.library"/>
            <short value="Logic used by the activity definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the activity definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=USE].target[classCode=GROUPER,moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.kind">
            <path value="ActivityDefinition.kind"/>
            <short value="Kind of resource"/>
            <definition value="A description of the kind of resource the activity definition is representing. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest."/>
            <comment value="The kind element may only specify Request resource types to facilitate considering user input as part of processing the result of any automated clinical reasoning processes. To support creation of event resources, such as Observations, RiskAssessments, and DetectedIssues, use a Task resource with the focus of the task set to the event resource to be created. Note that the kind of resource to be created may determine what types of extensions are permitted."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.kind"/>
              <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="ActivityDefinitionKind"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of activity the definition is describing."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-resource-types|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.profile">
            <path value="ActivityDefinition.profile"/>
            <short value="What profile the resource needs to conform to"/>
            <definition value="A profile to which the target of the activity definition is expected to conform."/>
            <requirements value="Allows profiles to be used to describe the types of activities that can be performed within a workflow, protocol, or order set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.profile"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".templateId"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.code">
            <path value="ActivityDefinition.code"/>
            <short value="Detail type of activity"/>
            <definition value="Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter."/>
            <comment value="Tends to be less relevant for activities involving particular products."/>
            <requirements value="Allows matching performed to planned as well as validation against protocols."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActivityDefinitionType"/>
              </extension>
              <strength value="example"/>
              <description value="Detailed type of the activity; e.g. CBC."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/procedure-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.intent">
            <path value="ActivityDefinition.intent"/>
            <short value="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option"/>
            <definition value="Indicates the level of authority/intentionality associated with the activity and where the request should fit into the workflow chain."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.intent"/>
              <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="RequestIntent"/>
              </extension>
              <strength value="required"/>
              <description value="Codes indicating the degree of authority/intentionality associated with a request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-intent|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { of the realized Activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.priority">
            <path value="ActivityDefinition.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the activity  should be addressed with respect to other requests."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.priority"/>
              <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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority { of the realized activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.doNotPerform">
            <path value="ActivityDefinition.doNotPerform"/>
            <short value="True if the activity should not be performed"/>
            <definition value="Set this to true if the definition is to indicate that a particular activity should NOT be performed. If true, this element should be interpreted to reinforce a negative coding. For example NPO as a code with a doNotPerform of true would still indicate to NOT perform the action."/>
            <comment value="This element is not intended to be used to communicate a decision support response to cancel an order in progress. That should be done with the &quot;remove&quot; type of a PlanDefinition or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.doNotPerform"/>
              <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="true"/>
            <isModifierReason value="If true this element negates the specified action. For Example,  instead of a request for a procedure, it is a request for the procedure to not occur."/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".negationInd { of the realized activity }"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.timing[x]">
            <path value="ActivityDefinition.timing[x]"/>
            <short value="When activity is to occur"/>
            <definition value="The timing or frequency upon which the described activity is to occur."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.asNeeded[x]">
            <path value="ActivityDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.location">
            <path value="ActivityDefinition.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant">
            <path value="ActivityDefinition.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.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"/>
              <expression value="hasValue() 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=PFM]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.id">
            <path value="ActivityDefinition.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="ActivityDefinition.participant.extension">
            <path value="ActivityDefinition.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.modifierExtension">
            <path value="ActivityDefinition.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>
            <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>
            <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="ActivityDefinition.participant.type">
            <path value="ActivityDefinition.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.typeCanonical">
            <path value="ActivityDefinition.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.typeReference">
            <path value="ActivityDefinition.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.role">
            <path value="ActivityDefinition.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent, etc"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.role"/>
              <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="ActivityParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.participant.function">
            <path value="ActivityDefinition.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.product[x]">
            <path value="ActivityDefinition.product[x]"/>
            <short value="What's administered/supplied"/>
            <definition value="Identifies the food, drug or other product being consumed or supplied in the activity."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.product[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Ingredient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
            </type>
            <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="ActivityProduct"/>
              </extension>
              <strength value="example"/>
              <description value="Code describing the type of substance or medication."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CSM].role"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.quantity">
            <path value="ActivityDefinition.quantity"/>
            <short value="How much is administered/consumed/supplied"/>
            <definition value="Identifies the quantity expected to be consumed at once (per dose, per meal, etc.)."/>
            <alias value="dose"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.quantity"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".quantity {for classCode=SPLY}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dosage">
            <path value="ActivityDefinition.dosage"/>
            <short value="Detailed dosage instructions"/>
            <definition value="Provides detailed dosage instructions in the same way that they are described for MedicationRequest resources."/>
            <comment value="If a dosage instruction is used, the definition should not specify timing or quantity."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.dosage"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Dosage"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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].target[classCode=SBADM; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.bodySite">
            <path value="ActivityDefinition.bodySite"/>
            <short value="What part of body to perform on"/>
            <definition value="Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites)."/>
            <comment value="Only used if not implicit in the code found in ServiceRequest.type."/>
            <requirements value="Knowing where the procedure is made is important for tracking if multiple sites are possible."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.bodySite"/>
              <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="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="A code that identifies the anatomical location."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".targetSiteCode {for classCode=PROC, SBADM}"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.specimenRequirement">
            <path value="ActivityDefinition.specimenRequirement"/>
            <short value="What specimens are required to perform this action"/>
            <definition value="Defines specimen requirements for the action to be performed, such as required specimens for a lab test."/>
            <requirements value="Needed to represent lab order definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.specimenRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.observationRequirement">
            <path value="ActivityDefinition.observationRequirement"/>
            <short value="What observations are required to perform this action"/>
            <definition value="Defines observation requirements for the action to be performed, such as body weight or surface area."/>
            <requirements value="Needed to represent observation definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.observationRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.observationResultRequirement">
            <path value="ActivityDefinition.observationResultRequirement"/>
            <short value="What observations must be produced by this action"/>
            <definition value="Defines the observations that are expected to be produced by the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.observationResultRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.transform">
            <path value="ActivityDefinition.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActivityDefinition.dynamicValue">
            <path value="ActivityDefinition.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Dynamic values that will be evaluated to produce values for elements of the resulting resource. For example, if the dosage of a medication must be computed based on the patient's weight, a dynamic value would be used to specify an expression that calculated the weight, and the path on the request resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the ActivityDefinition. Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ActivityDefinition.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="ActivityDefinition.dynamicValue.id">
            <path value="ActivityDefinition.dynamicValue.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="ActivityDefinition.dynamicValue.extension">
            <path value="ActivityDefinition.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dynamicValue.modifierExtension">
            <path value="ActivityDefinition.dynamicValue.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>
            <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>
            <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="ActivityDefinition.dynamicValue.path">
            <path value="ActivityDefinition.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.dynamicValue.path"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ActivityDefinition.dynamicValue.expression">
            <path value="ActivityDefinition.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ActivityDefinition.dynamicValue.expression"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
        </snapshot>
        <differential>
          <element id="ActivityDefinition">
            <path value="ActivityDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ActivityDefinition.identifier">
            <path value="ActivityDefinition.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.date">
            <path value="ActivityDefinition.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.contact">
            <path value="ActivityDefinition.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.useContext">
            <path value="ActivityDefinition.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.jurisdiction">
            <path value="ActivityDefinition.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.purpose">
            <path value="ActivityDefinition.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.usage">
            <path value="ActivityDefinition.usage"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.copyright">
            <path value="ActivityDefinition.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.copyrightLabel">
            <path value="ActivityDefinition.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.approvalDate">
            <path value="ActivityDefinition.approvalDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.lastReviewDate">
            <path value="ActivityDefinition.lastReviewDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.effectivePeriod">
            <path value="ActivityDefinition.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.topic">
            <path value="ActivityDefinition.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.author">
            <path value="ActivityDefinition.author"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.editor">
            <path value="ActivityDefinition.editor"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.reviewer">
            <path value="ActivityDefinition.reviewer"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.endorser">
            <path value="ActivityDefinition.endorser"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact">
            <path value="ActivityDefinition.relatedArtifact"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.display">
            <path value="ActivityDefinition.relatedArtifact.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.document">
            <path value="ActivityDefinition.relatedArtifact.document"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.resource">
            <path value="ActivityDefinition.relatedArtifact.resource"/>
            <mustSupport value="true"/>
          </element>
          <element id="ActivityDefinition.relatedArtifact.resourceReference">
            <path value="ActivityDefinition.relatedArtifact.resourceReference"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"/>
    <resource>
      <StructureDefinition>
        <id value="provenance-relevant-history"/>
        <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="3"/>
        </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="trial-use"/>
        </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="5.0.0"/>
        <name value="ProvenanceRelevantHistory"/>
        <title value="Provenance  Relevant  History"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2013-12-03"/>
        <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="Guidance on using Provenance for related history elements to provide key events that have happened over the lifespan of the resource  - see the use of this pattern in the [Request Pattern](request.html#history)"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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="false"/>
            <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 instant of time at which the activity was recorded."/>
            <comment value="This can be a little different from the time stamp on the 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>
            <mapping>
              <identity value="w3c.prov"/>
              <map value="Activity.when"/>
            </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, if relevant"/>
            <definition value="Where the activity occurred, if relevant."/>
            <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."/>
            <comment value="Plain text reasons can be sent in the &quot;text&quot; component with no codings.  Domains may wish to define a constrained terminology.  The authorization for the resource's existence of the resource itself will be maintained on the resource, not here."/>
            <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="CodeableReference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
            <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="false"/>
            <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Provenance.basedOn"/>
            <short value="Workflow authorization within which this event occurred"/>
            <definition value="Allows tracing of authorizatino for the events 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/CarePlan"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ServiceRequest"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Task"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.code"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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."/>
            <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="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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)."/>
            <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.code"/>
            </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.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"/>
              <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>
            <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>
            <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>
            <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>
            <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>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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"/>
            </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"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </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"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-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="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"/>
              <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>
            <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>
            <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>
            <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>
            <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>
            <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="ProvenanceAgentType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="example"/>
              <description value="The type of participation that a provenance agent played with respect to the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participation-role-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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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"/>
            </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"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-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="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".id"/>
            </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"/>
            </type>
            <condition value="prov-1"/>
            <condition value="prov-2"/>
            <condition value="prov-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="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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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"/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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|5.0.0"/>
            </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="whatIdentity 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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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.authorization">
            <path value="Provenance.authorization"/>
            <comment value="Plain text reasons can be sent in the &quot;text&quot; component with no codings.  Domains may wish to define a constrained terminology.  The authorization for the resource's existence of the resource itself will be maintained on the resource, not here."/>
            <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/shareableconceptmap"/>
    <resource>
      <StructureDefinition>
        <id value="shareableconceptmap"/>
        <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="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareableconceptmap"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1115"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableConceptMap"/>
        <title value="Shareable ConceptMap"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the concept map metadata required by HL7 and other organizations that share and publish concept maps"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ConceptMap"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ConceptMap">
            <path value="ConceptMap"/>
            <short value="A map from one set of concepts to one or more other concepts"/>
            <definition value="A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ConceptMap.id">
            <path value="ConceptMap.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="ConceptMap.meta">
            <path value="ConceptMap.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="ConceptMap.implicitRules">
            <path value="ConceptMap.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ConceptMap.language">
            <path value="ConceptMap.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ConceptMap.text">
            <path value="ConceptMap.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="ConceptMap.contained">
            <path value="ConceptMap.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."/>
            <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="ConceptMap.extension">
            <path value="ConceptMap.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>
            <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="ConceptMap.extension:knowledgeRepresentationLevel">
            <path value="ConceptMap.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ConceptMap.modifierExtension">
            <path value="ConceptMap.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>
            <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="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="ConceptMap.url">
            <path value="ConceptMap.url"/>
            <short value="Canonical identifier for this concept map, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this concept map 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 concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the concept map to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="ConceptMap.identifier">
            <path value="ConceptMap.identifier"/>
            <short value="Additional identifier for the concept map"/>
            <definition value="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this concept map outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.version">
            <path value="ConceptMap.version"/>
            <short value="Business version of the concept map"/>
            <definition value="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different concept map instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the concept map with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ConceptMap.versionAlgorithm[x]">
            <path value="ConceptMap.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ConceptMap is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ConceptMap.name">
            <path value="ConceptMap.name"/>
            <short value="Name for this concept map (computer friendly)"/>
            <definition value="A natural language name identifying the concept map. 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="ConceptMap.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ConceptMap.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.title"/>
            <short value="Name for this concept map (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the concept map."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.status">
            <path value="ConceptMap.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this concept map. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of concept maps that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ConceptMap.experimental">
            <path value="ConceptMap.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of concept maps that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level concept map."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ConceptMap.date">
            <path value="ConceptMap.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the concept map was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the concept map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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>
          </element>
          <element id="ConceptMap.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the concept map."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the concept map is the organization or individual primarily responsible for the maintenance and upkeep of the concept map. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the concept map. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the concept map.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ConceptMap.contact">
            <path value="ConceptMap.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.description"/>
            <short value="Natural language description of the concept map"/>
            <definition value="A free text natural language description of the concept map from a consumer's perspective."/>
            <comment value="The description is not intended to describe the semantics of the concept map. The description should capture its intended use, which is needed for ensuring integrity for its use in models across future changes."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ConceptMap.useContext">
            <path value="ConceptMap.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 concept map 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="ConceptMap.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="ConceptMap.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ConceptMap.jurisdiction"/>
            <short value="Intended jurisdiction for concept map (if applicable)"/>
            <definition value="A legal or geographic region in which the concept map is intended to be used."/>
            <comment value="It may be possible for the concept map to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ConceptMap.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.purpose"/>
            <short value="Why this concept map is defined"/>
            <definition value="Explanation of why this concept map is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the concept map. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this concept map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map."/>
            <comment value="Frequently the copyright differs between the concept map and codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the concept map and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.copyrightLabel"/>
              <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"/>
          </element>
          <element id="ConceptMap.approvalDate">
            <path value="ConceptMap.approvalDate"/>
            <short value="When the ConceptMap was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.lastReviewDate">
            <path value="ConceptMap.lastReviewDate"/>
            <short value="When the ConceptMap was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.effectivePeriod">
            <path value="ConceptMap.effectivePeriod"/>
            <short value="When the ConceptMap is expected to be used"/>
            <definition value="The period during which the ConceptMap content was or is planned to be in active use."/>
            <comment value="The effective period for a ConceptMap  determines when the content is applicable for usage and is independent of publication and review dates. For example, a map intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ConceptMap are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ConceptMap.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ConceptMap. Topics provide a high-level categorization as well as keywords for the ConceptMap that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ConceptMap so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ConceptMap.author">
            <path value="ConceptMap.author"/>
            <short value="Who authored the ConceptMap"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ConceptMap."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.editor">
            <path value="ConceptMap.editor"/>
            <short value="Who edited the ConceptMap"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ConceptMap."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.reviewer">
            <path value="ConceptMap.reviewer"/>
            <short value="Who reviewed the ConceptMap"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ConceptMap."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.endorser">
            <path value="ConceptMap.endorser"/>
            <short value="Who endorsed the ConceptMap"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ConceptMap for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.relatedArtifact">
            <path value="ConceptMap.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ConceptMap must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Property"/>
            </extension>
            <path value="ConceptMap.property"/>
            <short value="Additional properties of the mapping"/>
            <definition value="A property defines a slot through which additional information can be provided about a map from source -&gt; target."/>
            <comment value="Properties may be used to supply for example, mapping priority, provenance, presentation hints, flag as experimental, and additional documentation. Multiple occurrences of ConceptMap.group.element.target.property may occur for a ConceptMap.property where ConceptMap.group.element.target.property.code is the same and the values in ConceptMap.group.element.target.property.value differ."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-11"/>
              <severity value="error"/>
              <human value="If the property type is code, a system SHALL be specified"/>
              <expression value="type = 'code' implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.property.id">
            <path value="ConceptMap.property.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="ConceptMap.property.extension">
            <path value="ConceptMap.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.property.modifierExtension">
            <path value="ConceptMap.property.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>
            <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>
            <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="ConceptMap.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.property.code"/>
            <short value="Identifies the property on the mappings, and when referred to in the $translate operation"/>
            <definition value="A code that is used to identify the property. The code is used internally (in ConceptMap.group.element.target.property.code) and also in the $translate operation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.code"/>
              <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"/>
          </element>
          <element id="ConceptMap.property.uri">
            <path value="ConceptMap.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.uri"/>
              <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="ConceptMap.property.description">
            <path value="ConceptMap.property.description"/>
            <short value="Why the property is defined, and/or what it conveys"/>
            <definition value="A description of the property - why it is defined, and how its value might be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.description"/>
              <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="ConceptMap.property.type">
            <path value="ConceptMap.property.type"/>
            <short value="Coding | string | integer | boolean | dateTime | decimal | code"/>
            <definition value="The type of the property value."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PropertyType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a property value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-property-type|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.property.system">
            <path value="ConceptMap.property.system"/>
            <short value="The CodeSystem from which code values come"/>
            <definition value="The CodeSystem that defines the codes from which values of type ```code``` in property values."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <condition value="cmd-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="ConceptMap.additionalAttribute">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="AdditionalAttribute"/>
            </extension>
            <path value="ConceptMap.additionalAttribute"/>
            <short value="Definition of an additional attribute to act as a data source or target"/>
            <definition value="An additionalAttribute defines an additional data element found in the source or target data model where the data will come from or be mapped to. Some mappings are based on data in addition to the source data element, where codes in multiple fields are combined to a single field (or vice versa)."/>
            <comment value="Additional attributes are used to define additional data elements where mapping data can be found. For an example, see [Specimen Type v2 -&gt; SNOMED CT Mapping(conceptmap-example-specimen-type.html)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.additionalAttribute"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.additionalAttribute.id">
            <path value="ConceptMap.additionalAttribute.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="ConceptMap.additionalAttribute.extension">
            <path value="ConceptMap.additionalAttribute.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.additionalAttribute.modifierExtension">
            <path value="ConceptMap.additionalAttribute.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>
            <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>
            <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="ConceptMap.additionalAttribute.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.additionalAttribute.code"/>
            <short value="Identifies this additional attribute through this resource"/>
            <definition value="A code that is used to identify this additional data attribute. The code is used internally in ConceptMap.group.element.target.dependsOn.attribute and ConceptMap.group.element.target.product.attribute."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.code"/>
              <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"/>
          </element>
          <element id="ConceptMap.additionalAttribute.uri">
            <path value="ConceptMap.additionalAttribute.uri"/>
            <short value="Formal identifier for the data element referred to in this attribte"/>
            <definition value="Reference to the formal definition of the source/target data element. For elements defined by the FHIR specification, or using a FHIR logical model, the correct format is {canonical-url}#{element-id}."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.uri"/>
              <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="ConceptMap.additionalAttribute.description">
            <path value="ConceptMap.additionalAttribute.description"/>
            <short value="Why the additional attribute is defined, and/or what the data element it refers to is"/>
            <definition value="A description of the additional attribute and/or the data element it refers to - why it is defined, and how the value might be used in mappings, and a discussion of issues associated with the use of the data element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.description"/>
              <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="ConceptMap.additionalAttribute.type">
            <path value="ConceptMap.additionalAttribute.type"/>
            <short value="code | Coding | string | boolean | Quantity"/>
            <definition value="The type of the source data contained in this concept map for this data element."/>
            <comment value="When the source or target is not content defined by FHIR, some additional application logic might be required to map from the FHIR Datatype to the externally defined content"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.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="ConceptMapmapAttributeType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a mapping attribute value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-attribute-type|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.sourceScope[x]">
            <path value="ConceptMap.sourceScope[x]"/>
            <short value="The source value set that contains the concepts that are being mapped"/>
            <definition value="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.  Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set."/>
            <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no sourceScope or targetScope value set, there is no specified context for the map (not recommended).  The sourceScope value set may select codes from either an explicit (standard or local) or implicit code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.sourceScope[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.targetScope[x]">
            <path value="ConceptMap.targetScope[x]"/>
            <short value="The target value set which provides context for the mappings"/>
            <definition value="Identifier for the target value set that provides important context about how the mapping choices are made.  Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set."/>
            <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no sourceScope or targetScope value set, there is no specified context for the map (not recommended).  The targetScope value set may select codes from either an explicit (standard or local) or implicit code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.targetScope[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.group">
            <path value="ConceptMap.group"/>
            <short value="Same source and target systems"/>
            <definition value="A group of mappings that all have the same source and target system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ConceptMap.group.id">
            <path value="ConceptMap.group.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="ConceptMap.group.extension">
            <path value="ConceptMap.group.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.modifierExtension">
            <path value="ConceptMap.group.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>
            <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>
            <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="ConceptMap.group.source">
            <path value="ConceptMap.group.source"/>
            <short value="Source system where concepts to be mapped are defined"/>
            <definition value="An absolute URI that identifies the source system where the concepts to be mapped are defined."/>
            <comment value="This is not needed if the source value set is specified and it contains concepts from only a single system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.source"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.target">
            <path value="ConceptMap.group.target"/>
            <short value="Target system that the concepts are to be mapped to"/>
            <definition value="An absolute URI that identifies the target system that the concepts will be mapped to."/>
            <comment value="This is not needed if the target value set is specified and it contains concepts from only a single system. The group target may also be omitted if all of the target element relationship values are 'not-related-to'."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.target"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="SourceElement"/>
            </extension>
            <path value="ConceptMap.group.element"/>
            <short value="Mappings for a concept from the source set"/>
            <definition value="Mappings for an individual concept in the source to one or more concepts in the target."/>
            <comment value="Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies."/>
            <alias value="code"/>
            <alias value="concept"/>
            <alias value="item"/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-4"/>
              <severity value="error"/>
              <human value="If noMap is present, target SHALL NOT be present"/>
              <expression value="(noMap.exists() and noMap=true) implies target.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-5"/>
              <severity value="error"/>
              <human value="Either code or valueSet SHALL be present but not both."/>
              <expression value="(code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.id">
            <path value="ConceptMap.group.element.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="ConceptMap.group.element.extension">
            <path value="ConceptMap.group.element.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.modifierExtension">
            <path value="ConceptMap.group.element.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>
            <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>
            <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="ConceptMap.group.element.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.code"/>
            <short value="Identifies element being mapped"/>
            <definition value="Identity (code or path) or the element/item being mapped."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.display">
            <path value="ConceptMap.group.element.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.display"/>
              <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"/>
          </element>
          <element id="ConceptMap.group.element.valueSet">
            <path value="ConceptMap.group.element.valueSet"/>
            <short value="Identifies the set of concepts being mapped"/>
            <definition value="The set of concepts from the ConceptMap.group.source code system which are all being mapped to the target as part of this mapping rule."/>
            <comment value="If the value set expansion is empty then there are no source concepts to map in this rule."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.noMap">
            <path value="ConceptMap.group.element.noMap"/>
            <short value="No mapping to a target concept for this source concept"/>
            <definition value="If noMap = true this indicates that no mapping to a target concept exists for this source concept."/>
            <comment value="If noMap = true, then the behavior of ConceptMap.group.unmapped (if present) does not apply."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.noMap"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="TargetElement"/>
            </extension>
            <path value="ConceptMap.group.element.target"/>
            <short value="Concept in target system for element"/>
            <definition value="A concept from the target value set that this concept maps to."/>
            <comment value="Ideally there would only be one map, with an 'equivalent' mapping. But multiple maps are allowed for several narrower (i.e. source-is-broader-than-target) options, or to assert that other concepts are not related."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="cmd-4"/>
            <constraint>
              <key value="cmd-1"/>
              <severity value="error"/>
              <human value="If the map is source-is-broader-than-target or not-related-to, there SHALL be some comments, unless the status is 'draft'"/>
              <expression value="comment.exists() or (%resource.status = 'draft') or relationship.empty() or ((relationship != 'source-is-broader-than-target') and (relationship != 'not-related-to'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-7"/>
              <severity value="error"/>
              <human value="Either code or valueSet SHALL be present but not both."/>
              <expression value="(code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.target.id">
            <path value="ConceptMap.group.element.target.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="ConceptMap.group.element.target.extension">
            <path value="ConceptMap.group.element.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.modifierExtension">
            <path value="ConceptMap.group.element.target.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>
            <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>
            <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="ConceptMap.group.element.target.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.code"/>
            <short value="Code that identifies the target element"/>
            <definition value="Identity (code or path) or the element/item that the map refers to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.display">
            <path value="ConceptMap.group.element.target.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.display"/>
              <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"/>
          </element>
          <element id="ConceptMap.group.element.target.valueSet">
            <path value="ConceptMap.group.element.target.valueSet"/>
            <short value="Identifies the set of target concepts"/>
            <definition value="The set of concepts from the ConceptMap.group.target code system which are all being mapped to as part of this mapping rule. The effect of using this data element is the same as having multiple ConceptMap.group.element.target elements with one for each concept in the ConceptMap.group.element.target.valueSet value set."/>
            <comment value="If the the value set expansion is empty then the source concept(s) are unmapped and the behavior of ConceptMap.group.unmapped (if present) applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.relationship">
            <path value="ConceptMap.group.element.target.relationship"/>
            <short value="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to"/>
            <definition value="The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target)."/>
            <comment value="This element is labeled as a modifier because it may indicate that there is no mapping."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.relationship"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="The 'not-related-to' relationship means that there is no mapping from the source to the target, and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptMapRelationship"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The relationship between concepts."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-map-relationship|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.element.target.comment">
            <path value="ConceptMap.group.element.target.comment"/>
            <short value="Description of status/issues in mapping"/>
            <definition value="A description of status/issues in mapping that conveys additional information not represented in  the structured data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.comment"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="MappingProperty"/>
            </extension>
            <path value="ConceptMap.group.element.target.property"/>
            <short value="Property value for the source -&gt; target mapping"/>
            <definition value="A property value for this source -&gt; target mapping."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ConceptMap.group.element.target.property.id">
            <path value="ConceptMap.group.element.target.property.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="ConceptMap.group.element.target.property.extension">
            <path value="ConceptMap.group.element.target.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.property.modifierExtension">
            <path value="ConceptMap.group.element.target.property.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>
            <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>
            <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="ConceptMap.group.element.target.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.property.code"/>
            <short value="Reference to ConceptMap.property.code"/>
            <definition value="A reference to a mapping property defined in ConceptMap.property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.property.code"/>
              <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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property. If the type chosen for this element is 'code', then the property SHALL be defined in a ConceptMap.property element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <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"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="OtherElement"/>
            </extension>
            <path value="ConceptMap.group.element.target.dependsOn"/>
            <short value="Other properties required for this mapping"/>
            <definition value="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified data attribute can be resolved, and it has the specified value."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-6"/>
              <severity value="error"/>
              <human value="One of value[x] or valueSet must exist, but not both."/>
              <expression value="(value.exists() and valueSet.empty()) or (value.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.target.dependsOn.id">
            <path value="ConceptMap.group.element.target.dependsOn.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="ConceptMap.group.element.target.dependsOn.extension">
            <path value="ConceptMap.group.element.target.dependsOn.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.modifierExtension">
            <path value="ConceptMap.group.element.target.dependsOn.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>
            <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>
            <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="ConceptMap.group.element.target.dependsOn.attribute">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.dependsOn.attribute"/>
            <short value="A reference to a mapping attribute defined in ConceptMap.additionalAttribute"/>
            <definition value="A reference to the additional attribute that holds a value the map depends on."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.attribute"/>
              <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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.value[x]">
            <path value="ConceptMap.group.element.target.dependsOn.value[x]"/>
            <short value="Value of the referenced data element"/>
            <definition value="Data element value that the map depends on / produces."/>
            <comment value="If the data type is a code, then the code system is .group.source for .dependsOn.valueCode and .group.target for .product.valueCode."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.valueSet">
            <path value="ConceptMap.group.element.target.dependsOn.valueSet"/>
            <short value="The mapping depends on a data element with a value from this value set"/>
            <definition value="This mapping applies if the data element value is a code from this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.product">
            <path value="ConceptMap.group.element.target.product"/>
            <short value="Other data elements that this mapping also produces"/>
            <definition value="Product is the output of a ConceptMap that provides additional values that go in other attributes / data elemnts of the target data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.product"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ConceptMap#ConceptMap.group.element.target.dependsOn"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.unmapped">
            <path value="ConceptMap.group.unmapped"/>
            <short value="What to do when there is no mapping target for the source concept and ConceptMap.group.element.noMap is not true"/>
            <definition value="What to do when there is no mapping to a target concept from the source concept and ConceptMap.group.element.noMap is not true. This provides the &quot;default&quot; to be applied when there is no target concept mapping specified or the expansion of ConceptMap.group.element.target.valueSet is empty."/>
            <comment value="The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to or if ConceptMap.group.element.noMap = true."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-2"/>
              <severity value="error"/>
              <human value="If the mode is 'fixed', either a code or valueSet must be provided, but not both."/>
              <expression value="(mode = 'fixed') implies ((code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-3"/>
              <severity value="error"/>
              <human value="If the mode is 'other-map', a url for the other map must be provided"/>
              <expression value="(mode = 'other-map') implies otherMap.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-8"/>
              <severity value="error"/>
              <human value="If the mode is not 'fixed', code, display and valueSet are not allowed"/>
              <expression value="(mode != 'fixed') implies (code.empty() and display.empty() and valueSet.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-9"/>
              <severity value="error"/>
              <human value="If the mode is not 'other-map', relationship must be provided"/>
              <expression value="(mode != 'other-map') implies relationship.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-10"/>
              <severity value="error"/>
              <human value="If the mode is not 'other-map', otherMap is not allowed"/>
              <expression value="(mode != 'other-map') implies otherMap.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.unmapped.id">
            <path value="ConceptMap.group.unmapped.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="ConceptMap.group.unmapped.extension">
            <path value="ConceptMap.group.unmapped.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.unmapped.modifierExtension">
            <path value="ConceptMap.group.unmapped.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>
            <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>
            <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="ConceptMap.group.unmapped.mode">
            <path value="ConceptMap.group.unmapped.mode"/>
            <short value="use-source-code | fixed | other-map"/>
            <definition value="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.mode"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-3"/>
            <condition value="cmd-2"/>
            <condition value="cmd-8"/>
            <condition value="cmd-9"/>
            <condition value="cmd-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="ConceptMapGroupUnmappedMode"/>
              </extension>
              <strength value="required"/>
              <description value="Defines which action to take if there is no match in the group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.unmapped.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.unmapped.code"/>
            <short value="Fixed code when mode = fixed"/>
            <definition value="The fixed code to use when the mode = 'fixed'  - all unmapped codes are mapped to a single fixed code."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-2"/>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.display">
            <path value="ConceptMap.group.unmapped.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.valueSet">
            <path value="ConceptMap.group.unmapped.valueSet"/>
            <short value="Fixed code set when mode = fixed"/>
            <definition value="The set of fixed codes to use when the mode = 'fixed'  - all unmapped codes are mapped to each of the fixed codes."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-2"/>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.relationship">
            <path value="ConceptMap.group.unmapped.relationship"/>
            <short value="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to"/>
            <definition value="The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'."/>
            <comment value="This element is labeled as a modifier because it may indicate that there is no mapping."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.relationship"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="The 'not-related-to' relationship means that there is no mapping from the source to the target, and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UnmappedConceptMapRelationship"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The default relationship value to apply between the source and target concepts when no concept mapping is specified."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-map-relationship|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.unmapped.otherMap">
            <path value="ConceptMap.group.unmapped.otherMap"/>
            <short value="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped"/>
            <definition value="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.otherMap"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </type>
            <condition value="cmd-3"/>
            <condition value="cmd-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="ConceptMap">
            <path value="ConceptMap"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ConceptMap.extension:knowledgeRepresentationLevel">
            <path value="ConceptMap.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.url">
            <path value="ConceptMap.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.version">
            <path value="ConceptMap.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.versionAlgorithm[x]">
            <path value="ConceptMap.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.name">
            <path value="ConceptMap.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.title">
            <path value="ConceptMap.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.status">
            <path value="ConceptMap.status"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.experimental">
            <path value="ConceptMap.experimental"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.publisher">
            <path value="ConceptMap.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.description">
            <path value="ConceptMap.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishableconceptmap"/>
    <resource>
      <StructureDefinition>
        <id value="publishableconceptmap"/>
        <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="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishableconceptmap"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1114"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="PublishableConceptMap"/>
        <title value="Publishable ConceptMap"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines and enforces the minimum expectations for publication and distribution of a concept map, typically as part of an artifact repository or implementation guide publication"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ConceptMap"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareableconceptmap"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ConceptMap">
            <path value="ConceptMap"/>
            <short value="A map from one set of concepts to one or more other concepts"/>
            <definition value="A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ConceptMap.id">
            <path value="ConceptMap.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="ConceptMap.meta">
            <path value="ConceptMap.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="ConceptMap.implicitRules">
            <path value="ConceptMap.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ConceptMap.language">
            <path value="ConceptMap.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ConceptMap.text">
            <path value="ConceptMap.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="ConceptMap.contained">
            <path value="ConceptMap.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."/>
            <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="ConceptMap.extension">
            <path value="ConceptMap.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>
            <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="ConceptMap.extension:knowledgeRepresentationLevel">
            <path value="ConceptMap.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ConceptMap.modifierExtension">
            <path value="ConceptMap.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>
            <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="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="ConceptMap.url">
            <path value="ConceptMap.url"/>
            <short value="Canonical identifier for this concept map, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this concept map 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 concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the concept map to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="ConceptMap.identifier">
            <path value="ConceptMap.identifier"/>
            <short value="Additional identifier for the concept map"/>
            <definition value="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this concept map outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.version">
            <path value="ConceptMap.version"/>
            <short value="Business version of the concept map"/>
            <definition value="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different concept map instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the concept map with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ConceptMap.versionAlgorithm[x]">
            <path value="ConceptMap.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ConceptMap is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ConceptMap.name">
            <path value="ConceptMap.name"/>
            <short value="Name for this concept map (computer friendly)"/>
            <definition value="A natural language name identifying the concept map. 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="ConceptMap.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ConceptMap.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.title"/>
            <short value="Name for this concept map (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the concept map."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.status">
            <path value="ConceptMap.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this concept map. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of concept maps that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.status"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="This is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ConceptMap.experimental">
            <path value="ConceptMap.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of concept maps that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level concept map."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ConceptMap.date">
            <path value="ConceptMap.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the concept map was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the concept map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="ConceptMap.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the concept map."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the concept map is the organization or individual primarily responsible for the maintenance and upkeep of the concept map. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the concept map. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the concept map.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ConceptMap.contact">
            <path value="ConceptMap.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ConceptMap.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.description"/>
            <short value="Natural language description of the concept map"/>
            <definition value="A free text natural language description of the concept map from a consumer's perspective."/>
            <comment value="The description is not intended to describe the semantics of the concept map. The description should capture its intended use, which is needed for ensuring integrity for its use in models across future changes."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ConceptMap.useContext">
            <path value="ConceptMap.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 concept map 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="ConceptMap.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.jurisdiction">
            <path value="ConceptMap.jurisdiction"/>
            <short value="Intended jurisdiction for concept map (if applicable)"/>
            <definition value="A legal or geographic region in which the concept map is intended to be used."/>
            <comment value="It may be possible for the concept map to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ConceptMap.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.purpose"/>
            <short value="Why this concept map is defined"/>
            <definition value="Explanation of why this concept map is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the concept map. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this concept map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.purpose"/>
              <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="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map."/>
            <comment value="Frequently the copyright differs between the concept map and codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the concept map and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.copyright"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ConceptMap.approvalDate">
            <path value="ConceptMap.approvalDate"/>
            <short value="When the ConceptMap was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.lastReviewDate">
            <path value="ConceptMap.lastReviewDate"/>
            <short value="When the ConceptMap was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.effectivePeriod">
            <path value="ConceptMap.effectivePeriod"/>
            <short value="When the ConceptMap is expected to be used"/>
            <definition value="The period during which the ConceptMap content was or is planned to be in active use."/>
            <comment value="The effective period for a ConceptMap  determines when the content is applicable for usage and is independent of publication and review dates. For example, a map intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ConceptMap are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ConceptMap.topic">
            <path value="ConceptMap.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ConceptMap. Topics provide a high-level categorization as well as keywords for the ConceptMap that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ConceptMap so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ConceptMap.author">
            <path value="ConceptMap.author"/>
            <short value="Who authored the ConceptMap"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ConceptMap."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.editor">
            <path value="ConceptMap.editor"/>
            <short value="Who edited the ConceptMap"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ConceptMap."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.reviewer">
            <path value="ConceptMap.reviewer"/>
            <short value="Who reviewed the ConceptMap"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ConceptMap."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.endorser">
            <path value="ConceptMap.endorser"/>
            <short value="Who endorsed the ConceptMap"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ConceptMap for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.relatedArtifact">
            <path value="ConceptMap.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ConceptMap must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Property"/>
            </extension>
            <path value="ConceptMap.property"/>
            <short value="Additional properties of the mapping"/>
            <definition value="A property defines a slot through which additional information can be provided about a map from source -&gt; target."/>
            <comment value="Properties may be used to supply for example, mapping priority, provenance, presentation hints, flag as experimental, and additional documentation. Multiple occurrences of ConceptMap.group.element.target.property may occur for a ConceptMap.property where ConceptMap.group.element.target.property.code is the same and the values in ConceptMap.group.element.target.property.value differ."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-11"/>
              <severity value="error"/>
              <human value="If the property type is code, a system SHALL be specified"/>
              <expression value="type = 'code' implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.property.id">
            <path value="ConceptMap.property.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="ConceptMap.property.extension">
            <path value="ConceptMap.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.property.modifierExtension">
            <path value="ConceptMap.property.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>
            <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>
            <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="ConceptMap.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.property.code"/>
            <short value="Identifies the property on the mappings, and when referred to in the $translate operation"/>
            <definition value="A code that is used to identify the property. The code is used internally (in ConceptMap.group.element.target.property.code) and also in the $translate operation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.code"/>
              <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"/>
          </element>
          <element id="ConceptMap.property.uri">
            <path value="ConceptMap.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.uri"/>
              <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="ConceptMap.property.description">
            <path value="ConceptMap.property.description"/>
            <short value="Why the property is defined, and/or what it conveys"/>
            <definition value="A description of the property - why it is defined, and how its value might be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.description"/>
              <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="ConceptMap.property.type">
            <path value="ConceptMap.property.type"/>
            <short value="Coding | string | integer | boolean | dateTime | decimal | code"/>
            <definition value="The type of the property value."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PropertyType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a property value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-property-type|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.property.system">
            <path value="ConceptMap.property.system"/>
            <short value="The CodeSystem from which code values come"/>
            <definition value="The CodeSystem that defines the codes from which values of type ```code``` in property values."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.property.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <condition value="cmd-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="ConceptMap.additionalAttribute">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="AdditionalAttribute"/>
            </extension>
            <path value="ConceptMap.additionalAttribute"/>
            <short value="Definition of an additional attribute to act as a data source or target"/>
            <definition value="An additionalAttribute defines an additional data element found in the source or target data model where the data will come from or be mapped to. Some mappings are based on data in addition to the source data element, where codes in multiple fields are combined to a single field (or vice versa)."/>
            <comment value="Additional attributes are used to define additional data elements where mapping data can be found. For an example, see [Specimen Type v2 -&gt; SNOMED CT Mapping(conceptmap-example-specimen-type.html)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.additionalAttribute"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.additionalAttribute.id">
            <path value="ConceptMap.additionalAttribute.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="ConceptMap.additionalAttribute.extension">
            <path value="ConceptMap.additionalAttribute.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.additionalAttribute.modifierExtension">
            <path value="ConceptMap.additionalAttribute.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>
            <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>
            <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="ConceptMap.additionalAttribute.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.additionalAttribute.code"/>
            <short value="Identifies this additional attribute through this resource"/>
            <definition value="A code that is used to identify this additional data attribute. The code is used internally in ConceptMap.group.element.target.dependsOn.attribute and ConceptMap.group.element.target.product.attribute."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.code"/>
              <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"/>
          </element>
          <element id="ConceptMap.additionalAttribute.uri">
            <path value="ConceptMap.additionalAttribute.uri"/>
            <short value="Formal identifier for the data element referred to in this attribte"/>
            <definition value="Reference to the formal definition of the source/target data element. For elements defined by the FHIR specification, or using a FHIR logical model, the correct format is {canonical-url}#{element-id}."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.uri"/>
              <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="ConceptMap.additionalAttribute.description">
            <path value="ConceptMap.additionalAttribute.description"/>
            <short value="Why the additional attribute is defined, and/or what the data element it refers to is"/>
            <definition value="A description of the additional attribute and/or the data element it refers to - why it is defined, and how the value might be used in mappings, and a discussion of issues associated with the use of the data element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.description"/>
              <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="ConceptMap.additionalAttribute.type">
            <path value="ConceptMap.additionalAttribute.type"/>
            <short value="code | Coding | string | boolean | Quantity"/>
            <definition value="The type of the source data contained in this concept map for this data element."/>
            <comment value="When the source or target is not content defined by FHIR, some additional application logic might be required to map from the FHIR Datatype to the externally defined content"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.additionalAttribute.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="ConceptMapmapAttributeType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a mapping attribute value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-attribute-type|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.sourceScope[x]">
            <path value="ConceptMap.sourceScope[x]"/>
            <short value="The source value set that contains the concepts that are being mapped"/>
            <definition value="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.  Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set."/>
            <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no sourceScope or targetScope value set, there is no specified context for the map (not recommended).  The sourceScope value set may select codes from either an explicit (standard or local) or implicit code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.sourceScope[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.targetScope[x]">
            <path value="ConceptMap.targetScope[x]"/>
            <short value="The target value set which provides context for the mappings"/>
            <definition value="Identifier for the target value set that provides important context about how the mapping choices are made.  Limits the scope of the map to target codes (ConceptMap.group.element.target code or valueSet) that are members of this value set."/>
            <comment value="Should be a version specific reference. URIs SHOULD be absolute. If there is no sourceScope or targetScope value set, there is no specified context for the map (not recommended).  The targetScope value set may select codes from either an explicit (standard or local) or implicit code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.targetScope[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ConceptMap.group">
            <path value="ConceptMap.group"/>
            <short value="Same source and target systems"/>
            <definition value="A group of mappings that all have the same source and target system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ConceptMap.group.id">
            <path value="ConceptMap.group.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="ConceptMap.group.extension">
            <path value="ConceptMap.group.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.modifierExtension">
            <path value="ConceptMap.group.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>
            <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>
            <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="ConceptMap.group.source">
            <path value="ConceptMap.group.source"/>
            <short value="Source system where concepts to be mapped are defined"/>
            <definition value="An absolute URI that identifies the source system where the concepts to be mapped are defined."/>
            <comment value="This is not needed if the source value set is specified and it contains concepts from only a single system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.source"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.target">
            <path value="ConceptMap.group.target"/>
            <short value="Target system that the concepts are to be mapped to"/>
            <definition value="An absolute URI that identifies the target system that the concepts will be mapped to."/>
            <comment value="This is not needed if the target value set is specified and it contains concepts from only a single system. The group target may also be omitted if all of the target element relationship values are 'not-related-to'."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.target"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="SourceElement"/>
            </extension>
            <path value="ConceptMap.group.element"/>
            <short value="Mappings for a concept from the source set"/>
            <definition value="Mappings for an individual concept in the source to one or more concepts in the target."/>
            <comment value="Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies."/>
            <alias value="code"/>
            <alias value="concept"/>
            <alias value="item"/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-4"/>
              <severity value="error"/>
              <human value="If noMap is present, target SHALL NOT be present"/>
              <expression value="(noMap.exists() and noMap=true) implies target.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-5"/>
              <severity value="error"/>
              <human value="Either code or valueSet SHALL be present but not both."/>
              <expression value="(code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.id">
            <path value="ConceptMap.group.element.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="ConceptMap.group.element.extension">
            <path value="ConceptMap.group.element.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.modifierExtension">
            <path value="ConceptMap.group.element.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>
            <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>
            <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="ConceptMap.group.element.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.code"/>
            <short value="Identifies element being mapped"/>
            <definition value="Identity (code or path) or the element/item being mapped."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.display">
            <path value="ConceptMap.group.element.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.display"/>
              <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"/>
          </element>
          <element id="ConceptMap.group.element.valueSet">
            <path value="ConceptMap.group.element.valueSet"/>
            <short value="Identifies the set of concepts being mapped"/>
            <definition value="The set of concepts from the ConceptMap.group.source code system which are all being mapped to the target as part of this mapping rule."/>
            <comment value="If the value set expansion is empty then there are no source concepts to map in this rule."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.noMap">
            <path value="ConceptMap.group.element.noMap"/>
            <short value="No mapping to a target concept for this source concept"/>
            <definition value="If noMap = true this indicates that no mapping to a target concept exists for this source concept."/>
            <comment value="If noMap = true, then the behavior of ConceptMap.group.unmapped (if present) does not apply."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.noMap"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="TargetElement"/>
            </extension>
            <path value="ConceptMap.group.element.target"/>
            <short value="Concept in target system for element"/>
            <definition value="A concept from the target value set that this concept maps to."/>
            <comment value="Ideally there would only be one map, with an 'equivalent' mapping. But multiple maps are allowed for several narrower (i.e. source-is-broader-than-target) options, or to assert that other concepts are not related."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="cmd-4"/>
            <constraint>
              <key value="cmd-1"/>
              <severity value="error"/>
              <human value="If the map is source-is-broader-than-target or not-related-to, there SHALL be some comments, unless the status is 'draft'"/>
              <expression value="comment.exists() or (%resource.status = 'draft') or relationship.empty() or ((relationship != 'source-is-broader-than-target') and (relationship != 'not-related-to'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-7"/>
              <severity value="error"/>
              <human value="Either code or valueSet SHALL be present but not both."/>
              <expression value="(code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.target.id">
            <path value="ConceptMap.group.element.target.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="ConceptMap.group.element.target.extension">
            <path value="ConceptMap.group.element.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.modifierExtension">
            <path value="ConceptMap.group.element.target.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>
            <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>
            <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="ConceptMap.group.element.target.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.code"/>
            <short value="Code that identifies the target element"/>
            <definition value="Identity (code or path) or the element/item that the map refers to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.display">
            <path value="ConceptMap.group.element.target.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.display"/>
              <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"/>
          </element>
          <element id="ConceptMap.group.element.target.valueSet">
            <path value="ConceptMap.group.element.target.valueSet"/>
            <short value="Identifies the set of target concepts"/>
            <definition value="The set of concepts from the ConceptMap.group.target code system which are all being mapped to as part of this mapping rule. The effect of using this data element is the same as having multiple ConceptMap.group.element.target elements with one for each concept in the ConceptMap.group.element.target.valueSet value set."/>
            <comment value="If the the value set expansion is empty then the source concept(s) are unmapped and the behavior of ConceptMap.group.unmapped (if present) applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.relationship">
            <path value="ConceptMap.group.element.target.relationship"/>
            <short value="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to"/>
            <definition value="The relationship between the source and target concepts. The relationship is read from source to target (e.g. source-is-narrower-than-target)."/>
            <comment value="This element is labeled as a modifier because it may indicate that there is no mapping."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.relationship"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="The 'not-related-to' relationship means that there is no mapping from the source to the target, and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptMapRelationship"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The relationship between concepts."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-map-relationship|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.element.target.comment">
            <path value="ConceptMap.group.element.target.comment"/>
            <short value="Description of status/issues in mapping"/>
            <definition value="A description of status/issues in mapping that conveys additional information not represented in  the structured data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.comment"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="MappingProperty"/>
            </extension>
            <path value="ConceptMap.group.element.target.property"/>
            <short value="Property value for the source -&gt; target mapping"/>
            <definition value="A property value for this source -&gt; target mapping."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ConceptMap.group.element.target.property.id">
            <path value="ConceptMap.group.element.target.property.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="ConceptMap.group.element.target.property.extension">
            <path value="ConceptMap.group.element.target.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.property.modifierExtension">
            <path value="ConceptMap.group.element.target.property.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>
            <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>
            <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="ConceptMap.group.element.target.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.property.code"/>
            <short value="Reference to ConceptMap.property.code"/>
            <definition value="A reference to a mapping property defined in ConceptMap.property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.property.code"/>
              <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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property. If the type chosen for this element is 'code', then the property SHALL be defined in a ConceptMap.property element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <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"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="OtherElement"/>
            </extension>
            <path value="ConceptMap.group.element.target.dependsOn"/>
            <short value="Other properties required for this mapping"/>
            <definition value="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified data attribute can be resolved, and it has the specified value."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-6"/>
              <severity value="error"/>
              <human value="One of value[x] or valueSet must exist, but not both."/>
              <expression value="(value.exists() and valueSet.empty()) or (value.empty() and valueSet.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.element.target.dependsOn.id">
            <path value="ConceptMap.group.element.target.dependsOn.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="ConceptMap.group.element.target.dependsOn.extension">
            <path value="ConceptMap.group.element.target.dependsOn.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.modifierExtension">
            <path value="ConceptMap.group.element.target.dependsOn.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>
            <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>
            <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="ConceptMap.group.element.target.dependsOn.attribute">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.element.target.dependsOn.attribute"/>
            <short value="A reference to a mapping attribute defined in ConceptMap.additionalAttribute"/>
            <definition value="A reference to the additional attribute that holds a value the map depends on."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.attribute"/>
              <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="false"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.value[x]">
            <path value="ConceptMap.group.element.target.dependsOn.value[x]"/>
            <short value="Value of the referenced data element"/>
            <definition value="Data element value that the map depends on / produces."/>
            <comment value="If the data type is a code, then the code system is .group.source for .dependsOn.valueCode and .group.target for .product.valueCode."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.dependsOn.valueSet">
            <path value="ConceptMap.group.element.target.dependsOn.valueSet"/>
            <short value="The mapping depends on a data element with a value from this value set"/>
            <definition value="This mapping applies if the data element value is a code from this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.element.target.dependsOn.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-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"/>
          </element>
          <element id="ConceptMap.group.element.target.product">
            <path value="ConceptMap.group.element.target.product"/>
            <short value="Other data elements that this mapping also produces"/>
            <definition value="Product is the output of a ConceptMap that provides additional values that go in other attributes / data elemnts of the target data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ConceptMap.group.element.target.product"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ConceptMap#ConceptMap.group.element.target.dependsOn"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.unmapped">
            <path value="ConceptMap.group.unmapped"/>
            <short value="What to do when there is no mapping target for the source concept and ConceptMap.group.element.noMap is not true"/>
            <definition value="What to do when there is no mapping to a target concept from the source concept and ConceptMap.group.element.noMap is not true. This provides the &quot;default&quot; to be applied when there is no target concept mapping specified or the expansion of ConceptMap.group.element.target.valueSet is empty."/>
            <comment value="The 'unmapped' element is ignored if a code is specified to have relationship = not-related-to or if ConceptMap.group.element.noMap = true."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="cmd-2"/>
              <severity value="error"/>
              <human value="If the mode is 'fixed', either a code or valueSet must be provided, but not both."/>
              <expression value="(mode = 'fixed') implies ((code.exists() and valueSet.empty()) or (code.empty() and valueSet.exists()))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-3"/>
              <severity value="error"/>
              <human value="If the mode is 'other-map', a url for the other map must be provided"/>
              <expression value="(mode = 'other-map') implies otherMap.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-8"/>
              <severity value="error"/>
              <human value="If the mode is not 'fixed', code, display and valueSet are not allowed"/>
              <expression value="(mode != 'fixed') implies (code.empty() and display.empty() and valueSet.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-9"/>
              <severity value="error"/>
              <human value="If the mode is not 'other-map', relationship must be provided"/>
              <expression value="(mode != 'other-map') implies relationship.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="cmd-10"/>
              <severity value="error"/>
              <human value="If the mode is not 'other-map', otherMap is not allowed"/>
              <expression value="(mode != 'other-map') implies otherMap.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptMap.group.unmapped.id">
            <path value="ConceptMap.group.unmapped.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="ConceptMap.group.unmapped.extension">
            <path value="ConceptMap.group.unmapped.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ConceptMap.group.unmapped.modifierExtension">
            <path value="ConceptMap.group.unmapped.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>
            <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>
            <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="ConceptMap.group.unmapped.mode">
            <path value="ConceptMap.group.unmapped.mode"/>
            <short value="use-source-code | fixed | other-map"/>
            <definition value="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped source code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.mode"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-3"/>
            <condition value="cmd-2"/>
            <condition value="cmd-8"/>
            <condition value="cmd-9"/>
            <condition value="cmd-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="ConceptMapGroupUnmappedMode"/>
              </extension>
              <strength value="required"/>
              <description value="Defines which action to take if there is no match in the group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.unmapped.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ConceptMap.group.unmapped.code"/>
            <short value="Fixed code when mode = fixed"/>
            <definition value="The fixed code to use when the mode = 'fixed'  - all unmapped codes are mapped to a single fixed code."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-2"/>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.display">
            <path value="ConceptMap.group.unmapped.display"/>
            <short value="Display for the code"/>
            <definition value="The display for the code. The display is only provided to help editors when editing the concept map."/>
            <comment value="The display is ignored when processing the map."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.valueSet">
            <path value="ConceptMap.group.unmapped.valueSet"/>
            <short value="Fixed code set when mode = fixed"/>
            <definition value="The set of fixed codes to use when the mode = 'fixed'  - all unmapped codes are mapped to each of the fixed codes."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="cmd-2"/>
            <condition value="cmd-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="false"/>
          </element>
          <element id="ConceptMap.group.unmapped.relationship">
            <path value="ConceptMap.group.unmapped.relationship"/>
            <short value="related-to | equivalent | source-is-narrower-than-target | source-is-broader-than-target | not-related-to"/>
            <definition value="The default relationship value to apply between the source and target concepts when the source code is unmapped and the mode is 'fixed' or 'use-source-code'."/>
            <comment value="This element is labeled as a modifier because it may indicate that there is no mapping."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.relationship"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="cmd-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="true"/>
            <isModifierReason value="The 'not-related-to' relationship means that there is no mapping from the source to the target, and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="UnmappedConceptMapRelationship"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The default relationship value to apply between the source and target concepts when no concept mapping is specified."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-map-relationship|5.0.0"/>
            </binding>
          </element>
          <element id="ConceptMap.group.unmapped.otherMap">
            <path value="ConceptMap.group.unmapped.otherMap"/>
            <short value="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped"/>
            <definition value="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ConceptMap.group.unmapped.otherMap"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ConceptMap"/>
            </type>
            <condition value="cmd-3"/>
            <condition value="cmd-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="ConceptMap">
            <path value="ConceptMap"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ConceptMap.identifier">
            <path value="ConceptMap.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.date">
            <path value="ConceptMap.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.contact">
            <path value="ConceptMap.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.useContext">
            <path value="ConceptMap.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.jurisdiction">
            <path value="ConceptMap.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.purpose">
            <path value="ConceptMap.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.copyright">
            <path value="ConceptMap.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.copyrightLabel">
            <path value="ConceptMap.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.approvalDate">
            <path value="ConceptMap.approvalDate"/>
          </element>
          <element id="ConceptMap.lastReviewDate">
            <path value="ConceptMap.lastReviewDate"/>
          </element>
          <element id="ConceptMap.effectivePeriod">
            <path value="ConceptMap.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.topic">
            <path value="ConceptMap.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="ConceptMap.author">
            <path value="ConceptMap.author"/>
          </element>
          <element id="ConceptMap.editor">
            <path value="ConceptMap.editor"/>
          </element>
          <element id="ConceptMap.reviewer">
            <path value="ConceptMap.reviewer"/>
          </element>
          <element id="ConceptMap.endorser">
            <path value="ConceptMap.endorser"/>
          </element>
          <element id="ConceptMap.relatedArtifact">
            <path value="ConceptMap.relatedArtifact"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
    <resource>
      <StructureDefinition>
        <id value="shareablevalueset"/>
        <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="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="5"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1192"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableValueSet"/>
        <title value="Shareable ValueSet"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the value set metadata required by HL7 and other organizations that share and publish value sets"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ValueSet"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <short value="A set of codes drawn from one or more code systems"/>
            <definition value="A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [CodeSystem](codesystem.html) definitions and their use in [coded elements](terminologies.html)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.id">
            <path value="ValueSet.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="ValueSet.meta">
            <path value="ValueSet.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="ValueSet.implicitRules">
            <path value="ValueSet.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ValueSet.language">
            <path value="ValueSet.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.text">
            <path value="ValueSet.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="ValueSet.contained">
            <path value="ValueSet.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."/>
            <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="ValueSet.extension">
            <path value="ValueSet.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>
            <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="ValueSet.extension:knowledgeRepresentationLevel">
            <path value="ValueSet.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:authoritativeSource">
            <path value="ValueSet.extension"/>
            <sliceName value="authoritativeSource"/>
            <short value="Reference to the current trusted source of the ValueSet resource (metadata and definition)"/>
            <definition value="A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions."/>
            <comment value="If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated &quot;authoritative source&quot; is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.modifierExtension">
            <path value="ValueSet.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>
            <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="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="ValueSet.url">
            <path value="ValueSet.url"/>
            <short value="Canonical identifier for this value set, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this value set 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 value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the value set to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.identifier">
            <path value="ValueSet.identifier"/>
            <short value="Additional identifier for the value set (business identifier)"/>
            <definition value="A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.version">
            <path value="ValueSet.version"/>
            <short value="Business version of the value set"/>
            <definition value="The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ValueSet.versionAlgorithm[x]">
            <path value="ValueSet.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ValueSet is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ValueSet.name">
            <path value="ValueSet.name"/>
            <short value="Name for this value set (computer friendly)"/>
            <definition value="A natural language name identifying the value set. 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.A name should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a name."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.title"/>
            <short value="Name for this value set (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the value set."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.status">
            <path value="ValueSet.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not.See also the [http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription](http://hl7.org/fhir/extensions/StructureDefinition-valueset-workflowStatusDescription.html) extension for additional status information related to the editorial process.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ValueSet.experimental">
            <path value="ValueSet.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level value set."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ValueSet.date">
            <path value="ValueSet.date"/>
            <short value="Date last changed"/>
            <definition value="The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised."/>
            <comment value="Note that this is not the same as the meta.lastUpdated which is specific to an instance of a value set resource on a server.  Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the value set."/>
            <comment value="Usually an organization but may be an individual. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the value set. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the value set.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ValueSet.contact">
            <path value="ValueSet.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.description"/>
            <short value="Natural language description of the value set"/>
            <definition value="A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set."/>
            <comment value="Description SHOULD contain instructions for clinical or administrative use and interpretation and information about misuse. Description SHOULD be populated unless the information is available from context. Description SHOULD be populated unless the value set is a contained resource (e.g. a value set defined solely in the context of a profile)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.useContext">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.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 value set 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="ValueSet.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="ValueSet.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.jurisdiction"/>
            <short value="Intended jurisdiction for value set (if applicable)"/>
            <definition value="A legal or geographic region in which the value set is intended to be used."/>
            <comment value="It may be possible for the value set to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ValueSet.immutable">
            <path value="ValueSet.immutable"/>
            <short value="Indicates whether or not any change to the content logical definition may occur"/>
            <definition value="If this is set to 'true', then no new versions of the content logical definition can be created.  Note: Other metadata might still change."/>
            <comment value="Normally immutability is set to 'false', which is the default assumption if it is not populated.  Note that the implication is that if this is set to 'true', there may be only one ValueSet version for this definition. Immutability tends to be set to 'true' in one of two cases: - Where the value set, by the nature of its usage, cannot change.  For example &quot;All specializations of ACT in ActClassCode&quot; - Where there's no safe way to express the &quot;Purpose&quot; such that someone else could safely make changes to the value set definition. Source workflow control must guarantee that the same URI always yields the same definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.immutable"/>
              <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="true"/>
          </element>
          <element id="ValueSet.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.purpose"/>
            <short value="Why this value set is defined"/>
            <definition value="Explanation of why this value set is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the value set. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set."/>
            <comment value="Frequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the value set and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyrightLabel"/>
              <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"/>
          </element>
          <element id="ValueSet.approvalDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.approvalDate"/>
            <short value="When the ValueSet was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.lastReviewDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.lastReviewDate"/>
            <short value="When the ValueSet was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.effectivePeriod">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.effectivePeriod"/>
            <short value="When the ValueSet is expected to be used"/>
            <definition value="The period during which the ValueSet content was or is planned to be in active use."/>
            <comment value="The effective period for a ValueSet determines when the content is applicable for usage and is independent of publication and review dates. For example, a valueset intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ValueSet are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ValueSet. Topics provide a high-level categorization as well as keywords for the ValueSet that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ValueSet so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ValueSet.author">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.author"/>
            <short value="Who authored the ValueSet"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.editor">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.editor"/>
            <short value="Who edited the ValueSet"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.reviewer">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.reviewer"/>
            <short value="Who reviewed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ValueSet."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.endorser">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.endorser"/>
            <short value="Who endorsed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ValueSet for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.relatedArtifact">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ValueSet must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose">
            <path value="ValueSet.compose"/>
            <short value="Content logical definition of the value set (CLD)"/>
            <definition value="A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD)."/>
            <alias value="Content Logical Definition"/>
            <alias value="CLD"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.id">
            <path value="ValueSet.compose.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="ValueSet.compose.extension">
            <path value="ValueSet.compose.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.modifierExtension">
            <path value="ValueSet.compose.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>
            <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>
            <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="ValueSet.compose.lockedDate">
            <path value="ValueSet.compose.lockedDate"/>
            <short value="Fixed date for references with no specified version (transitive)"/>
            <definition value="The Locked Date is  the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version."/>
            <comment value="With a defined lockedDate the value set is considered &quot;Locked&quot;. Otherwise, the value set may have different expansions as underlying code systems and/or value sets evolve.  The interpretation of lockedDate is often dependent on the context - e.g. a SNOMED CT derived value set with a lockedDate will have a different expansion in USA than in UK.  If a value set specifies a version for include and exclude statements, and also specifies a locked date, the specified versions need to be available that date, or the value set will not be usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.lockedDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
          </element>
          <element id="ValueSet.compose.inactive">
            <path value="ValueSet.compose.inactive"/>
            <short value="Whether inactive codes are in the value set"/>
            <definition value="Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included)."/>
            <comment value="Note that in the FHIR terminology framework, &quot;deprecated&quot; does not mean inactive, but in some code systems, e.g. LOINC, &quot;deprecated&quot; does mean inactive. Code systems should define what codes are considered to be inactive. If this is not clearly defined (including in the FHIR code system resource), then all codes are assumed to be active.&#xA;&#xA;The Value Set Definition specification defines an ActiveOnly element, which is the reverse of this element e.g. (ValueSet.compose.inactive=FALSE) is the same as (VSD.ActiveOnly=TRUE)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.inactive"/>
              <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="true"/>
          </element>
          <element id="ValueSet.compose.include">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSet"/>
            </extension>
            <path value="ValueSet.compose.include"/>
            <short value="Include one or more codes from a code system or other value set(s)"/>
            <definition value="Include one or more codes from a code system or other value set(s)."/>
            <comment value="All the conditions in an include must be true. If a system is listed, all the codes from the system are listed. If one or more filters are listed, all of the filters must apply. If one or more value sets are listed, the codes must be in all the value sets. E.g. each include is 'include all the codes that meet all these conditions'."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-1"/>
              <severity value="error"/>
              <human value="A value set include/exclude SHALL have a value set or a system"/>
              <expression value="valueSet.exists() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-2"/>
              <severity value="error"/>
              <human value="A value set with concepts or filters SHALL include a system"/>
              <expression value="(concept.exists() or filter.exists()) implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-3"/>
              <severity value="error"/>
              <human value="Cannot have both concept and filter"/>
              <expression value="concept.empty() or filter.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.id">
            <path value="ValueSet.compose.include.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="ValueSet.compose.include.extension">
            <path value="ValueSet.compose.include.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.modifierExtension">
            <path value="ValueSet.compose.include.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>
            <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>
            <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="ValueSet.compose.include.system">
            <path value="ValueSet.compose.include.system"/>
            <short value="The system the codes come from"/>
            <definition value="An absolute URI which is the code system from which the selected codes come from."/>
            <comment value="If there are no codes or filters, the entire code system is included. Note that the set of codes that are included may contain abstract codes. See ''Coding.system'' for further documentation about the correct value for the system element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.version">
            <path value="ValueSet.compose.include.version"/>
            <short value="Specific version of the code system referred to"/>
            <definition value="The version of the code system that the codes are selected from, or the special version '*' for all versions."/>
            <comment value="This is used when selecting the descendants of a concept - they may change between versions. If no version is specified, then the exact contents of the value set might not be known until a context of use binds it to a particular version. The special value '*' means all versions; It is at server discretion regarding expansions and which versions must be supported."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptReference"/>
            </extension>
            <path value="ValueSet.compose.include.concept"/>
            <short value="A concept defined in the system"/>
            <definition value="Specifies a concept to be included or excluded."/>
            <comment value="The list of concepts is considered ordered, though the order might not have any particular significance. Typically, the order of an expansion follows that defined in the compose element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.id">
            <path value="ValueSet.compose.include.concept.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="ValueSet.compose.include.concept.extension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.modifierExtension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <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="ValueSet.compose.include.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.concept.code"/>
            <short value="Code or expression from system"/>
            <definition value="Specifies a code for the concept to be included or excluded."/>
            <comment value="Expressions are allowed if defined by the underlying code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.code"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.display">
            <path value="ValueSet.compose.include.concept.display"/>
            <short value="Text to display for this code for this value set in this valueset"/>
            <definition value="The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system."/>
            <comment value="The value set resource allows for an alternative display to be specified for when this concept is used in this particular value set. See notes in the value set narrative about the correct use of this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.display"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation">
            <path value="ValueSet.compose.include.concept.designation"/>
            <short value="Additional representations for this concept"/>
            <definition value="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-11"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.include.concept.designation.id">
            <path value="ValueSet.compose.include.concept.designation.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="ValueSet.compose.include.concept.designation.extension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation.modifierExtension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <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="ValueSet.compose.include.concept.designation.language">
            <path value="ValueSet.compose.include.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.use">
            <path value="ValueSet.compose.include.concept.designation.use"/>
            <short value="Types of uses of designations"/>
            <definition value="A code that represents types of uses of designations."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.value">
            <path value="ValueSet.compose.include.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="ValueSet.compose.include.filter">
            <path value="ValueSet.compose.include.filter"/>
            <short value="Select codes/concepts by their properties (including relationships)"/>
            <definition value="Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true."/>
            <comment value="Selecting codes by specifying filters based on properties is only possible where the underlying code system defines appropriate properties. Note that in some cases, the underlying code system defines the logical concepts but not the literal codes for the concepts. In such cases, the literal definitions may be provided by a third party."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.id">
            <path value="ValueSet.compose.include.filter.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="ValueSet.compose.include.filter.extension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.modifierExtension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <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="ValueSet.compose.include.filter.property">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.property"/>
            <short value="A property/filter defined by the code system"/>
            <definition value="A code that identifies a property or a filter defined in the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.property"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.op">
            <path value="ValueSet.compose.include.filter.op"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="The kind of operation to perform as a part of the filter criteria."/>
            <comment value="In case filter.property represents a property of the system, the operation applies to the selected property. In case filter.property represents a filter of the system, the operation SHALL match one of the CodeSystem.filter.operator values."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.op"/>
              <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="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.value">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.value"/>
            <short value="Code from the system, or regex criteria, or boolean value for exists"/>
            <definition value="The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value  (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'."/>
            <comment value="Use regex matching with care - full regex matching on every SNOMED CT term is prohibitive, for example."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.value"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.valueSet">
            <path value="ValueSet.compose.include.valueSet"/>
            <short value="Select the contents included in this value set"/>
            <definition value="Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url.  If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets."/>
            <comment value="The value set URI is either a logical reference to a defined value set such as a [SNOMED CT reference set](https://terminology.hl7.org/SNOMEDCT.html), or a direct reference to a value set definition using ValueSet.url. The reference might not refer to an actual FHIR ValueSet resource; in this case, whatever is referred to is an implicit definition of a value set that needs to be clear about how versions are resolved."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.valueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.copyright"/>
            <short value="A copyright statement for the specific code system included in the value set"/>
            <definition value="A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.copyright"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.exclude">
            <path value="ValueSet.compose.exclude"/>
            <short value="Explicitly exclude codes from a code system or other value sets"/>
            <definition value="Exclude one or more codes from the value set based on code system filters and/or other value sets."/>
            <comment value="Usually this is used to selectively exclude codes that were included by subsumption in the inclusions. Any display names specified for the codes are ignored."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.exclude"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.property"/>
            <short value="Property to return if client doesn't override"/>
            <definition value="A property to return in the expansion, if the client doesn't ask for any particular properties. May be either a code from the code system definition (convenient) or a the formal URI that refers to the property. The special value '*' means all properties known to the server."/>
            <comment value="Note that property names can clash, so using a URI is recommended."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.property"/>
              <min value="0"/>
              <max value="*"/>
            </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"/>
          </element>
          <element id="ValueSet.expansion">
            <path value="ValueSet.expansion"/>
            <short value="Used when the value set is &quot;expanded&quot;"/>
            <definition value="A value set can also be &quot;expanded&quot;, where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed."/>
            <comment value="Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.&#xA;&#xA;Expansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.id">
            <path value="ValueSet.expansion.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="ValueSet.expansion.extension">
            <path value="ValueSet.expansion.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.modifierExtension">
            <path value="ValueSet.expansion.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>
            <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>
            <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="ValueSet.expansion.identifier">
            <path value="ValueSet.expansion.identifier"/>
            <short value="Identifies the value set expansion (business identifier)"/>
            <definition value="An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier."/>
            <comment value="Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.identifier"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.next">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.next"/>
            <short value="Opaque urls for paging through expansion results"/>
            <definition value="As per paging Search results, the next URLs are opaque to the client, have no dictated structure, and only the server understands them."/>
            <comment value="Clients SHOULD use the next link, if present, to page through expansion results in preference to using the offset and count parameters. Due to the optional nature of the next link, its absence does not necessarily indicate that it is the last page of results. Instead, as the offset and count parameters SHALL be populated when paging, clients can reliably use the count/offset parameters to determine whether the whole expansion is returned."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.next"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.timestamp">
            <path value="ValueSet.expansion.timestamp"/>
            <short value="Time ValueSet expansion happened"/>
            <definition value="The time at which the expansion was produced by the expanding system."/>
            <comment value="This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.timestamp"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.total">
            <path value="ValueSet.expansion.total"/>
            <short value="Total number of codes in the expansion"/>
            <definition value="The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter."/>
            <comment value="Paging only applies to flat expansions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.offset">
            <path value="ValueSet.expansion.offset"/>
            <short value="Offset at which this resource starts"/>
            <definition value="If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present."/>
            <comment value="Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.offset"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <meaningWhenMissing value="Paging is not being used"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.parameter">
            <path value="ValueSet.expansion.parameter"/>
            <short value="Parameter that controlled the expansion process"/>
            <definition value="A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion."/>
            <comment value="The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.id">
            <path value="ValueSet.expansion.parameter.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="ValueSet.expansion.parameter.extension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.parameter.modifierExtension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <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="ValueSet.expansion.parameter.name">
            <path value="ValueSet.expansion.parameter.name"/>
            <short value="Name as assigned by the client or server"/>
            <definition value="Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process."/>
            <comment value="The names are assigned at the discretion of the server."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.name"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.value[x]">
            <path value="ValueSet.expansion.parameter.value[x]"/>
            <short value="Value of the named parameter"/>
            <definition value="The value of the parameter."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="code"/>
            </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="ValueSet.expansion.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.property.id">
            <path value="ValueSet.expansion.property.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="ValueSet.expansion.property.extension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.property.modifierExtension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <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="ValueSet.expansion.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used in ValueSet.expansion.contains.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.property.uri">
            <path value="ValueSet.expansion.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.uri"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains">
            <path value="ValueSet.expansion.contains"/>
            <short value="Codes in the value set"/>
            <definition value="The codes that are contained in the value set expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-6"/>
              <severity value="error"/>
              <human value="SHALL have a code or a display"/>
              <expression value="code.exists() or display.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-9"/>
              <severity value="error"/>
              <human value="SHALL have a code if not abstract"/>
              <expression value="code.exists() or abstract = true"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-10"/>
              <severity value="error"/>
              <human value="SHALL have a system if a code is present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.id">
            <path value="ValueSet.expansion.contains.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="ValueSet.expansion.contains.extension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.modifierExtension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <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="ValueSet.expansion.contains.system">
            <path value="ValueSet.expansion.contains.system"/>
            <short value="System value for the code"/>
            <definition value="An absolute URI which is the code system in which the code for this item in the expansion is defined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.abstract">
            <path value="ValueSet.expansion.contains.abstract"/>
            <short value="If user cannot select this entry"/>
            <definition value="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value."/>
            <comment value="This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.abstract"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts"/>
            <condition value="vsd-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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.inactive">
            <path value="ValueSet.expansion.contains.inactive"/>
            <short value="If concept is inactive in the code system"/>
            <definition value="If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether a concept is inactive (and it may depend on the context of use)."/>
            <comment value="This should only have a value if the concept is inactive."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.inactive"/>
              <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="ValueSet.expansion.contains.version">
            <path value="ValueSet.expansion.contains.version"/>
            <short value="Version in which this code/display is defined"/>
            <definition value="The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="The exact value of the version string is specified by the system from which the code is derived."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.code"/>
            <short value="Code - if blank, this is not a selectable code"/>
            <definition value="The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="vsd-6"/>
            <condition value="vsd-9"/>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.display">
            <path value="ValueSet.expansion.contains.display"/>
            <short value="User display for the concept"/>
            <definition value="The recommended display for this item in the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.designation">
            <path value="ValueSet.expansion.contains.designation"/>
            <short value="Additional representations for this item"/>
            <definition value="Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation."/>
            <comment value="The designations provided must be based on the value set and code system definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include.concept.designation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.contains.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.id">
            <path value="ValueSet.expansion.contains.property.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="ValueSet.expansion.contains.property.extension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.modifierExtension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <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="ValueSet.expansion.contains.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSubProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty"/>
            <short value="SubProperty value for the concept"/>
            <definition value="A subproperty value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.id">
            <path value="ValueSet.expansion.contains.property.subProperty.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="ValueSet.expansion.contains.property.subProperty.extension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.modifierExtension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <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="ValueSet.expansion.contains.property.subProperty.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
            <short value="Value of the subproperty for this concept"/>
            <definition value="The value of this subproperty."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.contains">
            <path value="ValueSet.expansion.contains.contains"/>
            <short value="Codes contained under this entry"/>
            <definition value="Other codes and entries contained under this entry in the hierarchy."/>
            <comment value="If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.expansion.contains"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.scope">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.scope"/>
            <short value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description"/>
            <definition value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.scope.id">
            <path value="ValueSet.scope.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="ValueSet.scope.extension">
            <path value="ValueSet.scope.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.modifierExtension">
            <path value="ValueSet.scope.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>
            <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>
            <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="ValueSet.scope.inclusionCriteria">
            <path value="ValueSet.scope.inclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be included and why"/>
            <definition value="Criteria describing which concepts or codes should be included and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.inclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.exclusionCriteria">
            <path value="ValueSet.scope.exclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be excluded and why"/>
            <definition value="Criteria describing which concepts or codes should be excluded and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.exclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ValueSet.extension:knowledgeRepresentationLevel">
            <path value="ValueSet.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.extension:authoritativeSource">
            <path value="ValueSet.extension"/>
            <sliceName value="authoritativeSource"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.url">
            <path value="ValueSet.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.version">
            <path value="ValueSet.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.versionAlgorithm[x]">
            <path value="ValueSet.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.name">
            <path value="ValueSet.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.title">
            <path value="ValueSet.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.status">
            <path value="ValueSet.status"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.experimental">
            <path value="ValueSet.experimental"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.publisher">
            <path value="ValueSet.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.description">
            <path value="ValueSet.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishablevalueset"/>
    <resource>
      <StructureDefinition>
        <id value="publishablevalueset"/>
        <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="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </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="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishablevalueset"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1201"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="PublishableValueSet"/>
        <title value="Publishable ValueSet"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines and enforces the minimum expectations for publication and distribution of a value set, typically as part of an artifact repository or implementation guide publication"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ValueSet"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <short value="A set of codes drawn from one or more code systems"/>
            <definition value="A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [CodeSystem](codesystem.html) definitions and their use in [coded elements](terminologies.html)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.id">
            <path value="ValueSet.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="ValueSet.meta">
            <path value="ValueSet.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="ValueSet.implicitRules">
            <path value="ValueSet.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ValueSet.language">
            <path value="ValueSet.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.text">
            <path value="ValueSet.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="ValueSet.contained">
            <path value="ValueSet.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."/>
            <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="ValueSet.extension">
            <path value="ValueSet.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>
            <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="ValueSet.extension:knowledgeRepresentationLevel">
            <path value="ValueSet.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:authoritativeSource">
            <path value="ValueSet.extension"/>
            <sliceName value="authoritativeSource"/>
            <short value="Reference to the current trusted source of the ValueSet resource (metadata and definition)"/>
            <definition value="A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions."/>
            <comment value="If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated &quot;authoritative source&quot; is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:trustedExpansion">
            <path value="ValueSet.extension"/>
            <sliceName value="trustedExpansion"/>
            <short value="Reference to a trusted expansion"/>
            <definition value="Indicates an authoritative source for performing value set expansions."/>
            <comment value="If the designated &quot;authoritative source&quot; (as specified in the valueset-authoritativeSource extension, if present) is unable to provide a valid expansion, this extension indicates an alternate authoritative source where the value set expansion may be performed. The alternate authoritative source url must reference a FHIR terminology server endpoint (the [base] url of the FHIR server)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="ValueSet.extension:otherTitle">
            <path value="ValueSet.extension"/>
            <sliceName value="otherTitle"/>
            <short value="Alternative titles"/>
            <definition value="Human readable titles for the valueset."/>
            <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/valueset-otherTitle"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="ValueSet.extension:sourceReference">
            <path value="ValueSet.extension"/>
            <sliceName value="sourceReference"/>
            <short value="Where did this content come from"/>
            <definition value="This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition."/>
            <comment value="This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="ValueSet.modifierExtension">
            <path value="ValueSet.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>
            <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="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="ValueSet.url">
            <path value="ValueSet.url"/>
            <short value="Canonical identifier for this value set, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this value set 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 value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the value set to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.identifier">
            <path value="ValueSet.identifier"/>
            <short value="Additional identifier for the value set (business identifier)"/>
            <definition value="A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.version">
            <path value="ValueSet.version"/>
            <short value="Business version of the value set"/>
            <definition value="The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ValueSet.versionAlgorithm[x]">
            <path value="ValueSet.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ValueSet is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ValueSet.name">
            <path value="ValueSet.name"/>
            <short value="Name for this value set (computer friendly)"/>
            <definition value="A natural language name identifying the value set. 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.A name should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a name."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.title"/>
            <short value="Name for this value set (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the value set."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.status">
            <path value="ValueSet.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not.See also the [http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription](http://hl7.org/fhir/extensions/StructureDefinition-valueset-workflowStatusDescription.html) extension for additional status information related to the editorial process.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ValueSet.experimental">
            <path value="ValueSet.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level value set."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ValueSet.date">
            <path value="ValueSet.date"/>
            <short value="Date last changed"/>
            <definition value="The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised."/>
            <comment value="Note that this is not the same as the meta.lastUpdated which is specific to an instance of a value set resource on a server.  Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the value set."/>
            <comment value="Usually an organization but may be an individual. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the value set. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the value set.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ValueSet.contact">
            <path value="ValueSet.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.description"/>
            <short value="Natural language description of the value set"/>
            <definition value="A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set."/>
            <comment value="Description SHOULD contain instructions for clinical or administrative use and interpretation and information about misuse. Description SHOULD be populated unless the information is available from context. Description SHOULD be populated unless the value set is a contained resource (e.g. a value set defined solely in the context of a profile)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.useContext">
            <path value="ValueSet.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 value set 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="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.jurisdiction">
            <path value="ValueSet.jurisdiction"/>
            <short value="Intended jurisdiction for value set (if applicable)"/>
            <definition value="A legal or geographic region in which the value set is intended to be used."/>
            <comment value="It may be possible for the value set to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ValueSet.immutable">
            <path value="ValueSet.immutable"/>
            <short value="Indicates whether or not any change to the content logical definition may occur"/>
            <definition value="If this is set to 'true', then no new versions of the content logical definition can be created.  Note: Other metadata might still change."/>
            <comment value="Normally immutability is set to 'false', which is the default assumption if it is not populated.  Note that the implication is that if this is set to 'true', there may be only one ValueSet version for this definition. Immutability tends to be set to 'true' in one of two cases: - Where the value set, by the nature of its usage, cannot change.  For example &quot;All specializations of ACT in ActClassCode&quot; - Where there's no safe way to express the &quot;Purpose&quot; such that someone else could safely make changes to the value set definition. Source workflow control must guarantee that the same URI always yields the same definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.immutable"/>
              <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="true"/>
          </element>
          <element id="ValueSet.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.purpose"/>
            <short value="Why this value set is defined"/>
            <definition value="Explanation of why this value set is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the value set. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.purpose"/>
              <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="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set."/>
            <comment value="Frequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the value set and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyright"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.approvalDate">
            <path value="ValueSet.approvalDate"/>
            <short value="When the ValueSet was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.lastReviewDate">
            <path value="ValueSet.lastReviewDate"/>
            <short value="When the ValueSet was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.effectivePeriod">
            <path value="ValueSet.effectivePeriod"/>
            <short value="When the ValueSet is expected to be used"/>
            <definition value="The period during which the ValueSet content was or is planned to be in active use."/>
            <comment value="The effective period for a ValueSet determines when the content is applicable for usage and is independent of publication and review dates. For example, a valueset intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ValueSet are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.topic">
            <path value="ValueSet.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ValueSet. Topics provide a high-level categorization as well as keywords for the ValueSet that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ValueSet so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ValueSet.author">
            <path value="ValueSet.author"/>
            <short value="Who authored the ValueSet"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.editor">
            <path value="ValueSet.editor"/>
            <short value="Who edited the ValueSet"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.reviewer">
            <path value="ValueSet.reviewer"/>
            <short value="Who reviewed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ValueSet."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.endorser">
            <path value="ValueSet.endorser"/>
            <short value="Who endorsed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ValueSet for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.relatedArtifact">
            <path value="ValueSet.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ValueSet must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose">
            <path value="ValueSet.compose"/>
            <short value="Content logical definition of the value set (CLD)"/>
            <definition value="A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD)."/>
            <alias value="Content Logical Definition"/>
            <alias value="CLD"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.id">
            <path value="ValueSet.compose.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="ValueSet.compose.extension">
            <path value="ValueSet.compose.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="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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.extension:composeCreatedBy">
            <path value="ValueSet.compose.extension"/>
            <sliceName value="composeCreatedBy"/>
            <short value="Extension"/>
            <definition value="User who created the compose for the ValueSet."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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>
            <isModifier value="false"/>
          </element>
          <element id="ValueSet.compose.extension:composeCreationDate">
            <path value="ValueSet.compose.extension"/>
            <sliceName value="composeCreationDate"/>
            <short value="Extension"/>
            <definition value="User who created the compose for the ValueSet."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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>
            <isModifier value="false"/>
          </element>
          <element id="ValueSet.compose.modifierExtension">
            <path value="ValueSet.compose.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>
            <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>
            <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="ValueSet.compose.lockedDate">
            <path value="ValueSet.compose.lockedDate"/>
            <short value="Fixed date for references with no specified version (transitive)"/>
            <definition value="The Locked Date is  the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version."/>
            <comment value="With a defined lockedDate the value set is considered &quot;Locked&quot;. Otherwise, the value set may have different expansions as underlying code systems and/or value sets evolve.  The interpretation of lockedDate is often dependent on the context - e.g. a SNOMED CT derived value set with a lockedDate will have a different expansion in USA than in UK.  If a value set specifies a version for include and exclude statements, and also specifies a locked date, the specified versions need to be available that date, or the value set will not be usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.lockedDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
          </element>
          <element id="ValueSet.compose.inactive">
            <path value="ValueSet.compose.inactive"/>
            <short value="Whether inactive codes are in the value set"/>
            <definition value="Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included)."/>
            <comment value="Note that in the FHIR terminology framework, &quot;deprecated&quot; does not mean inactive, but in some code systems, e.g. LOINC, &quot;deprecated&quot; does mean inactive. Code systems should define what codes are considered to be inactive. If this is not clearly defined (including in the FHIR code system resource), then all codes are assumed to be active.&#xA;&#xA;The Value Set Definition specification defines an ActiveOnly element, which is the reverse of this element e.g. (ValueSet.compose.inactive=FALSE) is the same as (VSD.ActiveOnly=TRUE)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.inactive"/>
              <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="true"/>
          </element>
          <element id="ValueSet.compose.include">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSet"/>
            </extension>
            <path value="ValueSet.compose.include"/>
            <short value="Include one or more codes from a code system or other value set(s)"/>
            <definition value="Include one or more codes from a code system or other value set(s)."/>
            <comment value="All the conditions in an include must be true. If a system is listed, all the codes from the system are listed. If one or more filters are listed, all of the filters must apply. If one or more value sets are listed, the codes must be in all the value sets. E.g. each include is 'include all the codes that meet all these conditions'."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-1"/>
              <severity value="error"/>
              <human value="A value set include/exclude SHALL have a value set or a system"/>
              <expression value="valueSet.exists() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-2"/>
              <severity value="error"/>
              <human value="A value set with concepts or filters SHALL include a system"/>
              <expression value="(concept.exists() or filter.exists()) implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-3"/>
              <severity value="error"/>
              <human value="Cannot have both concept and filter"/>
              <expression value="concept.empty() or filter.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.id">
            <path value="ValueSet.compose.include.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="ValueSet.compose.include.extension">
            <path value="ValueSet.compose.include.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.modifierExtension">
            <path value="ValueSet.compose.include.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>
            <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>
            <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="ValueSet.compose.include.system">
            <path value="ValueSet.compose.include.system"/>
            <short value="The system the codes come from"/>
            <definition value="An absolute URI which is the code system from which the selected codes come from."/>
            <comment value="If there are no codes or filters, the entire code system is included. Note that the set of codes that are included may contain abstract codes. See ''Coding.system'' for further documentation about the correct value for the system element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.version">
            <path value="ValueSet.compose.include.version"/>
            <short value="Specific version of the code system referred to"/>
            <definition value="The version of the code system that the codes are selected from, or the special version '*' for all versions."/>
            <comment value="This is used when selecting the descendants of a concept - they may change between versions. If no version is specified, then the exact contents of the value set might not be known until a context of use binds it to a particular version. The special value '*' means all versions; It is at server discretion regarding expansions and which versions must be supported."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptReference"/>
            </extension>
            <path value="ValueSet.compose.include.concept"/>
            <short value="A concept defined in the system"/>
            <definition value="Specifies a concept to be included or excluded."/>
            <comment value="The list of concepts is considered ordered, though the order might not have any particular significance. Typically, the order of an expansion follows that defined in the compose element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.id">
            <path value="ValueSet.compose.include.concept.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="ValueSet.compose.include.concept.extension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.modifierExtension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <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="ValueSet.compose.include.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.concept.code"/>
            <short value="Code or expression from system"/>
            <definition value="Specifies a code for the concept to be included or excluded."/>
            <comment value="Expressions are allowed if defined by the underlying code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.code"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.display">
            <path value="ValueSet.compose.include.concept.display"/>
            <short value="Text to display for this code for this value set in this valueset"/>
            <definition value="The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system."/>
            <comment value="The value set resource allows for an alternative display to be specified for when this concept is used in this particular value set. See notes in the value set narrative about the correct use of this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.display"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation">
            <path value="ValueSet.compose.include.concept.designation"/>
            <short value="Additional representations for this concept"/>
            <definition value="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-11"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.include.concept.designation.id">
            <path value="ValueSet.compose.include.concept.designation.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="ValueSet.compose.include.concept.designation.extension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation.modifierExtension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <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="ValueSet.compose.include.concept.designation.language">
            <path value="ValueSet.compose.include.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.use">
            <path value="ValueSet.compose.include.concept.designation.use"/>
            <short value="Types of uses of designations"/>
            <definition value="A code that represents types of uses of designations."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.value">
            <path value="ValueSet.compose.include.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="ValueSet.compose.include.filter">
            <path value="ValueSet.compose.include.filter"/>
            <short value="Select codes/concepts by their properties (including relationships)"/>
            <definition value="Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true."/>
            <comment value="Selecting codes by specifying filters based on properties is only possible where the underlying code system defines appropriate properties. Note that in some cases, the underlying code system defines the logical concepts but not the literal codes for the concepts. In such cases, the literal definitions may be provided by a third party."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.id">
            <path value="ValueSet.compose.include.filter.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="ValueSet.compose.include.filter.extension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.modifierExtension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <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="ValueSet.compose.include.filter.property">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.property"/>
            <short value="A property/filter defined by the code system"/>
            <definition value="A code that identifies a property or a filter defined in the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.property"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.op">
            <path value="ValueSet.compose.include.filter.op"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="The kind of operation to perform as a part of the filter criteria."/>
            <comment value="In case filter.property represents a property of the system, the operation applies to the selected property. In case filter.property represents a filter of the system, the operation SHALL match one of the CodeSystem.filter.operator values."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.op"/>
              <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="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.value">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.value"/>
            <short value="Code from the system, or regex criteria, or boolean value for exists"/>
            <definition value="The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value  (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'."/>
            <comment value="Use regex matching with care - full regex matching on every SNOMED CT term is prohibitive, for example."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.value"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.valueSet">
            <path value="ValueSet.compose.include.valueSet"/>
            <short value="Select the contents included in this value set"/>
            <definition value="Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url.  If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets."/>
            <comment value="The value set URI is either a logical reference to a defined value set such as a [SNOMED CT reference set](https://terminology.hl7.org/SNOMEDCT.html), or a direct reference to a value set definition using ValueSet.url. The reference might not refer to an actual FHIR ValueSet resource; in this case, whatever is referred to is an implicit definition of a value set that needs to be clear about how versions are resolved."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.valueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.copyright">
            <path value="ValueSet.compose.include.copyright"/>
            <short value="A copyright statement for the specific code system included in the value set"/>
            <definition value="A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.copyright"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.exclude">
            <path value="ValueSet.compose.exclude"/>
            <short value="Explicitly exclude codes from a code system or other value sets"/>
            <definition value="Exclude one or more codes from the value set based on code system filters and/or other value sets."/>
            <comment value="Usually this is used to selectively exclude codes that were included by subsumption in the inclusions. Any display names specified for the codes are ignored."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.exclude"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.property"/>
            <short value="Property to return if client doesn't override"/>
            <definition value="A property to return in the expansion, if the client doesn't ask for any particular properties. May be either a code from the code system definition (convenient) or a the formal URI that refers to the property. The special value '*' means all properties known to the server."/>
            <comment value="Note that property names can clash, so using a URI is recommended."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.property"/>
              <min value="0"/>
              <max value="*"/>
            </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"/>
          </element>
          <element id="ValueSet.expansion">
            <path value="ValueSet.expansion"/>
            <short value="Used when the value set is &quot;expanded&quot;"/>
            <definition value="A value set can also be &quot;expanded&quot;, where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed."/>
            <comment value="Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.&#xA;&#xA;Expansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.id">
            <path value="ValueSet.expansion.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="ValueSet.expansion.extension">
            <path value="ValueSet.expansion.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.modifierExtension">
            <path value="ValueSet.expansion.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>
            <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>
            <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="ValueSet.expansion.identifier">
            <path value="ValueSet.expansion.identifier"/>
            <short value="Identifies the value set expansion (business identifier)"/>
            <definition value="An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier."/>
            <comment value="Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.identifier"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.next">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.next"/>
            <short value="Opaque urls for paging through expansion results"/>
            <definition value="As per paging Search results, the next URLs are opaque to the client, have no dictated structure, and only the server understands them."/>
            <comment value="Clients SHOULD use the next link, if present, to page through expansion results in preference to using the offset and count parameters. Due to the optional nature of the next link, its absence does not necessarily indicate that it is the last page of results. Instead, as the offset and count parameters SHALL be populated when paging, clients can reliably use the count/offset parameters to determine whether the whole expansion is returned."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.next"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.timestamp">
            <path value="ValueSet.expansion.timestamp"/>
            <short value="Time ValueSet expansion happened"/>
            <definition value="The time at which the expansion was produced by the expanding system."/>
            <comment value="This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.timestamp"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.total">
            <path value="ValueSet.expansion.total"/>
            <short value="Total number of codes in the expansion"/>
            <definition value="The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter."/>
            <comment value="Paging only applies to flat expansions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.offset">
            <path value="ValueSet.expansion.offset"/>
            <short value="Offset at which this resource starts"/>
            <definition value="If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present."/>
            <comment value="Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.offset"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <meaningWhenMissing value="Paging is not being used"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.parameter">
            <path value="ValueSet.expansion.parameter"/>
            <short value="Parameter that controlled the expansion process"/>
            <definition value="A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion."/>
            <comment value="The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.id">
            <path value="ValueSet.expansion.parameter.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="ValueSet.expansion.parameter.extension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.parameter.modifierExtension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <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="ValueSet.expansion.parameter.name">
            <path value="ValueSet.expansion.parameter.name"/>
            <short value="Name as assigned by the client or server"/>
            <definition value="Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process."/>
            <comment value="The names are assigned at the discretion of the server."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.name"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.value[x]">
            <path value="ValueSet.expansion.parameter.value[x]"/>
            <short value="Value of the named parameter"/>
            <definition value="The value of the parameter."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="code"/>
            </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="ValueSet.expansion.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.property.id">
            <path value="ValueSet.expansion.property.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="ValueSet.expansion.property.extension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.property.modifierExtension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <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="ValueSet.expansion.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used in ValueSet.expansion.contains.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.property.uri">
            <path value="ValueSet.expansion.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.uri"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains">
            <path value="ValueSet.expansion.contains"/>
            <short value="Codes in the value set"/>
            <definition value="The codes that are contained in the value set expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-6"/>
              <severity value="error"/>
              <human value="SHALL have a code or a display"/>
              <expression value="code.exists() or display.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-9"/>
              <severity value="error"/>
              <human value="SHALL have a code if not abstract"/>
              <expression value="code.exists() or abstract = true"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-10"/>
              <severity value="error"/>
              <human value="SHALL have a system if a code is present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.id">
            <path value="ValueSet.expansion.contains.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="ValueSet.expansion.contains.extension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.modifierExtension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <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="ValueSet.expansion.contains.system">
            <path value="ValueSet.expansion.contains.system"/>
            <short value="System value for the code"/>
            <definition value="An absolute URI which is the code system in which the code for this item in the expansion is defined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.abstract">
            <path value="ValueSet.expansion.contains.abstract"/>
            <short value="If user cannot select this entry"/>
            <definition value="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value."/>
            <comment value="This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.abstract"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts"/>
            <condition value="vsd-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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.inactive">
            <path value="ValueSet.expansion.contains.inactive"/>
            <short value="If concept is inactive in the code system"/>
            <definition value="If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether a concept is inactive (and it may depend on the context of use)."/>
            <comment value="This should only have a value if the concept is inactive."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.inactive"/>
              <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="ValueSet.expansion.contains.version">
            <path value="ValueSet.expansion.contains.version"/>
            <short value="Version in which this code/display is defined"/>
            <definition value="The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="The exact value of the version string is specified by the system from which the code is derived."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.code"/>
            <short value="Code - if blank, this is not a selectable code"/>
            <definition value="The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="vsd-6"/>
            <condition value="vsd-9"/>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.display">
            <path value="ValueSet.expansion.contains.display"/>
            <short value="User display for the concept"/>
            <definition value="The recommended display for this item in the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.designation">
            <path value="ValueSet.expansion.contains.designation"/>
            <short value="Additional representations for this item"/>
            <definition value="Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation."/>
            <comment value="The designations provided must be based on the value set and code system definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include.concept.designation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.contains.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.id">
            <path value="ValueSet.expansion.contains.property.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="ValueSet.expansion.contains.property.extension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.modifierExtension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <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="ValueSet.expansion.contains.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSubProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty"/>
            <short value="SubProperty value for the concept"/>
            <definition value="A subproperty value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.id">
            <path value="ValueSet.expansion.contains.property.subProperty.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="ValueSet.expansion.contains.property.subProperty.extension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.modifierExtension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <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="ValueSet.expansion.contains.property.subProperty.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
            <short value="Value of the subproperty for this concept"/>
            <definition value="The value of this subproperty."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.contains">
            <path value="ValueSet.expansion.contains.contains"/>
            <short value="Codes contained under this entry"/>
            <definition value="Other codes and entries contained under this entry in the hierarchy."/>
            <comment value="If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.expansion.contains"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.scope">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.scope"/>
            <short value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description"/>
            <definition value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.scope.id">
            <path value="ValueSet.scope.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="ValueSet.scope.extension">
            <path value="ValueSet.scope.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.modifierExtension">
            <path value="ValueSet.scope.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>
            <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>
            <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="ValueSet.scope.inclusionCriteria">
            <path value="ValueSet.scope.inclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be included and why"/>
            <definition value="Criteria describing which concepts or codes should be included and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.inclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.exclusionCriteria">
            <path value="ValueSet.scope.exclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be excluded and why"/>
            <definition value="Criteria describing which concepts or codes should be excluded and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.exclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ValueSet.extension:trustedExpansion">
            <path value="ValueSet.extension"/>
            <sliceName value="trustedExpansion"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.extension:otherTitle">
            <path value="ValueSet.extension"/>
            <sliceName value="otherTitle"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-otherTitle"/>
            </type>
          </element>
          <element id="ValueSet.extension:sourceReference">
            <path value="ValueSet.extension"/>
            <sliceName value="sourceReference"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"/>
            </type>
          </element>
          <element id="ValueSet.identifier">
            <path value="ValueSet.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.date">
            <path value="ValueSet.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.contact">
            <path value="ValueSet.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.useContext">
            <path value="ValueSet.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.jurisdiction">
            <path value="ValueSet.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.purpose">
            <path value="ValueSet.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.copyright">
            <path value="ValueSet.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.copyrightLabel">
            <path value="ValueSet.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.approvalDate">
            <path value="ValueSet.approvalDate"/>
          </element>
          <element id="ValueSet.lastReviewDate">
            <path value="ValueSet.lastReviewDate"/>
          </element>
          <element id="ValueSet.effectivePeriod">
            <path value="ValueSet.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.topic">
            <path value="ValueSet.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.author">
            <path value="ValueSet.author"/>
          </element>
          <element id="ValueSet.editor">
            <path value="ValueSet.editor"/>
          </element>
          <element id="ValueSet.reviewer">
            <path value="ValueSet.reviewer"/>
          </element>
          <element id="ValueSet.endorser">
            <path value="ValueSet.endorser"/>
          </element>
          <element id="ValueSet.relatedArtifact">
            <path value="ValueSet.relatedArtifact"/>
          </element>
          <element id="ValueSet.compose">
            <path value="ValueSet.compose"/>
          </element>
          <element id="ValueSet.compose.extension:composeCreatedBy">
            <path value="ValueSet.compose.extension"/>
            <sliceName value="composeCreatedBy"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy"/>
            </type>
          </element>
          <element id="ValueSet.compose.extension:composeCreationDate">
            <path value="ValueSet.compose.extension"/>
            <sliceName value="composeCreationDate"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy"/>
            </type>
          </element>
          <element id="ValueSet.compose.include">
            <path value="ValueSet.compose.include"/>
          </element>
          <element id="ValueSet.compose.include.copyright">
            <path value="ValueSet.compose.include.copyright"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/computablevalueset"/>
    <resource>
      <StructureDefinition>
        <id value="computablevalueset"/>
        <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="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </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="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/computablevalueset"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1212"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ComputableValueSet"/>
        <title value="Computable ValueSet"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines a computable value set as one that SHALL have an expression-based definition (i.e. a value set defined intensionally using expressions of the code systems involved) and MAY have an expansion included. The expression-based definition SHALL be represented in only one of three ways; using the compose element, using the expression extension, or using the rules-text extension to provide a step-by-step process for expanding the value set definition"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ValueSet"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <short value="A set of codes drawn from one or more code systems"/>
            <definition value="A value set that includes instructions for construction of the value set using one and only one of human instructions, machine instructions, or the value set compose element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="cvs-1"/>
              <severity value="error"/>
              <human value="Only one of rulesText, expression, or a compose definition SHALL be provided"/>
              <expression value="extension('http://hl7.org/fhir/StructureDefinition/valueset-rules-text').exists() xor extension('http://hl7.org/fhir/StructureDefinition/valueset-expression').exists() xor compose.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.id">
            <path value="ValueSet.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="ValueSet.meta">
            <path value="ValueSet.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="ValueSet.implicitRules">
            <path value="ValueSet.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ValueSet.language">
            <path value="ValueSet.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.text">
            <path value="ValueSet.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="ValueSet.contained">
            <path value="ValueSet.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."/>
            <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="ValueSet.extension">
            <path value="ValueSet.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>
            <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="ValueSet.extension:knowledgeRepresentationLevel">
            <path value="ValueSet.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:authoritativeSource">
            <path value="ValueSet.extension"/>
            <sliceName value="authoritativeSource"/>
            <short value="Reference to the current trusted source of the ValueSet resource (metadata and definition)"/>
            <definition value="A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions."/>
            <comment value="If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated &quot;authoritative source&quot; is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:rulesText">
            <path value="ValueSet.extension"/>
            <sliceName value="rulesText"/>
            <short value="Human instructions for constructing the valueset"/>
            <definition value="An expression that provides a definition of the content of the value set in some form that is not computable - e.g. instructions that could only be followed by a human."/>
            <comment value="Only one of rulesText, expression, or compose SHALL be provided for any given value set instance. Note that to provide a human-readable description of the expression, use the description element of the expression datatype."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-rules-text"/>
            </type>
            <condition value="cvs-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>
            <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="ValueSet.extension:expression">
            <path value="ValueSet.extension"/>
            <sliceName value="expression"/>
            <short value="Machine instructions for constructing the value set"/>
            <definition value="An expression that provides the computable definition for the content of the value set. The value set can only be expanded by a server that understands the expression syntax used."/>
            <comment value="Only one of rulesText, expression, or compose SHALL be provided for any given value set instance. Note that to provide a human-readable description of the expression, use the description element of the expression datatype."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-expression"/>
            </type>
            <condition value="cvs-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>
            <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="ValueSet.extension:supplement">
            <path value="ValueSet.extension"/>
            <sliceName value="supplement"/>
            <short value="Declares dependency on a particular supplment"/>
            <definition value="This extension declares that a value set depends on a particular [CodeSystem supplement](codesystem.html#supplements) and should not be used in its absence."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-supplement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="ValueSet.modifierExtension">
            <path value="ValueSet.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>
            <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="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="ValueSet.url">
            <path value="ValueSet.url"/>
            <short value="Canonical identifier for this value set, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this value set 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 value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the value set to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.identifier">
            <path value="ValueSet.identifier"/>
            <short value="Additional identifier for the value set (business identifier)"/>
            <definition value="A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.version">
            <path value="ValueSet.version"/>
            <short value="Business version of the value set"/>
            <definition value="The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ValueSet.versionAlgorithm[x]">
            <path value="ValueSet.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ValueSet is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ValueSet.name">
            <path value="ValueSet.name"/>
            <short value="Name for this value set (computer friendly)"/>
            <definition value="A natural language name identifying the value set. 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.A name should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a name."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.title"/>
            <short value="Name for this value set (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the value set."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.status">
            <path value="ValueSet.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not.See also the [http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription](http://hl7.org/fhir/extensions/StructureDefinition-valueset-workflowStatusDescription.html) extension for additional status information related to the editorial process.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ValueSet.experimental">
            <path value="ValueSet.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level value set."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ValueSet.date">
            <path value="ValueSet.date"/>
            <short value="Date last changed"/>
            <definition value="The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised."/>
            <comment value="Note that this is not the same as the meta.lastUpdated which is specific to an instance of a value set resource on a server.  Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the value set."/>
            <comment value="Usually an organization but may be an individual. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the value set. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the value set.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ValueSet.contact">
            <path value="ValueSet.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.description"/>
            <short value="Natural language description of the value set"/>
            <definition value="A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set."/>
            <comment value="Description SHOULD contain instructions for clinical or administrative use and interpretation and information about misuse. Description SHOULD be populated unless the information is available from context. Description SHOULD be populated unless the value set is a contained resource (e.g. a value set defined solely in the context of a profile)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.useContext">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.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 value set 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="ValueSet.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="ValueSet.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.jurisdiction"/>
            <short value="Intended jurisdiction for value set (if applicable)"/>
            <definition value="A legal or geographic region in which the value set is intended to be used."/>
            <comment value="It may be possible for the value set to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ValueSet.immutable">
            <path value="ValueSet.immutable"/>
            <short value="Indicates whether or not any change to the content logical definition may occur"/>
            <definition value="If this is set to 'true', then no new versions of the content logical definition can be created.  Note: Other metadata might still change."/>
            <comment value="Normally immutability is set to 'false', which is the default assumption if it is not populated.  Note that the implication is that if this is set to 'true', there may be only one ValueSet version for this definition. Immutability tends to be set to 'true' in one of two cases: - Where the value set, by the nature of its usage, cannot change.  For example &quot;All specializations of ACT in ActClassCode&quot; - Where there's no safe way to express the &quot;Purpose&quot; such that someone else could safely make changes to the value set definition. Source workflow control must guarantee that the same URI always yields the same definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.immutable"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.purpose"/>
            <short value="Why this value set is defined"/>
            <definition value="Explanation of why this value set is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the value set. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set."/>
            <comment value="Frequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the value set and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyrightLabel"/>
              <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"/>
          </element>
          <element id="ValueSet.approvalDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.approvalDate"/>
            <short value="When the ValueSet was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.lastReviewDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.lastReviewDate"/>
            <short value="When the ValueSet was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.effectivePeriod">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.effectivePeriod"/>
            <short value="When the ValueSet is expected to be used"/>
            <definition value="The period during which the ValueSet content was or is planned to be in active use."/>
            <comment value="The effective period for a ValueSet determines when the content is applicable for usage and is independent of publication and review dates. For example, a valueset intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ValueSet are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ValueSet. Topics provide a high-level categorization as well as keywords for the ValueSet that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ValueSet so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ValueSet.author">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.author"/>
            <short value="Who authored the ValueSet"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.editor">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.editor"/>
            <short value="Who edited the ValueSet"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.reviewer">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.reviewer"/>
            <short value="Who reviewed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ValueSet."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.endorser">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.endorser"/>
            <short value="Who endorsed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ValueSet for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.relatedArtifact">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ValueSet must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose">
            <path value="ValueSet.compose"/>
            <short value="Content logical definition of the value set (CLD)"/>
            <definition value="A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD)."/>
            <alias value="Content Logical Definition"/>
            <alias value="CLD"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.id">
            <path value="ValueSet.compose.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="ValueSet.compose.extension">
            <path value="ValueSet.compose.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.modifierExtension">
            <path value="ValueSet.compose.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>
            <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>
            <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="ValueSet.compose.lockedDate">
            <path value="ValueSet.compose.lockedDate"/>
            <short value="Fixed date for references with no specified version (transitive)"/>
            <definition value="The Locked Date is  the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version."/>
            <comment value="With a defined lockedDate the value set is considered &quot;Locked&quot;. Otherwise, the value set may have different expansions as underlying code systems and/or value sets evolve.  The interpretation of lockedDate is often dependent on the context - e.g. a SNOMED CT derived value set with a lockedDate will have a different expansion in USA than in UK.  If a value set specifies a version for include and exclude statements, and also specifies a locked date, the specified versions need to be available that date, or the value set will not be usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.lockedDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.init"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.inactive">
            <path value="ValueSet.compose.inactive"/>
            <short value="Whether inactive codes are in the value set"/>
            <definition value="Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included)."/>
            <comment value="Note that in the FHIR terminology framework, &quot;deprecated&quot; does not mean inactive, but in some code systems, e.g. LOINC, &quot;deprecated&quot; does mean inactive. Code systems should define what codes are considered to be inactive. If this is not clearly defined (including in the FHIR code system resource), then all codes are assumed to be active.&#xA;&#xA;The Value Set Definition specification defines an ActiveOnly element, which is the reverse of this element e.g. (ValueSet.compose.inactive=FALSE) is the same as (VSD.ActiveOnly=TRUE)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.inactive"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.compose.include">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSet"/>
            </extension>
            <path value="ValueSet.compose.include"/>
            <short value="Include one or more codes from a code system or other value set(s)"/>
            <definition value="Include one or more codes from a code system or other value set(s)."/>
            <comment value="All the conditions in an include must be true. If a system is listed, all the codes from the system are listed. If one or more filters are listed, all of the filters must apply. If one or more value sets are listed, the codes must be in all the value sets. E.g. each include is 'include all the codes that meet all these conditions'."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-1"/>
              <severity value="error"/>
              <human value="A value set include/exclude SHALL have a value set or a system"/>
              <expression value="valueSet.exists() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-2"/>
              <severity value="error"/>
              <human value="A value set with concepts or filters SHALL include a system"/>
              <expression value="(concept.exists() or filter.exists()) implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-3"/>
              <severity value="error"/>
              <human value="Cannot have both concept and filter"/>
              <expression value="concept.empty() or filter.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.id">
            <path value="ValueSet.compose.include.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="ValueSet.compose.include.extension">
            <path value="ValueSet.compose.include.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.modifierExtension">
            <path value="ValueSet.compose.include.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>
            <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>
            <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="ValueSet.compose.include.system">
            <path value="ValueSet.compose.include.system"/>
            <short value="The system the codes come from"/>
            <definition value="An absolute URI which is the code system from which the selected codes come from."/>
            <comment value="If there are no codes or filters, the entire code system is included. Note that the set of codes that are included may contain abstract codes. See ''Coding.system'' for further documentation about the correct value for the system element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.version">
            <path value="ValueSet.compose.include.version"/>
            <short value="Specific version of the code system referred to"/>
            <definition value="The version of the code system that the codes are selected from, or the special version '*' for all versions."/>
            <comment value="This is used when selecting the descendants of a concept - they may change between versions. If no version is specified, then the exact contents of the value set might not be known until a context of use binds it to a particular version. The special value '*' means all versions; It is at server discretion regarding expansions and which versions must be supported."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptReference"/>
            </extension>
            <path value="ValueSet.compose.include.concept"/>
            <short value="A concept defined in the system"/>
            <definition value="Specifies a concept to be included or excluded."/>
            <comment value="The list of concepts is considered ordered, though the order might not have any particular significance. Typically, the order of an expansion follows that defined in the compose element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.id">
            <path value="ValueSet.compose.include.concept.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="ValueSet.compose.include.concept.extension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.modifierExtension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <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="ValueSet.compose.include.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.concept.code"/>
            <short value="Code or expression from system"/>
            <definition value="Specifies a code for the concept to be included or excluded."/>
            <comment value="Expressions are allowed if defined by the underlying code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.code"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.display">
            <path value="ValueSet.compose.include.concept.display"/>
            <short value="Text to display for this code for this value set in this valueset"/>
            <definition value="The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system."/>
            <comment value="The value set resource allows for an alternative display to be specified for when this concept is used in this particular value set. See notes in the value set narrative about the correct use of this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.display"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation">
            <path value="ValueSet.compose.include.concept.designation"/>
            <short value="Additional representations for this concept"/>
            <definition value="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-11"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.include.concept.designation.id">
            <path value="ValueSet.compose.include.concept.designation.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="ValueSet.compose.include.concept.designation.extension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation.modifierExtension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <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="ValueSet.compose.include.concept.designation.language">
            <path value="ValueSet.compose.include.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.use">
            <path value="ValueSet.compose.include.concept.designation.use"/>
            <short value="Types of uses of designations"/>
            <definition value="A code that represents types of uses of designations."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.value">
            <path value="ValueSet.compose.include.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="ValueSet.compose.include.filter">
            <path value="ValueSet.compose.include.filter"/>
            <short value="Select codes/concepts by their properties (including relationships)"/>
            <definition value="Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true."/>
            <comment value="Selecting codes by specifying filters based on properties is only possible where the underlying code system defines appropriate properties. Note that in some cases, the underlying code system defines the logical concepts but not the literal codes for the concepts. In such cases, the literal definitions may be provided by a third party."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.id">
            <path value="ValueSet.compose.include.filter.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="ValueSet.compose.include.filter.extension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.modifierExtension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <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="ValueSet.compose.include.filter.property">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.property"/>
            <short value="A property/filter defined by the code system"/>
            <definition value="A code that identifies a property or a filter defined in the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.property"/>
              <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.op">
            <path value="ValueSet.compose.include.filter.op"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="The kind of operation to perform as a part of the filter criteria."/>
            <comment value="In case filter.property represents a property of the system, the operation applies to the selected property. In case filter.property represents a filter of the system, the operation SHALL match one of the CodeSystem.filter.operator values."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.op"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.value">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.value"/>
            <short value="Code from the system, or regex criteria, or boolean value for exists"/>
            <definition value="The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value  (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'."/>
            <comment value="Use regex matching with care - full regex matching on every SNOMED CT term is prohibitive, for example."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.valueSet">
            <path value="ValueSet.compose.include.valueSet"/>
            <short value="Select the contents included in this value set"/>
            <definition value="Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url.  If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets."/>
            <comment value="The value set URI is either a logical reference to a defined value set such as a [SNOMED CT reference set](https://terminology.hl7.org/SNOMEDCT.html), or a direct reference to a value set definition using ValueSet.url. The reference might not refer to an actual FHIR ValueSet resource; in this case, whatever is referred to is an implicit definition of a value set that needs to be clear about how versions are resolved."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.valueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="vsd-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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.copyright"/>
            <short value="A copyright statement for the specific code system included in the value set"/>
            <definition value="A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.copyright"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.exclude">
            <path value="ValueSet.compose.exclude"/>
            <short value="Explicitly exclude codes from a code system or other value sets"/>
            <definition value="Exclude one or more codes from the value set based on code system filters and/or other value sets."/>
            <comment value="Usually this is used to selectively exclude codes that were included by subsumption in the inclusions. Any display names specified for the codes are ignored."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.exclude"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.property"/>
            <short value="Property to return if client doesn't override"/>
            <definition value="A property to return in the expansion, if the client doesn't ask for any particular properties. May be either a code from the code system definition (convenient) or a the formal URI that refers to the property. The special value '*' means all properties known to the server."/>
            <comment value="Note that property names can clash, so using a URI is recommended."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.property"/>
              <min value="0"/>
              <max value="*"/>
            </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"/>
          </element>
          <element id="ValueSet.expansion">
            <path value="ValueSet.expansion"/>
            <short value="Used when the value set is &quot;expanded&quot;"/>
            <definition value="A value set can also be &quot;expanded&quot;, where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed."/>
            <comment value="Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.&#xA;&#xA;Expansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.id">
            <path value="ValueSet.expansion.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="ValueSet.expansion.extension">
            <path value="ValueSet.expansion.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.modifierExtension">
            <path value="ValueSet.expansion.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>
            <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>
            <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="ValueSet.expansion.identifier">
            <path value="ValueSet.expansion.identifier"/>
            <short value="Identifies the value set expansion (business identifier)"/>
            <definition value="An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier."/>
            <comment value="Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.identifier"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.next">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.next"/>
            <short value="Opaque urls for paging through expansion results"/>
            <definition value="As per paging Search results, the next URLs are opaque to the client, have no dictated structure, and only the server understands them."/>
            <comment value="Clients SHOULD use the next link, if present, to page through expansion results in preference to using the offset and count parameters. Due to the optional nature of the next link, its absence does not necessarily indicate that it is the last page of results. Instead, as the offset and count parameters SHALL be populated when paging, clients can reliably use the count/offset parameters to determine whether the whole expansion is returned."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.next"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.timestamp">
            <path value="ValueSet.expansion.timestamp"/>
            <short value="Time ValueSet expansion happened"/>
            <definition value="The time at which the expansion was produced by the expanding system."/>
            <comment value="This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.timestamp"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.total">
            <path value="ValueSet.expansion.total"/>
            <short value="Total number of codes in the expansion"/>
            <definition value="The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter."/>
            <comment value="Paging only applies to flat expansions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.offset">
            <path value="ValueSet.expansion.offset"/>
            <short value="Offset at which this resource starts"/>
            <definition value="If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present."/>
            <comment value="Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.offset"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <meaningWhenMissing value="Paging is not being used"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.parameter">
            <path value="ValueSet.expansion.parameter"/>
            <short value="Parameter that controlled the expansion process"/>
            <definition value="A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion."/>
            <comment value="The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.id">
            <path value="ValueSet.expansion.parameter.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="ValueSet.expansion.parameter.extension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.parameter.modifierExtension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <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="ValueSet.expansion.parameter.name">
            <path value="ValueSet.expansion.parameter.name"/>
            <short value="Name as assigned by the client or server"/>
            <definition value="Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process."/>
            <comment value="The names are assigned at the discretion of the server."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.name"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.value[x]">
            <path value="ValueSet.expansion.parameter.value[x]"/>
            <short value="Value of the named parameter"/>
            <definition value="The value of the parameter."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="code"/>
            </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="ValueSet.expansion.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.property.id">
            <path value="ValueSet.expansion.property.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="ValueSet.expansion.property.extension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.property.modifierExtension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <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="ValueSet.expansion.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used in ValueSet.expansion.contains.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.property.uri">
            <path value="ValueSet.expansion.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.uri"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains">
            <path value="ValueSet.expansion.contains"/>
            <short value="Codes in the value set"/>
            <definition value="The codes that are contained in the value set expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-6"/>
              <severity value="error"/>
              <human value="SHALL have a code or a display"/>
              <expression value="code.exists() or display.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-9"/>
              <severity value="error"/>
              <human value="SHALL have a code if not abstract"/>
              <expression value="code.exists() or abstract = true"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-10"/>
              <severity value="error"/>
              <human value="SHALL have a system if a code is present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.id">
            <path value="ValueSet.expansion.contains.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="ValueSet.expansion.contains.extension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.modifierExtension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <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="ValueSet.expansion.contains.system">
            <path value="ValueSet.expansion.contains.system"/>
            <short value="System value for the code"/>
            <definition value="An absolute URI which is the code system in which the code for this item in the expansion is defined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.abstract">
            <path value="ValueSet.expansion.contains.abstract"/>
            <short value="If user cannot select this entry"/>
            <definition value="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value."/>
            <comment value="This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.abstract"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts"/>
            <condition value="vsd-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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.inactive">
            <path value="ValueSet.expansion.contains.inactive"/>
            <short value="If concept is inactive in the code system"/>
            <definition value="If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether a concept is inactive (and it may depend on the context of use)."/>
            <comment value="This should only have a value if the concept is inactive."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.inactive"/>
              <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="ValueSet.expansion.contains.version">
            <path value="ValueSet.expansion.contains.version"/>
            <short value="Version in which this code/display is defined"/>
            <definition value="The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="The exact value of the version string is specified by the system from which the code is derived."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.code"/>
            <short value="Code - if blank, this is not a selectable code"/>
            <definition value="The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="vsd-6"/>
            <condition value="vsd-9"/>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.display">
            <path value="ValueSet.expansion.contains.display"/>
            <short value="User display for the concept"/>
            <definition value="The recommended display for this item in the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="vsd-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"/>
          </element>
          <element id="ValueSet.expansion.contains.designation">
            <path value="ValueSet.expansion.contains.designation"/>
            <short value="Additional representations for this item"/>
            <definition value="Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation."/>
            <comment value="The designations provided must be based on the value set and code system definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include.concept.designation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.contains.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.id">
            <path value="ValueSet.expansion.contains.property.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="ValueSet.expansion.contains.property.extension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.modifierExtension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <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="ValueSet.expansion.contains.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSubProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty"/>
            <short value="SubProperty value for the concept"/>
            <definition value="A subproperty value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.id">
            <path value="ValueSet.expansion.contains.property.subProperty.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="ValueSet.expansion.contains.property.subProperty.extension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.modifierExtension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <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="ValueSet.expansion.contains.property.subProperty.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
            <short value="Value of the subproperty for this concept"/>
            <definition value="The value of this subproperty."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.contains">
            <path value="ValueSet.expansion.contains.contains"/>
            <short value="Codes contained under this entry"/>
            <definition value="Other codes and entries contained under this entry in the hierarchy."/>
            <comment value="If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.expansion.contains"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.scope">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.scope"/>
            <short value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description"/>
            <definition value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.scope.id">
            <path value="ValueSet.scope.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="ValueSet.scope.extension">
            <path value="ValueSet.scope.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.modifierExtension">
            <path value="ValueSet.scope.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>
            <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>
            <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="ValueSet.scope.inclusionCriteria">
            <path value="ValueSet.scope.inclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be included and why"/>
            <definition value="Criteria describing which concepts or codes should be included and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.inclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.exclusionCriteria">
            <path value="ValueSet.scope.exclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be excluded and why"/>
            <definition value="Criteria describing which concepts or codes should be excluded and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.exclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <definition value="A value set that includes instructions for construction of the value set using one and only one of human instructions, machine instructions, or the value set compose element."/>
            <constraint>
              <key value="cvs-1"/>
              <severity value="error"/>
              <human value="Only one of rulesText, expression, or a compose definition SHALL be provided"/>
              <expression value="extension('http://hl7.org/fhir/StructureDefinition/valueset-rules-text').exists() xor extension('http://hl7.org/fhir/StructureDefinition/valueset-expression').exists() xor compose.exists()"/>
            </constraint>
            <mustSupport value="false"/>
          </element>
          <element id="ValueSet.extension:rulesText">
            <path value="ValueSet.extension"/>
            <sliceName value="rulesText"/>
            <short value="Human instructions for constructing the valueset"/>
            <definition value="An expression that provides a definition of the content of the value set in some form that is not computable - e.g. instructions that could only be followed by a human."/>
            <comment value="Only one of rulesText, expression, or compose SHALL be provided for any given value set instance. Note that to provide a human-readable description of the expression, use the description element of the expression datatype."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-rules-text"/>
            </type>
            <condition value="cvs-1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.extension:expression">
            <path value="ValueSet.extension"/>
            <sliceName value="expression"/>
            <short value="Machine instructions for constructing the value set"/>
            <definition value="An expression that provides the computable definition for the content of the value set. The value set can only be expanded by a server that understands the expression syntax used."/>
            <comment value="Only one of rulesText, expression, or compose SHALL be provided for any given value set instance. Note that to provide a human-readable description of the expression, use the description element of the expression datatype."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-expression"/>
            </type>
            <condition value="cvs-1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.extension:supplement">
            <path value="ValueSet.extension"/>
            <sliceName value="supplement"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-supplement"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.immutable">
            <path value="ValueSet.immutable"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose">
            <path value="ValueSet.compose"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.lockedDate">
            <path value="ValueSet.compose.lockedDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.inactive">
            <path value="ValueSet.compose.inactive"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include">
            <path value="ValueSet.compose.include"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.system">
            <path value="ValueSet.compose.include.system"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.version">
            <path value="ValueSet.compose.include.version"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.concept">
            <path value="ValueSet.compose.include.concept"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.filter">
            <path value="ValueSet.compose.include.filter"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.filter.property">
            <path value="ValueSet.compose.include.filter.property"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.filter.op">
            <path value="ValueSet.compose.include.filter.op"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.filter.value">
            <path value="ValueSet.compose.include.filter.value"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.include.valueSet">
            <path value="ValueSet.compose.include.valueSet"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.compose.exclude">
            <path value="ValueSet.compose.exclude"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/executablevalueset"/>
    <resource>
      <StructureDefinition>
        <id value="executablevalueset"/>
        <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="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </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="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="**mustSupport**&#xA;&#xA;When this profile has defined an element as mustSupport, the sender must provide the element value when available, and the receiver must accept the element value, persist the value and when appropriate, provide function as defined in the profile. When mustSupport is defined at a complex element level, all sub-elements inherit mustSupport."/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/executablevalueset"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1203"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExecutableValueSet"/>
        <title value="Executable ValueSet"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines an executable value set as one that SHALL have an expansion included, as well as a usage warning indicating the expansion is a point-in-time snapshot and must be maintained over time for production usage. The value set expansion specifies the timestamp when the expansion was produced, SHOULD contain the parameters used for the expansion, and SHALL contain the codes that are obtained by evaluating the value set definition. If this is ONLY an executable value set, a computable definition of the value set must be obtained to compute the updated expansion."/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="ValueSet"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <short value="A set of codes drawn from one or more code systems"/>
            <definition value="A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [CodeSystem](codesystem.html) definitions and their use in [coded elements](terminologies.html)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.id">
            <path value="ValueSet.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="ValueSet.meta">
            <path value="ValueSet.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="ValueSet.implicitRules">
            <path value="ValueSet.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="ValueSet.language">
            <path value="ValueSet.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.text">
            <path value="ValueSet.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="ValueSet.contained">
            <path value="ValueSet.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."/>
            <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="ValueSet.extension">
            <path value="ValueSet.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>
            <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="ValueSet.extension:knowledgeRepresentationLevel">
            <path value="ValueSet.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:authoritativeSource">
            <path value="ValueSet.extension"/>
            <sliceName value="authoritativeSource"/>
            <short value="Reference to the current trusted source of the ValueSet resource (metadata and definition)"/>
            <definition value="A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions."/>
            <comment value="If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated &quot;authoritative source&quot; is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="ValueSet.extension:usageWarning">
            <path value="ValueSet.extension"/>
            <sliceName value="usageWarning"/>
            <short value="Extra warning about the correct use of the value set"/>
            <definition value="An extra warning about the correct use of the value set."/>
            <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/valueset-warning"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="ValueSet.extension:usageWarning.id">
            <path value="ValueSet.extension.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="id"/>
              </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="ValueSet.extension:usageWarning.extension">
            <path value="ValueSet.extension.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="Extension"/>
            <definition value="An Extension"/>
            <min value="0"/>
            <max value="0"/>
            <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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.extension:usageWarning.url">
            <path value="ValueSet.extension.url"/>
            <representation value="xmlAttr"/>
            <short value="identifies the meaning of the extension"/>
            <definition value="Source of the definition for the extension code - a logical name or a URL."/>
            <comment value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Extension.url"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="uri"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <fixedUri value="http://hl7.org/fhir/StructureDefinition/valueset-warning"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.extension:usageWarning.value[x]">
            <path value="ValueSet.extension.value[x]"/>
            <short value="Value of extension"/>
            <definition value="Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Extension.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <fixedMarkdown value="This value set contains a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. Before, and periodically during production use, the value set expansion contents SHOULD be updated."/>
            <condition value="ext-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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.modifierExtension">
            <path value="ValueSet.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>
            <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="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="ValueSet.url">
            <path value="ValueSet.url"/>
            <short value="Canonical identifier for this value set, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this value set 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 value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the value set to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.identifier">
            <path value="ValueSet.identifier"/>
            <short value="Additional identifier for the value set (business identifier)"/>
            <definition value="A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.version">
            <path value="ValueSet.version"/>
            <short value="Business version of the value set"/>
            <definition value="The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="ValueSet.versionAlgorithm[x]">
            <path value="ValueSet.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which ValueSet is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="ValueSet.name">
            <path value="ValueSet.name"/>
            <short value="Name for this value set (computer friendly)"/>
            <definition value="A natural language name identifying the value set. 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.A name should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a name."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.title"/>
            <short value="Name for this value set (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the value set."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.status">
            <path value="ValueSet.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not.See also the [http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription](http://hl7.org/fhir/extensions/StructureDefinition-valueset-workflowStatusDescription.html) extension for additional status information related to the editorial process.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="ValueSet.experimental">
            <path value="ValueSet.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of value sets that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level value set."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="ValueSet.date">
            <path value="ValueSet.date"/>
            <short value="Date last changed"/>
            <definition value="The date (and optionally time) when the value set metadata or content logical definition (.compose) was created or revised."/>
            <comment value="Note that this is not the same as the meta.lastUpdated which is specific to an instance of a value set resource on a server.  Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the value set."/>
            <comment value="Usually an organization but may be an individual. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the value set. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the value set.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="ValueSet.contact">
            <path value="ValueSet.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ValueSet.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.description"/>
            <short value="Natural language description of the value set"/>
            <definition value="A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set."/>
            <comment value="Description SHOULD contain instructions for clinical or administrative use and interpretation and information about misuse. Description SHOULD be populated unless the information is available from context. Description SHOULD be populated unless the value set is a contained resource (e.g. a value set defined solely in the context of a profile)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.useContext">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.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 value set 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="ValueSet.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="ValueSet.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.jurisdiction"/>
            <short value="Intended jurisdiction for value set (if applicable)"/>
            <definition value="A legal or geographic region in which the value set is intended to be used."/>
            <comment value="It may be possible for the value set to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="ValueSet.immutable">
            <path value="ValueSet.immutable"/>
            <short value="Indicates whether or not any change to the content logical definition may occur"/>
            <definition value="If this is set to 'true', then no new versions of the content logical definition can be created.  Note: Other metadata might still change."/>
            <comment value="Normally immutability is set to 'false', which is the default assumption if it is not populated.  Note that the implication is that if this is set to 'true', there may be only one ValueSet version for this definition. Immutability tends to be set to 'true' in one of two cases: - Where the value set, by the nature of its usage, cannot change.  For example &quot;All specializations of ACT in ActClassCode&quot; - Where there's no safe way to express the &quot;Purpose&quot; such that someone else could safely make changes to the value set definition. Source workflow control must guarantee that the same URI always yields the same definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.immutable"/>
              <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="true"/>
          </element>
          <element id="ValueSet.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.purpose"/>
            <short value="Why this value set is defined"/>
            <definition value="Explanation of why this value set is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the value set. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set."/>
            <comment value="Frequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the value set and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.copyrightLabel"/>
              <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"/>
          </element>
          <element id="ValueSet.approvalDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.approvalDate"/>
            <short value="When the ValueSet was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.lastReviewDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.lastReviewDate"/>
            <short value="When the ValueSet was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.effectivePeriod">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.effectivePeriod"/>
            <short value="When the ValueSet is expected to be used"/>
            <definition value="The period during which the ValueSet content was or is planned to be in active use."/>
            <comment value="The effective period for a ValueSet determines when the content is applicable for usage and is independent of publication and review dates. For example, a valueset intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the ValueSet are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="ValueSet.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="ValueSet.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the ValueSet. Topics provide a high-level categorization as well as keywords for the ValueSet that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the ValueSet so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="ValueSet.author">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.author"/>
            <short value="Who authored the ValueSet"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.editor">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.editor"/>
            <short value="Who edited the ValueSet"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the ValueSet."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.reviewer">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.reviewer"/>
            <short value="Who reviewed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the ValueSet."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.endorser">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.endorser"/>
            <short value="Who endorsed the ValueSet"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the ValueSet for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.relatedArtifact">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A ValueSet must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose">
            <path value="ValueSet.compose"/>
            <short value="Content logical definition of the value set (CLD)"/>
            <definition value="A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD)."/>
            <alias value="Content Logical Definition"/>
            <alias value="CLD"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.id">
            <path value="ValueSet.compose.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="ValueSet.compose.extension">
            <path value="ValueSet.compose.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.modifierExtension">
            <path value="ValueSet.compose.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>
            <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>
            <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="ValueSet.compose.lockedDate">
            <path value="ValueSet.compose.lockedDate"/>
            <short value="Fixed date for references with no specified version (transitive)"/>
            <definition value="The Locked Date is  the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version."/>
            <comment value="With a defined lockedDate the value set is considered &quot;Locked&quot;. Otherwise, the value set may have different expansions as underlying code systems and/or value sets evolve.  The interpretation of lockedDate is often dependent on the context - e.g. a SNOMED CT derived value set with a lockedDate will have a different expansion in USA than in UK.  If a value set specifies a version for include and exclude statements, and also specifies a locked date, the specified versions need to be available that date, or the value set will not be usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.lockedDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
          </element>
          <element id="ValueSet.compose.inactive">
            <path value="ValueSet.compose.inactive"/>
            <short value="Whether inactive codes are in the value set"/>
            <definition value="Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included)."/>
            <comment value="Note that in the FHIR terminology framework, &quot;deprecated&quot; does not mean inactive, but in some code systems, e.g. LOINC, &quot;deprecated&quot; does mean inactive. Code systems should define what codes are considered to be inactive. If this is not clearly defined (including in the FHIR code system resource), then all codes are assumed to be active.&#xA;&#xA;The Value Set Definition specification defines an ActiveOnly element, which is the reverse of this element e.g. (ValueSet.compose.inactive=FALSE) is the same as (VSD.ActiveOnly=TRUE)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.inactive"/>
              <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="true"/>
          </element>
          <element id="ValueSet.compose.include">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSet"/>
            </extension>
            <path value="ValueSet.compose.include"/>
            <short value="Include one or more codes from a code system or other value set(s)"/>
            <definition value="Include one or more codes from a code system or other value set(s)."/>
            <comment value="All the conditions in an include must be true. If a system is listed, all the codes from the system are listed. If one or more filters are listed, all of the filters must apply. If one or more value sets are listed, the codes must be in all the value sets. E.g. each include is 'include all the codes that meet all these conditions'."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-1"/>
              <severity value="error"/>
              <human value="A value set include/exclude SHALL have a value set or a system"/>
              <expression value="valueSet.exists() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-2"/>
              <severity value="error"/>
              <human value="A value set with concepts or filters SHALL include a system"/>
              <expression value="(concept.exists() or filter.exists()) implies system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-3"/>
              <severity value="error"/>
              <human value="Cannot have both concept and filter"/>
              <expression value="concept.empty() or filter.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.id">
            <path value="ValueSet.compose.include.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="ValueSet.compose.include.extension">
            <path value="ValueSet.compose.include.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.modifierExtension">
            <path value="ValueSet.compose.include.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>
            <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>
            <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="ValueSet.compose.include.system">
            <path value="ValueSet.compose.include.system"/>
            <short value="The system the codes come from"/>
            <definition value="An absolute URI which is the code system from which the selected codes come from."/>
            <comment value="If there are no codes or filters, the entire code system is included. Note that the set of codes that are included may contain abstract codes. See ''Coding.system'' for further documentation about the correct value for the system element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.version">
            <path value="ValueSet.compose.include.version"/>
            <short value="Specific version of the code system referred to"/>
            <definition value="The version of the code system that the codes are selected from, or the special version '*' for all versions."/>
            <comment value="This is used when selecting the descendants of a concept - they may change between versions. If no version is specified, then the exact contents of the value set might not be known until a context of use binds it to a particular version. The special value '*' means all versions; It is at server discretion regarding expansions and which versions must be supported."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptReference"/>
            </extension>
            <path value="ValueSet.compose.include.concept"/>
            <short value="A concept defined in the system"/>
            <definition value="Specifies a concept to be included or excluded."/>
            <comment value="The list of concepts is considered ordered, though the order might not have any particular significance. Typically, the order of an expansion follows that defined in the compose element."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.id">
            <path value="ValueSet.compose.include.concept.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="ValueSet.compose.include.concept.extension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.modifierExtension">
            <path value="ValueSet.compose.include.concept.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>
            <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>
            <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="ValueSet.compose.include.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.concept.code"/>
            <short value="Code or expression from system"/>
            <definition value="Specifies a code for the concept to be included or excluded."/>
            <comment value="Expressions are allowed if defined by the underlying code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.code"/>
              <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="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.display">
            <path value="ValueSet.compose.include.concept.display"/>
            <short value="Text to display for this code for this value set in this valueset"/>
            <definition value="The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system."/>
            <comment value="The value set resource allows for an alternative display to be specified for when this concept is used in this particular value set. See notes in the value set narrative about the correct use of this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.display"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation">
            <path value="ValueSet.compose.include.concept.designation"/>
            <short value="Additional representations for this concept"/>
            <definition value="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-11"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.compose.include.concept.designation.id">
            <path value="ValueSet.compose.include.concept.designation.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="ValueSet.compose.include.concept.designation.extension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.concept.designation.modifierExtension">
            <path value="ValueSet.compose.include.concept.designation.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>
            <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>
            <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="ValueSet.compose.include.concept.designation.language">
            <path value="ValueSet.compose.include.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.use">
            <path value="ValueSet.compose.include.concept.designation.use"/>
            <short value="Types of uses of designations"/>
            <definition value="A code that represents types of uses of designations."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="vsd-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="ValueSet.compose.include.concept.designation.value">
            <path value="ValueSet.compose.include.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="ValueSet.compose.include.filter">
            <path value="ValueSet.compose.include.filter"/>
            <short value="Select codes/concepts by their properties (including relationships)"/>
            <definition value="Select concepts by specifying a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified within the include, they SHALL all be true."/>
            <comment value="Selecting codes by specifying filters based on properties is only possible where the underlying code system defines appropriate properties. Note that in some cases, the underlying code system defines the logical concepts but not the literal codes for the concepts. In such cases, the literal definitions may be provided by a third party."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="vsd-2"/>
            <condition value="vsd-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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.id">
            <path value="ValueSet.compose.include.filter.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="ValueSet.compose.include.filter.extension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.modifierExtension">
            <path value="ValueSet.compose.include.filter.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>
            <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>
            <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="ValueSet.compose.include.filter.property">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.property"/>
            <short value="A property/filter defined by the code system"/>
            <definition value="A code that identifies a property or a filter defined in the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.property"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.op">
            <path value="ValueSet.compose.include.filter.op"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="The kind of operation to perform as a part of the filter criteria."/>
            <comment value="In case filter.property represents a property of the system, the operation applies to the selected property. In case filter.property represents a filter of the system, the operation SHALL match one of the CodeSystem.filter.operator values."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.op"/>
              <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="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.filter.value">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.compose.include.filter.value"/>
            <short value="Code from the system, or regex criteria, or boolean value for exists"/>
            <definition value="The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value  (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'."/>
            <comment value="Use regex matching with care - full regex matching on every SNOMED CT term is prohibitive, for example."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.filter.value"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.valueSet">
            <path value="ValueSet.compose.include.valueSet"/>
            <short value="Select the contents included in this value set"/>
            <definition value="Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url.  If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets."/>
            <comment value="The value set URI is either a logical reference to a defined value set such as a [SNOMED CT reference set](https://terminology.hl7.org/SNOMEDCT.html), or a direct reference to a value set definition using ValueSet.url. The reference might not refer to an actual FHIR ValueSet resource; in this case, whatever is referred to is an implicit definition of a value set that needs to be clear about how versions are resolved."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.include.valueSet"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="vsd-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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.include.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.include.copyright"/>
            <short value="A copyright statement for the specific code system included in the value set"/>
            <definition value="A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.compose.include.copyright"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.compose.exclude">
            <path value="ValueSet.compose.exclude"/>
            <short value="Explicitly exclude codes from a code system or other value sets"/>
            <definition value="Exclude one or more codes from the value set based on code system filters and/or other value sets."/>
            <comment value="Usually this is used to selectively exclude codes that were included by subsumption in the inclusions. Any display names specified for the codes are ignored."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.exclude"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.compose.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.compose.property"/>
            <short value="Property to return if client doesn't override"/>
            <definition value="A property to return in the expansion, if the client doesn't ask for any particular properties. May be either a code from the code system definition (convenient) or a the formal URI that refers to the property. The special value '*' means all properties known to the server."/>
            <comment value="Note that property names can clash, so using a URI is recommended."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.compose.property"/>
              <min value="0"/>
              <max value="*"/>
            </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"/>
          </element>
          <element id="ValueSet.expansion">
            <path value="ValueSet.expansion"/>
            <short value="Used when the value set is &quot;expanded&quot;"/>
            <definition value="A value set can also be &quot;expanded&quot;, where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed."/>
            <comment value="Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.&#xA;&#xA;Expansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="evs-1"/>
              <severity value="error"/>
              <human value="For contains, a version SHALL be provided unless the parameters element has a &quot;system-version&quot; parameter corresponding to the system of the entry and the version matches the system-version parameter."/>
              <expression value="contains.version.exists() xor  parameter.where(name = 'system-version').exists()"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.id">
            <path value="ValueSet.expansion.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="ValueSet.expansion.extension">
            <path value="ValueSet.expansion.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.modifierExtension">
            <path value="ValueSet.expansion.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>
            <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>
            <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="ValueSet.expansion.identifier">
            <path value="ValueSet.expansion.identifier"/>
            <short value="Identifies the value set expansion (business identifier)"/>
            <definition value="An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier."/>
            <comment value="Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.identifier"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.next">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.next"/>
            <short value="Opaque urls for paging through expansion results"/>
            <definition value="As per paging Search results, the next URLs are opaque to the client, have no dictated structure, and only the server understands them."/>
            <comment value="Clients SHOULD use the next link, if present, to page through expansion results in preference to using the offset and count parameters. Due to the optional nature of the next link, its absence does not necessarily indicate that it is the last page of results. Instead, as the offset and count parameters SHALL be populated when paging, clients can reliably use the count/offset parameters to determine whether the whole expansion is returned."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.next"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.timestamp">
            <path value="ValueSet.expansion.timestamp"/>
            <short value="Time ValueSet expansion happened"/>
            <definition value="The time at which the expansion was produced by the expanding system."/>
            <comment value="This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.timestamp"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.total">
            <path value="ValueSet.expansion.total"/>
            <short value="Total number of codes in the expansion"/>
            <definition value="The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter."/>
            <comment value="Paging only applies to flat expansions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.total"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.expansion.offset">
            <path value="ValueSet.expansion.offset"/>
            <short value="Offset at which this resource starts"/>
            <definition value="If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present."/>
            <comment value="Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.offset"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <meaningWhenMissing value="Paging is not being used"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.expansion.parameter">
            <path value="ValueSet.expansion.parameter"/>
            <short value="Parameter that controlled the expansion process"/>
            <definition value="A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion."/>
            <comment value="The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.id">
            <path value="ValueSet.expansion.parameter.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="ValueSet.expansion.parameter.extension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.parameter.modifierExtension">
            <path value="ValueSet.expansion.parameter.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>
            <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>
            <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="ValueSet.expansion.parameter.name">
            <path value="ValueSet.expansion.parameter.name"/>
            <short value="Name as assigned by the client or server"/>
            <definition value="Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process."/>
            <comment value="The names are assigned at the discretion of the server."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.name"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.parameter.value[x]">
            <path value="ValueSet.expansion.parameter.value[x]"/>
            <short value="Value of the named parameter"/>
            <definition value="The value of the parameter."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.parameter.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="code"/>
            </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="ValueSet.expansion.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.expansion.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.property.id">
            <path value="ValueSet.expansion.property.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="ValueSet.expansion.property.extension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.property.modifierExtension">
            <path value="ValueSet.expansion.property.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>
            <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>
            <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="ValueSet.expansion.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used in ValueSet.expansion.contains.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.property.uri">
            <path value="ValueSet.expansion.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.property.uri"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains">
            <path value="ValueSet.expansion.contains"/>
            <short value="Codes in the value set"/>
            <definition value="The codes that are contained in the value set expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="vsd-6"/>
              <severity value="error"/>
              <human value="SHALL have a code or a display"/>
              <expression value="code.exists() or display.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-9"/>
              <severity value="error"/>
              <human value="SHALL have a code if not abstract"/>
              <expression value="code.exists() or abstract = true"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <constraint>
              <key value="vsd-10"/>
              <severity value="error"/>
              <human value="SHALL have a system if a code is present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.id">
            <path value="ValueSet.expansion.contains.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="ValueSet.expansion.contains.extension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.modifierExtension">
            <path value="ValueSet.expansion.contains.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>
            <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>
            <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="ValueSet.expansion.contains.system">
            <path value="ValueSet.expansion.contains.system"/>
            <short value="System value for the code"/>
            <definition value="An absolute URI which is the code system in which the code for this item in the expansion is defined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="vsd-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.abstract">
            <path value="ValueSet.expansion.contains.abstract"/>
            <short value="If user cannot select this entry"/>
            <definition value="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value."/>
            <comment value="This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.abstract"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts"/>
            <condition value="vsd-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.inactive">
            <path value="ValueSet.expansion.contains.inactive"/>
            <short value="If concept is inactive in the code system"/>
            <definition value="If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether a concept is inactive (and it may depend on the context of use)."/>
            <comment value="This should only have a value if the concept is inactive."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.inactive"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.version">
            <path value="ValueSet.expansion.contains.version"/>
            <short value="Version in which this code/display is defined"/>
            <definition value="The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="The exact value of the version string is specified by the system from which the code is derived."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="evs-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"/>
          </element>
          <element id="ValueSet.expansion.contains.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.code"/>
            <short value="Code - if blank, this is not a selectable code"/>
            <definition value="The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="vsd-6"/>
            <condition value="vsd-9"/>
            <condition value="vsd-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.display">
            <path value="ValueSet.expansion.contains.display"/>
            <short value="User display for the concept"/>
            <definition value="The recommended display for this item in the expansion."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="vsd-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.designation">
            <path value="ValueSet.expansion.contains.designation"/>
            <short value="Additional representations for this item"/>
            <definition value="Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation."/>
            <comment value="The designations provided must be based on the value set and code system definitions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.compose.include.concept.designation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ValueSet.expansion.contains.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.id">
            <path value="ValueSet.expansion.contains.property.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="ValueSet.expansion.contains.property.extension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.modifierExtension">
            <path value="ValueSet.expansion.contains.property.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>
            <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>
            <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="ValueSet.expansion.contains.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.code"/>
              <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="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptSubProperty"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty"/>
            <short value="SubProperty value for the concept"/>
            <definition value="A subproperty value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.id">
            <path value="ValueSet.expansion.contains.property.subProperty.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="ValueSet.expansion.contains.property.subProperty.extension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.modifierExtension">
            <path value="ValueSet.expansion.contains.property.subProperty.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>
            <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>
            <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="ValueSet.expansion.contains.property.subProperty.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.code"/>
            <short value="Reference to ValueSet.expansion.property.code"/>
            <definition value="A code that is a reference to ValueSet.expansion.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.code"/>
              <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.property.subProperty.value[x]">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
            <short value="Value of the subproperty for this concept"/>
            <definition value="The value of this subproperty."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.expansion.contains.property.subProperty.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="ValueSet.expansion.contains.contains">
            <path value="ValueSet.expansion.contains.contains"/>
            <short value="Codes contained under this entry"/>
            <definition value="Other codes and entries contained under this entry in the hierarchy."/>
            <comment value="If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ValueSet.expansion.contains.contains"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/ValueSet#ValueSet.expansion.contains"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ValueSet.scope">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ValueSet.scope"/>
            <short value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description"/>
            <definition value="Description of the semantic space the Value Set Expansion is intended to cover and should further clarify the text in ValueSet.description."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="ValueSet.scope.id">
            <path value="ValueSet.scope.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="ValueSet.scope.extension">
            <path value="ValueSet.scope.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.modifierExtension">
            <path value="ValueSet.scope.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>
            <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>
            <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="ValueSet.scope.inclusionCriteria">
            <path value="ValueSet.scope.inclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be included and why"/>
            <definition value="Criteria describing which concepts or codes should be included and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.inclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="ValueSet.scope.exclusionCriteria">
            <path value="ValueSet.scope.exclusionCriteria"/>
            <short value="Criteria describing which concepts or codes should be excluded and why"/>
            <definition value="Criteria describing which concepts or codes should be excluded and why."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ValueSet.scope.exclusionCriteria"/>
              <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="N/A"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="ValueSet">
            <path value="ValueSet"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="ValueSet.extension:usageWarning">
            <path value="ValueSet.extension"/>
            <sliceName value="usageWarning"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/valueset-warning"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.extension:usageWarning.value[x]">
            <path value="ValueSet.extension.value[x]"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="markdown"/>
            </type>
            <fixedMarkdown value="This value set contains a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. Before, and periodically during production use, the value set expansion contents SHOULD be updated."/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion">
            <path value="ValueSet.expansion"/>
            <min value="1"/>
            <max value="1"/>
            <constraint>
              <key value="evs-1"/>
              <severity value="error"/>
              <human value="For contains, a version SHALL be provided unless the parameters element has a &quot;system-version&quot; parameter corresponding to the system of the entry and the version matches the system-version parameter."/>
              <expression value="contains.version.exists() xor  parameter.where(name = 'system-version').exists()"/>
            </constraint>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.identifier">
            <path value="ValueSet.expansion.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.timestamp">
            <path value="ValueSet.expansion.timestamp"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.total">
            <path value="ValueSet.expansion.total"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.offset">
            <path value="ValueSet.expansion.offset"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.parameter">
            <path value="ValueSet.expansion.parameter"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains">
            <path value="ValueSet.expansion.contains"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.system">
            <path value="ValueSet.expansion.contains.system"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.abstract">
            <path value="ValueSet.expansion.contains.abstract"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.inactive">
            <path value="ValueSet.expansion.contains.inactive"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.version">
            <path value="ValueSet.expansion.contains.version"/>
            <condition value="evs-1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.code">
            <path value="ValueSet.expansion.contains.code"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.display">
            <path value="ValueSet.expansion.contains.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.property">
            <path value="ValueSet.expansion.contains.property"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.property.code">
            <path value="ValueSet.expansion.contains.property.code"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.property.value[x]">
            <path value="ValueSet.expansion.contains.property.value[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="ValueSet.expansion.contains.contains">
            <path value="ValueSet.expansion.contains.contains"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
    <resource>
      <StructureDefinition>
        <id value="shareablecodesystem"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1135"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableCodeSystem"/>
        <title value="Shareable CodeSystem"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the code system metadata required by HL7 and other organizations that share and publish code systems"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="CodeSystem"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="CodeSystem">
            <path value="CodeSystem"/>
            <short value="Declares the existence of and describes a code system or code system supplement"/>
            <definition value="The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-1"/>
              <severity value="error"/>
              <human value="Within a code system definition, all the codes SHALL be unique"/>
              <expression value="concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-2"/>
              <severity value="warning"/>
              <human value="If there is an explicit hierarchy, a hierarchyMeaning should be provided"/>
              <expression value="concept.concept.exists() implies hierarchyMeaning.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-3"/>
              <severity value="warning"/>
              <human value="If there is an implicit hierarchy, a hierarchyMeaning should be provided"/>
              <expression value="concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-4"/>
              <severity value="error"/>
              <human value="If the code system content = supplement, it must nominate what it's a supplement for"/>
              <expression value="CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="scs-1"/>
              <severity value="error"/>
              <human value="If a codesystem contains nested concepts, it must specify hierarchyMeaning"/>
              <expression value="concept.concept.exists() implies hierarchyMeaning.exists()"/>
            </constraint>
            <constraint>
              <key value="scs-2"/>
              <severity value="error"/>
              <human value="If a codesystem contains example, fragment, or complete content, it must have at least one concept"/>
              <expression value="content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists()"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="CodeSystem.id">
            <path value="CodeSystem.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="CodeSystem.meta">
            <path value="CodeSystem.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="CodeSystem.implicitRules">
            <path value="CodeSystem.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="CodeSystem.language">
            <path value="CodeSystem.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="CodeSystem.text">
            <path value="CodeSystem.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="CodeSystem.contained">
            <path value="CodeSystem.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."/>
            <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="CodeSystem.extension">
            <path value="CodeSystem.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>
            <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="CodeSystem.extension:knowledgeRepresentationLevel">
            <path value="CodeSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="CodeSystem.modifierExtension">
            <path value="CodeSystem.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>
            <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="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="CodeSystem.url">
            <path value="CodeSystem.url"/>
            <short value="Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system)"/>
            <definition value="An absolute URI that is used to identify this code system 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 code system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the code system is stored on different servers. This is used in [Coding](datatypes.html#Coding).system."/>
            <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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the code system to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="CodeSystem.identifier">
            <path value="CodeSystem.identifier"/>
            <short value="Additional identifier for the code system (business identifier)"/>
            <definition value="A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this code system outside of FHIR, where it is not possible to use the logical URI.  Note that HL7 defines at least three identifiers for many of its code systems - the FHIR canonical URL, the OID and the V2 Table 0396 mnemonic code."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.version">
            <path value="CodeSystem.version"/>
            <short value="Business version of the code system (Coding.version)"/>
            <definition value="The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in [Coding](datatypes.html#Coding).version."/>
            <comment value="There may be different code system instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the code system with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="CodeSystem.versionAlgorithm[x]">
            <path value="CodeSystem.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which CodeSystem is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="CodeSystem.name">
            <path value="CodeSystem.name"/>
            <short value="Name for this code system (computer friendly)"/>
            <definition value="A natural language name identifying the code system. 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="CodeSystem.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="CodeSystem.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.title"/>
            <short value="Name for this code system (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the code system."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.status">
            <path value="CodeSystem.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this code system. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of code systems that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired CodeSystem without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="CodeSystem.experimental">
            <path value="CodeSystem.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of code systems that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="CodeSystem.date">
            <path value="CodeSystem.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the code system was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the code system changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the code system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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>
          </element>
          <element id="CodeSystem.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the code system."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the code system is the organization or individual primarily responsible for the maintenance and upkeep of the code system. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the code system. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the code system.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="CodeSystem.contact">
            <path value="CodeSystem.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.description"/>
            <short value="Natural language description of the code system"/>
            <definition value="A free text natural language description of the code system from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the code system as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the code system is presumed to be the predominant language in the place the code system was created)."/>
            <alias value="Scope"/>
            <alias value="Purpose"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="CodeSystem.useContext">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.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 code system 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="CodeSystem.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="CodeSystem.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="CodeSystem.jurisdiction"/>
            <short value="Intended jurisdiction for code system (if applicable)"/>
            <definition value="A legal or geographic region in which the code system is intended to be used."/>
            <comment value="It may be possible for the code system to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="CodeSystem.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.purpose"/>
            <short value="Why this code system is defined"/>
            <definition value="Explanation of why this code system is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system."/>
            <comment value="... Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the code system and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.copyrightLabel"/>
              <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"/>
          </element>
          <element id="CodeSystem.approvalDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.approvalDate"/>
            <short value="When the CodeSystem was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.lastReviewDate">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.lastReviewDate"/>
            <short value="When the CodeSystem was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.effectivePeriod">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.effectivePeriod"/>
            <short value="When the CodeSystem is expected to be used"/>
            <definition value="The period during which the CodeSystem content was or is planned to be in active use."/>
            <comment value="The effective period for a CodeSystem  determines when the content is applicable for usage and is independent of publication and review dates. For example, a system intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the CodeSystem are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="CodeSystem.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the CodeSystem. Topics provide a high-level categorization as well as keywords for the CodeSystem that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the CodeSystem so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="CodeSystem.author">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.author"/>
            <short value="Who authored the CodeSystem"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the CodeSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.editor">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.editor"/>
            <short value="Who edited the CodeSystem"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the CodeSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.reviewer">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.reviewer"/>
            <short value="Who reviewed the CodeSystem"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the CodeSystem."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.endorser">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.endorser"/>
            <short value="Who endorsed the CodeSystem"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the CodeSystem for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.relatedArtifact">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A CodeSystem must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.caseSensitive">
            <path value="CodeSystem.caseSensitive"/>
            <short value="If code comparison is case sensitive"/>
            <definition value="If code comparison is case sensitive when codes within this system are compared to each other."/>
            <comment value="If this value is missing, then it is not specified whether a code system is case sensitive or not. When the rule is not known, Postel's law should be followed: produce codes with the correct case, and accept codes in any case. This element is primarily provided to support validation software."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.caseSensitive"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.valueSet">
            <path value="CodeSystem.valueSet"/>
            <short value="Canonical reference to the value set with entire code system"/>
            <definition value="Canonical reference to the value set that contains all codes in the code system independent of code status."/>
            <comment value="The definition of the value set SHALL include all codes from this code system, independent of concept status, and only codes from this code system. It SHALL be immutable, and operations SHOULD support validation of any allowed code compositions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.hierarchyMeaning">
            <path value="CodeSystem.hierarchyMeaning"/>
            <short value="grouped-by | is-a | part-of | classified-with"/>
            <definition value="The meaning of the hierarchy of concepts as represented in this resource."/>
            <comment value="Note that other representations might have a different hierarchy or none at all, and represent the information using properties."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.hierarchyMeaning"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-2"/>
            <condition value="csd-3"/>
            <condition value="scs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CodeSystemHierarchyMeaning"/>
              </extension>
              <strength value="required"/>
              <description value="The meaning of the hierarchy of concepts in a code system."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.compositional">
            <path value="CodeSystem.compositional"/>
            <short value="If code system defines a compositional grammar"/>
            <definition value="The code system defines a compositional (post-coordination) grammar."/>
            <comment value="Note that the code system resource does not define what the compositional grammar is, only whether or not there is one."/>
            <alias value="grammar"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.compositional"/>
              <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="true"/>
          </element>
          <element id="CodeSystem.versionNeeded">
            <path value="CodeSystem.versionNeeded"/>
            <short value="If definitions are not stable"/>
            <definition value="This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system."/>
            <comment value="Best practice is that code systems do not redefine concepts, or that if concepts are redefined, a new code system definition is created. But this is not always possible, so some code systems may be defined as 'versionNeeded'.&#xA;&#xA;Most code systems occasionally refine the displays defined for concepts between versions. Contexts in which the concept display values are validated may require that the version be specified for some code systems irrespective of the value of this property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.versionNeeded"/>
              <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="true"/>
          </element>
          <element id="CodeSystem.content">
            <path value="CodeSystem.content"/>
            <short value="not-present | example | fragment | complete | supplement"/>
            <definition value="The extent of the content of the code system (the concepts and codes it defines) are represented in this resource instance."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.content"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-4"/>
            <condition value="scs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CodeSystemContentMode"/>
              </extension>
              <strength value="required"/>
              <description value="The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.supplements">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.supplements"/>
            <short value="Canonical URL of Code System this adds designations and properties to"/>
            <definition value="The canonical URL of the code system that this code system supplement is adding designations and properties to."/>
            <comment value="The most common use of a code system supplement is to add additional language support."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.supplements"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.count">
            <path value="CodeSystem.count"/>
            <short value="Total concepts in the code system"/>
            <definition value="The total number of concepts defined by the code system. Where the code system has a compositional grammar, the basis of this count is defined by the system steward."/>
            <comment value="The count of concepts defined in this resource cannot be more than this value but may be less for several reasons - see the content element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.count"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.filter">
            <path value="CodeSystem.filter"/>
            <short value="Filter that can be used in a value set"/>
            <definition value="A filter that can be used in a value set compose statement when selecting concepts using a filter."/>
            <comment value="Note that filters defined in code systems usually require custom code on the part of any terminology engine that will make them available for use in value set filters. For this reason, they are generally only seen in high value published terminologies."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.filter.id">
            <path value="CodeSystem.filter.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="CodeSystem.filter.extension">
            <path value="CodeSystem.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.filter.modifierExtension">
            <path value="CodeSystem.filter.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>
            <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>
            <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="CodeSystem.filter.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.filter.code"/>
            <short value="Code that identifies the filter"/>
            <definition value="The code that identifies this filter when it is used as a filter in [ValueSet](valueset.html#).compose.include.filter."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.code"/>
              <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"/>
          </element>
          <element id="CodeSystem.filter.description">
            <path value="CodeSystem.filter.description"/>
            <short value="How or why the filter is used"/>
            <definition value="A description of how or why the filter is used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.description"/>
              <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="CodeSystem.filter.operator">
            <path value="CodeSystem.filter.operator"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="A list of operators that can be used with the filter."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.filter.operator"/>
              <min value="1"/>
              <max value="*"/>
            </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="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.filter.value">
            <path value="CodeSystem.filter.value"/>
            <short value="What to use for the value"/>
            <definition value="A description of what the value for the filter should be."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.value"/>
              <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="CodeSystem.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Property"/>
            </extension>
            <path value="CodeSystem.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <comment value="Multiple occurrences of CodeSystem.concept.property may occur for a CodeSystem.property where     CodeSystem.concept.property.code is the same and CodeSystem.concept.property.value differs. For example: multiple designations for a single concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.property.id">
            <path value="CodeSystem.property.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="CodeSystem.property.extension">
            <path value="CodeSystem.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.property.modifierExtension">
            <path value="CodeSystem.property.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>
            <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>
            <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="CodeSystem.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used internally (in CodeSystem.concept.property.code) and also externally, such as in property filters."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.code"/>
              <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"/>
          </element>
          <element id="CodeSystem.property.uri">
            <path value="CodeSystem.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.uri"/>
              <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="CodeSystem.property.description">
            <path value="CodeSystem.property.description"/>
            <short value="Why the property is defined, and/or what it conveys"/>
            <definition value="A description of the property- why it is defined, and how its value might be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.description"/>
              <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="CodeSystem.property.type">
            <path value="CodeSystem.property.type"/>
            <short value="code | Coding | string | integer | boolean | dateTime | decimal"/>
            <definition value="The type of the property value. Properties of type &quot;code&quot; contain a code defined by the code system (e.g. a reference to another defined concept)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.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="PropertyType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a property value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-property-type|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptDefinition"/>
            </extension>
            <path value="CodeSystem.concept"/>
            <short value="Concepts in the code system"/>
            <definition value="Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meanings of the hierarchical relationships are."/>
            <comment value="If this is empty, it means that the code system resource does not represent the content of the code system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="csd-1"/>
            <condition value="scs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.id">
            <path value="CodeSystem.concept.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="CodeSystem.concept.extension">
            <path value="CodeSystem.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.modifierExtension">
            <path value="CodeSystem.concept.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>
            <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>
            <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="CodeSystem.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.concept.code"/>
            <short value="Code that identifies concept"/>
            <definition value="A code - a text symbol - that uniquely identifies the concept within the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.concept.display">
            <path value="CodeSystem.concept.display"/>
            <short value="Text to display to the user"/>
            <definition value="A human readable string that is the recommended default way to present this concept to a user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.definition">
            <path value="CodeSystem.concept.definition"/>
            <short value="Formal definition"/>
            <definition value="The formal definition of the concept. The code system resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.definition"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.designation">
            <path value="CodeSystem.concept.designation"/>
            <short value="Additional representations for the concept"/>
            <definition value="Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <requirements value="Many concept definition systems support multiple representations, in multiple languages, and for multiple purposes."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="csd-5"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.concept.designation.id">
            <path value="CodeSystem.concept.designation.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="CodeSystem.concept.designation.extension">
            <path value="CodeSystem.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.designation.modifierExtension">
            <path value="CodeSystem.concept.designation.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>
            <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>
            <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="CodeSystem.concept.designation.language">
            <path value="CodeSystem.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.use">
            <path value="CodeSystem.concept.designation.use"/>
            <short value="Details how this designation would be used"/>
            <definition value="A code that details how this designation would be used."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="csd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="csd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.value">
            <path value="CodeSystem.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="CodeSystem.concept.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="CodeSystem.concept.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.property.id">
            <path value="CodeSystem.concept.property.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="CodeSystem.concept.property.extension">
            <path value="CodeSystem.concept.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.property.modifierExtension">
            <path value="CodeSystem.concept.property.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>
            <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>
            <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="CodeSystem.concept.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.concept.property.code"/>
            <short value="Reference to CodeSystem.property.code"/>
            <definition value="A code that is a reference to CodeSystem.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.property.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.concept.property.value[x]">
            <path value="CodeSystem.concept.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="CodeSystem.concept.concept">
            <path value="CodeSystem.concept.concept"/>
            <short value="Child Concepts (is-a/contains/categorizes)"/>
            <definition value="Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) - see hierarchyMeaning."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/CodeSystem#CodeSystem.concept"/>
            <condition value="csd-1"/>
            <condition value="csd-2"/>
            <condition value="scs-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="CodeSystem">
            <path value="CodeSystem"/>
            <min value="1"/>
            <max value="1"/>
            <constraint>
              <key value="scs-1"/>
              <severity value="error"/>
              <human value="If a codesystem contains nested concepts, it must specify hierarchyMeaning"/>
              <expression value="concept.concept.exists() implies hierarchyMeaning.exists()"/>
            </constraint>
            <constraint>
              <key value="scs-2"/>
              <severity value="error"/>
              <human value="If a codesystem contains example, fragment, or complete content, it must have at least one concept"/>
              <expression value="content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists()"/>
            </constraint>
          </element>
          <element id="CodeSystem.extension:knowledgeRepresentationLevel">
            <path value="CodeSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.url">
            <path value="CodeSystem.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.version">
            <path value="CodeSystem.version"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.versionAlgorithm[x]">
            <path value="CodeSystem.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.name">
            <path value="CodeSystem.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.title">
            <path value="CodeSystem.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.status">
            <path value="CodeSystem.status"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.experimental">
            <path value="CodeSystem.experimental"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.publisher">
            <path value="CodeSystem.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.description">
            <path value="CodeSystem.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.caseSensitive">
            <path value="CodeSystem.caseSensitive"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.hierarchyMeaning">
            <path value="CodeSystem.hierarchyMeaning"/>
            <condition value="scs-1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.content">
            <path value="CodeSystem.content"/>
            <condition value="scs-2"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.concept">
            <path value="CodeSystem.concept"/>
            <condition value="scs-2"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.concept.code">
            <path value="CodeSystem.concept.code"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.concept.display">
            <path value="CodeSystem.concept.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.concept.definition">
            <path value="CodeSystem.concept.definition"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.concept.concept">
            <path value="CodeSystem.concept.concept"/>
            <min value="0"/>
            <max value="*"/>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/CodeSystem#CodeSystem.concept"/>
            <condition value="scs-1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishablecodesystem"/>
    <resource>
      <StructureDefinition>
        <id value="publishablecodesystem"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishablecodesystem"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1129"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="PublishableCodeSystem"/>
        <title value="Publishable CodeSystem"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines and enforces the minimum expectations for publication and distribution of a code system, typically as part of an artifact repository or implementation guide publication"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="CodeSystem"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="CodeSystem">
            <path value="CodeSystem"/>
            <short value="Declares the existence of and describes a code system or code system supplement"/>
            <definition value="The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-1"/>
              <severity value="error"/>
              <human value="Within a code system definition, all the codes SHALL be unique"/>
              <expression value="concept.exists() implies concept.code.combine(%resource.concept.descendants().concept.code).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-2"/>
              <severity value="warning"/>
              <human value="If there is an explicit hierarchy, a hierarchyMeaning should be provided"/>
              <expression value="concept.concept.exists() implies hierarchyMeaning.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-3"/>
              <severity value="warning"/>
              <human value="If there is an implicit hierarchy, a hierarchyMeaning should be provided"/>
              <expression value="concept.where(property.code = 'parent' or property.code = 'child').exists() implies hierarchyMeaning.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="csd-4"/>
              <severity value="error"/>
              <human value="If the code system content = supplement, it must nominate what it's a supplement for"/>
              <expression value="CodeSystem.content = 'supplement' implies CodeSystem.supplements.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="scs-1"/>
              <severity value="error"/>
              <human value="If a codesystem contains nested concepts, it must specify hierarchyMeaning"/>
              <expression value="concept.concept.exists() implies hierarchyMeaning.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
            </constraint>
            <constraint>
              <key value="scs-2"/>
              <severity value="error"/>
              <human value="If a codesystem contains example, fragment, or complete content, it must have at least one concept"/>
              <expression value="content in ( 'example' | 'fragment' | 'complete' ) implies concept.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="CodeSystem.id">
            <path value="CodeSystem.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="CodeSystem.meta">
            <path value="CodeSystem.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="CodeSystem.implicitRules">
            <path value="CodeSystem.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="CodeSystem.language">
            <path value="CodeSystem.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="CodeSystem.text">
            <path value="CodeSystem.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="CodeSystem.contained">
            <path value="CodeSystem.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."/>
            <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="CodeSystem.extension">
            <path value="CodeSystem.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>
            <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="CodeSystem.extension:knowledgeRepresentationLevel">
            <path value="CodeSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="CodeSystem.extension:sourceReference">
            <path value="CodeSystem.extension"/>
            <sliceName value="sourceReference"/>
            <short value="Where did this content come from"/>
            <definition value="This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition."/>
            <comment value="This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="CodeSystem.extension:otherName">
            <path value="CodeSystem.extension"/>
            <sliceName value="otherName"/>
            <short value="Alternative names"/>
            <definition value="Human readable names for the codesystem."/>
            <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/codesystem-otherName"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="CodeSystem.modifierExtension">
            <path value="CodeSystem.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>
            <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="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="CodeSystem.url">
            <path value="CodeSystem.url"/>
            <short value="Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system)"/>
            <definition value="An absolute URI that is used to identify this code system 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 code system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the code system is stored on different servers. This is used in [Coding](datatypes.html#Coding).system."/>
            <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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the code system to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="CodeSystem.identifier">
            <path value="CodeSystem.identifier"/>
            <short value="Additional identifier for the code system (business identifier)"/>
            <definition value="A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this code system outside of FHIR, where it is not possible to use the logical URI.  Note that HL7 defines at least three identifiers for many of its code systems - the FHIR canonical URL, the OID and the V2 Table 0396 mnemonic code."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.version">
            <path value="CodeSystem.version"/>
            <short value="Business version of the code system (Coding.version)"/>
            <definition value="The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in [Coding](datatypes.html#Coding).version."/>
            <comment value="There may be different code system instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the code system with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="CodeSystem.versionAlgorithm[x]">
            <path value="CodeSystem.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which CodeSystem is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="CodeSystem.name">
            <path value="CodeSystem.name"/>
            <short value="Name for this code system (computer friendly)"/>
            <definition value="A natural language name identifying the code system. 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="CodeSystem.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="CodeSystem.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.title"/>
            <short value="Name for this code system (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the code system."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.status">
            <path value="CodeSystem.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this code system. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of code systems that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired CodeSystem without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="CodeSystem.experimental">
            <path value="CodeSystem.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of code systems that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="CodeSystem.date">
            <path value="CodeSystem.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the code system was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the code system changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the code system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="CodeSystem.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the code system."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the code system is the organization or individual primarily responsible for the maintenance and upkeep of the code system. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the code system. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the code system.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="CodeSystem.contact">
            <path value="CodeSystem.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="CodeSystem.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.description"/>
            <short value="Natural language description of the code system"/>
            <definition value="A free text natural language description of the code system from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the code system as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the code system is presumed to be the predominant language in the place the code system was created)."/>
            <alias value="Scope"/>
            <alias value="Purpose"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.description"/>
              <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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="CodeSystem.useContext">
            <path value="CodeSystem.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 code system 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="CodeSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.jurisdiction">
            <path value="CodeSystem.jurisdiction"/>
            <short value="Intended jurisdiction for code system (if applicable)"/>
            <definition value="A legal or geographic region in which the code system is intended to be used."/>
            <comment value="It may be possible for the code system to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="CodeSystem.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.purpose"/>
            <short value="Why this code system is defined"/>
            <definition value="Explanation of why this code system is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.purpose"/>
              <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="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system."/>
            <comment value="... Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the code system and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.copyright"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.approvalDate">
            <path value="CodeSystem.approvalDate"/>
            <short value="When the CodeSystem was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.lastReviewDate">
            <path value="CodeSystem.lastReviewDate"/>
            <short value="When the CodeSystem was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.effectivePeriod">
            <path value="CodeSystem.effectivePeriod"/>
            <short value="When the CodeSystem is expected to be used"/>
            <definition value="The period during which the CodeSystem content was or is planned to be in active use."/>
            <comment value="The effective period for a CodeSystem  determines when the content is applicable for usage and is independent of publication and review dates. For example, a system intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the CodeSystem are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="CodeSystem.topic">
            <path value="CodeSystem.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the CodeSystem. Topics provide a high-level categorization as well as keywords for the CodeSystem that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the CodeSystem so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="CodeSystem.author">
            <path value="CodeSystem.author"/>
            <short value="Who authored the CodeSystem"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the CodeSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.editor">
            <path value="CodeSystem.editor"/>
            <short value="Who edited the CodeSystem"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the CodeSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.reviewer">
            <path value="CodeSystem.reviewer"/>
            <short value="Who reviewed the CodeSystem"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the CodeSystem."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.endorser">
            <path value="CodeSystem.endorser"/>
            <short value="Who endorsed the CodeSystem"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the CodeSystem for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.relatedArtifact">
            <path value="CodeSystem.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A CodeSystem must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.caseSensitive">
            <path value="CodeSystem.caseSensitive"/>
            <short value="If code comparison is case sensitive"/>
            <definition value="If code comparison is case sensitive when codes within this system are compared to each other."/>
            <comment value="If this value is missing, then it is not specified whether a code system is case sensitive or not. When the rule is not known, Postel's law should be followed: produce codes with the correct case, and accept codes in any case. This element is primarily provided to support validation software."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.caseSensitive"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.valueSet">
            <path value="CodeSystem.valueSet"/>
            <short value="Canonical reference to the value set with entire code system"/>
            <definition value="Canonical reference to the value set that contains all codes in the code system independent of code status."/>
            <comment value="The definition of the value set SHALL include all codes from this code system, independent of concept status, and only codes from this code system. It SHALL be immutable, and operations SHOULD support validation of any allowed code compositions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.hierarchyMeaning">
            <path value="CodeSystem.hierarchyMeaning"/>
            <short value="grouped-by | is-a | part-of | classified-with"/>
            <definition value="The meaning of the hierarchy of concepts as represented in this resource."/>
            <comment value="Note that other representations might have a different hierarchy or none at all, and represent the information using properties."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.hierarchyMeaning"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-2"/>
            <condition value="csd-3"/>
            <condition value="scs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CodeSystemHierarchyMeaning"/>
              </extension>
              <strength value="required"/>
              <description value="The meaning of the hierarchy of concepts in a code system."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.compositional">
            <path value="CodeSystem.compositional"/>
            <short value="If code system defines a compositional grammar"/>
            <definition value="The code system defines a compositional (post-coordination) grammar."/>
            <comment value="Note that the code system resource does not define what the compositional grammar is, only whether or not there is one."/>
            <alias value="grammar"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.compositional"/>
              <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="true"/>
          </element>
          <element id="CodeSystem.versionNeeded">
            <path value="CodeSystem.versionNeeded"/>
            <short value="If definitions are not stable"/>
            <definition value="This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system."/>
            <comment value="Best practice is that code systems do not redefine concepts, or that if concepts are redefined, a new code system definition is created. But this is not always possible, so some code systems may be defined as 'versionNeeded'.&#xA;&#xA;Most code systems occasionally refine the displays defined for concepts between versions. Contexts in which the concept display values are validated may require that the version be specified for some code systems irrespective of the value of this property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.versionNeeded"/>
              <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="true"/>
          </element>
          <element id="CodeSystem.content">
            <path value="CodeSystem.content"/>
            <short value="not-present | example | fragment | complete | supplement"/>
            <definition value="The extent of the content of the code system (the concepts and codes it defines) are represented in this resource instance."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.content"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-4"/>
            <condition value="scs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="CodeSystemContentMode"/>
              </extension>
              <strength value="required"/>
              <description value="The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/codesystem-content-mode|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.supplements">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.supplements"/>
            <short value="Canonical URL of Code System this adds designations and properties to"/>
            <definition value="The canonical URL of the code system that this code system supplement is adding designations and properties to."/>
            <comment value="The most common use of a code system supplement is to add additional language support."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.supplements"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.count">
            <path value="CodeSystem.count"/>
            <short value="Total concepts in the code system"/>
            <definition value="The total number of concepts defined by the code system. Where the code system has a compositional grammar, the basis of this count is defined by the system steward."/>
            <comment value="The count of concepts defined in this resource cannot be more than this value but may be less for several reasons - see the content element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.count"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.filter">
            <path value="CodeSystem.filter"/>
            <short value="Filter that can be used in a value set"/>
            <definition value="A filter that can be used in a value set compose statement when selecting concepts using a filter."/>
            <comment value="Note that filters defined in code systems usually require custom code on the part of any terminology engine that will make them available for use in value set filters. For this reason, they are generally only seen in high value published terminologies."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.filter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.filter.id">
            <path value="CodeSystem.filter.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="CodeSystem.filter.extension">
            <path value="CodeSystem.filter.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.filter.modifierExtension">
            <path value="CodeSystem.filter.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>
            <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>
            <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="CodeSystem.filter.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.filter.code"/>
            <short value="Code that identifies the filter"/>
            <definition value="The code that identifies this filter when it is used as a filter in [ValueSet](valueset.html#).compose.include.filter."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.code"/>
              <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"/>
          </element>
          <element id="CodeSystem.filter.description">
            <path value="CodeSystem.filter.description"/>
            <short value="How or why the filter is used"/>
            <definition value="A description of how or why the filter is used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.description"/>
              <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="CodeSystem.filter.operator">
            <path value="CodeSystem.filter.operator"/>
            <short value="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | child-of | descendent-leaf | exists"/>
            <definition value="A list of operators that can be used with the filter."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.filter.operator"/>
              <min value="1"/>
              <max value="*"/>
            </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="FilterOperator"/>
              </extension>
              <strength value="required"/>
              <description value="The kind of operation to perform as a part of a property based filter."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/filter-operator|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.filter.value">
            <path value="CodeSystem.filter.value"/>
            <short value="What to use for the value"/>
            <definition value="A description of what the value for the filter should be."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.filter.value"/>
              <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="CodeSystem.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Property"/>
            </extension>
            <path value="CodeSystem.property"/>
            <short value="Additional information supplied about each concept"/>
            <definition value="A property defines an additional slot through which additional information can be provided about a concept."/>
            <comment value="Multiple occurrences of CodeSystem.concept.property may occur for a CodeSystem.property where     CodeSystem.concept.property.code is the same and CodeSystem.concept.property.value differs. For example: multiple designations for a single concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="CodeSystem.property.id">
            <path value="CodeSystem.property.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="CodeSystem.property.extension">
            <path value="CodeSystem.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.property.modifierExtension">
            <path value="CodeSystem.property.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>
            <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>
            <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="CodeSystem.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.property.code"/>
            <short value="Identifies the property on the concepts, and when referred to in operations"/>
            <definition value="A code that is used to identify the property. The code is used internally (in CodeSystem.concept.property.code) and also externally, such as in property filters."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.code"/>
              <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"/>
          </element>
          <element id="CodeSystem.property.uri">
            <path value="CodeSystem.property.uri"/>
            <short value="Formal identifier for the property"/>
            <definition value="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.uri"/>
              <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="CodeSystem.property.description">
            <path value="CodeSystem.property.description"/>
            <short value="Why the property is defined, and/or what it conveys"/>
            <definition value="A description of the property- why it is defined, and how its value might be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.description"/>
              <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="CodeSystem.property.type">
            <path value="CodeSystem.property.type"/>
            <short value="code | Coding | string | integer | boolean | dateTime | decimal"/>
            <definition value="The type of the property value. Properties of type &quot;code&quot; contain a code defined by the code system (e.g. a reference to another defined concept)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.property.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="PropertyType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of a property value."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concept-property-type|5.0.0"/>
            </binding>
          </element>
          <element id="CodeSystem.concept">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptDefinition"/>
            </extension>
            <path value="CodeSystem.concept"/>
            <short value="Concepts in the code system"/>
            <definition value="Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meanings of the hierarchical relationships are."/>
            <comment value="If this is empty, it means that the code system resource does not represent the content of the code system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="csd-1"/>
            <condition value="scs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.id">
            <path value="CodeSystem.concept.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="CodeSystem.concept.extension">
            <path value="CodeSystem.concept.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.modifierExtension">
            <path value="CodeSystem.concept.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>
            <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>
            <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="CodeSystem.concept.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.concept.code"/>
            <short value="Code that identifies concept"/>
            <definition value="A code - a text symbol - that uniquely identifies the concept within the code system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.concept.display">
            <path value="CodeSystem.concept.display"/>
            <short value="Text to display to the user"/>
            <definition value="A human readable string that is the recommended default way to present this concept to a user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.definition">
            <path value="CodeSystem.concept.definition"/>
            <short value="Formal definition"/>
            <definition value="The formal definition of the concept. The code system resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.definition"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.designation">
            <path value="CodeSystem.concept.designation"/>
            <short value="Additional representations for the concept"/>
            <definition value="Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc."/>
            <comment value="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language)."/>
            <requirements value="Many concept definition systems support multiple representations, in multiple languages, and for multiple purposes."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.designation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="csd-5"/>
              <severity value="error"/>
              <human value="Must have a value for concept.designation.use if concept.designation.additionalUse is present"/>
              <expression value="additionalUse.exists() implies use.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="CodeSystem.concept.designation.id">
            <path value="CodeSystem.concept.designation.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="CodeSystem.concept.designation.extension">
            <path value="CodeSystem.concept.designation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.designation.modifierExtension">
            <path value="CodeSystem.concept.designation.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>
            <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>
            <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="CodeSystem.concept.designation.language">
            <path value="CodeSystem.concept.designation.language"/>
            <short value="Human language of the designation"/>
            <definition value="The language this designation is defined for."/>
            <comment value="In the absence of a language, the resource language applies."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.use">
            <path value="CodeSystem.concept.designation.use"/>
            <short value="Details how this designation would be used"/>
            <definition value="A code that details how this designation would be used."/>
            <comment value="If no use is provided, the designation can be assumed to be suitable for general display to a human user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.use"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="csd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.additionalUse">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="CodeSystem.concept.designation.additionalUse"/>
            <short value="Additional ways how this designation would be used"/>
            <definition value="Additional codes that detail how this designation would be used, if there is more than one use."/>
            <comment value="This was added rather than increasing the cardinality of .use to 0..* in order to maintain backward compatibility."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.designation.additionalUse"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="csd-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ConceptDesignationUse"/>
              </extension>
              <strength value="extensible"/>
              <description value="Details of how a designation would be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/designation-use"/>
            </binding>
          </element>
          <element id="CodeSystem.concept.designation.value">
            <path value="CodeSystem.concept.designation.value"/>
            <short value="The text value for this designation"/>
            <definition value="The text value for this designation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.designation.value"/>
              <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="false"/>
          </element>
          <element id="CodeSystem.concept.property">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ConceptProperty"/>
            </extension>
            <path value="CodeSystem.concept.property"/>
            <short value="Property value for the concept"/>
            <definition value="A property value for this concept."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.property"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="CodeSystem.concept.property.id">
            <path value="CodeSystem.concept.property.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="CodeSystem.concept.property.extension">
            <path value="CodeSystem.concept.property.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="CodeSystem.concept.property.modifierExtension">
            <path value="CodeSystem.concept.property.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>
            <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>
            <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="CodeSystem.concept.property.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="CodeSystem.concept.property.code"/>
            <short value="Reference to CodeSystem.property.code"/>
            <definition value="A code that is a reference to CodeSystem.property.code."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.property.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="csd-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"/>
          </element>
          <element id="CodeSystem.concept.property.value[x]">
            <path value="CodeSystem.concept.property.value[x]"/>
            <short value="Value of the property for this concept"/>
            <definition value="The value of this property."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeSystem.concept.property.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <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="false"/>
          </element>
          <element id="CodeSystem.concept.concept">
            <path value="CodeSystem.concept.concept"/>
            <short value="Child Concepts (is-a/contains/categorizes)"/>
            <definition value="Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) - see hierarchyMeaning."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeSystem.concept.concept"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/CodeSystem#CodeSystem.concept"/>
            <condition value="csd-1"/>
            <condition value="csd-2"/>
            <condition value="scs-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="CodeSystem">
            <path value="CodeSystem"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="CodeSystem.extension:sourceReference">
            <path value="CodeSystem.extension"/>
            <sliceName value="sourceReference"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"/>
            </type>
          </element>
          <element id="CodeSystem.extension:otherName">
            <path value="CodeSystem.extension"/>
            <sliceName value="otherName"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/codesystem-otherName"/>
            </type>
          </element>
          <element id="CodeSystem.identifier">
            <path value="CodeSystem.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.date">
            <path value="CodeSystem.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.contact">
            <path value="CodeSystem.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.useContext">
            <path value="CodeSystem.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.jurisdiction">
            <path value="CodeSystem.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.purpose">
            <path value="CodeSystem.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.copyright">
            <path value="CodeSystem.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.copyrightLabel">
            <path value="CodeSystem.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.approvalDate">
            <path value="CodeSystem.approvalDate"/>
          </element>
          <element id="CodeSystem.lastReviewDate">
            <path value="CodeSystem.lastReviewDate"/>
          </element>
          <element id="CodeSystem.effectivePeriod">
            <path value="CodeSystem.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.topic">
            <path value="CodeSystem.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="CodeSystem.author">
            <path value="CodeSystem.author"/>
          </element>
          <element id="CodeSystem.editor">
            <path value="CodeSystem.editor"/>
          </element>
          <element id="CodeSystem.reviewer">
            <path value="CodeSystem.reviewer"/>
          </element>
          <element id="CodeSystem.endorser">
            <path value="CodeSystem.endorser"/>
          </element>
          <element id="CodeSystem.relatedArtifact">
            <path value="CodeSystem.relatedArtifact"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"/>
    <resource>
      <StructureDefinition>
        <id value="cdshooksguidanceresponse"/>
        <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="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1485"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="CDSHooksGuidanceResponse"/>
        <title value="C D S  Hooks  Guidance Response"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines a GuidanceResponse that represents the response container for a CDS Hooks response"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="GuidanceResponse"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/GuidanceResponse"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="GuidanceResponse">
            <path value="GuidanceResponse"/>
            <short value="The formal response to a guidance request"/>
            <definition value="A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse"/>
              <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Event"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="clinical.general"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.id">
            <path value="GuidanceResponse.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="GuidanceResponse.meta">
            <path value="GuidanceResponse.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="GuidanceResponse.implicitRules">
            <path value="GuidanceResponse.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="GuidanceResponse.language">
            <path value="GuidanceResponse.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="GuidanceResponse.text">
            <path value="GuidanceResponse.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="GuidanceResponse.contained">
            <path value="GuidanceResponse.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."/>
            <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="GuidanceResponse.extension">
            <path value="GuidanceResponse.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>
            <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="GuidanceResponse.extension:cdsHooksEndpoint">
            <path value="GuidanceResponse.extension"/>
            <sliceName value="cdsHooksEndpoint"/>
            <short value="Service endpoint"/>
            <definition value="Defines the service endpoint for the behavior implemented by the GuidanceResponse."/>
            <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/cqf-cdsHooksEndpoint"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="GuidanceResponse.modifierExtension">
            <path value="GuidanceResponse.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>
            <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="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="GuidanceResponse.requestIdentifier">
            <path value="GuidanceResponse.requestIdentifier"/>
            <short value="The identifier of the request associated with this response, if any"/>
            <definition value="The identifier of the request associated with this response. If an identifier was given as part of the request, it will be reproduced here to enable the requester to more easily identify the response in a multi-request scenario."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.requestIdentifier"/>
              <min value="0"/>
              <max value="1"/>
            </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.basedOn"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.identifier">
            <path value="GuidanceResponse.identifier"/>
            <short value="Business identifier"/>
            <definition value="Allows a service to provide  unique, business identifiers for the response."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.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>
          </element>
          <element id="GuidanceResponse.module[x]">
            <path value="GuidanceResponse.module[x]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="What guidance was requested"/>
            <definition value="An identifier, CodeableConcept or canonical reference to the guidance that was requested."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.module[x]"/>
              <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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GuidanceModuleCode"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/guidance-module-code"/>
            </binding>
          </element>
          <element id="GuidanceResponse.module[x]:moduleUri">
            <path value="GuidanceResponse.module[x]"/>
            <sliceName value="moduleUri"/>
            <short value="What guidance was requested"/>
            <definition value="An identifier, CodeableConcept or canonical reference to the guidance that was requested."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.module[x]"/>
              <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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="GuidanceModuleCode"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/guidance-module-code"/>
            </binding>
          </element>
          <element id="GuidanceResponse.status">
            <path value="GuidanceResponse.status"/>
            <short value="success | data-requested | data-required | in-progress | failure | entered-in-error"/>
            <definition value="The status of the response. If the evaluation is completed successfully, the status will indicate success. However, in order to complete the evaluation, the engine may require more information. In this case, the status will be data-required, and the response will contain a description of the additional required information. If the evaluation completed successfully, but the engine determines that a potentially more accurate response could be provided if more data was available, the status will be data-requested, and the response will contain a description of the additional requested information."/>
            <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="GuidanceResponse.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="GuidanceResponseStatus"/>
              </extension>
              <strength value="required"/>
              <description value="The status of a guidance response."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/guidance-response-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.subject">
            <path value="GuidanceResponse.subject"/>
            <short value="Patient the request was performed for"/>
            <definition value="The patient for which the request was processed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.subject"/>
              <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/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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.encounter">
            <path value="GuidanceResponse.encounter"/>
            <short value="Encounter during which the response was returned"/>
            <definition value="The encounter during which this response was created or to which the creation of this record is tightly associated."/>
            <comment value="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official copmletion of an encounter but still be tied to the context of the encounter."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.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>
          </element>
          <element id="GuidanceResponse.occurrenceDateTime">
            <path value="GuidanceResponse.occurrenceDateTime"/>
            <short value="When the guidance response was processed"/>
            <definition value="Indicates when the guidance response was processed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.occurrenceDateTime"/>
              <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="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.performer">
            <path value="GuidanceResponse.performer"/>
            <short value="Device returning the guidance"/>
            <definition value="Provides a reference to the device that performed the guidance."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.performer"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.performer.actor"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.actor"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.reason">
            <path value="GuidanceResponse.reason"/>
            <short value="Why guidance is needed"/>
            <definition value="Describes the reason for the guidance response in coded or textual form, or Indicates the reason the request was initiated. This is typically provided as a parameter to the evaluation and echoed by the service, although for some use cases, such as subscription- or event-based scenarios, it may provide an indication of the cause for the response."/>
            <comment value="Although this reference can be used to point to any resource, it is typically expected to refer to subject-specific data appropriate to the subject of the guidance. For example, patient-based decision support would be expected to reference patient-level data. In addition, implementations should provide as much detail as possible by using the [http://hl7.org/fhir/StructureDefinition/targetElement](http://hl7.org/fhir/extensions/StructureDefinition-targetElement.html) and [http://hl7.org/fhir/StructureDefinition/targetPath](http://hl7.org/fhir/extensions/StructureDefinition-targetPath.html) extensions to indicate the specific elements relevant to providing the reason for the guidance."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="GuidanceResponse.reason"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="CodeableReference"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.reason"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
          </element>
          <element id="GuidanceResponse.note">
            <path value="GuidanceResponse.note"/>
            <short value="Additional notes about the response"/>
            <definition value="Provides a mechanism to communicate additional information about the response."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="GuidanceResponse.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>
          </element>
          <element id="GuidanceResponse.evaluationMessage">
            <path value="GuidanceResponse.evaluationMessage"/>
            <short value="Messages resulting from the evaluation of the artifact or artifacts"/>
            <definition value="Messages resulting from the evaluation of the artifact or artifacts. As part of evaluating the request, the engine may produce informational or warning messages. These messages will be provided by this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.evaluationMessage"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationOutcome"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="GuidanceResponse.outputParameters">
            <path value="GuidanceResponse.outputParameters"/>
            <short value="The output parameters of the evaluation, if any"/>
            <definition value="The output parameters of the evaluation, if any. Many modules will result in the return of specific resources such as procedure or communication requests that are returned as part of the operation result. However, modules may define specific outputs that would be returned as the result of the evaluation, and these would be returned in this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="GuidanceResponse.outputParameters"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Parameters"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="GuidanceResponse.result">
            <path value="GuidanceResponse.result"/>
            <short value="Proposed actions, if any"/>
            <definition value="The actions, if any, produced by the evaluation of the artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="GuidanceResponse.result"/>
              <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/Contract"/>
              <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/ImmunizationRecommendation"/>
              <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/SupplyRequest"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="GuidanceResponse.dataRequirement">
            <path value="GuidanceResponse.dataRequirement"/>
            <short value="Additional required data"/>
            <definition value="If the evaluation could not be completed due to lack of information, or additional information would potentially result in a more accurate response, this element will a description of the data required in order to proceed with the evaluation. A subsequent request to the service should include this data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="GuidanceResponse.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="GuidanceResponse">
            <path value="GuidanceResponse"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="GuidanceResponse.extension:cdsHooksEndpoint">
            <path value="GuidanceResponse.extension"/>
            <sliceName value="cdsHooksEndpoint"/>
            <short value="Service endpoint"/>
            <definition value="Defines the service endpoint for the behavior implemented by the GuidanceResponse."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"/>
            </type>
          </element>
          <element id="GuidanceResponse.requestIdentifier">
            <path value="GuidanceResponse.requestIdentifier"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="GuidanceResponse.identifier">
            <path value="GuidanceResponse.identifier"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="GuidanceResponse.moduleUri">
            <path value="GuidanceResponse.moduleUri"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="GuidanceResponse.subject">
            <path value="GuidanceResponse.subject"/>
            <mustSupport value="true"/>
          </element>
          <element id="GuidanceResponse.occurrenceDateTime">
            <path value="GuidanceResponse.occurrenceDateTime"/>
            <mustSupport value="true"/>
          </element>
          <element id="GuidanceResponse.performer">
            <path value="GuidanceResponse.performer"/>
            <mustSupport value="true"/>
          </element>
          <element id="GuidanceResponse.result">
            <path value="GuidanceResponse.result"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/devicemetricobservation"/>
    <resource>
      <StructureDefinition>
        <id value="devicemetricobservation"/>
        <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="5"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/devicemetricobservation"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1476"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="DeviceMetricObservationProfile"/>
        <title value="Device  Metric  Observation  Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2014-11-17"/>
        <publisher value="Health Level Seven International (Health Care Devices)"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://hl7.org"/>
          </telecom>
        </contact>
        <description value="This profile describes the direct or derived, qualitative or quantitative physiological measurement, setting, or calculation data produced by a medical device or a device component."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="Measurements and simple assertions"/>
            <definition value="Measurements and simple assertions made about a patient, device or other subject."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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="true"/>
            <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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <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="0"/>
            <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="false"/>
            <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="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>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Type of observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;name&quot;."/>
            <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."/>
            <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/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"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=RTGT]"/>
            </mapping>
          </element>
          <element id="Observation.focus">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="0"/>
            <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]"/>
            <slicing>
              <discriminator>
                <type value="type"/>
                <path value="$this"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="closed"/>
            </slicing>
            <short value="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="v2"/>
              <map value="OBX-14, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="Observation.effective[x]:effectiveDateTime">
            <path value="Observation.effective[x]"/>
            <sliceName value="effectiveDateTime"/>
            <short value="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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="0"/>
            <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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="Actual result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.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="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>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or exceptional values."/>
            <requirements value="For many results it is necessary to handle exceptional values in measurements."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="1"/>
            <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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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="true"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.specimen"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="1"/>
            <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/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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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="1"/>
            <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"/>
              <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="true"/>
            <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="Related resource that belongs to the Observation group"/>
            <definition value="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group."/>
            <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="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/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=".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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Actual component result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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"/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.identifier">
            <path value="Observation.identifier"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Identifier"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.status">
            <path value="Observation.status"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <min value="0"/>
            <max value="0"/>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.effectiveDateTime">
            <path value="Observation.effectiveDateTime"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="dateTime"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.issued">
            <path value="Observation.issued"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="instant"/>
            </type>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </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>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Annotation"/>
            </type>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.bodySite">
            <path value="Observation.bodySite"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.method">
            <path value="Observation.method"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.specimen">
            <path value="Observation.specimen"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            </type>
            <mustSupport value="false"/>
          </element>
          <element id="Observation.device">
            <path value="Observation.device"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceMetric"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <min value="0"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </type>
            <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="&quot;#### 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`=&quot;http://terminology.hl7.org/CodeSystem/observation-category&quot;&#xA;    -   a fixed `Observation.category.coding.code`= &quot;vital-signs&quot;&#xA;&#xA;1.  A code in `Observation.code`&#xA;    -   a fixed `Observation.code.coding.system`= &quot;http://loinc.org&quot;&quot;&#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` or `effectivePeriod`&#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=&quot;http://unitsofmeasure.org&quot;&#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` =&quot;&quot;http://loinc.org&quot;&quot;&#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`= &quot;has-member&quot;&quot;&#xA;&#xA; [Vital Signs]: valueset-observation-vitalsignresult.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="5"/>
        </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="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="&quot;#### 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`=&quot;http://terminology.hl7.org/CodeSystem/observation-category&quot;&#xA;    -   a fixed `Observation.category.coding.code`= &quot;vital-signs&quot;&#xA;&#xA;1.  A code in `Observation.code`&#xA;    -   a fixed `Observation.code.coding.system`= &quot;http://loinc.org&quot;&quot;&#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` or `effectivePeriod`&#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=&quot;http://unitsofmeasure.org&quot;&#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` =&quot;&quot;http://loinc.org&quot;&quot;&#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`= &quot;has-member&quot;&quot;&#xA;&#xA; [Vital Signs]: valueset-observation-vitalsignresult.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="5.0.0"/>
        <name value="Observationvitalsigns"/>
        <title value="Vital Signs Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2016-03-25"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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 Profile"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="FHIR Vital Signs Profile"/>
            <definition value="The FHIR Vitals Signs 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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Coded Responses from C-CDA Vital Sign Results"/>
            <definition value="Coded Responses from C-CDA Vital Sign Results."/>
            <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."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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 Profile"/>
            <definition value="The FHIR Vitals Signs 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"/>
            <min value="0"/>
            <max value="*"/>
            <constraint>
              <key value="vs-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"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <min value="1"/>
            <max value="*"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category:VSCat">
            <path value="Observation.category"/>
            <sliceName value="VSCat"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <min value="1"/>
            <max value="*"/>
            <type>
              <code value="Coding"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <path value="Observation.category.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Coded Responses from C-CDA Vital Sign Results"/>
            <definition value="Coded Responses from C-CDA Vital Sign Results."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="This identifies the vital sign result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
          </element>
          <element id="Observation.subject">
            <path value="Observation.subject"/>
            <min value="1"/>
            <max 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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-1"/>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <condition value="vs-2"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="vs-2"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <short value="Used when reporting vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <short value="Used when reporting systolic and diastolic blood pressure."/>
            <definition value="Used when reporting systolic and diastolic blood pressure."/>
            <constraint>
              <key value="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </constraint>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component.code">
            <path value="Observation.component.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="This identifies the vital sign result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <condition value="vs-3"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component.valueQuantity">
            <path value="Observation.component.valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <min value="0"/>
            <max value="1"/>
            <mustSupport 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="required"/>
              <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.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="vs-3"/>
            <mustSupport value="true"/>
          </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'85353-1'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'85353-1'**&#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 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="5.0.0"/>
        <name value="Observationvitalspanel"/>
        <title value="Observation Vital Signs Panel Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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)."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Signs Panel"/>
            <definition value="Vital Signs Panel."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <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>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode">
            <path value="Observation.code.coding"/>
            <sliceName value="VitalsPanelCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:VitalsPanelCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="85353-1"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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="1"/>
            <max value="*"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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)."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Vital Signs Panel"/>
            <definition value="Vital Signs Panel."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Panel Name"/>
            <alias value="Panel Code"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode">
            <path value="Observation.code.coding"/>
            <sliceName value="VitalsPanelCode"/>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.system">
            <path value="Observation.code.coding.system"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:VitalsPanelCode.code">
            <path value="Observation.code.coding.code"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="85353-1"/>
          </element>
          <element id="Observation.value[x]">
            <path value="Observation.value[x]"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="1"/>
            <max value="*"/>
            <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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'9279-1'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'9279-1'**&#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 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="5.0.0"/>
        <name value="Observationresprate"/>
        <title value="Observation Respiratory Rate Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Respiratory Rate"/>
            <definition value="Respiratory Rate."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode">
            <path value="Observation.code.coding"/>
            <sliceName value="RespRateCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:RespRateCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="9279-1"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:RespRateCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="/min"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Respiratory Rate"/>
            <definition value="Respiratory Rate."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:RespRateCode">
            <path value="Observation.code.coding"/>
            <sliceName value="RespRateCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:RespRateCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:RespRateCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="9279-1"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="/min"/>
            <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.code.coding.code`= **'2708-6'**&#xA;    -   Other additional Codings are allowed in `Observation.code`- e.g. more specific LOINC&#xA;        Codes, SNOMED CT concepts, system specific codes. 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="5"/>
        </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="trial-use"/>
        </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.code.coding.code`= **'2708-6'**&#xA;    -   Other additional Codings are allowed in `Observation.code`- e.g. more specific LOINC&#xA;        Codes, SNOMED CT concepts, system specific codes. 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="5.0.0"/>
        <name value="Observationoxygensat"/>
        <title value="Observation Oxygen Saturation Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-10-23"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Oxygen Saturation"/>
            <definition value="Oxygen Saturation."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode">
            <path value="Observation.code.coding"/>
            <sliceName value="OxygenSatCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:OxygenSatCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="2708-6"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="%"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Oxygen Saturation"/>
            <definition value="Oxygen Saturation."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:OxygenSatCode">
            <path value="Observation.code.coding"/>
            <sliceName value="OxygenSatCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:OxygenSatCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="2708-6"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="%"/>
            <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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'8867-4'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'8867-4'**&#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 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="5.0.0"/>
        <name value="Observationheartrate"/>
        <title value="Observation Heart Rate Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Heart Rate"/>
            <definition value="Heart Rate."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode">
            <path value="Observation.code.coding"/>
            <sliceName value="HeartRateCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:HeartRateCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8867-4"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeartRateCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="/min"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Heart Rate"/>
            <definition value="Heart Rate."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:HeartRateCode">
            <path value="Observation.code.coding"/>
            <sliceName value="HeartRateCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:HeartRateCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:HeartRateCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8867-4"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="/min"/>
            <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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'9843-4'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'9843-4'**&#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 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="5.0.0"/>
        <name value="Observationheadcircum"/>
        <title value="Observation Head Circumference Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Head Circumference"/>
            <definition value="Head Circumference."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode">
            <path value="Observation.code.coding"/>
            <sliceName value="HeadCircumCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:HeadCircumCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="9843-4"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="qty-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"/>
            <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="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Head Circumference"/>
            <definition value="Head Circumference."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:HeadCircumCode">
            <path value="Observation.code.coding"/>
            <sliceName value="HeadCircumCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:HeadCircumCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="9843-4"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <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>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **85354-9'**&#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 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;    -   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 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;    -   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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **85354-9'**&#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 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;    -   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 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;    -   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 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="5.0.0"/>
        <name value="Observationbp"/>
        <title value="Observation Blood Pressure Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Blood Pressure"/>
            <definition value="Blood Pressure."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BPCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:BPCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="85354-9"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BPCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="code.coding.system"/>
              </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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="Knowing what kind of observation is being made is essential to understanding the observation."/>
            <alias value="Component Test"/>
            <alias value="Component Name"/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.id">
            <path value="Observation.component.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.component.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding">
            <path value="Observation.component.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode">
            <path value="Observation.component.code.coding"/>
            <sliceName value="SBPCode"/>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.id">
            <path value="Observation.component.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:SBPCode.extension">
            <path value="Observation.component.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.system">
            <path value="Observation.component.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.version">
            <path value="Observation.component.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8480-6"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.userSelected">
            <path value="Observation.component.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.id">
            <path value="Observation.component.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.component.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.value">
            <path value="Observation.component.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.comparator">
            <path value="Observation.component.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.system">
            <path value="Observation.component.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mm[Hg]"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.component:SystolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:SystolicBP.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.id">
            <path value="Observation.component.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.component.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding">
            <path value="Observation.component.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode">
            <path value="Observation.component.code.coding"/>
            <sliceName value="DBPCode"/>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.id">
            <path value="Observation.component.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:DBPCode.extension">
            <path value="Observation.component.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.system">
            <path value="Observation.component.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.version">
            <path value="Observation.component.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8462-4"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.userSelected">
            <path value="Observation.component.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.id">
            <path value="Observation.component.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.component.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.value">
            <path value="Observation.component.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.comparator">
            <path value="Observation.component.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.system">
            <path value="Observation.component.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.component.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mm[Hg]"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.component:DiastolicBP.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component:DiastolicBP.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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)."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Blood Pressure"/>
            <definition value="Blood Pressure."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:BPCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BPCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:BPCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:BPCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="85354-9"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.component">
            <path value="Observation.component"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code.coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="code.coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <min value="2"/>
            <max value="*"/>
          </element>
          <element id="Observation.component:SystolicBP">
            <path value="Observation.component"/>
            <sliceName value="SystolicBP"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.component:SystolicBP.code">
            <path value="Observation.component.code"/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Component Test"/>
            <alias value="Component Name"/>
          </element>
          <element id="Observation.component:SystolicBP.code.coding">
            <path value="Observation.component.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure."/>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode">
            <path value="Observation.component.code.coding"/>
            <sliceName value="SBPCode"/>
            <short value="Systolic Blood Pressure"/>
            <definition value="Systolic Blood Pressure."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.system">
            <path value="Observation.component.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.component:SystolicBP.code.coding:SBPCode.code">
            <path value="Observation.component.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8480-6"/>
          </element>
          <element id="Observation.component:SystolicBP.valueQuantity">
            <path value="Observation.component.valueQuantity"/>
            <type>
              <code value="Quantity"/>
            </type>
          </element>
          <element id="Observation.component:SystolicBP.valueQuantity.value">
            <path value="Observation.component.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:SystolicBP.valueQuantity.unit">
            <path value="Observation.component.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:SystolicBP.valueQuantity.system">
            <path value="Observation.component.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:SystolicBP.valueQuantity.code">
            <path value="Observation.component.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mm[Hg]"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP">
            <path value="Observation.component"/>
            <sliceName value="DiastolicBP"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.component:DiastolicBP.code">
            <path value="Observation.component.code"/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding">
            <path value="Observation.component.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure."/>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode">
            <path value="Observation.component.code.coding"/>
            <sliceName value="DBPCode"/>
            <short value="Diastolic Blood Pressure"/>
            <definition value="Diastolic Blood Pressure."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.system">
            <path value="Observation.component.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.component:DiastolicBP.code.coding:DBPCode.code">
            <path value="Observation.component.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8462-4"/>
          </element>
          <element id="Observation.component:DiastolicBP.valueQuantity">
            <path value="Observation.component.valueQuantity"/>
            <type>
              <code value="Quantity"/>
            </type>
          </element>
          <element id="Observation.component:DiastolicBP.valueQuantity.value">
            <path value="Observation.component.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP.valueQuantity.unit">
            <path value="Observation.component.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP.valueQuantity.system">
            <path value="Observation.component.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.component:DiastolicBP.valueQuantity.code">
            <path value="Observation.component.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mm[Hg]"/>
            <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.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 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', or '[lb_av]'**"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="5"/>
        </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="trial-use"/>
        </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.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 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', or '[lb_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="5.0.0"/>
        <name value="Observationbodyweight"/>
        <title value="Observation Body Weight Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Weight"/>
            <definition value="Body Weight."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyWeightCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:BodyWeightCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="29463-7"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="qty-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"/>
            <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]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodyweight"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Weight"/>
            <definition value="Body Weight."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:BodyWeightCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyWeightCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:BodyWeightCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="29463-7"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <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]"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-bodyweight"/>
            </binding>
          </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'8310-5'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'8310-5'**&#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 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="5.0.0"/>
        <name value="Observationbodytemp"/>
        <title value="Observation Body Temperature Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Temperature"/>
            <definition value="Body Temperature."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyTempCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:BodyTempCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8310-5"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyTempCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="qty-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"/>
            <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="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Temperature"/>
            <definition value="Body Temperature."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:BodyTempCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyTempCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:BodyTempCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:BodyTempCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8310-5"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <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>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.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  - 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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.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  - 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 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="5.0.0"/>
        <name value="Observationbodyheight"/>
        <title value="Observation Body Height Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Height"/>
            <definition value="Body Height."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyHeightCode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:BodyHeightCode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8302-2"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="qty-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"/>
            <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="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Height"/>
            <definition value="Body Height."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:BodyHeightCode">
            <path value="Observation.code.coding"/>
            <sliceName value="BodyHeightCode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:BodyHeightCode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="8302-2"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <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>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'39156-5'**&#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 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="5"/>
        </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="trial-use"/>
        </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.code` which must have&#xD;    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**&#xD;    -   a fixed  `Observation.code.coding.code`= **'39156-5'**&#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 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="5.0.0"/>
        <name value="Observationbmi"/>
        <title value="Observation Body Mass Index Profile"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2018-08-11"/>
        <publisher value="Health Level Seven International (Orders and Observations Workgroup)"/>
        <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="5.0.0"/>
        <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>
          <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 Signs"/>
            <alias value="Measurement"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <constraint>
              <key value="vs-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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="Status"/>
              </extension>
              <strength value="required"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-status"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="coding.code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="coding.system"/>
              </discriminator>
              <ordered value="false"/>
              <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="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>
          </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."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="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>
          </element>
          <element id="Observation.category:VSCat.id">
            <path value="Observation.category.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="id"/>
              </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.category:VSCat.extension">
            <path value="Observation.category.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding">
            <path value="Observation.category.coding"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.id">
            <path value="Observation.category.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.category:VSCat.coding.extension">
            <path value="Observation.category.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.system">
            <path value="Observation.category.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.version">
            <path value="Observation.category.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="vital-signs"/>
            <condition value="cod-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="v2"/>
              <map value="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.coding.userSelected">
            <path value="Observation.category.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.category:VSCat.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.category.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </mapping>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Mass Index (BMI)"/>
            <definition value="Body Mass Index (BMI)."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <requirements value="5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301)."/>
            <alias value="Name"/>
            <alias value="Test"/>
            <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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </mapping>
          </element>
          <element id="Observation.code.id">
            <path value="Observation.code.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.extension">
            <path value="Observation.code.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode">
            <path value="Observation.code.coding"/>
            <sliceName value="BMICode"/>
            <short value="Code defined by a terminology system"/>
            <definition value="A reference to a code defined by a terminology system."/>
            <comment value="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."/>
            <requirements value="Allows for alternative encodings within a code system, and translations to other code systems."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.coding"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.1-8, C*E.10-22"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="union(., ./translation)"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.id">
            <path value="Observation.code.coding.id"/>
            <representation value="xmlAttr"/>
            <short value="Unique id for inter-element referencing"/>
            <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.id"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
                <valueUrl value="id"/>
              </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.code.coding:BMICode.extension">
            <path value="Observation.code.coding.extension"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="url"/>
              </discriminator>
              <description value="Extensions are always sliced by (at least) url"/>
              <rules value="open"/>
            </slicing>
            <short value="Additional content defined by implementations"/>
            <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though 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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.system">
            <path value="Observation.code.coding.system"/>
            <short value="Identity of the terminology system"/>
            <definition value="The identification of the code system that defines the meaning of the symbol in the code."/>
            <comment value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should be an absolute reference to some definition that establishes the system clearly and unambiguously."/>
            <requirements value="Need to be unambiguous about the source of the definition of the symbol."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystem"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.version">
            <path value="Observation.code.coding.version"/>
            <short value="Version of the system - if relevant"/>
            <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged."/>
            <comment value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.version"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./codeSystemVersion"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.code"/>
            <short value="Symbol in syntax defined by the system"/>
            <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
            <requirements value="Need to refer to a particular code in the system."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Coding.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="39156-5"/>
            <condition value="cod-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="C*E.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.display">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.coding.display"/>
            <short value="Representation defined by the system"/>
            <definition value="A representation of the meaning of the code in the system, following the rules of the system."/>
            <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.display"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cod-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="C*E.2 - but note this is not well followed"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CV.displayName"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"/>
            </mapping>
          </element>
          <element id="Observation.code.coding:BMICode.userSelected">
            <path value="Observation.code.coding.userSelected"/>
            <short value="If this coding was chosen directly by the user"/>
            <definition value="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)."/>
            <comment value="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
            <requirements value="This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Coding.userSelected"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Sometimes implied by being first"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CD.codingRationale"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source &quot;true&quot;;     fhir:target dt:CDCoding.codingRationale\#O   ]"/>
            </mapping>
          </element>
          <element id="Observation.code.text">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.code.text"/>
            <short value="Plain text representation of the concept"/>
            <definition value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user."/>
            <comment value="Very often the text is the same as a displayName of one of the codings."/>
            <requirements value="The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="CodeableConcept.text"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="C*E.9. But note many systems use C*E.2 for this"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./originalText[mediaType/code=&quot;text/plain&quot;]/data"/>
            </mapping>
            <mapping>
              <identity value="orim"/>
              <map value="fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"/>
            </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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Often just a dateTime for Vital Signs"/>
            <definition value="Often just a dateTime for Vital Signs."/>
            <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>
            <type>
              <code value="Period"/>
            </type>
            <condition value="vs-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>
            <constraint>
              <key value="vs-1"/>
              <severity value="error"/>
              <human value="if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day"/>
              <expression value="($this as dateTime).toString().length() &gt;= 8"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="1"/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <definition value="Vital Signs value are recorded using the Quantity data type. For supporting observations such as Cuff size could use other datatypes such as CodeableConcept."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <min value="1"/>
            <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="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Numerical value (with implicit precision)"/>
            <definition value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="kg/m2"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-6"/>
            <condition value="vs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </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="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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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"/>
              <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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 vital signs panel components"/>
            <definition value="Used when reporting vital signs panel components."/>
            <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/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="vs-3"/>
              <severity value="error"/>
              <human value="If there is no a value a data absent reason must be present"/>
              <expression value="value.exists() or dataAbsentReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/vitalsigns"/>
            </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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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="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 result type."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSigns"/>
              </extension>
              <strength value="extensible"/>
              <description value="This identifies the vital sign result type. Original source C-CDA R1.1 ,  HITSP Vital Sign Result Type."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </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="Vital Sign Value"/>
            <definition value="Vital Sign Value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#xA;- For additional guidance, see the [Notes section](observation.html#notes) below."/>
            <requirements value="9. SHALL contain exactly one [1..1] value with @xsi:type=&quot;PQ&quot; (CONF:7305)."/>
            <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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="vs-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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.value[x]:valueQuantity">
            <path value="Observation.component.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Vital Sign Value recorded with UCUM"/>
            <definition value="Vital Sign Value recorded with UCUM."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 recording Vital Signs."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="VitalSignsUnits"/>
              </extension>
              <strength value="required"/>
              <description value="Commonly encountered UCUM units for recording Vital Signs."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/ucum-vitals-common"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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="vs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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."/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Body Mass Index (BMI)"/>
            <definition value="Body Mass Index (BMI)."/>
            <comment value="additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system."/>
            <alias value="Test"/>
            <alias value="Name"/>
          </element>
          <element id="Observation.code.coding">
            <path value="Observation.code.coding"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="code"/>
              </discriminator>
              <discriminator>
                <type value="value"/>
                <path value="system"/>
              </discriminator>
              <ordered value="false"/>
              <rules value="open"/>
            </slicing>
          </element>
          <element id="Observation.code.coding:BMICode">
            <path value="Observation.code.coding"/>
            <sliceName value="BMICode"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code.coding:BMICode.system">
            <path value="Observation.code.coding.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://loinc.org"/>
          </element>
          <element id="Observation.code.coding:BMICode.code">
            <path value="Observation.code.coding.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="39156-5"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <short value="Coded responses from the common UCUM units for vital signs value set."/>
            <definition value="Coded responses from the common UCUM units for vital signs value set."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="kg/m2"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
    <resource>
      <StructureDefinition>
        <id value="shareablelibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1158"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableLibrary"/>
        <title value="Shareable Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the library metadata required by HL7 and other organizations that share and publish libraries"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Library"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-artifactComment"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.url">
            <path value="Library.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.title">
            <path value="Library.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.publisher">
            <path value="Library.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.description">
            <path value="Library.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/logiclibrary"/>
    <resource>
      <StructureDefinition>
        <id value="logiclibrary"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/logiclibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1162"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="LogicLibrary"/>
        <title value="Logic Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2019-06-06"/>
        <publisher value="Health Level Seven, Inc. - CDS WG"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://hl7.org/special/committees/DSS"/>
          </telecom>
        </contact>
        <description value="The logic library profile sets the minimum expectations for computable and/or executable libraries, including support for terminology and dependency declaration, parameters, and data requirements"/>
        <jurisdiction>
          <coding>
            <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
            <code value="001"/>
            <display value="World"/>
          </coding>
        </jurisdiction>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <short value="A code directly referenced by the artifact"/>
            <definition value="Defines a code directly referenced by artifact logic, as opposed to a value set. Direct reference codes may be the target of data requirements."/>
            <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/cqf-directReferenceCode"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="module-definition"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact:dependency.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content.id">
            <path value="Library.content.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="id"/>
              </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="Library.content.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <mustSupport value="false"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="module-definition"/>
              </coding>
            </patternCodeableConcept>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <min value="0"/>
            <max value="*"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.type"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content.contentType">
            <path value="Library.content.contentType"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content.data">
            <path value="Library.content.data"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishablelibrary"/>
    <resource>
      <StructureDefinition>
        <id value="publishablelibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishablelibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1159"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="PublishableLibrary"/>
        <title value="Publishable Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Supports declaration of the library metadata required by HL7 and other organizations that share and publish libraries with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation."/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:logicDefinition">
            <path value="Library.extension"/>
            <sliceName value="logicDefinition"/>
            <short value="A logic definition used in the artifact"/>
            <definition value="Represents a specific logic definition used by the artifact."/>
            <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/cqf-logicDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <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"/>
          </element>
          <element id="Library.relatedArtifact.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.extension:logicDefinition">
            <path value="Library.extension"/>
            <sliceName value="logicDefinition"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.useContext">
            <path value="Library.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.jurisdiction">
            <path value="Library.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.purpose">
            <path value="Library.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.usage">
            <path value="Library.usage"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.copyright">
            <path value="Library.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.copyrightLabel">
            <path value="Library.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.topic">
            <path value="Library.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact.display">
            <path value="Library.relatedArtifact.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact.document">
            <path value="Library.relatedArtifact.document"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact.resource">
            <path value="Library.relatedArtifact.resource"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/cqllibrary"/>
    <resource>
      <StructureDefinition>
        <id value="cqllibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/cqllibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1164"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="CQLLibrary"/>
        <title value="CQL Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Represents a computable CQL logic library"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/logiclibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <short value="A code directly referenced by the artifact"/>
            <definition value="Defines a code directly referenced by artifact logic, as opposed to a value set. Direct reference codes may be the target of data requirements."/>
            <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/cqf-directReferenceCode"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="module-definition"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact:dependency.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content.id">
            <path value="Library.content.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="id"/>
              </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="Library.content.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.content:cqlContent">
            <path value="Library.content"/>
            <sliceName value="cqlContent"/>
            <short value="CQL Content"/>
            <definition value="The CQL content represented as base-64 encoded data."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.id">
            <path value="Library.content.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="id"/>
              </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="Library.content:cqlContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="text/cql"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:cqlContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:cqlContent">
            <path value="Library.content"/>
            <sliceName value="cqlContent"/>
            <short value="CQL Content"/>
            <definition value="The CQL content represented as base-64 encoded data."/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:cqlContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="text/cql"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:cqlContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/elmlibrary"/>
    <resource>
      <StructureDefinition>
        <id value="elmlibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/elmlibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1161"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ELMLibrary"/>
        <title value="ELM Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Represents an executable CQL logic library in translated ELM format"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/logiclibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <short value="A code directly referenced by the artifact"/>
            <definition value="Defines a code directly referenced by artifact logic, as opposed to a value set. Direct reference codes may be the target of data requirements."/>
            <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/cqf-directReferenceCode"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="module-definition"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact:dependency.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content.id">
            <path value="Library.content.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="id"/>
              </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="Library.content.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.content:elmXmlContent">
            <path value="Library.content"/>
            <sliceName value="elmXmlContent"/>
            <short value="ELM XML Content"/>
            <definition value="The ELM XML translation of the CQL content represented as  base-64 encoded data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.id">
            <path value="Library.content.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="id"/>
              </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="Library.content:elmXmlContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/elm+xml"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmXmlContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.content:elmJsonContent">
            <path value="Library.content"/>
            <sliceName value="elmJsonContent"/>
            <short value="ELM JSON Content"/>
            <definition value="The ELM JSON translation of the CQL content represented as base-64 encoded data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.id">
            <path value="Library.content.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="id"/>
              </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="Library.content:elmJsonContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/elm+json"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:elmJsonContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmXmlContent">
            <path value="Library.content"/>
            <sliceName value="elmXmlContent"/>
            <short value="ELM XML Content"/>
            <definition value="The ELM XML translation of the CQL content represented as  base-64 encoded data."/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmXmlContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/elm+xml"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmXmlContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmJsonContent">
            <path value="Library.content"/>
            <sliceName value="elmJsonContent"/>
            <short value="ELM JSON Content"/>
            <definition value="The ELM JSON translation of the CQL content represented as base-64 encoded data."/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmJsonContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/elm+json"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:elmJsonContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/fhirpathlibrary"/>
    <resource>
      <StructureDefinition>
        <id value="fhirpathlibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/fhirpathlibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1166"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="FHIRPathLibrary"/>
        <title value="FHIRPath Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Represents a computable/executable FHIRPath logic library"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/logiclibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <short value="A code directly referenced by the artifact"/>
            <definition value="Defines a code directly referenced by artifact logic, as opposed to a value set. Direct reference codes may be the target of data requirements."/>
            <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/cqf-directReferenceCode"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="module-definition"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact:dependency.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content.id">
            <path value="Library.content.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="id"/>
              </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="Library.content.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.content:fhirPathContent">
            <path value="Library.content"/>
            <sliceName value="fhirPathContent"/>
            <short value="FHIRPath Content"/>
            <definition value="The FHIRPath content represented as base-64 encoded data."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.id">
            <path value="Library.content.id"/>
            <representation value="xmlAttr"/>
            <short value="Referenced as"/>
            <definition value="The id of the FHIRPath expression. This id allows the expressions of the library to be referenced."/>
            <min value="1"/>
            <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="id"/>
              </extension>
              <code value="http://hl7.org/fhirpath/System.String"/>
            </type>
            <condition value="ele-1"/>
            <mustSupport value="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="text/fhirpath"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:fhirPathContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:fhirPathContent">
            <path value="Library.content"/>
            <sliceName value="fhirPathContent"/>
            <short value="FHIRPath Content"/>
            <definition value="The FHIRPath content represented as base-64 encoded data."/>
            <min value="1"/>
            <max value="*"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:fhirPathContent.id">
            <path value="Library.content.id"/>
            <short value="Referenced as"/>
            <definition value="The id of the FHIRPath expression. This id allows the expressions of the library to be referenced."/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:fhirPathContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="text/fhirpath"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:fhirPathContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/modelinfolibrary"/>
    <resource>
      <StructureDefinition>
        <id value="modelinfolibrary"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/modelinfolibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1163"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ModelInfoLibrary"/>
        <title value="Model Information Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Represents a computable representation of a model information library"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="model-definition"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent">
            <path value="Library.content"/>
            <sliceName value="modelInfoXmlContent"/>
            <short value="ModelInfo XML Content"/>
            <definition value="The XML representation of the ModelInfo as base-64 encoded data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.id">
            <path value="Library.content.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="id"/>
              </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="Library.content:modelInfoXmlContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/xml"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoXmlContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.content:modelInfoJsonContent">
            <path value="Library.content"/>
            <sliceName value="modelInfoJsonContent"/>
            <short value="ModelInfo JSON Content"/>
            <definition value="The JSON representation of the ModelInfo as base-64 encoded data."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".text"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.id">
            <path value="Library.content.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="id"/>
              </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="Library.content:modelInfoJsonContent.extension">
            <path value="Library.content.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.contentType">
            <path value="Library.content.contentType"/>
            <short value="Mime type of the content, with charset etc."/>
            <definition value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
            <requirements value="Processors of the data need to be able to know how to interpret the data."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/json"/>
            <example>
              <label value="General"/>
              <valueCode value="text/plain; charset=UTF-8, image/png"/>
            </example>
            <condition value="att-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./mediaType, ./charset"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.language">
            <path value="Library.content.language"/>
            <short value="Human language of the content (BCP-47)"/>
            <definition value="The human language of the content. The value can be any valid value according to BCP 47."/>
            <requirements value="Users need to be able to choose between the languages in a set of attachments."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.language"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="en-AU"/>
            </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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="IETF language tag for a human language."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Language"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="./language"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.data">
            <path value="Library.content.data"/>
            <short value="Data inline, base64ed"/>
            <definition value="The actual data of the attachment - a sequence of bytes, base64 encoded."/>
            <comment value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
            <requirements value="The data needs to able to be transmitted inline."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Attachment.data"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <condition value="att-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="v2"/>
              <map value="ED.5"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./data"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.url">
            <path value="Library.content.url"/>
            <short value="Uri where the data can be found"/>
            <definition value="A location where the data can be accessed."/>
            <comment value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
            <requirements value="The data needs to be transmitted by reference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <example>
              <label value="General"/>
              <valueUrl value="http://www.acme.com/logo-small.png"/>
            </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="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./reference/literal"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.size">
            <path value="Library.content.size"/>
            <short value="Number of bytes of content (if url provided)"/>
            <definition value="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)."/>
            <comment value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
            <requirements value="Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.size"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer64"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.hash">
            <path value="Library.content.hash"/>
            <short value="Hash of the data (sha-1, base64ed)"/>
            <definition value="The calculated hash of the data using SHA-1. Represented using base64."/>
            <comment value="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
            <requirements value="Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.hash"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm=&quot;SHA-1&quot;]"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.content.title"/>
            <short value="Label to display in place of the data"/>
            <definition value="A label or set of text to display in place of the data."/>
            <comment value="May sometimes be derived from the source filename."/>
            <requirements value="Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.title"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <example>
              <label value="General"/>
              <valueString value="Official Corporate Logo"/>
            </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="rim"/>
              <map value="./title/data"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.creation">
            <path value="Library.content.creation"/>
            <short value="Date attachment was first created"/>
            <definition value="The date that the attachment was first created."/>
            <requirements value="This is often tracked as an integrity issue for use of the attachment."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.creation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (needs data type R3 proposal)"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.height">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.height"/>
            <short value="Height of the image in pixels (photo/video)"/>
            <definition value="Height of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.height"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.width">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.width"/>
            <short value="Width of the image in pixels (photo/video)"/>
            <definition value="Width of the image in pixels (photo/video)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.width"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.frames">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.frames"/>
            <short value="Number of frames if &gt; 1 (photo)"/>
            <definition value="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required."/>
            <comment value="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.frames"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.duration">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.duration"/>
            <short value="Length in seconds (audio / video)"/>
            <definition value="The duration of the recording in seconds - for audio and video."/>
            <comment value="The duration might differ from occurrencePeriod if recording was paused."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.duration"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;OBS&quot;, moodCode=&quot;EVN&quot;,code=&quot;&lt;CODE&gt;&quot;].value"/>
            </mapping>
          </element>
          <element id="Library.content:modelInfoJsonContent.pages">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Library.content.pages"/>
            <short value="Number of printed pages"/>
            <definition value="The number of pages when printed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Attachment.pages"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="positiveInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="model-definition"/>
              </coding>
            </patternCodeableConcept>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="contentType"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoXmlContent">
            <path value="Library.content"/>
            <sliceName value="modelInfoXmlContent"/>
            <short value="ModelInfo XML Content"/>
            <definition value="The XML representation of the ModelInfo as base-64 encoded data."/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoXmlContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/xml"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoXmlContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoJsonContent">
            <path value="Library.content"/>
            <sliceName value="modelInfoJsonContent"/>
            <short value="ModelInfo JSON Content"/>
            <definition value="The JSON representation of the ModelInfo as base-64 encoded data."/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoJsonContent.contentType">
            <path value="Library.content.contentType"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="application/json"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content:modelInfoJsonContent.data">
            <path value="Library.content.data"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary"/>
    <resource>
      <StructureDefinition>
        <id value="moduledefinitionlibrary"/>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
          <valueInteger value="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/moduledefinitionlibrary"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1160"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ModuleDefinitionLibrary"/>
        <title value="Module Definition Library"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2019-06-06"/>
        <publisher value="Health Level Seven, Inc. - CDS WG"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://hl7.org/special/committees/DSS"/>
          </telecom>
        </contact>
        <description value="The module definition library profile sets the expectations for module definition libraries, including support for terminology and dependency declaration, parameters, and data requirements"/>
        <jurisdiction>
          <coding>
            <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
            <code value="001"/>
            <display value="World"/>
          </coding>
        </jurisdiction>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="Library"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablelibrary"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="Library">
            <path value="Library"/>
            <short value="Represents a library of quality improvement components"/>
            <definition value="The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="Library.id">
            <path value="Library.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="Library.meta">
            <path value="Library.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="Library.implicitRules">
            <path value="Library.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="Library.language">
            <path value="Library.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="Library.text">
            <path value="Library.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="Library.contained">
            <path value="Library.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."/>
            <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="Library.extension">
            <path value="Library.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>
            <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="Library.extension:knowledgeCapability">
            <path value="Library.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:knowledgeRepresentationLevel">
            <path value="Library.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:artifactComment">
            <path value="Library.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="Library.extension:inputParameters">
            <path value="Library.extension"/>
            <sliceName value="inputParameters"/>
            <short value="What parameters"/>
            <definition value="Specifies the input parameters to the operation (such as a test case description or a data requirements or evaluate operation)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DomainResource.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-inputParameters"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <short value="A code directly referenced by the artifact"/>
            <definition value="Defines a code directly referenced by artifact logic, as opposed to a value set. Direct reference codes may be the target of data requirements."/>
            <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/cqf-directReferenceCode"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.extension:logicDefinition">
            <path value="Library.extension"/>
            <sliceName value="logicDefinition"/>
            <short value="A logic definition used in the artifact"/>
            <definition value="Represents a specific logic definition used by the artifact."/>
            <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/cqf-logicDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="Library.modifierExtension">
            <path value="Library.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>
            <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="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="Library.url">
            <path value="Library.url"/>
            <short value="Canonical identifier for this library, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the library to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="Library.identifier">
            <path value="Library.identifier"/>
            <short value="Additional identifier for the library"/>
            <definition value="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.version">
            <path value="Library.version"/>
            <short value="Business version of the library"/>
            <definition value="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different library instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the library with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.versionAlgorithm[x]">
            <path value="Library.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.name">
            <path value="Library.name"/>
            <short value="Name for this library (computer friendly)"/>
            <definition value="A natural language name identifying the library. 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="Library.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
          </element>
          <element id="Library.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.title"/>
            <short value="Name for this library (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the library."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="Library.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.subtitle"/>
            <short value="Subordinate title of the library"/>
            <definition value="An explanatory or alternate title for the library giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="Library.status">
            <path value="Library.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this library. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of libraries that are appropriate for use vs. not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="Library.experimental">
            <path value="Library.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of librarys that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <short value="logic-library | model-definition | asset-collection | module-definition"/>
            <definition value="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="logic-library"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LibraryType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of knowledge asset this library contains."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/library-type"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".code"/>
            </mapping>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <short value="Type of individual the library content is focused on"/>
            <definition value="A code or group definition that describes the intended subject of the contents of the library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="Library.date">
            <path value="Library.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the library was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.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="Library.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the library."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the library. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the library.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="Library.contact">
            <path value="Library.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="Library.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.description"/>
            <short value="Natural language description of the library"/>
            <definition value="A free text natural language description of the library from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the library as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the library is presumed to be the predominant language in the place the library was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Library.description"/>
              <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="true"/>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="Library.useContext">
            <path value="Library.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 library 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="Library.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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.jurisdiction"/>
            <short value="Intended jurisdiction for library (if applicable)"/>
            <definition value="A legal or geographic region in which the library is intended to be used."/>
            <comment value="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.purpose"/>
            <short value="Why this library is defined"/>
            <definition value="Explanation of why this library is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.usage"/>
            <short value="Describes the clinical usage of the library"/>
            <definition value="A detailed description of how the library is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the library and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Library.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.copyrightLabel"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.approvalDate">
            <path value="Library.approvalDate"/>
            <short value="When the library was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.lastReviewDate">
            <path value="Library.lastReviewDate"/>
            <short value="When the library was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.effectivePeriod">
            <path value="Library.effectivePeriod"/>
            <short value="When the library is expected to be used"/>
            <definition value="The period during which the library content was or is planned to be in active use."/>
            <comment value="The effective period for a library determines when the content is applicable for usage and is independent of publication and review dates. For example, a library intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the library are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Library.effectivePeriod"/>
              <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="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="Library.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="Library.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the library so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.author">
            <path value="Library.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.editor">
            <path value="Library.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="Library.reviewer">
            <path value="Library.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.endorser">
            <path value="Library.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Libraries must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.id">
            <path value="Library.relatedArtifact.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="id"/>
              </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="Library.relatedArtifact:dependency.extension">
            <path value="Library.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.classifier">
            <path value="Library.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.label">
            <path value="Library.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.display">
            <path value="Library.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.citation">
            <path value="Library.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.document">
            <path value="Library.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resourceReference">
            <path value="Library.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationStatus">
            <path value="Library.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="Library.relatedArtifact:dependency.publicationDate">
            <path value="Library.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <short value="Parameters defined by the library"/>
            <definition value="The parameter element defines parameters used by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.parameter"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <short value="What data is referenced by this library"/>
            <definition value="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Library.dataRequirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <short value="Contents of the library, either embedded or referenced"/>
            <definition value="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Library.content"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="Library">
            <path value="Library"/>
            <mustSupport value="false"/>
          </element>
          <element id="Library.extension:inputParameters">
            <path value="Library.extension"/>
            <sliceName value="inputParameters"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-inputParameters"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.extension:directReferenceCode">
            <path value="Library.extension"/>
            <sliceName value="directReferenceCode"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.extension:logicDefinition">
            <path value="Library.extension"/>
            <sliceName value="logicDefinition"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.type">
            <path value="Library.type"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
                <code value="logic-library"/>
              </coding>
            </patternCodeableConcept>
          </element>
          <element id="Library.subject[x]">
            <path value="Library.subject[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact">
            <path value="Library.relatedArtifact"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="type"/>
              </discriminator>
              <rules value="open"/>
            </slicing>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency">
            <path value="Library.relatedArtifact"/>
            <sliceName value="dependency"/>
            <min value="0"/>
            <max value="*"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.type">
            <path value="Library.relatedArtifact.type"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="depends-on"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.relatedArtifact:dependency.resource">
            <path value="Library.relatedArtifact.resource"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Library.parameter">
            <path value="Library.parameter"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.dataRequirement">
            <path value="Library.dataRequirement"/>
            <mustSupport value="true"/>
          </element>
          <element id="Library.content">
            <path value="Library.content"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareabletestscript"/>
    <resource>
      <StructureDefinition>
        <id value="shareabletestscript"/>
        <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="fhir"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareabletestscript"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1081"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableTestScript"/>
        <title value="Shareable  Test Script"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2021-11-08T17:15:11-04:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the test script metadata required by HL7 and other organizations that share and publish test scripts"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="TestScript"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="TestScript">
            <path value="TestScript"/>
            <short value="Describes a set of tests"/>
            <definition value="A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.misc"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.id">
            <path value="TestScript.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="TestScript.meta">
            <path value="TestScript.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="TestScript.implicitRules">
            <path value="TestScript.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="TestScript.language">
            <path value="TestScript.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="TestScript.text">
            <path value="TestScript.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="TestScript.contained">
            <path value="TestScript.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."/>
            <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="TestScript.extension">
            <path value="TestScript.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="TestScript.modifierExtension">
            <path value="TestScript.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>
            <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="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="TestScript.url">
            <path value="TestScript.url"/>
            <short value="Canonical identifier for this test script, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this test script 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 test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the test script to be referenced by a single globally unique identifier."/>
            <alias value="url"/>
            <alias value="authoritative-url"/>
            <alias value="destination"/>
            <alias value="identity"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
          </element>
          <element id="TestScript.identifier">
            <path value="TestScript.identifier"/>
            <short value="Additional identifier for the test script"/>
            <definition value="A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this test script outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="TestScript.version">
            <path value="TestScript.version"/>
            <short value="Business version of the test script"/>
            <definition value="The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different test script instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the test script with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.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="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="TestScript.versionAlgorithm[x]">
            <path value="TestScript.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="TestScript.name">
            <path value="TestScript.name"/>
            <short value="Name for this test script (computer friendly)"/>
            <definition value="A natural language name identifying the test script. 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 code generation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.name"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.name"/>
            </mapping>
          </element>
          <element id="TestScript.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.title"/>
            <short value="Name for this test script (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the test script."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
          </element>
          <element id="TestScript.status">
            <path value="TestScript.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this test script. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of test scripts that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="TestScript.experimental">
            <path value="TestScript.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of test scripts that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level test script."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="TestScript.date">
            <path value="TestScript.date"/>
            <short value="Date last changed"/>
            <definition value="The date (and optionally time) when the test script was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test script changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test script. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="TestScript.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the test script."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the test script is the organization or individual primarily responsible for the maintenance and upkeep of the test script. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test script. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the test script.  May also allow for contact."/>
            <alias value="steward"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.publisher"/>
              <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="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="TestScript.contact">
            <path value="TestScript.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
          </element>
          <element id="TestScript.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.description"/>
            <short value="Natural language description of the test script"/>
            <definition value="A free text natural language description of the test script from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test script as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the test script is presumed to be the predominant language in the place the test script was created)."/>
            <alias value="scope"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="TestScript.useContext">
            <path value="TestScript.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 test script 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="TestScript.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
          </element>
          <element id="TestScript.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="TestScript.jurisdiction"/>
            <short value="Intended jurisdiction for test script (if applicable)"/>
            <definition value="A legal or geographic region in which the test script is intended to be used."/>
            <comment value="It may be possible for the test script to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
          </element>
          <element id="TestScript.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.purpose"/>
            <short value="Why this test script is defined"/>
            <definition value="Explanation of why this test script is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the test script. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this test script."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="TestScript.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the test script and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="TestScript.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="TestScript.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.copyrightLabel"/>
              <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"/>
          </element>
          <element id="TestScript.origin">
            <path value="TestScript.origin"/>
            <short value="An abstract server representing a client or sender in a message exchange"/>
            <definition value="An abstract server used in operations within this test script in the origin element."/>
            <comment value="The purpose of this element is to define the profile of an origin element used elsewhere in the script.  Test engines could then use the origin-profile mapping to offer a filtered list of test systems that can serve as the sender for the interaction."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.origin"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.origin.id">
            <path value="TestScript.origin.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="TestScript.origin.extension">
            <path value="TestScript.origin.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.origin.modifierExtension">
            <path value="TestScript.origin.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>
            <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>
            <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="TestScript.origin.index">
            <path value="TestScript.origin.index"/>
            <short value="The index of the abstract origin server starting at 1"/>
            <definition value="Abstract name given to an origin server in this test script.  The name is provided as a number starting at 1."/>
            <comment value="A given origin index (e.g. 1) can appear only once in the list (e.g. Origin 1 cannot be specified twice ... once as FormFiller and again as FormProcessor within the same script as that could get confusing during test configuration). &#xA;&#xA;Different origin indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Filler).&#xA;&#xA;The origin indices provided elsewhere in the test script must be one of these origin indices."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.origin.index"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.origin.profile">
            <path value="TestScript.origin.profile"/>
            <short value="FHIR-Client | FHIR-SDC-FormFiller"/>
            <definition value="The type of origin profile the test system supports."/>
            <comment value="Must be a &quot;sender&quot;/&quot;client&quot; profile."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.origin.profile"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <meaningWhenMissing value="FHIR-Client"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScriptProfileOriginType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of origin profile the test system supports."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/testscript-profile-origin-types"/>
            </binding>
          </element>
          <element id="TestScript.origin.url">
            <path value="TestScript.origin.url"/>
            <short value="The url path of the origin server"/>
            <definition value="The explicit url path of the origin server used in this test script."/>
            <comment value="If provided, the test engine is not expected to prompt for or accept external input of this value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.origin.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.destination">
            <path value="TestScript.destination"/>
            <short value="An abstract server representing a destination or receiver in a message exchange"/>
            <definition value="An abstract server used in operations within this test script in the destination element."/>
            <comment value="The purpose of this element is to define the profile of a destination element used elsewhere in the script.  Test engines could then use the destination-profile mapping to offer a filtered list of test systems that can serve as the receiver for the interaction."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.destination"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.destination.id">
            <path value="TestScript.destination.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="TestScript.destination.extension">
            <path value="TestScript.destination.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.destination.modifierExtension">
            <path value="TestScript.destination.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>
            <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>
            <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="TestScript.destination.index">
            <path value="TestScript.destination.index"/>
            <short value="The index of the abstract destination server starting at 1"/>
            <definition value="Abstract name given to a destination server in this test script.  The name is provided as a number starting at 1."/>
            <comment value="A given destination index (e.g. 1) can appear only once in the list (e.g. Destination 1 cannot be specified twice ... once as Form-Manager and again as Form-Processor within the same script as that could get confusing during test configuration). &#xA;&#xA;Different destination indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Manager).&#xA;&#xA;The destination indices provided elsewhere in the test script must be one of these destination indices."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.destination.index"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.destination.profile">
            <path value="TestScript.destination.profile"/>
            <short value="FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor"/>
            <definition value="The type of destination profile the test system supports."/>
            <comment value="Must be a &quot;receiver&quot;/&quot;server&quot; profile."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.destination.profile"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <meaningWhenMissing value="FHIR-Server"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScriptProfileDestinationType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of destination profile the test system supports."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/testscript-profile-destination-types"/>
            </binding>
          </element>
          <element id="TestScript.destination.url">
            <path value="TestScript.destination.url"/>
            <short value="The url path of the destination server"/>
            <definition value="The explicit url path of the destination server used in this test script."/>
            <comment value="If provided, the test engine is not expected to prompt for or accept external input of this value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.destination.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="url"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.metadata">
            <path value="TestScript.metadata"/>
            <short value="Required capability that is assumed to function correctly on the FHIR server being tested"/>
            <definition value="The required capability must exist and are assumed to function correctly on the FHIR server being tested."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="tst-4"/>
              <severity value="error"/>
              <human value="TestScript metadata capability SHALL contain required or validated or both."/>
              <expression value="capability.required.exists() or capability.validated.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.metadata.id">
            <path value="TestScript.metadata.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="TestScript.metadata.extension">
            <path value="TestScript.metadata.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.metadata.modifierExtension">
            <path value="TestScript.metadata.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>
            <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>
            <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="TestScript.metadata.link">
            <path value="TestScript.metadata.link"/>
            <short value="Links to the FHIR specification"/>
            <definition value="A link to the FHIR specification that this test is covering."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.metadata.link"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.metadata.link.id">
            <path value="TestScript.metadata.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="TestScript.metadata.link.extension">
            <path value="TestScript.metadata.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.metadata.link.modifierExtension">
            <path value="TestScript.metadata.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>
            <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>
            <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="TestScript.metadata.link.url">
            <path value="TestScript.metadata.link.url"/>
            <short value="URL to the specification"/>
            <definition value="URL to a particular requirement or feature within the FHIR specification."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.link.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="false"/>
          </element>
          <element id="TestScript.metadata.link.description">
            <path value="TestScript.metadata.link.description"/>
            <short value="Short description"/>
            <definition value="Short description of the link."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.link.description"/>
              <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"/>
          </element>
          <element id="TestScript.metadata.capability">
            <path value="TestScript.metadata.capability"/>
            <short value="Capabilities  that are assumed to function correctly on the FHIR server being tested"/>
            <definition value="Capabilities that must exist and are assumed to function correctly on the FHIR server being tested."/>
            <comment value="When the metadata capabilities section is defined at TestScript.metadata or at TestScript.setup.metadata, and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then all the tests in the TestScript are skipped.  When the metadata capabilities section is defined at TestScript.test.metadata and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then only that test is skipped.  The &quot;metadata.capabilities.required&quot; and &quot;metadata.capabilities.validated&quot; elements only indicate whether the capabilities are the primary focus of the test script or not.  They do not impact the skipping logic.  Capabilities whose &quot;metadata.capabilities.validated&quot; flag is true are the primary focus of the test script."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="TestScript.metadata.capability"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.metadata.capability.id">
            <path value="TestScript.metadata.capability.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="TestScript.metadata.capability.extension">
            <path value="TestScript.metadata.capability.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.metadata.capability.modifierExtension">
            <path value="TestScript.metadata.capability.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>
            <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>
            <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="TestScript.metadata.capability.required">
            <path value="TestScript.metadata.capability.required"/>
            <short value="Are the capabilities required?"/>
            <definition value="Whether or not the test execution will require the given capabilities of the server in order for this test script to execute."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.capability.required"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.metadata.capability.validated">
            <path value="TestScript.metadata.capability.validated"/>
            <short value="Are the capabilities validated?"/>
            <definition value="Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.capability.validated"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.metadata.capability.description">
            <path value="TestScript.metadata.capability.description"/>
            <short value="The expected capabilities of the server"/>
            <definition value="Description of the capabilities that this test script is requiring the server to support."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.capability.description"/>
              <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"/>
          </element>
          <element id="TestScript.metadata.capability.origin">
            <path value="TestScript.metadata.capability.origin"/>
            <short value="Which origin server these requirements apply to"/>
            <definition value="Which origin server these requirements apply to."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.metadata.capability.origin"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.metadata.capability.destination">
            <path value="TestScript.metadata.capability.destination"/>
            <short value="Which server these requirements apply to"/>
            <definition value="Which server these requirements apply to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.capability.destination"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.metadata.capability.link">
            <path value="TestScript.metadata.capability.link"/>
            <short value="Links to the FHIR specification"/>
            <definition value="Links to the FHIR specification that describes this interaction and the resources involved in more detail."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.metadata.capability.link"/>
              <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"/>
          </element>
          <element id="TestScript.metadata.capability.capabilities">
            <path value="TestScript.metadata.capability.capabilities"/>
            <short value="Required Capability Statement"/>
            <definition value="Minimum capabilities required of server for test script to execute successfully.   If server does not meet at a minimum the referenced capability statement, then all tests in this script are skipped."/>
            <comment value="The conformance statement of the server has to contain at a minimum the contents of the reference pointed to by this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.metadata.capability.capabilities"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.scope">
            <path value="TestScript.scope"/>
            <short value="Indication of the artifact(s) that are tested by this test case"/>
            <definition value="The scope indicates a conformance artifact that is tested by the test(s) within this test case and the expectation of the test outcome(s) as well as the intended test phase inclusion."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.scope"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.scope.id">
            <path value="TestScript.scope.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="TestScript.scope.extension">
            <path value="TestScript.scope.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.scope.modifierExtension">
            <path value="TestScript.scope.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>
            <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>
            <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="TestScript.scope.artifact">
            <path value="TestScript.scope.artifact"/>
            <short value="The specific conformance artifact being tested"/>
            <definition value="The specific conformance artifact being tested. The canonical reference can be version-specific."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.scope.artifact"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <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"/>
          </element>
          <element id="TestScript.scope.conformance">
            <path value="TestScript.scope.conformance"/>
            <short value="required | optional | strict"/>
            <definition value="The expectation of whether the test must pass for the system to be considered conformant with the artifact: required - all tests are expected to pass, optional - all test are expected to pass but non-pass status may be allowed, strict - all tests are expected to pass and warnings are treated as a failure."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.scope.conformance"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <meaningWhenMissing value="required"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/tools/StructureDefinition/binding-definition">
                <valueString value="The expectation of whether the test must pass for the system to be considered conformant with the artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TestScriptScopeConformanceType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The expectation of whether the test must pass for the system to be considered conformant with the artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/testscript-scope-conformance-codes"/>
            </binding>
          </element>
          <element id="TestScript.scope.phase">
            <path value="TestScript.scope.phase"/>
            <short value="unit | integration | production"/>
            <definition value="The phase of testing for this artifact: unit - development / implementation phase, integration - internal system to system phase, production - live system to system phase (Note, this may involve pii/phi data)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.scope.phase"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <meaningWhenMissing value="unit"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/tools/StructureDefinition/binding-definition">
                <valueString value="The phase of testing for this artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TestScriptScopePhaseType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The phase of testing for this artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/testscript-scope-phase-codes"/>
            </binding>
          </element>
          <element id="TestScript.fixture">
            <path value="TestScript.fixture"/>
            <short value="Fixture in the test script - by reference (uri)"/>
            <definition value="Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.fixture"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.fixture.id">
            <path value="TestScript.fixture.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="TestScript.fixture.extension">
            <path value="TestScript.fixture.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.fixture.modifierExtension">
            <path value="TestScript.fixture.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>
            <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>
            <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="TestScript.fixture.autocreate">
            <path value="TestScript.fixture.autocreate"/>
            <short value="Whether or not to implicitly create the fixture during setup"/>
            <definition value="Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.fixture.autocreate"/>
              <min value="1"/>
              <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="TestScript.fixture.autodelete">
            <path value="TestScript.fixture.autodelete"/>
            <short value="Whether or not to implicitly delete the fixture during teardown"/>
            <definition value="Whether or not to implicitly delete the fixture during teardown. If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.fixture.autodelete"/>
              <min value="1"/>
              <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="TestScript.fixture.resource">
            <path value="TestScript.fixture.resource"/>
            <short value="Reference of the resource"/>
            <definition value="Reference to the resource (containing the contents of the resource needed for operations). This is allowed to be a Parameters resource."/>
            <comment value="See the [Resource List](resourcelist.html) for complete list of resource types."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.fixture.resource"/>
              <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"/>
          </element>
          <element id="TestScript.profile">
            <path value="TestScript.profile"/>
            <short value="Reference of the validation profile"/>
            <definition value="Reference to the profile to be used for validation."/>
            <comment value="See the [Resource List](resourcelist.html) for complete list of resource types."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.profile"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.variable">
            <path value="TestScript.variable"/>
            <short value="Placeholder for evaluated elements"/>
            <definition value="Variable is set based either on element value in response body or on header field value in the response headers."/>
            <comment value="Variables would be set based either on XPath/JSONPath expressions against fixtures (static and response), or headerField evaluations against response headers. If variable evaluates to nodelist or anything other than a primitive value, then test engine would report an error.  Variables would be used to perform clean replacements in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; element values during operation calls and in &quot;assert.value&quot; during assertion evaluations. This limits the places that test engines would need to look for placeholders &quot;${}&quot;.  Variables are scoped to the whole script. They are NOT evaluated at declaration. They are evaluated by test engine when used for substitutions in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; element values during operation calls and in &quot;assert.value&quot; during assertion evaluations.  See example testscript-search.xml."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.variable"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="tst-3"/>
              <severity value="error"/>
              <human value="Variable can only contain one of expression, headerField or path."/>
              <expression value="expression.empty() or headerField.empty() or path.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.variable.id">
            <path value="TestScript.variable.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="TestScript.variable.extension">
            <path value="TestScript.variable.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.variable.modifierExtension">
            <path value="TestScript.variable.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>
            <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>
            <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="TestScript.variable.name">
            <path value="TestScript.variable.name"/>
            <short value="Descriptive name for this variable"/>
            <definition value="Descriptive name for this variable."/>
            <comment value="Placeholders would contain the variable name wrapped in ${} in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; elements.  These placeholders would need to be replaced by the variable value before the operation is executed."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.name"/>
              <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="false"/>
          </element>
          <element id="TestScript.variable.defaultValue">
            <path value="TestScript.variable.defaultValue"/>
            <short value="Default, hard-coded, or user-defined value for this variable"/>
            <definition value="A default, hard-coded, or user-defined value for this variable."/>
            <comment value="The purpose of this element is to allow for a pre-defined value that can be used as a default or as an override value. Test engines can optionally use this as a placeholder for user-defined execution time values."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.defaultValue"/>
              <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"/>
          </element>
          <element id="TestScript.variable.description">
            <path value="TestScript.variable.description"/>
            <short value="Natural language description of the variable"/>
            <definition value="A free text natural language description of the variable and its purpose."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.description"/>
              <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"/>
          </element>
          <element id="TestScript.variable.expression">
            <path value="TestScript.variable.expression"/>
            <short value="The FHIRPath expression against the fixture body"/>
            <definition value="The FHIRPath expression for a specific value to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified."/>
            <comment value="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define any combination of expression, headerField and path."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.variable.headerField">
            <path value="TestScript.variable.headerField"/>
            <short value="HTTP header field name for source"/>
            <definition value="Will be used to grab the HTTP header field value from the headers that sourceId is pointing to."/>
            <comment value="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define both headerField and path."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.headerField"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.variable.hint">
            <path value="TestScript.variable.hint"/>
            <short value="Hint help text for default value to enter"/>
            <definition value="Displayable text string with hint help information to the user when entering a default value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.hint"/>
              <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"/>
          </element>
          <element id="TestScript.variable.path">
            <path value="TestScript.variable.path"/>
            <short value="XPath or JSONPath against the fixture body"/>
            <definition value="XPath or JSONPath to evaluate against the fixture body.  When variables are defined, only one of either expression, headerField or path must be specified."/>
            <comment value="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define any combination of expression, headerField and path."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.path"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.variable.sourceId">
            <path value="TestScript.variable.sourceId"/>
            <short value="Fixture Id of source expression or headerField within this variable"/>
            <definition value="Fixture to evaluate the XPath/JSONPath expression or the headerField  against within this variable."/>
            <comment value="This can be a statically defined fixture (at the top of the TestScript) or a dynamically set fixture created by responseId of the `action.operation` element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.variable.sourceId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup">
            <path value="TestScript.setup"/>
            <short value="A series of required setup operations before tests are executed"/>
            <definition value="A series of required setup operations before tests are executed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.id">
            <path value="TestScript.setup.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="TestScript.setup.extension">
            <path value="TestScript.setup.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.modifierExtension">
            <path value="TestScript.setup.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>
            <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>
            <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="TestScript.setup.action">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="SetupAction"/>
            </extension>
            <path value="TestScript.setup.action"/>
            <short value="A setup operation or assert to perform"/>
            <definition value="Action would contain either an operation or an assertion."/>
            <comment value="An action should contain either an operation or an assertion but not both.  It can contain any number of variables."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="TestScript.setup.action"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="tst-1"/>
              <severity value="error"/>
              <human value="Setup action SHALL contain either an operation or assert but not both."/>
              <expression value="operation.exists() xor assert.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.action.id">
            <path value="TestScript.setup.action.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="TestScript.setup.action.extension">
            <path value="TestScript.setup.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.action.modifierExtension">
            <path value="TestScript.setup.action.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>
            <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>
            <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="TestScript.setup.action.operation">
            <path value="TestScript.setup.action.operation"/>
            <short value="The setup operation to perform"/>
            <definition value="The operation to perform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="tst-1"/>
            <condition value="tst-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>
            <constraint>
              <key value="tst-7"/>
              <severity value="error"/>
              <human value="Setup operation SHALL contain either sourceId or targetId or params or url."/>
              <expression value="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.action.operation.id">
            <path value="TestScript.setup.action.operation.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="TestScript.setup.action.operation.extension">
            <path value="TestScript.setup.action.operation.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.action.operation.modifierExtension">
            <path value="TestScript.setup.action.operation.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>
            <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>
            <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="TestScript.setup.action.operation.type">
            <path value="TestScript.setup.action.operation.type"/>
            <short value="The operation code type that will be executed"/>
            <definition value="Server interaction or operation type."/>
            <comment value="See the list of [server interactions](http.html)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.type"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <condition value="tst-7"/>
            <condition value="tst-8"/>
            <condition value="tst-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The allowable operation code types."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TestScriptOperationCode"/>
              </extension>
              <strength value="extensible"/>
              <description value="FHIR Operation Code Types"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/testscript-operation-codes"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.operation.resource">
            <path value="TestScript.setup.action.operation.resource"/>
            <short value="Resource type"/>
            <definition value="The type of the FHIR resource. See the [resource list](resourcelist.html). Data type of uri is needed when non-HL7 artifacts are identified."/>
            <comment value="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored. For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present. For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url. For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.resource"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FHIRConcreteTypes"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concrete-fhir-types"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.operation.label">
            <path value="TestScript.setup.action.operation.label"/>
            <short value="Tracking/logging operation label"/>
            <definition value="The label would be used for tracking/logging purposes by test engines."/>
            <comment value="This has no impact on the verification itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.label"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.operation.description">
            <path value="TestScript.setup.action.operation.description"/>
            <short value="Tracking/reporting operation description"/>
            <definition value="The description would be used by test engines for tracking and reporting purposes."/>
            <comment value="This has no impact on the verification itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.description"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.operation.accept">
            <path value="TestScript.setup.action.operation.accept"/>
            <short value="Mime type to accept in the payload of the response, with charset etc"/>
            <definition value="The mime-type to use for RESTful operation in the 'Accept' header."/>
            <comment value="If this is specified, then test engine shall set the 'Accept' header to the corresponding value.  If you'd like to explicitly set the 'Accept' to some other value then use the 'requestHeader' element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.accept"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="application/fhir+xml"/>
            </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>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.operation.contentType">
            <path value="TestScript.setup.action.operation.contentType"/>
            <short value="Mime type of the request payload contents, with charset etc"/>
            <definition value="The mime-type to use for RESTful operation in the 'Content-Type' header."/>
            <comment value="If this is specified, then test engine shall set the 'Content-Type' header to the corresponding value.  If you'd like to explicitly set the 'Content-Type' to some other value then use the 'requestHeader' element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="application/fhir+xml"/>
            </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>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.operation.destination">
            <path value="TestScript.setup.action.operation.destination"/>
            <short value="Server responding to the request"/>
            <definition value="The server where the request message is destined for.  Must be one of the server numbers listed in TestScript.destination section."/>
            <comment value="If multiple TestScript.destination elements are defined and operation.destination is undefined, test engine will report an error as it cannot determine what destination to use for the exchange."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.destination"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup.action.operation.encodeRequestUrl">
            <path value="TestScript.setup.action.operation.encodeRequestUrl"/>
            <short value="Whether or not to send the request url in encoded format"/>
            <definition value="Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.encodeRequestUrl"/>
              <min value="1"/>
              <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="TestScript.setup.action.operation.method">
            <path value="TestScript.setup.action.operation.method"/>
            <short value="delete | get | options | patch | post | put | head"/>
            <definition value="The HTTP method the test engine MUST use for this operation regardless of any other operation details."/>
            <comment value="The primary purpose of the explicit HTTP method is support of  HTTP POST method invocation of the FHIR search. Other uses will include support of negative testing."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.method"/>
              <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="TestScriptRequestMethodCode"/>
              </extension>
              <strength value="required"/>
              <description value="The allowable request method or HTTP operation codes."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-operations|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.operation.origin">
            <path value="TestScript.setup.action.operation.origin"/>
            <short value="Server initiating the request"/>
            <definition value="The server where the request message originates from.  Must be one of the server numbers listed in TestScript.origin section."/>
            <comment value="If absent, test engine will send the message.  When present, test engine will not send the request message but will wait for the request message to be sent from this origin server."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.origin"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup.action.operation.params">
            <path value="TestScript.setup.action.operation.params"/>
            <short value="Explicitly defined path parameters"/>
            <definition value="Path plus parameters after [type].  Used to set parts of the request URL explicitly."/>
            <comment value="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored.  For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present.  For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url.  For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used.   Test engines would append whatever is specified for &quot;params&quot; to the URL after the resource type without tampering with the string (beyond encoding the URL for HTTP).  The &quot;params&quot; element does not correspond exactly to &quot;search parameters&quot;.  Nor is it the &quot;path&quot;.  It corresponds to the part of the URL that comes after the [type] (when &quot;resource&quot; element is specified); e.g. It corresponds to &quot;/[id]/_history/[vid] {?_format=[mime-type]}&quot; in the following operation: GET [base]/[type]/[id]/_history/[vid] {?_format=[mime-type]}  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.params"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-7"/>
            <condition value="tst-8"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.operation.requestHeader">
            <path value="TestScript.setup.action.operation.requestHeader"/>
            <short value="Each operation can have one or more header elements"/>
            <definition value="Header elements would be used to set HTTP headers."/>
            <comment value="This gives control to test-script writers to set headers explicitly based on test requirements.  It will allow for testing using:  - &quot;If-Modified-Since&quot; and &quot;If-None-Match&quot; headers.  [&quot;If-Match&quot; header](http.html#2.1.0.5.1).  See [Conditional Create using &quot;If-None-Exist&quot;](http.html#2.1.0.11).  See [Invalid &quot;Content-Type&quot; header](http.html#2.1.0.13.1) for negative testing. - etc."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.setup.action.operation.requestHeader"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.action.operation.requestHeader.id">
            <path value="TestScript.setup.action.operation.requestHeader.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="TestScript.setup.action.operation.requestHeader.extension">
            <path value="TestScript.setup.action.operation.requestHeader.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.action.operation.requestHeader.modifierExtension">
            <path value="TestScript.setup.action.operation.requestHeader.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>
            <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>
            <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="TestScript.setup.action.operation.requestHeader.field">
            <path value="TestScript.setup.action.operation.requestHeader.field"/>
            <short value="HTTP header field name"/>
            <definition value="The HTTP header field e.g. &quot;Accept&quot;."/>
            <comment value="If header element is specified, then field is required."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.requestHeader.field"/>
              <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="false"/>
          </element>
          <element id="TestScript.setup.action.operation.requestHeader.value">
            <path value="TestScript.setup.action.operation.requestHeader.value"/>
            <short value="HTTP headerfield value"/>
            <definition value="The value of the header e.g. &quot;application/fhir+xml&quot;."/>
            <comment value="If header element is specified, then value is required.  No conversions will be done by the test engine e.g. &quot;xml&quot; to &quot;application/fhir+xml&quot;.  The values will be set in HTTP headers &quot;as-is&quot;.  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.requestHeader.value"/>
              <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="false"/>
          </element>
          <element id="TestScript.setup.action.operation.requestId">
            <path value="TestScript.setup.action.operation.requestId"/>
            <short value="Fixture Id of mapped request"/>
            <definition value="The fixture id (maybe new) to map to the request."/>
            <comment value="If a requestId is supplied, then the resulting request (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by &quot;requestId&quot;.  If requestId is not specified, it is the test engine's responsibility to store the request and use it as the requestId in subsequent assertions when assertion path and/or headerField is specified, direction is equal to request, and the requestId in not specified."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.requestId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup.action.operation.responseId">
            <path value="TestScript.setup.action.operation.responseId"/>
            <short value="Fixture Id of mapped response"/>
            <definition value="The fixture id (maybe new) to map to the response."/>
            <comment value="If a responseId is supplied, and the server responds, then the resulting response (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by &quot;responseId&quot;.  If responseId is not specified, it is the test engine's responsibility to store the response and use it as the responseId in subsequent assertions when assertion path and/or headerField is specified and the responseId is not specified."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.responseId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup.action.operation.sourceId">
            <path value="TestScript.setup.action.operation.sourceId"/>
            <short value="Fixture Id of body for PUT and POST requests"/>
            <definition value="The id of the fixture used as the body of a PUT or POST request."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.sourceId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="tst-7"/>
            <condition value="tst-8"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.operation.targetId">
            <path value="TestScript.setup.action.operation.targetId"/>
            <short value="Id of fixture used for extracting the [id],  [type], and [vid] for GET requests"/>
            <definition value="Id of fixture used for extracting the [id],  [type], and [vid] for GET requests."/>
            <comment value="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored.  For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present.  For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url.  For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.targetId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="tst-7"/>
            <condition value="tst-8"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.operation.url">
            <path value="TestScript.setup.action.operation.url"/>
            <short value="Request URL"/>
            <definition value="Complete request URL."/>
            <comment value="Used to set the request URL explicitly.  If &quot;url&quot; element is defined, then &quot;targetId&quot;, &quot;resource&quot;, and &quot;params&quot; elements will be ignored.  Test engines would use whatever is specified in &quot;url&quot; without tampering with the string (beyond encoding the URL for HTTP).  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.operation.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-7"/>
            <condition value="tst-8"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.assert">
            <path value="TestScript.setup.action.assert"/>
            <short value="The assertion to perform"/>
            <definition value="Evaluates the results of previous operations to determine if the server under test behaves appropriately."/>
            <comment value="In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="tst-1"/>
            <condition value="tst-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>
            <constraint>
              <key value="tst-5"/>
              <severity value="error"/>
              <human value="Only a single assertion SHALL be present within setup action assert element."/>
              <expression value="extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() &lt;=1) or (((expression.count() + minimumId.count() &lt;=2) or (expression.count() + validateProfileId.count() &lt;=2)) and (expression.count() + path.count() &lt;=1) and (minimumId.count() + validateProfileId.count() &lt;=1)) or (((path.count() + minimumId.count() &lt;=2) or (path.count() + validateProfileId.count() &lt;=2)) and (expression.count() + path.count() &lt;=1) and (minimumId.count() + validateProfileId.count() &lt;=1))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <constraint>
              <key value="tst-10"/>
              <severity value="error"/>
              <human value="Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither."/>
              <expression value="compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <constraint>
              <key value="tst-12"/>
              <severity value="error"/>
              <human value="Setup action assert response and responseCode SHALL be empty when direction equals request"/>
              <expression value="(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.action.assert.id">
            <path value="TestScript.setup.action.assert.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="TestScript.setup.action.assert.extension">
            <path value="TestScript.setup.action.assert.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.action.assert.modifierExtension">
            <path value="TestScript.setup.action.assert.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>
            <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>
            <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="TestScript.setup.action.assert.label">
            <path value="TestScript.setup.action.assert.label"/>
            <short value="Tracking/logging assertion label"/>
            <definition value="The label would be used for tracking/logging purposes by test engines."/>
            <comment value="This has no impact on the verification itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.label"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.assert.description">
            <path value="TestScript.setup.action.assert.description"/>
            <short value="Tracking/reporting assertion description"/>
            <definition value="The description would be used by test engines for tracking and reporting purposes."/>
            <comment value="This has no impact on the verification itself."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.description"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.assert.direction">
            <path value="TestScript.setup.action.assert.direction"/>
            <short value="response | request"/>
            <definition value="The direction to use for the assertion."/>
            <comment value="If the direction is specified as &quot;response&quot; (the default), then the processing of this assert is against the received response message. If the direction is specified as &quot;request&quot;, then the processing of this assert is against the sent request message."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.direction"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="tst-12"/>
            <condition value="tst-13"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/tools/StructureDefinition/binding-definition">
                <valueString value="The type of direction to use for assertion."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AssertionDirectionType"/>
              </extension>
              <strength value="required"/>
              <description value="The direction to use for assertions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/assert-direction-codes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.compareToSourceId">
            <path value="TestScript.setup.action.assert.compareToSourceId"/>
            <short value="Id of the source fixture to be evaluated"/>
            <definition value="Id of the source fixture used as the contents to be evaluated by either the &quot;source/expression&quot; or &quot;sourceId/path&quot; definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.compareToSourceId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-10"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.assert.compareToSourceExpression">
            <path value="TestScript.setup.action.assert.compareToSourceExpression"/>
            <short value="The FHIRPath expression to evaluate against the source fixture"/>
            <definition value="The FHIRPath expression for a specific value to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both."/>
            <comment value="Thefhirpath expression to be evaluated against the expected fixture to compare to. Ignored if &quot;assert.value&quot; is used. The evaluation will be done before the assertion is evaluated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.compareToSourceExpression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-10"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.assert.compareToSourcePath">
            <path value="TestScript.setup.action.assert.compareToSourcePath"/>
            <short value="XPath or JSONPath expression to evaluate against the source fixture"/>
            <definition value="XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both."/>
            <comment value="The XPath or JSONPath expression to be evaluated against the expected fixture to compare to. Ignored if &quot;assert.value&quot; is used. The evaluation will be done before the assertion is evaluated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.compareToSourcePath"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-10"/>
            <condition value="tst-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="false"/>
          </element>
          <element id="TestScript.setup.action.assert.contentType">
            <path value="TestScript.setup.action.assert.contentType"/>
            <short value="Mime type to compare against the 'Content-Type' header"/>
            <definition value="The mime-type contents to compare against the request or response message 'Content-Type' header."/>
            <comment value="If this is specified, then test engine shall confirm that the content-type of the last operation's headers is set to this value.  If &quot;assert.sourceId&quot; element is specified, then the evaluation will be done against the headers mapped to that sourceId (and not the last operation's headers).  If you'd like to have more control over the string, then use 'assert.headerField' instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.contentType"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <example>
              <label value="General"/>
              <valueCode value="application/fhir+xml"/>
            </example>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.defaultManualCompletion">
            <path value="TestScript.setup.action.assert.defaultManualCompletion"/>
            <short value="fail | pass | skip | stop"/>
            <definition value="The default manual completion outcome applied to this assertion."/>
            <comment value="Manual completion is used to pause the test engine execution and evaluation allowing an external review of the defined assert condition. The defaultManualCompletion defines the default manual completion outcome applied if one of the enumerated values is not applied."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.defaultManualCompletion"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If defaultManualCompletion is not specified, then the default manual completion outcome will be 'skip'."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/tools/StructureDefinition/binding-definition">
                <valueString value="The type of operator to use for assertion."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AssertionManualCompletionType"/>
              </extension>
              <strength value="required"/>
              <description value="The default type of manual completion to use for assertion."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/assert-manual-completion-codes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.expression">
            <path value="TestScript.setup.action.assert.expression"/>
            <short value="The FHIRPath expression to be evaluated"/>
            <definition value="The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload."/>
            <comment value="If both &quot;expression&quot; and a &quot;fixtureId&quot; are specified, then the expression will be evaluated against the request or response body mapped to the fixtureId. If &quot;expression&quot; is specified and a &quot;fixtureId&quot; is not, then the expression will be evaluated against the response body of the last operation. Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions.&#xA;&#xA;The FHIRPath expression can be evaluated as either a path to a specific value or as a boolean expression against the given FHIR resource. When the FHIRPath is a boolean expression, the assert.value element is not used. See [Testing FHIR Use Expressions](testing.html#expressions)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.headerField">
            <path value="TestScript.setup.action.assert.headerField"/>
            <short value="HTTP header field name"/>
            <definition value="The HTTP header field name e.g. 'Location'."/>
            <comment value="If &quot;headerField&quot; is specified then &quot;value&quot; must be specified.  If &quot;sourceId&quot; is not specified, then &quot;headerField&quot; will be evaluated against the last operation's response headers.  Test engines are to keep track of the last operation's response body and response headers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.headerField"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.minimumId">
            <path value="TestScript.setup.action.assert.minimumId"/>
            <short value="Fixture Id of minimum content resource"/>
            <definition value="The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId."/>
            <comment value="Asserts that the response contains all the element/content in another fixture pointed to by minimumId. This can be a statically defined fixture or one that is dynamically set via responseId.&#xA;&#xA;See [Testing FHIR Use minimumId](testing.html##minimumId) for a more complete description of the test engine's comparison logic."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.minimumId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.navigationLinks">
            <path value="TestScript.setup.action.assert.navigationLinks"/>
            <short value="Perform validation on navigation links?"/>
            <definition value="Whether or not the test execution performs validation on the bundle navigation links."/>
            <comment value="Asserts that the Bundle contains first, last, and next links."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.navigationLinks"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.operator">
            <path value="TestScript.setup.action.assert.operator"/>
            <short value="equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval | manualEval"/>
            <definition value="The operator type defines the conditional behavior of the assert."/>
            <comment value="Operators are useful for both positive and negative testing. If operator is not specified, then the default conditional behavior is implemented as defined in [Testing FHIR Assertions](testing.html#assertion-table)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.operator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If operator is not specified, then the default conditional behavior is implemented as defined in the Testing FHIR page Assertions table - see Comments."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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/tools/StructureDefinition/binding-definition">
                <valueString value="The type of operator to use for assertion."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AssertionOperatorType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of operator to use for assertions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/assert-operator-codes|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.path">
            <path value="TestScript.setup.action.assert.path"/>
            <short value="XPath or JSONPath expression"/>
            <definition value="The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server."/>
            <comment value="If both &quot;path&quot; and a &quot;fixtureId&quot; are specified, then the path will be evaluated against the request or response body mapped to the fixtureId.  If &quot;path&quot; is specified and a &quot;fixtureId&quot; is not, then the path will be evaluated against the response body of the last operation.  Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.path"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.requestMethod">
            <path value="TestScript.setup.action.assert.requestMethod"/>
            <short value="delete | get | options | patch | post | put | head"/>
            <definition value="The request method or HTTP operation code to compare against that used by the client system under test."/>
            <comment value="If &quot;requestMethod&quot; is specified then it will be used in place of &quot;value&quot;. The &quot;requestMethod&quot; will evaluate against the last operation's request HTTP operation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.requestMethod"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="TestScriptRequestMethodCode"/>
              </extension>
              <strength value="required"/>
              <description value="The allowable request method or HTTP operation codes."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/http-operations|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.requestURL">
            <path value="TestScript.setup.action.assert.requestURL"/>
            <short value="Request URL comparison value"/>
            <definition value="The value to use in a comparison against the request URL path string."/>
            <comment value="If &quot;requestURL&quot; is specified then it will be used in place of &quot;value&quot;. The &quot;requestURL&quot; will evaluate against the last operation's full request URL path string."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.requestURL"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.assert.resource">
            <path value="TestScript.setup.action.assert.resource"/>
            <short value="Resource type"/>
            <definition value="The type of the resource.  See the [resource list](resourcelist.html)."/>
            <comment value="This will be expected resource type in response body e.g. in read, vread, search, etc.  See the [Resource List](resourcelist.html) for complete list of resource types; e.g. &lt;assert &gt; &lt;resourceType value=&quot;Patient&quot; &lt;/assert&gt;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="FHIRConcreteType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/concrete-fhir-types"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.response">
            <path value="TestScript.setup.action.assert.response"/>
            <short value="continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported"/>
            <definition value="continue | switchingProtocols | okay | created | accepted | nonAuthoritativeInformation | noContent | resetContent | partialContent | multipleChoices | movedPermanently | found | seeOther | notModified | useProxy | temporaryRedirect | permanentRedirect | badRequest | unauthorized | paymentRequired | forbidden | notFound | methodNotAllowed | notAcceptable | proxyAuthenticationRequired | requestTimeout | conflict | gone | lengthRequired | preconditionFailed | contentTooLarge | uriTooLong | unsupportedMediaType | rangeNotSatisfiable | expectationFailed | misdirectedRequest | unprocessableContent | upgradeRequired | internalServerError | notImplemented | badGateway | serviceUnavailable | gatewayTimeout | httpVersionNotSupported."/>
            <comment value="This is a shorter way of achieving similar verifications via &quot;assert.responseCode&quot;.  If you need more control, then use &quot;assert.responseCode&quot;  e.g. &lt;assert&gt;  &lt;contentType value=&quot;json&quot; /&gt;  &lt;response value=&quot;okay&quot;/&gt; &lt;/assert&gt;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.response"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="tst-12"/>
            <condition value="tst-5"/>
            <condition value="tst-13"/>
            <condition value="tst-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The type of response code to use for assertion."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AssertionResponseTypes"/>
              </extension>
              <strength value="required"/>
              <description value="The response code to expect in the response."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/assert-response-code-types|5.0.0"/>
            </binding>
          </element>
          <element id="TestScript.setup.action.assert.responseCode">
            <path value="TestScript.setup.action.assert.responseCode"/>
            <short value="HTTP response code to test"/>
            <definition value="The value of the HTTP response code to be tested."/>
            <comment value="To be used with &quot;operator&quot; attribute value. Asserts that the response code equals this value if &quot;operator&quot; is not specified.   If the operator is &quot;in&quot; or &quot;notIn&quot; then the responseCode would be a comma-separated list of values e.g. &quot;200,201&quot;. Otherwise, it's expected to be a numeric value.   If &quot;fixture&quot; is not specified, then the &quot;responseBodyId&quot; value of the last operation is assumed."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.responseCode"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="tst-12"/>
            <condition value="tst-5"/>
            <condition value="tst-13"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.sourceId">
            <path value="TestScript.setup.action.assert.sourceId"/>
            <short value="Fixture Id of source expression or headerField"/>
            <definition value="Fixture to evaluate the XPath/JSONPath expression or the headerField  against."/>
            <comment value="This can be a statically defined fixture (at the top of the testscript) or a dynamically set fixture created by responseId of the action.operation element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.sourceId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.setup.action.assert.stopTestOnFail">
            <path value="TestScript.setup.action.assert.stopTestOnFail"/>
            <short value="If this assert fails, will the current test execution stop?"/>
            <definition value="Whether or not the current test execution will stop on failure for this assert."/>
            <comment value="If this element is specified and it is true, then assertion failures should not stop the current test execution from proceeding."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.stopTestOnFail"/>
              <min value="1"/>
              <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="TestScript.setup.action.assert.validateProfileId">
            <path value="TestScript.setup.action.assert.validateProfileId"/>
            <short value="Profile Id of validation profile reference"/>
            <definition value="The ID of the Profile to validate against."/>
            <comment value="The ID of a Profile fixture. Asserts that the response is valid according to the Profile specified by validateProfileId."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.validateProfileId"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="tst-5"/>
            <condition value="tst-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"/>
          </element>
          <element id="TestScript.setup.action.assert.value">
            <path value="TestScript.setup.action.assert.value"/>
            <short value="The value to compare to"/>
            <definition value="The value to compare to."/>
            <comment value="The string-representation of a number, string, or boolean that is expected.  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before comparing this value to the actual value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.value"/>
              <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"/>
          </element>
          <element id="TestScript.setup.action.assert.warningOnly">
            <path value="TestScript.setup.action.assert.warningOnly"/>
            <short value="Will this assert produce a warning only on error?"/>
            <definition value="Whether or not the test execution will produce a warning only on error for this assert."/>
            <comment value="If this element is specified and it is true, then assertion failures can be logged by test engine but should not stop the test script execution from proceeding.  There are likely cases where the spec is not clear on what should happen. If the spec says something is optional (maybe a response header for example), but a server doesn’t do it, we could choose to issue a warning."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.warningOnly"/>
              <min value="1"/>
              <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="TestScript.setup.action.assert.requirement">
            <path value="TestScript.setup.action.assert.requirement"/>
            <short value="Links or references to the testing requirements"/>
            <definition value="Links or references providing traceability to the testing requirements for this assert."/>
            <comment value="TestScript and TestReport instances are typically (and expected to be) based on known, defined test requirements and documentation. These links provide traceability from the executable/executed TestScript and TestReport tests to these requirements."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.setup.action.assert.requirement"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.setup.action.assert.requirement.id">
            <path value="TestScript.setup.action.assert.requirement.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="TestScript.setup.action.assert.requirement.extension">
            <path value="TestScript.setup.action.assert.requirement.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.setup.action.assert.requirement.modifierExtension">
            <path value="TestScript.setup.action.assert.requirement.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>
            <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>
            <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="TestScript.setup.action.assert.requirement.link[x]">
            <path value="TestScript.setup.action.assert.requirement.link[x]"/>
            <short value="Link or reference to the testing requirement"/>
            <definition value="Link or reference providing traceability to the testing requirement for this test."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.setup.action.assert.requirement.link[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Requirements"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="TestScript.test">
            <path value="TestScript.test"/>
            <short value="A test in this script"/>
            <definition value="A test in this script."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="TestScript.test"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.test.id">
            <path value="TestScript.test.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="TestScript.test.extension">
            <path value="TestScript.test.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.test.modifierExtension">
            <path value="TestScript.test.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>
            <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>
            <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="TestScript.test.name">
            <path value="TestScript.test.name"/>
            <short value="Tracking/logging name of this test"/>
            <definition value="The name of this test used for tracking/logging purposes by test engines."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.test.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="false"/>
          </element>
          <element id="TestScript.test.description">
            <path value="TestScript.test.description"/>
            <short value="Tracking/reporting short description of the test"/>
            <definition value="A short description of the test used by test engines for tracking and reporting purposes."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.test.description"/>
              <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"/>
          </element>
          <element id="TestScript.test.action">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="TestAction"/>
            </extension>
            <path value="TestScript.test.action"/>
            <short value="A test operation or assert to perform"/>
            <definition value="Action would contain either an operation or an assertion."/>
            <comment value="An action should contain either an operation or an assertion but not both.  It can contain any number of variables."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="TestScript.test.action"/>
              <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"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="tst-2"/>
              <severity value="error"/>
              <human value="Test action SHALL contain either an operation or assert but not both."/>
              <expression value="operation.exists() xor assert.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.test.action.id">
            <path value="TestScript.test.action.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="TestScript.test.action.extension">
            <path value="TestScript.test.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.test.action.modifierExtension">
            <path value="TestScript.test.action.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>
            <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>
            <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="TestScript.test.action.operation">
            <path value="TestScript.test.action.operation"/>
            <short value="The setup operation to perform"/>
            <definition value="An operation would involve a REST request to a server."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.test.action.operation"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/TestScript#TestScript.setup.action.operation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="tst-8"/>
              <severity value="error"/>
              <human value="Test operation SHALL contain either sourceId or targetId or params or url."/>
              <expression value="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.test.action.assert">
            <path value="TestScript.test.action.assert"/>
            <short value="The setup assertion to perform"/>
            <definition value="Evaluates the results of previous operations to determine if the server under test behaves appropriately."/>
            <comment value="In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.test.action.assert"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/TestScript#TestScript.setup.action.assert"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="tst-6"/>
              <severity value="error"/>
              <human value="Only a single assertion SHALL be present within test action assert element."/>
              <expression value="extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() &lt;=1) or (((expression.count() + minimumId.count() &lt;=2) or (expression.count() + validateProfileId.count() &lt;=2)) and (expression.count() + path.count() &lt;=1) and (minimumId.count() + validateProfileId.count() &lt;=1)) or (((path.count() + minimumId.count() &lt;=2) or (path.count() + validateProfileId.count() &lt;=2)) and (expression.count() + path.count() &lt;=1) and (minimumId.count() + validateProfileId.count() &lt;=1))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <constraint>
              <key value="tst-11"/>
              <severity value="error"/>
              <human value="Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither."/>
              <expression value="compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <constraint>
              <key value="tst-13"/>
              <severity value="error"/>
              <human value="Test action assert response and response and responseCode SHALL be empty when direction equals request"/>
              <expression value="(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.teardown">
            <path value="TestScript.teardown"/>
            <short value="A series of required clean up steps"/>
            <definition value="A series of operations required to clean up after all the tests are executed (successfully or otherwise)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="TestScript.teardown"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="TestScript.teardown.id">
            <path value="TestScript.teardown.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="TestScript.teardown.extension">
            <path value="TestScript.teardown.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.teardown.modifierExtension">
            <path value="TestScript.teardown.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>
            <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>
            <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="TestScript.teardown.action">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="TeardownAction"/>
            </extension>
            <path value="TestScript.teardown.action"/>
            <short value="One or more teardown operations to perform"/>
            <definition value="The teardown action will only contain an operation."/>
            <comment value="An action should contain either an operation or an assertion but not both.  It can contain any number of variables."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="TestScript.teardown.action"/>
              <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"/>
              <expression value="hasValue() 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="TestScript.teardown.action.id">
            <path value="TestScript.teardown.action.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="TestScript.teardown.action.extension">
            <path value="TestScript.teardown.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="TestScript.teardown.action.modifierExtension">
            <path value="TestScript.teardown.action.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>
            <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>
            <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="TestScript.teardown.action.operation">
            <path value="TestScript.teardown.action.operation"/>
            <short value="The teardown operation to perform"/>
            <definition value="An operation would involve a REST request to a server."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="TestScript.teardown.action.operation"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/TestScript#TestScript.setup.action.operation"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="tst-9"/>
              <severity value="error"/>
              <human value="Teardown operation SHALL contain either sourceId or targetId or params or url."/>
              <expression value="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/TestScript"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
        </snapshot>
        <differential>
          <element id="TestScript">
            <path value="TestScript"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="TestScript.url">
            <path value="TestScript.url"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
          </element>
          <element id="TestScript.version">
            <path value="TestScript.version"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
          </element>
          <element id="TestScript.experimental">
            <path value="TestScript.experimental"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="boolean"/>
            </type>
          </element>
          <element id="TestScript.publisher">
            <path value="TestScript.publisher"/>
            <alias value="steward"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
          </element>
          <element id="TestScript.description">
            <path value="TestScript.description"/>
            <alias value="scope"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="markdown"/>
            </type>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/lipidprofile"/>
    <resource>
      <StructureDefinition>
        <id value="lipidprofile"/>
        <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="This is a test summary [lipids](observation.html)"/>
        </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="oo"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <extension url="http://hl7.org/fhir/tools/StructureDefinition/profile-summary">
          <valueString value="This is a test summary [lipids](observation.html)"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/lipidprofile"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1392"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExampleLipidProfile"/>
        <title value="Example  Lipid  Profile"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2012-05-12"/>
        <publisher value="Grahame Grieve"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="grahame@healthintersections.com.au"/>
          </telecom>
        </contact>
        <description value="Lipid Lab Report"/>
        <fhirVersion value="5.0.0"/>
        <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="DiagnosticReport"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="DiagnosticReport">
            <path value="DiagnosticReport"/>
            <short value="Lipid Lab Report"/>
            <definition value="The findings and interpretation of a general lipid lab profile."/>
            <comment value="In this profile, mustSupport means that authoring systems must include the ability to report these elements, and processing systems must cater for them by either displaying them to the user or considering them appropriately in decision support systems."/>
            <alias value="Report"/>
            <alias value="Test"/>
            <alias value="Result"/>
            <alias value="Results"/>
            <alias value="Labs"/>
            <alias value="Laboratory"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="dgr-1"/>
              <severity value="error"/>
              <human value="When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember`"/>
              <expression value="composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
            </constraint>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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,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="ORU -&gt; OBR"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.id">
            <path value="DiagnosticReport.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="DiagnosticReport.meta">
            <path value="DiagnosticReport.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="DiagnosticReport.implicitRules">
            <path value="DiagnosticReport.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="DiagnosticReport.language">
            <path value="DiagnosticReport.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="DiagnosticReport.text">
            <path value="DiagnosticReport.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="DiagnosticReport.contained">
            <path value="DiagnosticReport.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."/>
            <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="DiagnosticReport.extension">
            <path value="DiagnosticReport.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.modifierExtension">
            <path value="DiagnosticReport.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>
            <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="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="DiagnosticReport.identifier">
            <path value="DiagnosticReport.identifier"/>
            <short value="Business identifier for report"/>
            <definition value="Identifiers assigned to this report by the performer or other systems."/>
            <comment value="Usually assigned by the Information System of the diagnostic service provider (filler id)."/>
            <requirements value="Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context."/>
            <alias value="ReportID"/>
            <alias value="Filler ID"/>
            <alias value="Placer ID"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.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="OBR-51/ for globally unique filler ID  - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id -  OBR-2(if present)+OBR-3+OBR-4"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="id"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.basedOn">
            <path value="DiagnosticReport.basedOn"/>
            <short value="What was requested"/>
            <definition value="Details concerning a service requested."/>
            <comment value="Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports."/>
            <requirements value="This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon."/>
            <alias value="Request"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.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/ImmunizationRecommendation"/>
              <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="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.basedOn"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="ORC? OBR-2/3?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=FLFS].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.status">
            <path value="DiagnosticReport.status"/>
            <short value="registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown"/>
            <definition value="The status of the diagnostic report."/>
            <requirements value="Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.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 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="DiagnosticReportStatus"/>
              </extension>
              <strength value="required"/>
              <description value="The status of the diagnostic report."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0"/>
            </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="OBR-25 (not 1:1 mapping)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="statusCode  Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type &quot;revise&quot;"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.category">
            <path value="DiagnosticReport.category"/>
            <short value="Service category"/>
            <definition value="A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes."/>
            <comment value="Multiple categories are allowed using various categorization schemes.   The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code."/>
            <alias value="Department"/>
            <alias value="Sub-department"/>
            <alias value="Service"/>
            <alias value="Discipline"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.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/tools/StructureDefinition/binding-definition">
                <valueString value="Codes for diagnostic service sections."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DiagnosticServiceSection"/>
              </extension>
              <strength value="example"/>
              <description value="HL7 V2 table 0074"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/diagnostic-service-sections"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-24"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code &lt; LabService].code"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.code">
            <path value="DiagnosticReport.code"/>
            <short value="LOINC Code for Lipid Panel with LDL"/>
            <definition value="LOINC Code for Lipid Panel with LDL."/>
            <comment value="LOINC code includes &quot;direct&quot; LDL - does this mean LDL derived by measuring VLDL by ultracentrifugation? This panel includes both measured and calculated LDL."/>
            <alias value="Type"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="57698-3"/>
                <display value="Lipid panel with direct LDL - Serum or Plasma"/>
              </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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes that describe Diagnostic Reports."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DiagnosticReportCodes"/>
              </extension>
              <strength value="preferred"/>
              <description value="LOINC Codes for Diagnostic Reports"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/report-codes"/>
            </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="OBR-4 (HL7 V2 doesn't provide an easy way to indicate both the ordered test and the performed panel)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.subject">
            <path value="DiagnosticReport.subject"/>
            <short value="The subject of the report - usually, but not always, the patient"/>
            <definition value="The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources."/>
            <requirements value="SHALL know the subject context."/>
            <alias value="Patient"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.subject"/>
              <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/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="PID-3 (no HL7 V2 mapping for Group or Device)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.encounter">
            <path value="DiagnosticReport.encounter"/>
            <short value="Health care event when test ordered"/>
            <definition value="The healthcare event  (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about."/>
            <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="Links the request to the Encounter context."/>
            <alias value="Context"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.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-19"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.effective[x]">
            <path value="DiagnosticReport.effective[x]"/>
            <short value="Clinically relevant time/time-period for report"/>
            <definition value="The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself."/>
            <comment value="If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic."/>
            <requirements value="Need to know where in the patient history to file/present this report."/>
            <alias value="Observation time"/>
            <alias value="Effective Time"/>
            <alias value="Occurrence"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <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="workflow"/>
              <map value="Event.occurrence[x]"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.done[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBR-7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="effectiveTime"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.issued">
            <path value="DiagnosticReport.issued"/>
            <short value="DateTime this version was made"/>
            <definition value="The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified."/>
            <comment value="May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report."/>
            <requirements value="Clinicians need to be able to check the date that the report was released."/>
            <alias value="Date published"/>
            <alias value="Date Issued"/>
            <alias value="Date Verified"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.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"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=VRF or AUT].time"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.performer">
            <path value="DiagnosticReport.performer"/>
            <short value="Responsible Diagnostic Service"/>
            <definition value="The diagnostic service that is responsible for issuing the report."/>
            <comment value="This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report."/>
            <requirements value="Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis."/>
            <alias value="Laboratory"/>
            <alias value="Service"/>
            <alias value="Practitioner"/>
            <alias value="Department"/>
            <alias value="Company"/>
            <alias value="Authorized by"/>
            <alias value="Director"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PRT-8 (where this PRT-4-Participation = &quot;PO&quot;)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.resultsInterpreter">
            <path value="DiagnosticReport.resultsInterpreter"/>
            <short value="Primary result interpreter"/>
            <definition value="The practitioner or organization that is responsible for the report's conclusions and interpretations."/>
            <comment value="Might not be the same entity that takes responsibility for the clinical report."/>
            <requirements value="Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis."/>
            <alias value="Analyzed by"/>
            <alias value="Reported by"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.resultsInterpreter"/>
              <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="OBR-32, PRT-8 (where this PRT-4-Participation = &quot;PI&quot;)"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=PRF]"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.specimen">
            <path value="DiagnosticReport.specimen"/>
            <short value="Specimens this report is based on"/>
            <definition value="Details about the specimens on which this diagnostic report is based."/>
            <comment value="If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group."/>
            <requirements value="Need to be able to report information about the collected specimens on which the report is based."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.specimen"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Specimen"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SPM"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.result">
            <path value="DiagnosticReport.result"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="resolve().code"/>
              </discriminator>
              <ordered value="true"/>
              <rules value="closed"/>
            </slicing>
            <short value="Observations"/>
            <definition value="[Observations](observation.html)  that are part of this diagnostic report."/>
            <comment value="Observations can contain observations."/>
            <requirements value="Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful."/>
            <alias value="Data"/>
            <alias value="Atomic Value"/>
            <alias value="Result"/>
            <alias value="Atomic result"/>
            <alias value="Data"/>
            <alias value="Test"/>
            <alias value="Analyte"/>
            <alias value="Battery"/>
            <alias value="Organizer"/>
            <min value="3"/>
            <max value="4"/>
            <base>
              <path value="DiagnosticReport.result"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </type>
            <condition value="dgr-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="v2"/>
              <map value="OBXs"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.result:Cholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="Cholesterol"/>
            <short value="Cholesterol Result"/>
            <definition value="Reference to Cholesterol Result."/>
            <comment value="Observations can contain observations."/>
            <requirements value="Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful."/>
            <alias value="Data"/>
            <alias value="Atomic Value"/>
            <alias value="Result"/>
            <alias value="Atomic result"/>
            <alias value="Data"/>
            <alias value="Test"/>
            <alias value="Analyte"/>
            <alias value="Battery"/>
            <alias value="Organizer"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.result"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/cholesterol"/>
            </type>
            <condition value="dgr-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="v2"/>
              <map value="OBXs"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.result:Triglyceride">
            <path value="DiagnosticReport.result"/>
            <sliceName value="Triglyceride"/>
            <short value="Triglyceride Result"/>
            <definition value="Group of elements for Triglyceride result."/>
            <comment value="Observations can contain observations."/>
            <requirements value="Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful."/>
            <alias value="Data"/>
            <alias value="Atomic Value"/>
            <alias value="Result"/>
            <alias value="Atomic result"/>
            <alias value="Data"/>
            <alias value="Test"/>
            <alias value="Analyte"/>
            <alias value="Battery"/>
            <alias value="Organizer"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.result"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/triglyceride"/>
            </type>
            <condition value="dgr-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="v2"/>
              <map value="OBXs"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.result:HDLCholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="HDLCholesterol"/>
            <short value="HDL Cholesterol Result"/>
            <definition value="Group of elements for HDL Cholesterol result."/>
            <comment value="Observations can contain observations."/>
            <requirements value="Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful."/>
            <alias value="Data"/>
            <alias value="Atomic Value"/>
            <alias value="Result"/>
            <alias value="Atomic result"/>
            <alias value="Data"/>
            <alias value="Test"/>
            <alias value="Analyte"/>
            <alias value="Battery"/>
            <alias value="Organizer"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.result"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/hdlcholesterol"/>
            </type>
            <condition value="dgr-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="v2"/>
              <map value="OBXs"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.result:LDLCholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="LDLCholesterol"/>
            <short value="LDL Cholesterol result, if reported"/>
            <definition value="LDL Cholesterol result, if reported."/>
            <comment value="Observations can contain observations."/>
            <requirements value="Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful."/>
            <alias value="Data"/>
            <alias value="Atomic Value"/>
            <alias value="Result"/>
            <alias value="Atomic result"/>
            <alias value="Data"/>
            <alias value="Test"/>
            <alias value="Analyte"/>
            <alias value="Battery"/>
            <alias value="Organizer"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.result"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ldlcholesterol"/>
            </type>
            <condition value="dgr-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="v2"/>
              <map value="OBXs"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.note">
            <path value="DiagnosticReport.note"/>
            <short value="Comments about the diagnostic report"/>
            <definition value="Comments about the diagnostic report."/>
            <comment value="May include general statements about the diagnostic report, or statements about significant, unexpected or unreliable results values contained within the diagnostic report, 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="DiagnosticReport.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="unknown"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.study">
            <path value="DiagnosticReport.study"/>
            <short value="Reference to full details of an analysis associated with the diagnostic report"/>
            <definition value="One or more links to full details of any study performed during the diagnostic investigation. An ImagingStudy might comprise a set of radiologic images obtained via a procedure that are analyzed as a group. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. A GenomicStudy might comprise one or more analyses, each serving a specific purpose. These analyses may vary in method (e.g., karyotyping, CNV, or SNV detection), performer, software, devices used, or regions targeted."/>
            <comment value="For laboratory-type studies like GenomeStudy, type resources will be used for tracking additional metadata and workflow aspects of complex studies. ImagingStudy and the media element are somewhat overlapping - typically, the list of image references in the media element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.study"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
              <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="false"/>
          </element>
          <element id="DiagnosticReport.supportingInfo">
            <path value="DiagnosticReport.supportingInfo"/>
            <short value="Additional information supporting the diagnostic report"/>
            <definition value="This backbone element contains supporting information that was used in the creation of the report not included in the results already included in the report."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.supportingInfo"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="DiagnosticReport.supportingInfo.id">
            <path value="DiagnosticReport.supportingInfo.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="DiagnosticReport.supportingInfo.extension">
            <path value="DiagnosticReport.supportingInfo.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.supportingInfo.modifierExtension">
            <path value="DiagnosticReport.supportingInfo.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>
            <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>
            <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="DiagnosticReport.supportingInfo.type">
            <path value="DiagnosticReport.supportingInfo.type"/>
            <short value="Supporting information role code"/>
            <definition value="The code value for the role of the supporting information in the diagnostic report."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.supportingInfo.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/tools/StructureDefinition/binding-definition">
                <valueString value="Supporting information role code"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DiagnosticReportSupportingInfoType"/>
              </extension>
              <strength value="example"/>
              <description value="The code value for the role of the supporting information in the diagnostic report."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/v2-0936"/>
            </binding>
          </element>
          <element id="DiagnosticReport.supportingInfo.reference">
            <path value="DiagnosticReport.supportingInfo.reference"/>
            <short value="Supporting information reference"/>
            <definition value="The reference for the supporting information in the diagnostic report."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.supportingInfo.reference"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Citation"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="DiagnosticReport.media">
            <path value="DiagnosticReport.media"/>
            <short value="Key images or data associated with this report"/>
            <definition value="A list of key images or data associated with this report. The images or data are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)."/>
            <requirements value="Many diagnostic services include images or data in the report as part of their service."/>
            <alias value="DICOM"/>
            <alias value="Slides"/>
            <alias value="Scans"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.media"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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?"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="outboundRelationship[typeCode=COMP].target"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.media.id">
            <path value="DiagnosticReport.media.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="DiagnosticReport.media.extension">
            <path value="DiagnosticReport.media.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.media.modifierExtension">
            <path value="DiagnosticReport.media.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>
            <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>
            <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="DiagnosticReport.media.comment">
            <path value="DiagnosticReport.media.comment"/>
            <short value="Comment about the image or data (e.g. explanation)"/>
            <definition value="A comment about the image or data. Typically, this is used to provide an explanation for why the image or data is included, or to draw the viewer's attention to important features."/>
            <comment value="The comment should be displayed with the image or data. It would be common for the report to include additional discussion of the image or data contents or in other sections such as the conclusion."/>
            <requirements value="The provider of the report should make a comment about each image or data included in the report."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.media.comment"/>
              <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=".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=&quot;annotation&quot;].value"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.media.link">
            <path value="DiagnosticReport.media.link"/>
            <short value="Reference to the image or data source"/>
            <definition value="Reference to the image or data source."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.media.link"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <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"/>
            <mapping>
              <identity value="rim"/>
              <map value=".value.reference"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.composition">
            <path value="DiagnosticReport.composition"/>
            <short value="Reference to a Composition resource for the DiagnosticReport structure"/>
            <definition value="Reference to a Composition resource instance that provides structure for organizing the contents of the DiagnosticReport."/>
            <comment value="The Composition provides structure to the content of the DiagnosticReport (and only contains contents referenced in the DiagnosticReport) - e.g., to order the sections of an anatomic pathology structured report."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.composition"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Composition"/>
            </type>
            <condition value="dgr-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=".value.reference"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.conclusion">
            <path value="DiagnosticReport.conclusion"/>
            <short value="Clinical Interpretation of Lipid Panel"/>
            <definition value="May include diagnosis or suggestions for follow up testing."/>
            <comment value="It's not unusual for the lab to make some kind of interpretative comment on the set of results."/>
            <requirements value="Need to be able to provide a conclusion that is not lost among the basic result data."/>
            <alias value="Report"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="DiagnosticReport.conclusion"/>
              <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="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=&quot;SPRT&quot;].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.conclusionCode">
            <path value="DiagnosticReport.conclusionCode"/>
            <short value="No codes for a lipid panel"/>
            <definition value="No codes for a lipid panel."/>
            <comment value="Not used in this context."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="DiagnosticReport.conclusionCode"/>
              <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/tools/StructureDefinition/binding-definition">
                <valueString value="Diagnosis codes provided as adjuncts to the report."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AdjunctDiagnosis"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Clinical Findings"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)"/>
            </mapping>
          </element>
          <element id="DiagnosticReport.presentedForm">
            <path value="DiagnosticReport.presentedForm"/>
            <short value="Entire report as issued"/>
            <definition value="Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent."/>
            <comment value="&quot;application/pdf&quot; is recommended as the most reliable and interoperable in this context."/>
            <requirements value="Gives laboratory the ability to provide its own fully formatted report for clinical fidelity."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="DiagnosticReport.presentedForm"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="text (type=ED)"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="DiagnosticReport">
            <path value="DiagnosticReport"/>
            <short value="Lipid Lab Report"/>
            <definition value="The findings and interpretation of a general lipid lab profile."/>
            <comment value="In this profile, mustSupport means that authoring systems must include the ability to report these elements, and processing systems must cater for them by either displaying them to the user or considering them appropriately in decision support systems."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="DiagnosticReport.code">
            <path value="DiagnosticReport.code"/>
            <short value="LOINC Code for Lipid Panel with LDL"/>
            <definition value="LOINC Code for Lipid Panel with LDL."/>
            <comment value="LOINC code includes &quot;direct&quot; LDL - does this mean LDL derived by measuring VLDL by ultracentrifugation? This panel includes both measured and calculated LDL."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="57698-3"/>
                <display value="Lipid panel with direct LDL - Serum or Plasma"/>
              </coding>
            </patternCodeableConcept>
          </element>
          <element id="DiagnosticReport.result">
            <path value="DiagnosticReport.result"/>
            <slicing>
              <discriminator>
                <type value="value"/>
                <path value="resolve().code"/>
              </discriminator>
              <ordered value="true"/>
              <rules value="closed"/>
            </slicing>
            <min value="3"/>
            <max value="4"/>
          </element>
          <element id="DiagnosticReport.result:Cholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="Cholesterol"/>
            <short value="Cholesterol Result"/>
            <definition value="Reference to Cholesterol Result."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/cholesterol"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="DiagnosticReport.result:Triglyceride">
            <path value="DiagnosticReport.result"/>
            <sliceName value="Triglyceride"/>
            <short value="Triglyceride Result"/>
            <definition value="Group of elements for Triglyceride result."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/triglyceride"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="DiagnosticReport.result:HDLCholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="HDLCholesterol"/>
            <short value="HDL Cholesterol Result"/>
            <definition value="Group of elements for HDL Cholesterol result."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/hdlcholesterol"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="DiagnosticReport.result:LDLCholesterol">
            <path value="DiagnosticReport.result"/>
            <sliceName value="LDLCholesterol"/>
            <short value="LDL Cholesterol result, if reported"/>
            <definition value="LDL Cholesterol result, if reported."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ldlcholesterol"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="DiagnosticReport.conclusion">
            <path value="DiagnosticReport.conclusion"/>
            <short value="Clinical Interpretation of Lipid Panel"/>
            <definition value="May include diagnosis or suggestions for follow up testing."/>
            <comment value="It's not unusual for the lab to make some kind of interpretative comment on the set of results."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="markdown"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="DiagnosticReport.conclusionCode">
            <path value="DiagnosticReport.conclusionCode"/>
            <short value="No codes for a lipid panel"/>
            <definition value="No codes for a lipid panel."/>
            <comment value="Not used in this context."/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/cholesterol"/>
    <resource>
      <StructureDefinition>
        <id value="cholesterol"/>
        <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="1"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/cholesterol"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1397"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExampleLipidProfile"/>
        <title value="Example  Lipid  Profile"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2012-05-12"/>
        <publisher value="Grahame Grieve"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="grahame@healthintersections.com.au"/>
          </telecom>
        </contact>
        <description value="Describes how the lab report is used for a standard Lipid Profile - Cholesterol, Triglyceride and Cholesterol fractions. Uses LOINC codes"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="Measurements and simple assertions"/>
            <definition value="Measurements and simple assertions made about a patient, device or other subject."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="1"/>
            <max value="1"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="false"/>
            <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|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <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="0"/>
            <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="false"/>
            <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="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>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Cholesterol"/>
            <definition value="Cholesterol."/>
            <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."/>
            <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>
            <fixedCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="35200-5"/>
                <display value="Cholesterol [Moles/​volume] in Serum or Plasma"/>
              </coding>
            </fixedCodeableConcept>
            <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="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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="0"/>
            <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionProduct"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <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="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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Actual result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Cholesterol value"/>
            <definition value="Cholesterol value. If a result is not available, use the comments field."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity.id">
            <path value="Observation.value[x].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="id"/>
              </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.value[x]:valueQuantity.extension">
            <path value="Observation.value[x].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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.value">
            <path value="Observation.value[x].value"/>
            <short value="Actual numerical value"/>
            <definition value="Actual numerical value."/>
            <comment value="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
            <requirements value="Precision is handled implicitly in almost all cases of measurement."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Quantity.value"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="SN.2  / CQ - N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.comparator">
            <path value="Observation.value[x].comparator"/>
            <short value="&lt; | &lt;= | &gt;= | &gt; | ad - how to understand the value"/>
            <definition value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value."/>
            <comment value="No need for this on cholesterol."/>
            <requirements value="Need a framework for handling measures where the value is &lt;5ug/L or &gt;400mg/L due to the limitations of measuring methodology."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Quantity.comparator"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If there is no comparator, then there is no modification of the value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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 the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How the Quantity should be understood and represented."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="QuantityComparator"/>
              </extension>
              <strength value="required"/>
              <description value="How the Quantity should be understood and represented."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/quantity-comparator|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="SN.1  / CQ.1"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="IVL properties"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.unit">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].unit"/>
            <short value="Unit representation"/>
            <definition value="A human-readable form of the unit."/>
            <requirements value="There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.unit"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <fixedString value="mmol/L"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.unit"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.system">
            <path value="Observation.value[x].system"/>
            <short value="System that defines coded unit form"/>
            <definition value="The identification of the system that provides the coded form of the unit."/>
            <requirements value="Need to know the system that defines the coded form of the unit."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.system"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="CO.codeSystem, PQ.translation.codeSystem"/>
            </mapping>
          </element>
          <element id="Observation.value[x]:valueQuantity.code">
            <extension url="http://hl7.org/fhir/tools/StructureDefinition/no-binding">
              <valueBoolean value="true"/>
            </extension>
            <path value="Observation.value[x].code"/>
            <short value="Coded form of the unit"/>
            <definition value="A computer processable form of the unit in some unit representation system."/>
            <comment value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
            <requirements value="Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Quantity.code"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mmol/L"/>
            <condition value="qty-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="v2"/>
              <map value="(see OBX.6 etc.) / CQ.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="PQ.code, MO.currency, PQ.translation.code"/>
            </mapping>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <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="1"/>
            <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="true"/>
            <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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="May include statements about significant, unexpected or unreliable. values, or information about the source of the value where this may be relevant to the interpretation of the result."/>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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="1"/>
            <max value="1"/>
            <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"/>
              <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="true"/>
            <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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="0"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="A fixed quantity (no comparator)"/>
            <definition value="&lt;4.5 mmol/L."/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="4.5"/>
            </fixedQuantity>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="qty-3"/>
              <severity value="error"/>
              <human value="If a code for the unit is present, the system SHALL also be present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
            </constraint>
            <constraint>
              <key value="sqty-1"/>
              <severity value="error"/>
              <human value="The comparator is not used on a SimpleQuantity"/>
              <expression value="comparator.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a,PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SN (see also Range) or CQ"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="Related resource that belongs to the Observation group"/>
            <definition value="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group."/>
            <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="0"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="0"/>
            <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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingSelection"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Actual component result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Cholesterol"/>
            <definition value="Cholesterol."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <fixedCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="35200-5"/>
                <display value="Cholesterol [Moles/​volume] in Serum or Plasma"/>
              </coding>
            </fixedCodeableConcept>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <short value="Cholesterol value"/>
            <definition value="Cholesterol value. If a result is not available, use the comments field."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.value">
            <path value="Observation.valueQuantity.value"/>
            <short value="Actual numerical value"/>
            <definition value="Actual numerical value."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="decimal"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.comparator">
            <path value="Observation.valueQuantity.comparator"/>
            <comment value="No need for this on cholesterol."/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="code"/>
            </type>
          </element>
          <element id="Observation.valueQuantity.unit">
            <path value="Observation.valueQuantity.unit"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <fixedString value="mmol/L"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.system">
            <path value="Observation.valueQuantity.system"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="uri"/>
            </type>
            <fixedUri value="http://unitsofmeasure.org"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity.code">
            <path value="Observation.valueQuantity.code"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="code"/>
            </type>
            <fixedCode value="mmol/L"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="May include statements about significant, unexpected or unreliable. values, or information about the source of the value where this may be relevant to the interpretation of the result."/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Annotation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <definition value="&lt;4.5 mmol/L."/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="4.5"/>
            </fixedQuantity>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Range"/>
            </type>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/triglyceride"/>
    <resource>
      <StructureDefinition>
        <id value="triglyceride"/>
        <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="1"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/triglyceride"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1398"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExampleLipidProfile"/>
        <title value="Example  Lipid  Profile"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2012-05-12"/>
        <publisher value="Grahame Grieve"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="grahame@healthintersections.com.au"/>
          </telecom>
        </contact>
        <description value="Triglyceride Result"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="Triglyceride Result"/>
            <definition value="Group of elements for Triglyceride result."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="1"/>
            <max value="1"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="false"/>
            <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|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <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="0"/>
            <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="false"/>
            <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="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>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Triglyceride"/>
            <definition value="Triglyceride."/>
            <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."/>
            <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="35217-9"/>
                <display value="Triglyceride [Moles/​volume] in Serum or Plasma"/>
              </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="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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="0"/>
            <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionProduct"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <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="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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Actual result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="Triglyceride value"/>
            <definition value="Triglyceride value. If a result is not available, use the comments field."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <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="1"/>
            <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="true"/>
            <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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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="1"/>
            <max value="1"/>
            <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"/>
              <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="true"/>
            <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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="0"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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: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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is &gt;= 2.3)."/>
            <comment value="Per Australian NHF Recommendations."/>
            <requirements value="&lt;2.0 mmol/L."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="Related resource that belongs to the Observation group"/>
            <definition value="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group."/>
            <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="0"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="0"/>
            <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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingSelection"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Actual component result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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="Triglyceride Result"/>
            <definition value="Group of elements for Triglyceride result."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="Triglyceride"/>
            <definition value="Triglyceride."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <patternCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="35217-9"/>
                <display value="Triglyceride [Moles/​volume] in Serum or Plasma"/>
              </coding>
            </patternCodeableConcept>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <short value="Triglyceride value"/>
            <definition value="Triglyceride value. If a result is not available, use the comments field."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Annotation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <comment value="Per Australian NHF Recommendations."/>
            <requirements value="&lt;2.0 mmol/L."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Range"/>
            </type>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/hdlcholesterol"/>
    <resource>
      <StructureDefinition>
        <id value="hdlcholesterol"/>
        <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="1"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/hdlcholesterol"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1396"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExampleLipidProfile"/>
        <title value="Example  Lipid  Profile"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2012-05-12"/>
        <publisher value="Grahame Grieve"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="grahame@healthintersections.com.au"/>
          </telecom>
        </contact>
        <description value="HDL Cholesterol Result"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="HDL Cholesterol Result"/>
            <definition value="Group of elements for HDL Cholesterol result."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="1"/>
            <max value="1"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="false"/>
            <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|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <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="0"/>
            <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="false"/>
            <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="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>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="HDL Cholesterol"/>
            <definition value="HDL Cholesterol."/>
            <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."/>
            <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>
            <fixedCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="2085-9"/>
                <display value="HDL Cholesterol"/>
              </coding>
            </fixedCodeableConcept>
            <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="ObservationCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes identifying names of simple observations."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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="0"/>
            <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionProduct"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <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="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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Actual result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="HDL Cholesterol value"/>
            <definition value="HDL Cholesterol value. If a result is not available, use the comments field."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <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="1"/>
            <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="true"/>
            <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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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="1"/>
            <max value="1"/>
            <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"/>
              <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="true"/>
            <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>
            <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>
            <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>
            <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>
            <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="A fixed quantity (no comparator)"/>
            <definition value="&gt;1.5 mmol/L."/>
            <comment value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="1.5"/>
            </fixedQuantity>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="qty-3"/>
              <severity value="error"/>
              <human value="If a code for the unit is present, the system SHALL also be present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
            </constraint>
            <constraint>
              <key value="sqty-1"/>
              <severity value="error"/>
              <human value="The comparator is not used on a SimpleQuantity"/>
              <expression value="comparator.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a,PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SN (see also Range) or CQ"/>
            </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.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is &gt;= 2.3)."/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.high"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="Related resource that belongs to the Observation group"/>
            <definition value="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group."/>
            <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="0"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="0"/>
            <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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingSelection"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Actual component result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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="HDL Cholesterol Result"/>
            <definition value="Group of elements for HDL Cholesterol result."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="HDL Cholesterol"/>
            <definition value="HDL Cholesterol."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <fixedCodeableConcept>
              <coding>
                <system value="http://loinc.org"/>
                <code value="2085-9"/>
                <display value="HDL Cholesterol"/>
              </coding>
            </fixedCodeableConcept>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <short value="HDL Cholesterol value"/>
            <definition value="HDL Cholesterol value. If a result is not available, use the comments field."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Annotation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <definition value="&gt;1.5 mmol/L."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="1.5"/>
            </fixedQuantity>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Range"/>
            </type>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/ldlcholesterol"/>
    <resource>
      <StructureDefinition>
        <id value="ldlcholesterol"/>
        <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="1"/>
        </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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/ldlcholesterol"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1400"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ExampleLipidProfile"/>
        <title value="Example  Lipid  Profile"/>
        <status value="draft"/>
        <experimental value="true"/>
        <date value="2012-05-12"/>
        <publisher value="Grahame Grieve"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="grahame@healthintersections.com.au"/>
          </telecom>
        </contact>
        <description value="LDL Cholesterol Result"/>
        <fhirVersion value="5.0.0"/>
        <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>
          <element id="Observation">
            <path value="Observation"/>
            <short value="LDL Cholesterol Result"/>
            <definition value="Group of elements for LDL Cholesterol result."/>
            <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 Signs"/>
            <alias value="Measurement"/>
            <alias value="Results"/>
            <alias value="Tests"/>
            <min value="1"/>
            <max value="1"/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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="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-8"/>
              <severity value="error"/>
              <human value="bodyStructure SHALL only be present if Observation.bodySite is not present"/>
              <expression value="bodySite.exists() implies bodyStructure.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </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="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX"/>
            </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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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>
            <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"/>
            <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>
            <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="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.instantiates[x]">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Observation.instantiates[x]"/>
            <short value="Instantiates FHIR ObservationDefinition"/>
            <definition value="The reference to a FHIR ObservationDefinition resource that provides the definition that is adhered to in whole or in part by this Observation instance."/>
            <comment value="ObservationDefinition can be referenced by its canonical url using instantiatesCanonical, or by a name or an identifier using the appropriate sub-elements of instantiatesReference."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.instantiates[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.instantiatesCanonical"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=DEFN].target"/>
            </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/ImmunizationRecommendation"/>
              <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 | preliminary | final | amended +"/>
            <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="false"/>
            <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|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.status"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 445584004 |Report by finality status|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-11"/>
            </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>
          </element>
          <element id="Observation.category">
            <path value="Observation.category"/>
            <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="0"/>
            <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="false"/>
            <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="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>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="LDL Cholesterol -measured or calculated per code"/>
            <definition value="LDL Cholesterol -measured or calculated per code."/>
            <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."/>
            <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/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LDLCodes"/>
              </extension>
              <strength value="required"/>
              <description value="LDL Cholesterol codes - measured or calculated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/lipid-ldl-codes"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.code"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="116680003 |Is a|"/>
            </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="0"/>
            <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"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Procedure"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Medication"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionProduct"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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[x]"/>
            </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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 patient 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."/>
            <comment value="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [http://hl7.org/fhir/StructureDefinition/observation-focusCode](http://hl7.org/fhir/extensions/StructureDefinition-observation-focusCode.html)."/>
            <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="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SBJ]"/>
            </mapping>
          </element>
          <element id="Observation.encounter">
            <path value="Observation.encounter"/>
            <short value="Healthcare event during which this observation is made"/>
            <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="Clinically relevant time/time-period for observation"/>
            <definition value="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself."/>
            <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="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.effective[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <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="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, and/or OBX-19 after v2.4  (depends on who observation made)"/>
            </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;."/>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'"/>
            </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="open"/>
            </slicing>
            <short value="Actual result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.value[x]:valueQuantity">
            <path value="Observation.value[x]"/>
            <sliceName value="valueQuantity"/>
            <short value="LDL Cholesterol value"/>
            <definition value="LDL Cholesterol value. If a result is not available, use the comments field."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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.value[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="obs-7"/>
            <condition value="obs-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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.dataAbsentReason">
            <path value="Observation.dataAbsentReason"/>
            <short value="Why the result 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. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when &gt; 0.  Because of these options, use-case agreements are required to interpret general observations for null or 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.dataAbsentReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ObservationValueAbsentReason"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <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="1"/>
            <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="true"/>
            <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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <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="Observed body part"/>
            <definition value="Indicates the site 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."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Observation.bodySite"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <condition value="obs-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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Codes describing anatomical locations. May include laterality."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BodySite"/>
              </extension>
              <strength value="example"/>
              <description value="SNOMED CT Body site concepts"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/body-site"/>
            </binding>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 123037004 |Body structure|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.bodyStructure">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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 or bodySite is used. 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.bodyStructure"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/BodyStructure"/>
            </type>
            <condition value="obs-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="false"/>
            <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 only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
            <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="sct-concept"/>
              <map value="&lt; 123038009 |Specimen|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SPM segment"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=SPC].specimen"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="704319004 |Inherent in|"/>
            </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="sct-concept"/>
              <map value="&lt; 49062001 |Device|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-17 / PRT -10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="participation[typeCode=DEV]"/>
            </mapping>
            <mapping>
              <identity value="sct-attr"/>
              <map value="424226004 |Using device|"/>
            </mapping>
          </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="1"/>
            <max value="1"/>
            <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"/>
              <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="true"/>
            <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>
            <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>
            <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>
            <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>
            <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.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is &gt;=5 - &lt;=9). 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="0"/>
            <base>
              <path value="Observation.referenceRange.low"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </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:IVL_PQ.low"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <short value="A fixed quantity (no comparator)"/>
            <definition value="&lt;3.0 mmol/L."/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="Observation.referenceRange.high"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="3.0"/>
            </fixedQuantity>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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="qty-3"/>
              <severity value="error"/>
              <human value="If a code for the unit is present, the system SHALL also be present"/>
              <expression value="code.empty() or system.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Quantity"/>
            </constraint>
            <constraint>
              <key value="sqty-1"/>
              <severity value="error"/>
              <human value="The comparator is not used on a SimpleQuantity"/>
              <expression value="comparator.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Observation"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a,PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="SN (see also Range) or CQ"/>
            </mapping>
          </element>
          <element id="Observation.referenceRange.normalValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <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="extensible"/>
              <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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="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>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="interpretationCode"/>
            </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="0"/>
            <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="Related resource that belongs to the Observation group"/>
            <definition value="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group."/>
            <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="0"/>
            <base>
              <path value="Observation.hasMember"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="0"/>
            <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/ImagingStudy"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingSelection"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/GenomicStudy"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation."/>
            <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"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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="Type of component observation (code / type)"/>
            <definition value="Describes what was observed. Sometimes this is called the observation &quot;code&quot;."/>
            <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"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.what[x]"/>
            </mapping>
            <mapping>
              <identity value="sct-concept"/>
              <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OBX-3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="code"/>
            </mapping>
          </element>
          <element id="Observation.component.value[x]">
            <path value="Observation.component.value[x]"/>
            <short value="Actual component result"/>
            <definition value="The information determined as a result of making the observation, if the information has a simple value."/>
            <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;- The usage of valueReference is restricted to the MolecularSequence resource when used as a definitional resource, not as a patient-specific finding. .&#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>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="sct-concept"/>
              <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.dataAbsentReason">
            <path value="Observation.component.dataAbsentReason"/>
            <short value="Why the component result 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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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="sct-concept"/>
              <map value="&lt; 260245000 |Findings values|"/>
            </mapping>
            <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>
          </element>
          <element id="Observation.component.referenceRange">
            <path value="Observation.component.referenceRange"/>
            <short value="Provides guide for interpretation of component result"/>
            <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="LDL Cholesterol Result"/>
            <definition value="Group of elements for LDL Cholesterol result."/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="Observation.code">
            <path value="Observation.code"/>
            <short value="LDL Cholesterol -measured or calculated per code"/>
            <definition value="LDL Cholesterol -measured or calculated per code."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="LDLCodes"/>
              </extension>
              <strength value="required"/>
              <description value="LDL Cholesterol codes - measured or calculated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/lipid-ldl-codes"/>
            </binding>
          </element>
          <element id="Observation.valueQuantity">
            <path value="Observation.valueQuantity"/>
            <short value="LDL Cholesterol value"/>
            <definition value="LDL Cholesterol value. If a result is not available, use the comments field."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.interpretation">
            <path value="Observation.interpretation"/>
            <short value="+ | ++ | +++ | - | -- | ---"/>
            <definition value="+ | ++ | +++ | - | -- | ---."/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.note">
            <path value="Observation.note"/>
            <short value="Comments about result"/>
            <definition value="Comments about result."/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Annotation"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange">
            <path value="Observation.referenceRange"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="Observation.referenceRange.low">
            <path value="Observation.referenceRange.low"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.referenceRange.high">
            <path value="Observation.referenceRange.high"/>
            <definition value="&lt;3.0 mmol/L."/>
            <comment value="Per Australian NHF Recommendations."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Quantity"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity"/>
            </type>
            <fixedQuantity>
              <value value="3.0"/>
            </fixedQuantity>
          </element>
          <element id="Observation.referenceRange.type">
            <path value="Observation.referenceRange.type"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.appliesTo">
            <path value="Observation.referenceRange.appliesTo"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="CodeableConcept"/>
            </type>
          </element>
          <element id="Observation.referenceRange.age">
            <path value="Observation.referenceRange.age"/>
            <min value="0"/>
            <max value="0"/>
            <type>
              <code value="Range"/>
            </type>
          </element>
          <element id="Observation.hasMember">
            <path value="Observation.hasMember"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="Observation.derivedFrom">
            <path value="Observation.derivedFrom"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/clinicaldocument"/>
    <resource>
      <StructureDefinition>
        <id value="clinicaldocument"/>
        <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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/clinicaldocument"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1178"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ClinicalDocument"/>
        <title value="Clinical  Document"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2015-03-17"/>
        <publisher value="Health Level Seven, Inc. - Structured Documents WG"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://hl7.org/special/committees/structure"/>
          </telecom>
        </contact>
        <description value="The Clinical Document profile constrains Composition to specify a clinical document (matching CDA). &#xA;&#xA;The base Composition is a general resource for compositions or documents about any kind of subject that might be encountered in healthcare including such things as guidelines, medicines, etc. A clinical document is focused on documents related to the provision of care process, where the subject is a patient, a group of patients, or a closely related concept. A clinical document has additional requirements around confidentiality that do not apply in the same way to other kinds of documents."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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 package 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. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.)."/>
            <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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"/>
            <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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </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>
            <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="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 identifer of a variation of the content in the Composition"/>
            <definition value="An explicitly assigned identifer 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.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/clinical status of the composition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composition-status|5.0.0"/>
            </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="Kind of composition (LOINC if possible)"/>
            <definition value="Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition."/>
            <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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Categorization of Composition"/>
            <definition value="A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type."/>
            <requirements value="Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents."/>
            <min value="0"/>
            <max value="*"/>
            <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="DocumentCategory"/>
              </extension>
              <strength value="example"/>
              <description value="High-level kind of a clinical document at a macro level."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/referenced-item-category"/>
            </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="*"/>
            <base>
              <path value="Composition.subject"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Event.subject"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.subject[x]"/>
            </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="Composition editing time"/>
            <definition value="The composition editing time, when the composition was last logically changed by the author."/>
            <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."/>
            <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."/>
            <requirements value="Identifies who is responsible for the content."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Composition.author"/>
              <min value="1"/>
              <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/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.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="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.title"/>
              <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"/>
            <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.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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 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 resourceReference 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;resourceReference&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="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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 the typeCode, 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 the classCode, practiceSettingCode or typeCode, 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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Section"/>
            </extension>
            <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>
            <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 it is empty"/>
              <expression value="emptyReason.empty() or entry.empty()"/>
              <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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"/>
            <definition value="Identifies who is responsible for the information in this section, not necessarily who typed it in."/>
            <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/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.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://hl7.org/fhir/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"/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="Composition.subject">
            <path value="Composition.subject"/>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
            </type>
          </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="trial-use"/>
        </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="5.0.0"/>
        <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="5.0.0"/>
        <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>
          <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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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."/>
            <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="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>
            <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.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"/>
          </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>
            <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="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 identifer of a variation of the content in the Composition"/>
            <definition value="An explicitly assigned identifer 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.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/clinical status of the composition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/composition-status|5.0.0"/>
            </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/catalogType"/>
            </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[x]"/>
            </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:IssueDate">
            <path value="Composition.date"/>
            <sliceName value="IssueDate"/>
            <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."/>
            <requirements value="Identifies who is responsible for the content."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="Composition.author"/>
              <min value="1"/>
              <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/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.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="1"/>
            <max value="1"/>
            <base>
              <path value="Composition.title"/>
              <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"/>
            <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.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>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 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 resourceReference 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;resourceReference&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="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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.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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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 the typeCode, 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 the classCode, practiceSettingCode or typeCode, 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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="Section"/>
            </extension>
            <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>
            <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 it is empty"/>
              <expression value="emptyReason.empty() or entry.empty()"/>
              <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"/>
              <expression value="hasValue() 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>
            <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>
            <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>
            <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>
            <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"/>
            <definition value="Identifies who is responsible for the information in this section, not necessarily who typed it in."/>
            <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/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.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://hl7.org/fhir/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/catalogType"/>
            </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:IssueDate">
            <path value="Composition.date"/>
            <sliceName value="IssueDate"/>
            <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="trial-use"/>
        </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="5.0.0"/>
        <name value="HistoryBundle"/>
        <title value="History bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR history bundle."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/search-set-bundle"/>
        <version value="5.0.0"/>
        <name value="SearchSetBundle"/>
        <title value="Search Set Bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR search bundle."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/subscription-notification-bundle"/>
        <version value="5.0.0"/>
        <name value="SubscriptionNotificationBundle"/>
        <title value="Subscription Notification bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a Subscription Notification Bundle."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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="entry"/>
              </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.issues"/>
            <short value="Issues with the Bundle"/>
            <definition value="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="entry"/>
              </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>
        <url value="http://hl7.org/fhir/StructureDefinition/batch-bundle"/>
        <version value="5.0.0"/>
        <name value="BatchBundle"/>
        <title value="Batch bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR batch bundle."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/batch-response-bundle"/>
        <version value="5.0.0"/>
        <name value="BatchResponseBundle"/>
        <title value="Batch response bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR batch response."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/transaction-bundle"/>
        <version value="5.0.0"/>
        <name value="TransactionBundle"/>
        <title value="Transaction bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR transaction."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/transaction-response-bundle"/>
        <version value="5.0.0"/>
        <name value="TransactionResponseBundle"/>
        <title value="Transaction response bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR transaction response."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
        <url value="http://hl7.org/fhir/StructureDefinition/document-bundle"/>
        <version value="5.0.0"/>
        <name value="DocumentBundle"/>
        <title value="Document bundle"/>
        <status value="active"/>
        <experimental value="false"/>
        <date value="2023-03-26T15:21:02+11:00"/>
        <description value="This profile holds all the requirements and constraints related to a FHIR document."/>
        <fhirVersion value="5.0.0"/>
        <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>
          <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"/>
              <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."/>
            <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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <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="id"/>
              </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>
            <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>
            <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/tools/StructureDefinition/binding-definition">
                <valueString value="Identifies the purpose for this identifier, if known ."/>
              </extension>
              <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|5.0.0"/>
            </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/tools/StructureDefinition/binding-definition">
                <valueString value="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="IdentifierType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </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."/>
            <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](http://hl7.org/fhir/extensions/StructureDefinition-rendered-value.html)). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer 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|5.0.0"/>
            </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="If search, the total number of matches"/>
            <definition value="If a set of search matches, 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 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"/>
              <expression value="hasValue() or (children().count() &gt; 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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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 except when: &#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, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#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."/>
            <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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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|5.0.0"/>
            </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"/>
              <expression value="hasValue() or (children().count() &gt; id.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>
            <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>
            <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>
            <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>
            <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."/>
            <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"/>
            </type>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="Bundle.signature">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="Bundle.signature"/>
            <short value="Digital Signature"/>
            <definition value="Digital Signature - base64 encoded. XML-DSig or a JWS."/>
            <comment value="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
            <requirements value="A Signature holds an electronic representation of a signature and its supporting context in a FHIR accessible form. The signature may either be a cryptographic type (XML DigSig or a JWS), which is able to provide non-repudiation proof, or it may be a graphical image that represents a signature or a signature process. This element allows capturing signatures on documents, messages, transactions or even search responses, to support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient."/>
            <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="Issues with the Bundle"/>
            <definition value="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>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareablenamingsystem"/>
    <resource>
      <StructureDefinition>
        <id value="shareablenamingsystem"/>
        <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="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareablenamingsystem"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1260"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareableNamingSystem"/>
        <title value="Shareable NamingSystem"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the naming system metadata required by HL7 and other organizations that share and publish naming systems"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="NamingSystem"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="NamingSystem">
            <path value="NamingSystem"/>
            <short value="System of unique identification"/>
            <definition value="A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc.  Represents a &quot;System&quot; used within the Identifier and Coding data types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-1"/>
              <severity value="error"/>
              <human value="Root systems cannot have uuid identifiers"/>
              <expression value="kind != 'root' or uniqueId.all(type != 'uuid')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-2"/>
              <severity value="error"/>
              <human value="Can't have more than one preferred identifier for a type"/>
              <expression value="uniqueId.where(preferred = true).select(type).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-3"/>
              <severity value="error"/>
              <human value="Can't have more than one authoritative identifier for a type/period combination (only one authoritative identifier allowed at any given point of time)"/>
              <expression value="uniqueId.where(authoritative = 'true').select(type.toString() &amp; period.start.toString() &amp; period.end.toString()).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="NamingSystem.id">
            <path value="NamingSystem.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="NamingSystem.meta">
            <path value="NamingSystem.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="NamingSystem.implicitRules">
            <path value="NamingSystem.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="NamingSystem.language">
            <path value="NamingSystem.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="NamingSystem.text">
            <path value="NamingSystem.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="NamingSystem.contained">
            <path value="NamingSystem.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."/>
            <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="NamingSystem.extension">
            <path value="NamingSystem.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>
            <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="NamingSystem.extension:knowledgeRepresentationLevel">
            <path value="NamingSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="NamingSystem.modifierExtension">
            <path value="NamingSystem.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>
            <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="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="NamingSystem.url">
            <path value="NamingSystem.url"/>
            <short value="Canonical identifier for this naming system, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this naming system 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 naming system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the naming system 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the naming system to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="NamingSystem.identifier">
            <path value="NamingSystem.identifier"/>
            <short value="Additional identifier for the naming system (business identifier)"/>
            <definition value="A formal identifier that is used to identify this naming system when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this naming system outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the naming system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.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="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.version">
            <path value="NamingSystem.version"/>
            <short value="Business version of the naming system"/>
            <definition value="The identifier that is used to identify this version of the naming system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the naming system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different naming system instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the naming system with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="NamingSystem.versionAlgorithm[x]">
            <path value="NamingSystem.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which NamingSystem is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="NamingSystem.name">
            <path value="NamingSystem.name"/>
            <short value="Name for this naming system (computer friendly)"/>
            <definition value="A natural language name identifying the naming system. 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.The&quot;symbolic name&quot; for an OID would be captured as an extension."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.name"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="NamingSystem.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.title"/>
            <short value="Title for this naming system (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the naming system."/>
            <comment value="This title does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="NamingSystem.status">
            <path value="NamingSystem.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this naming system. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of naming systems that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="NamingSystem.kind">
            <path value="NamingSystem.kind"/>
            <short value="codesystem | identifier | root"/>
            <definition value="Indicates the purpose for the naming system - what kinds of things does it make unique?"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.kind"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="nsd-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="NamingSystemType"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the purpose of the naming system."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/namingsystem-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="NamingSystem.experimental">
            <path value="NamingSystem.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this naming system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of naming systems that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level naming system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="NamingSystem.date">
            <path value="NamingSystem.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the naming system was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the naming system changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the naming system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="NamingSystem.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the naming system."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the naming system is the organization or individual primarily responsible for the maintenance and upkeep of the naming system. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the naming system. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the naming system.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="NamingSystem.contact">
            <path value="NamingSystem.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="NamingSystem.responsible">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.responsible"/>
            <short value="Who maintains system namespace?"/>
            <definition value="The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision."/>
            <comment value="This is the primary organization.  Responsibility for some aspects of a namespace may be delegated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.responsible"/>
              <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="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="NamingSystem.type">
            <path value="NamingSystem.type"/>
            <short value="e.g. driver,  provider,  patient, bank etc"/>
            <definition value="Categorizes a naming system for easier search by grouping related naming systems."/>
            <comment value="This will most commonly be used for identifier namespaces, but categories could potentially be useful for code systems and authorities as well."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="NamingSystemIdentifierSystemType"/>
              </extension>
              <strength value="preferred"/>
              <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/namingsystem-identifier-system-type"/>
            </binding>
          </element>
          <element id="NamingSystem.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.description"/>
            <short value="Natural language description of the naming system"/>
            <definition value="A free text natural language description of the naming system from a consumer's perspective. Details about what the namespace identifies including scope, granularity, version labeling, etc."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the naming system as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the naming system is presumed to be the predominant language in the place the naming system was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.description"/>
              <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"/>
          </element>
          <element id="NamingSystem.useContext">
            <path value="NamingSystem.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 naming system 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="NamingSystem.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="NamingSystem.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="NamingSystem.jurisdiction"/>
            <short value="Intended jurisdiction for naming system (if applicable)"/>
            <definition value="A legal or geographic region in which the naming system is intended to be used."/>
            <comment value="It may be possible for the naming system to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="NamingSystem.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.purpose"/>
            <short value="Why this naming system is defined"/>
            <definition value="Explanation of why this naming system is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the naming system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the naming system."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the naming system and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.copyrightLabel"/>
              <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"/>
          </element>
          <element id="NamingSystem.approvalDate">
            <path value="NamingSystem.approvalDate"/>
            <short value="When the NamingSystem was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.lastReviewDate">
            <path value="NamingSystem.lastReviewDate"/>
            <short value="When the NamingSystem was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.effectivePeriod">
            <path value="NamingSystem.effectivePeriod"/>
            <short value="When the NamingSystem is expected to be used"/>
            <definition value="The period during which the NamingSystem content was or is planned to be in active use."/>
            <comment value="The effective period for a NamingSystem determines when the content is applicable for usage and is independent of publication and review dates. For example, a NamingSystem intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the NamingSystem are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.effectivePeriod"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="NamingSystem.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the NamingSystem. Topics provide a high-level categorization as well as keywords for the NamingSystem that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the NamingSystem so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="NamingSystem.author">
            <path value="NamingSystem.author"/>
            <short value="Who authored the CodeSystem"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the NamingSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.editor">
            <path value="NamingSystem.editor"/>
            <short value="Who edited the NamingSystem"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the NamingSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.reviewer">
            <path value="NamingSystem.reviewer"/>
            <short value="Who reviewed the NamingSystem"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the NamingSystem."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.endorser">
            <path value="NamingSystem.endorser"/>
            <short value="Who endorsed the NamingSystem"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the NamingSystem for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.relatedArtifact">
            <path value="NamingSystem.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A NamingSystem must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.usage"/>
            <short value="How/where is it used"/>
            <definition value="Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.usage"/>
              <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"/>
          </element>
          <element id="NamingSystem.uniqueId">
            <path value="NamingSystem.uniqueId"/>
            <short value="Unique identifiers used for system"/>
            <definition value="Indicates how the system may be identified when referenced in electronic exchange."/>
            <comment value="Multiple identifiers may exist, either due to duplicate registration, regional rules, needs of different communication technologies, etc."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.uniqueId"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="nsd-1"/>
            <condition value="nsd-2"/>
            <condition value="nsd-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="true"/>
          </element>
          <element id="NamingSystem.uniqueId.id">
            <path value="NamingSystem.uniqueId.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="NamingSystem.uniqueId.extension">
            <path value="NamingSystem.uniqueId.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="NamingSystem.uniqueId.modifierExtension">
            <path value="NamingSystem.uniqueId.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>
            <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>
            <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="NamingSystem.uniqueId.type">
            <path value="NamingSystem.uniqueId.type"/>
            <short value="oid | uuid | uri | iri-stem | v2csmnemonic | other"/>
            <definition value="Identifies the unique identifier scheme used for this particular identifier."/>
            <comment value="Different identifier types may be used in different types of communications (OIDs for v3, URIs for FHIR, etc.).  Other includes RUIDs from v3, standard v2 code name strings, etc. Preferred identifiers for the same identifier type SHOULD NOT overlap by period."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="nsd-1"/>
            <condition value="nsd-2"/>
            <condition value="nsd-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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="NamingSystemIdentifierType"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the style of unique identifier used to identify a namespace."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/namingsystem-identifier-type|5.0.0"/>
            </binding>
          </element>
          <element id="NamingSystem.uniqueId.value">
            <path value="NamingSystem.uniqueId.value"/>
            <short value="The unique identifier"/>
            <definition value="The string that should be sent over the wire to identify the code system or identifier system."/>
            <comment value="If the value is a URI intended for use as FHIR system identifier, the URI should not contain &quot;\&quot; or &quot;?&quot; or &quot;,&quot; since this makes escaping very difficult."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.value"/>
              <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"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
          </element>
          <element id="NamingSystem.uniqueId.preferred">
            <path value="NamingSystem.uniqueId.preferred"/>
            <short value="Is this the id that should be used for this type"/>
            <definition value="Indicates whether this identifier is the &quot;preferred&quot; identifier of this type."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.preferred"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If there are multiple ids, and one is labeled &quot;preferred&quot;, then the assumption is that the others are not preferred. In the absence of any id marked as preferred, no inference can be drawn"/>
            <condition value="nsd-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"/>
          </element>
          <element id="NamingSystem.uniqueId.comment">
            <path value="NamingSystem.uniqueId.comment"/>
            <short value="Notes about identifier usage"/>
            <definition value="Notes about the past or intended usage of this identifier."/>
            <comment value="e.g. &quot;must be used in Germany&quot; or &quot;was initially published in error with this value&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.comment"/>
              <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"/>
          </element>
          <element id="NamingSystem.uniqueId.period">
            <path value="NamingSystem.uniqueId.period"/>
            <short value="When is identifier valid?"/>
            <definition value="Identifies the period of time over which this identifier is considered appropriate to refer to the naming system.  Outside of this window, the identifier might be non-deterministic."/>
            <comment value="Within a registry, a given identifier should only be &quot;active&quot; for a single namespace at a time.  (Ideally, an identifier should only ever be associated with a single namespace across all time).&#xA;&#xA;The nuance of identifier deprecation is not represented with a separate element. When a determination is made that an identifier should not be used, the validity period end date is updated with the date the identifier is deemed to be deprecated. The identifier should no longer be used once the period end date is reached."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </type>
            <condition value="nsd-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"/>
          </element>
          <element id="NamingSystem.uniqueId.authoritative">
            <path value="NamingSystem.uniqueId.authoritative"/>
            <short value="Whether the identifier is authoritative"/>
            <definition value="Indicates whether this identifier ie endorsed by the official owner of the associated naming system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.authoritative"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="nsd-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="NamingSystem">
            <path value="NamingSystem"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="NamingSystem.extension:knowledgeRepresentationLevel">
            <path value="NamingSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.url">
            <path value="NamingSystem.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.version">
            <path value="NamingSystem.version"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="string"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.versionAlgorithm[x]">
            <path value="NamingSystem.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.name">
            <path value="NamingSystem.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.title">
            <path value="NamingSystem.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.status">
            <path value="NamingSystem.status"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.experimental">
            <path value="NamingSystem.experimental"/>
            <min value="0"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.publisher">
            <path value="NamingSystem.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.description">
            <path value="NamingSystem.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishablenamingsystem"/>
    <resource>
      <StructureDefinition>
        <id value="publishablenamingsystem"/>
        <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="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="vocab"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishablenamingsystem"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1261"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="PublishableNamingSystem"/>
        <title value="Publishable NamingSystem"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines and enforces the minimum expectations for publication and distribution of a naming system, typically as part of an artifact repository or implementation guide publication"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 V2 Mapping"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="NamingSystem"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareablenamingsystem"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="NamingSystem">
            <path value="NamingSystem"/>
            <short value="System of unique identification"/>
            <definition value="A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc.  Represents a &quot;System&quot; used within the Identifier and Coding data types."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-1"/>
              <severity value="error"/>
              <human value="Root systems cannot have uuid identifiers"/>
              <expression value="kind != 'root' or uniqueId.all(type != 'uuid')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-2"/>
              <severity value="error"/>
              <human value="Can't have more than one preferred identifier for a type"/>
              <expression value="uniqueId.where(preferred = true).select(type).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="nsd-3"/>
              <severity value="error"/>
              <human value="Can't have more than one authoritative identifier for a type/period combination (only one authoritative identifier allowed at any given point of time)"/>
              <expression value="uniqueId.where(authoritative = 'true').select(type.toString() &amp; period.start.toString() &amp; period.end.toString()).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,conformance.terminology"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="NamingSystem.id">
            <path value="NamingSystem.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="NamingSystem.meta">
            <path value="NamingSystem.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="NamingSystem.implicitRules">
            <path value="NamingSystem.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="NamingSystem.language">
            <path value="NamingSystem.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="NamingSystem.text">
            <path value="NamingSystem.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="NamingSystem.contained">
            <path value="NamingSystem.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."/>
            <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="NamingSystem.extension">
            <path value="NamingSystem.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>
            <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="NamingSystem.extension:knowledgeRepresentationLevel">
            <path value="NamingSystem.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="NamingSystem.modifierExtension">
            <path value="NamingSystem.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>
            <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="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="NamingSystem.url">
            <path value="NamingSystem.url"/>
            <short value="Canonical identifier for this naming system, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this naming system 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 naming system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the naming system 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the naming system to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/NamingSystem"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.identifier"/>
            </mapping>
          </element>
          <element id="NamingSystem.identifier">
            <path value="NamingSystem.identifier"/>
            <short value="Additional identifier for the naming system (business identifier)"/>
            <definition value="A formal identifier that is used to identify this naming system when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this naming system outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the naming system."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.version">
            <path value="NamingSystem.version"/>
            <short value="Business version of the naming system"/>
            <definition value="The identifier that is used to identify this version of the naming system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the naming system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence."/>
            <comment value="There may be different naming system instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the naming system with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
          </element>
          <element id="NamingSystem.versionAlgorithm[x]">
            <path value="NamingSystem.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which NamingSystem is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
          </element>
          <element id="NamingSystem.name">
            <path value="NamingSystem.name"/>
            <short value="Name for this naming system (computer friendly)"/>
            <definition value="A natural language name identifying the naming system. 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.The&quot;symbolic name&quot; for an OID would be captured as an extension."/>
            <requirements value="Support human navigation and code generation."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.name"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="NamingSystem.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.title"/>
            <short value="Title for this naming system (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the naming system."/>
            <comment value="This title does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="NamingSystem.status">
            <path value="NamingSystem.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this naming system. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of naming systems that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
          </element>
          <element id="NamingSystem.kind">
            <path value="NamingSystem.kind"/>
            <short value="codesystem | identifier | root"/>
            <definition value="Indicates the purpose for the naming system - what kinds of things does it make unique?"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.kind"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="nsd-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"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="NamingSystemType"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the purpose of the naming system."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/namingsystem-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
          </element>
          <element id="NamingSystem.experimental">
            <path value="NamingSystem.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this naming system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of naming systems that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level naming system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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.class"/>
            </mapping>
          </element>
          <element id="NamingSystem.date">
            <path value="NamingSystem.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the naming system was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the naming system changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the naming system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
          </element>
          <element id="NamingSystem.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the naming system."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the naming system is the organization or individual primarily responsible for the maintenance and upkeep of the naming system. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the naming system. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the naming system.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="NamingSystem.contact">
            <path value="NamingSystem.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="NamingSystem.responsible">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.responsible"/>
            <short value="Who maintains system namespace?"/>
            <definition value="The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision."/>
            <comment value="This is the primary organization.  Responsibility for some aspects of a namespace may be delegated."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.responsible"/>
              <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="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
          </element>
          <element id="NamingSystem.type">
            <path value="NamingSystem.type"/>
            <short value="e.g. driver,  provider,  patient, bank etc"/>
            <definition value="Categorizes a naming system for easier search by grouping related naming systems."/>
            <comment value="This will most commonly be used for identifier namespaces, but categories could potentially be useful for code systems and authorities as well."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.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="NamingSystemIdentifierSystemType"/>
              </extension>
              <strength value="preferred"/>
              <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/namingsystem-identifier-system-type"/>
            </binding>
          </element>
          <element id="NamingSystem.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.description"/>
            <short value="Natural language description of the naming system"/>
            <definition value="A free text natural language description of the naming system from a consumer's perspective. Details about what the namespace identifies including scope, granularity, version labeling, etc."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the naming system as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the naming system is presumed to be the predominant language in the place the naming system was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.description"/>
              <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"/>
          </element>
          <element id="NamingSystem.useContext">
            <path value="NamingSystem.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 naming system 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="NamingSystem.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="NamingSystem.jurisdiction">
            <path value="NamingSystem.jurisdiction"/>
            <short value="Intended jurisdiction for naming system (if applicable)"/>
            <definition value="A legal or geographic region in which the naming system is intended to be used."/>
            <comment value="It may be possible for the naming system to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
          </element>
          <element id="NamingSystem.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.purpose"/>
            <short value="Why this naming system is defined"/>
            <definition value="Explanation of why this naming system is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this code system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.purpose"/>
              <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="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.copyright">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the naming system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the naming system."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the naming system and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.copyright"/>
              <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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
          </element>
          <element id="NamingSystem.approvalDate">
            <path value="NamingSystem.approvalDate"/>
            <short value="When the NamingSystem was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.lastReviewDate">
            <path value="NamingSystem.lastReviewDate"/>
            <short value="When the NamingSystem was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.effectivePeriod">
            <path value="NamingSystem.effectivePeriod"/>
            <short value="When the NamingSystem is expected to be used"/>
            <definition value="The period during which the NamingSystem content was or is planned to be in active use."/>
            <comment value="The effective period for a NamingSystem determines when the content is applicable for usage and is independent of publication and review dates. For example, a NamingSystem intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the NamingSystem are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="NamingSystem.topic">
            <path value="NamingSystem.topic"/>
            <short value="E.g. Education, Treatment, Assessment, etc"/>
            <definition value="Descriptions related to the content of the NamingSystem. Topics provide a high-level categorization as well as keywords for the NamingSystem that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the NamingSystem so that it can be found by topical and keyword searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
          </element>
          <element id="NamingSystem.author">
            <path value="NamingSystem.author"/>
            <short value="Who authored the CodeSystem"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the NamingSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.editor">
            <path value="NamingSystem.editor"/>
            <short value="Who edited the NamingSystem"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the NamingSystem."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.reviewer">
            <path value="NamingSystem.reviewer"/>
            <short value="Who reviewed the NamingSystem"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the NamingSystem."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.endorser">
            <path value="NamingSystem.endorser"/>
            <short value="Who endorsed the NamingSystem"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the NamingSystem for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.relatedArtifact">
            <path value="NamingSystem.relatedArtifact"/>
            <short value="Additional documentation, citations, etc"/>
            <definition value="Related artifacts such as additional documentation, justification, dependencies, bibliographic references, and predecessor and successor artifacts."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="A NamingSystem must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="NamingSystem.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="NamingSystem.usage"/>
            <short value="How/where is it used"/>
            <definition value="Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.usage"/>
              <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"/>
          </element>
          <element id="NamingSystem.uniqueId">
            <path value="NamingSystem.uniqueId"/>
            <short value="Unique identifiers used for system"/>
            <definition value="Indicates how the system may be identified when referenced in electronic exchange."/>
            <comment value="Multiple identifiers may exist, either due to duplicate registration, regional rules, needs of different communication technologies, etc."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="NamingSystem.uniqueId"/>
              <min value="1"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="nsd-1"/>
            <condition value="nsd-2"/>
            <condition value="nsd-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="true"/>
          </element>
          <element id="NamingSystem.uniqueId.id">
            <path value="NamingSystem.uniqueId.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="NamingSystem.uniqueId.extension">
            <path value="NamingSystem.uniqueId.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="NamingSystem.uniqueId.modifierExtension">
            <path value="NamingSystem.uniqueId.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>
            <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>
            <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="NamingSystem.uniqueId.type">
            <path value="NamingSystem.uniqueId.type"/>
            <short value="oid | uuid | uri | iri-stem | v2csmnemonic | other"/>
            <definition value="Identifies the unique identifier scheme used for this particular identifier."/>
            <comment value="Different identifier types may be used in different types of communications (OIDs for v3, URIs for FHIR, etc.).  Other includes RUIDs from v3, standard v2 code name strings, etc. Preferred identifiers for the same identifier type SHOULD NOT overlap by period."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.type"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="nsd-1"/>
            <condition value="nsd-2"/>
            <condition value="nsd-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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="NamingSystemIdentifierType"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the style of unique identifier used to identify a namespace."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/namingsystem-identifier-type|5.0.0"/>
            </binding>
          </element>
          <element id="NamingSystem.uniqueId.value">
            <path value="NamingSystem.uniqueId.value"/>
            <short value="The unique identifier"/>
            <definition value="The string that should be sent over the wire to identify the code system or identifier system."/>
            <comment value="If the value is a URI intended for use as FHIR system identifier, the URI should not contain &quot;\&quot; or &quot;?&quot; or &quot;,&quot; since this makes escaping very difficult."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.value"/>
              <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"/>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
          </element>
          <element id="NamingSystem.uniqueId.preferred">
            <path value="NamingSystem.uniqueId.preferred"/>
            <short value="Is this the id that should be used for this type"/>
            <definition value="Indicates whether this identifier is the &quot;preferred&quot; identifier of this type."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.preferred"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If there are multiple ids, and one is labeled &quot;preferred&quot;, then the assumption is that the others are not preferred. In the absence of any id marked as preferred, no inference can be drawn"/>
            <condition value="nsd-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"/>
          </element>
          <element id="NamingSystem.uniqueId.comment">
            <path value="NamingSystem.uniqueId.comment"/>
            <short value="Notes about identifier usage"/>
            <definition value="Notes about the past or intended usage of this identifier."/>
            <comment value="e.g. &quot;must be used in Germany&quot; or &quot;was initially published in error with this value&quot;."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.comment"/>
              <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"/>
          </element>
          <element id="NamingSystem.uniqueId.period">
            <path value="NamingSystem.uniqueId.period"/>
            <short value="When is identifier valid?"/>
            <definition value="Identifies the period of time over which this identifier is considered appropriate to refer to the naming system.  Outside of this window, the identifier might be non-deterministic."/>
            <comment value="Within a registry, a given identifier should only be &quot;active&quot; for a single namespace at a time.  (Ideally, an identifier should only ever be associated with a single namespace across all time).&#xA;&#xA;The nuance of identifier deprecation is not represented with a separate element. When a determination is made that an identifier should not be used, the validity period end date is updated with the date the identifier is deemed to be deprecated. The identifier should no longer be used once the period end date is reached."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.period"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Period"/>
            </type>
            <condition value="nsd-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"/>
          </element>
          <element id="NamingSystem.uniqueId.authoritative">
            <path value="NamingSystem.uniqueId.authoritative"/>
            <short value="Whether the identifier is authoritative"/>
            <definition value="Indicates whether this identifier ie endorsed by the official owner of the associated naming system."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="NamingSystem.uniqueId.authoritative"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="nsd-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"/>
          </element>
        </snapshot>
        <differential>
          <element id="NamingSystem">
            <path value="NamingSystem"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="NamingSystem.identifier">
            <path value="NamingSystem.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.date">
            <path value="NamingSystem.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.contact">
            <path value="NamingSystem.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.useContext">
            <path value="NamingSystem.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.jurisdiction">
            <path value="NamingSystem.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.purpose">
            <path value="NamingSystem.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.copyright">
            <path value="NamingSystem.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.copyrightLabel">
            <path value="NamingSystem.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.approvalDate">
            <path value="NamingSystem.approvalDate"/>
          </element>
          <element id="NamingSystem.lastReviewDate">
            <path value="NamingSystem.lastReviewDate"/>
          </element>
          <element id="NamingSystem.effectivePeriod">
            <path value="NamingSystem.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.topic">
            <path value="NamingSystem.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="NamingSystem.author">
            <path value="NamingSystem.author"/>
          </element>
          <element id="NamingSystem.editor">
            <path value="NamingSystem.editor"/>
          </element>
          <element id="NamingSystem.reviewer">
            <path value="NamingSystem.reviewer"/>
          </element>
          <element id="NamingSystem.endorser">
            <path value="NamingSystem.endorser"/>
          </element>
          <element id="NamingSystem.relatedArtifact">
            <path value="NamingSystem.relatedArtifact"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/shareableplandefinition"/>
    <resource>
      <StructureDefinition>
        <id value="shareableplandefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/shareableplandefinition"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1077"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ShareablePlanDefinition"/>
        <title value="Shareable PlanDefinition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Enforces the minimum information set for the plan definition metadata required by HL7 and other organizations that share and publish plan definitions"/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="PlanDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <short value="The definition of a plan for a series of actions, independent of any specific patient or context"/>
            <definition value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-3"/>
              <severity value="warning"/>
              <human value="goalid should reference the id of a goal definition"/>
              <expression value="%context.repeat(action).where((goalId in %context.goal.id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-4"/>
              <severity value="warning"/>
              <human value="targetId should reference the id of an action"/>
              <expression value="%context.repeat(action).relatedAction.where((targetId in %context.repeat(action).id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.id">
            <path value="PlanDefinition.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="PlanDefinition.meta">
            <path value="PlanDefinition.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="PlanDefinition.implicitRules">
            <path value="PlanDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="PlanDefinition.language">
            <path value="PlanDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="PlanDefinition.text">
            <path value="PlanDefinition.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="PlanDefinition.contained">
            <path value="PlanDefinition.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."/>
            <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="PlanDefinition.extension">
            <path value="PlanDefinition.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>
            <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="PlanDefinition.extension:knowledgeCapability">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.extension:knowledgeRepresentationLevel">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.extension:artifactComment">
            <path value="PlanDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.modifierExtension">
            <path value="PlanDefinition.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>
            <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="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="PlanDefinition.url">
            <path value="PlanDefinition.url"/>
            <short value="Canonical identifier for this plan definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this plan definition 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 plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the plan definition to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.identifier">
            <path value="PlanDefinition.identifier"/>
            <short value="Additional identifier for the plan definition"/>
            <definition value="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.version">
            <path value="PlanDefinition.version"/>
            <short value="Business version of the plan definition"/>
            <definition value="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the plan definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.versionAlgorithm[x]">
            <path value="PlanDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.name">
            <path value="PlanDefinition.name"/>
            <short value="Name for this plan definition (computer friendly)"/>
            <definition value="A natural language name identifying the plan definition. 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="PlanDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.title"/>
            <short value="Name for this plan definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the plan definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.subtitle"/>
            <short value="Subordinate title of the plan definition"/>
            <definition value="An explanatory or alternate title for the plan definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.type">
            <path value="PlanDefinition.type"/>
            <short value="order-set | clinical-protocol | eca-rule | workflow-definition"/>
            <definition value="A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PlanDefinitionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of PlanDefinition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/plan-definition-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.status">
            <path value="PlanDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this plan definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="PlanDefinition.experimental">
            <path value="PlanDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subject[x]">
            <path value="PlanDefinition.subject[x]"/>
            <short value="Type of individual the plan definition is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.date">
            <path value="PlanDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the plan definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="PlanDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the plan definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the plan definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.contact">
            <path value="PlanDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.description"/>
            <short value="Natural language description of the plan definition"/>
            <definition value="A free text natural language description of the plan definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.useContext">
            <path value="PlanDefinition.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 plan definition 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="PlanDefinition.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for plan definition (if applicable)"/>
            <definition value="A legal or geographic region in which the plan definition is intended to be used."/>
            <comment value="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.purpose"/>
            <short value="Why this plan definition is defined"/>
            <definition value="Explanation of why this plan definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.usage"/>
            <short value="Describes the clinical usage of the plan"/>
            <definition value="A detailed description of how the plan definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyright">
            <path value="PlanDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyrightLabel"/>
              <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="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.approvalDate">
            <path value="PlanDefinition.approvalDate"/>
            <short value="When the plan definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.lastReviewDate">
            <path value="PlanDefinition.lastReviewDate"/>
            <short value="When the plan definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.effectivePeriod">
            <path value="PlanDefinition.effectivePeriod"/>
            <short value="When the plan definition is expected to be used"/>
            <definition value="The period during which the plan definition content was or is planned to be in active use."/>
            <comment value="The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a plan definition intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the plan definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.effectivePeriod"/>
              <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="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment"/>
            <definition value="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the plan definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.author">
            <path value="PlanDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.editor">
            <path value="PlanDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.reviewer">
            <path value="PlanDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.endorser">
            <path value="PlanDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact">
            <path value="PlanDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Plan definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.library">
            <path value="PlanDefinition.library"/>
            <short value="Logic used by the plan definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the plan definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal">
            <path value="PlanDefinition.goal"/>
            <short value="What the plan is trying to accomplish"/>
            <definition value="A goal describes an expected outcome that activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, meeting the acceptance criteria for a test as specified by a quality specification, etc."/>
            <requirements value="Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.id">
            <path value="PlanDefinition.goal.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="PlanDefinition.goal.extension">
            <path value="PlanDefinition.goal.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.modifierExtension">
            <path value="PlanDefinition.goal.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>
            <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>
            <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="PlanDefinition.goal.category">
            <path value="PlanDefinition.goal.category"/>
            <short value="E.g. Treatment, dietary, behavioral"/>
            <definition value="Indicates a category the goal falls within."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.category"/>
              <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="GoalCategory"/>
              </extension>
              <strength value="example"/>
              <description value="Example codes for grouping goals for filtering or presentation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-category"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.description">
            <path value="PlanDefinition.goal.description"/>
            <short value="Code or text describing the goal"/>
            <definition value="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;."/>
            <comment value="If no code is available, use CodeableConcept.text."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.description"/>
              <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="GoalDescription"/>
              </extension>
              <strength value="example"/>
              <description value="Describes goals that can be achieved."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.priority">
            <path value="PlanDefinition.goal.priority"/>
            <short value="high-priority | medium-priority | low-priority"/>
            <definition value="Identifies the expected level of importance associated with reaching/sustaining the defined goal."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.priority"/>
              <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="GoalPriority"/>
              </extension>
              <strength value="preferred"/>
              <description value="Indicates the level of importance associated with reaching or sustaining a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.start">
            <path value="PlanDefinition.goal.start"/>
            <short value="When goal pursuit begins"/>
            <definition value="The event after which the goal should begin being pursued."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.start"/>
              <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="GoalStartEvent"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies the types of events that might trigger the start of a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-start-event"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.addresses">
            <path value="PlanDefinition.goal.addresses"/>
            <short value="What does the goal address"/>
            <definition value="Identifies problems, conditions, issues, or concerns the goal is intended to address."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.addresses"/>
              <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="GoalAddresses"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies problems, conditions, issues, or concerns that goals may address."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.documentation">
            <path value="PlanDefinition.goal.documentation"/>
            <short value="Supporting documentation for the goal"/>
            <definition value="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target">
            <path value="PlanDefinition.goal.target"/>
            <short value="Target outcome for the goal"/>
            <definition value="Indicates what should be done and within what timeframe."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.id">
            <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.extension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.modifierExtension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <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="PlanDefinition.goal.target.measure">
            <path value="PlanDefinition.goal.target.measure"/>
            <short value="The parameter whose value is to be tracked"/>
            <definition value="The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.measure"/>
              <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="GoalTargetMeasure"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies types of parameters that can be tracked to determine goal achievement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.detail[x]">
            <path value="PlanDefinition.goal.target.detail[x]"/>
            <short value="The target value to be achieved"/>
            <definition value="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality - NMT 0.6%, Clear solution, etc. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value."/>
            <comment value="A 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 goal.target.measure defines a coded value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.detail[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.due">
            <path value="PlanDefinition.goal.target.due"/>
            <short value="Reach goal within"/>
            <definition value="Indicates the timeframe after the start of the goal in which the goal should be met."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.due"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor">
            <path value="PlanDefinition.actor"/>
            <short value="Actors within the plan"/>
            <definition value="Actors represent the individuals or groups involved in the execution of the defined set of activities."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.id">
            <path value="PlanDefinition.actor.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="PlanDefinition.actor.extension">
            <path value="PlanDefinition.actor.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.modifierExtension">
            <path value="PlanDefinition.actor.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>
            <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>
            <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="PlanDefinition.actor.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.title"/>
            <short value="User-visible title"/>
            <definition value="A descriptive label for the actor."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.description"/>
            <short value="Describes the actor"/>
            <definition value="A description of how the actor fits into the overall actions of the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option">
            <path value="PlanDefinition.actor.option"/>
            <short value="Who or what can be this actor"/>
            <definition value="The characteristics of the candidates that could serve as the actor."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor.option"/>
              <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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.id">
            <path value="PlanDefinition.actor.option.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="PlanDefinition.actor.option.extension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.modifierExtension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <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="PlanDefinition.actor.option.type">
            <path value="PlanDefinition.actor.option.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeCanonical">
            <path value="PlanDefinition.actor.option.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeReference">
            <path value="PlanDefinition.actor.option.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.role">
            <path value="PlanDefinition.actor.option.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action">
            <path value="PlanDefinition.action"/>
            <short value="Action defined by the plan"/>
            <definition value="An action or group of actions to be taken as part of the plan. For example, in clinical care, an action would be to prescribe a particular indicated medication, or perform a particular test as appropriate. In pharmaceutical quality, an action would be the test that needs to be performed on a drug product as defined in the quality specification."/>
            <comment value="Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-3"/>
            <condition value="pld-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="workflow"/>
              <map value="{Is a contained Definition}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.linkId">
            <path value="PlanDefinition.action.linkId"/>
            <short value="Unique id for the action in the PlanDefinition"/>
            <definition value="An identifier that is unique within the PlanDefinition to allow linkage within the realized CarePlan and/or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.linkId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.prefix">
            <path value="PlanDefinition.action.prefix"/>
            <short value="User-visible prefix for the action (e.g. 1. or A.)"/>
            <definition value="A user-visible prefix for the action. For example a section or item numbering such as 1. or A."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.prefix"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.title"/>
            <short value="User-visible title"/>
            <definition value="The textual description of the action displayed to a user. For example, when the action is a test to be performed, the title would be the title of the test such as Assay by HPLC."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.description"/>
            <short value="Brief description of the action"/>
            <definition value="A brief description of the action used to provide a summary to display to the user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.textEquivalent">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.textEquivalent"/>
            <short value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
            <definition value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.textEquivalent"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.priority">
            <path value="PlanDefinition.action.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the action should be addressed with respect to other actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.priority"/>
              <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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.code">
            <path value="PlanDefinition.action.code"/>
            <short value="Code representing the meaning of the action or sub-actions"/>
            <definition value="A code that provides a meaning, grouping, or classification for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. In pharmaceutical quality, an action (Test) such as pH could be classified as a physical property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.reason">
            <path value="PlanDefinition.action.reason"/>
            <short value="Why the action should be performed"/>
            <definition value="A description of why this action is necessary or appropriate."/>
            <comment value="This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.reason"/>
              <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="ActionReasonCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of reasons for actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-reason-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.documentation">
            <path value="PlanDefinition.action.documentation"/>
            <short value="Supporting documentation for the intended performer of the action"/>
            <definition value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.goalId">
            <path value="PlanDefinition.action.goalId"/>
            <short value="What goals this action supports"/>
            <definition value="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.goalId"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.subject[x]">
            <path value="PlanDefinition.action.subject[x]"/>
            <short value="Type of individual the action is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.&#xA;&#xA;In addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient)."/>
            <requirements value="Multiple steps in a protocol often have different groups of steps that are focused on testing different things. The subject of an action specifies the focus of the action and any child actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.trigger">
            <path value="PlanDefinition.action.trigger"/>
            <short value="When the action should be triggered"/>
            <definition value="A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.trigger"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition">
            <path value="PlanDefinition.action.condition"/>
            <short value="Whether or not the action is applicable"/>
            <definition value="An expression that describes applicability criteria or start/stop conditions for the action."/>
            <comment value="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.condition.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.condition.kind">
            <path value="PlanDefinition.action.condition.kind"/>
            <short value="applicability | start | stop"/>
            <definition value="The kind of condition."/>
            <comment value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.kind"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionConditionKind"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the kinds of conditions that can appear on actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-condition-kind|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.expression">
            <path value="PlanDefinition.action.condition.expression"/>
            <short value="Boolean-valued expression"/>
            <definition value="An expression that returns true or false, indicating whether the condition is satisfied."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input">
            <path value="PlanDefinition.action.input"/>
            <short value="Input data requirements"/>
            <definition value="Defines input data requirements for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.input"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-0"/>
              <severity value="error"/>
              <human value="Input data elements must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.id">
            <path value="PlanDefinition.action.input.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="PlanDefinition.action.input.extension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.modifierExtension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <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="PlanDefinition.action.input.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.input.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.requirement">
            <path value="PlanDefinition.action.input.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that is to be provided as input to the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.relatedData">
            <path value="PlanDefinition.action.input.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that provides data to this input."/>
            <comment value="The relatedData element allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output">
            <path value="PlanDefinition.action.output"/>
            <short value="Output data definition"/>
            <definition value="Defines the outputs of the action, if any."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.output"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-1"/>
              <severity value="error"/>
              <human value="Output data element must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.id">
            <path value="PlanDefinition.action.output.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="PlanDefinition.action.output.extension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.modifierExtension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <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="PlanDefinition.action.output.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.output.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.requirement">
            <path value="PlanDefinition.action.output.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that results as output from the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.relatedData">
            <path value="PlanDefinition.action.output.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that is results as output from the action."/>
            <comment value="The relatedData element allows indicating that the output of child action is also the output of a parent action. It also allows the input of one action to be identified as the output of a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction">
            <path value="PlanDefinition.action.relatedAction"/>
            <short value="Relationship to another action"/>
            <definition value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
            <comment value="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.relatedAction"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.id">
            <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.extension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.modifierExtension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <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="PlanDefinition.action.relatedAction.targetId">
            <path value="PlanDefinition.action.relatedAction.targetId"/>
            <short value="What action is this related to"/>
            <definition value="The element id of the target related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.targetId"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.relationship">
            <path value="PlanDefinition.action.relatedAction.relationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the start of this action to the related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.relationship"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.endRelationship">
            <path value="PlanDefinition.action.relatedAction.endRelationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the end of this action to the related action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.endRelationship"/>
              <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="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.offset[x]">
            <path value="PlanDefinition.action.relatedAction.offset[x]"/>
            <short value="Time offset for the relationship"/>
            <definition value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.offset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.timing[x]">
            <path value="PlanDefinition.action.timing[x]"/>
            <short value="When the action should take place"/>
            <definition value="An optional value describing when the action should be performed."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.location">
            <path value="PlanDefinition.action.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant">
            <path value="PlanDefinition.action.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.participant.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.participant.actorId">
            <path value="PlanDefinition.action.participant.actorId"/>
            <short value="What actor"/>
            <definition value="A reference to the id element of the actor who will participate in this action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.actorId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.type">
            <path value="PlanDefinition.action.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeCanonical">
            <path value="PlanDefinition.action.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeReference">
            <path value="PlanDefinition.action.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.role">
            <path value="PlanDefinition.action.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.function">
            <path value="PlanDefinition.action.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.type">
            <path value="PlanDefinition.action.type"/>
            <short value="create | update | remove | fire-event"/>
            <definition value="The type of action to perform (create, update, remove)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of action to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { Maybe? this is effectively Create, Update, or Delete }"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.groupingBehavior">
            <path value="PlanDefinition.action.groupingBehavior"/>
            <short value="visual-group | logical-group | sentence-group"/>
            <definition value="Defines the grouping behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.groupingBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no grouping behavior is specified but the action has children (i.e. is a group), the grouping behavior is assumed to be `logical-group`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionGroupingBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines organization behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-grouping-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.selectionBehavior">
            <path value="PlanDefinition.action.selectionBehavior"/>
            <short value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
            <definition value="Defines the selection behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.selectionBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no selection behavior is specified but the action has children (i.e. is a group), the selection behavior is assumed to be `all`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionSelectionBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-selection-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.requiredBehavior">
            <path value="PlanDefinition.action.requiredBehavior"/>
            <short value="must | could | must-unless-documented"/>
            <definition value="Defines the required behavior for the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.requiredBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no required behavior is specified but the action has children (i.e. is a group), the required behavior is assumed to be `could`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionRequiredBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines expectations around whether an action or action group is required."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-required-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.precheckBehavior">
            <path value="PlanDefinition.action.precheckBehavior"/>
            <short value="yes | no"/>
            <definition value="Defines whether the action should usually be preselected."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.precheckBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no precheck behavior is specified but the action has children (i.e. is a group), the precheck behavior is assumed to be `no`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionPrecheckBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection frequency behavior for an action or group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-precheck-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.cardinalityBehavior">
            <path value="PlanDefinition.action.cardinalityBehavior"/>
            <short value="single | multiple"/>
            <definition value="Defines whether the action can be selected multiple times."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.cardinalityBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no cardinality behavior is specified but the action has children (i.e. is a group), the cardinality behavior is assumed to be `single`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionCardinalityBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines behavior for an action or a group for how many times that item may be repeated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.definition[x]">
            <path value="PlanDefinition.action.definition[x]"/>
            <short value="Description of the activity to be performed"/>
            <definition value="A reference to an ActivityDefinition that describes the action to be taken in detail, a MessageDefinition describing a message to be snet, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured."/>
            <comment value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.definition[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <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="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.transform">
            <path value="PlanDefinition.action.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.dynamicValue">
            <path value="PlanDefinition.action.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="PlanDefinition.action.dynamicValue.id">
            <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.extension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.modifierExtension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <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="PlanDefinition.action.dynamicValue.path">
            <path value="PlanDefinition.action.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.path"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.expression">
            <path value="PlanDefinition.action.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.action">
            <path value="PlanDefinition.action.action"/>
            <short value="A sub-action"/>
            <definition value="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="{InverseRelationship of Definition.partOf}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.asNeeded[x]">
            <path value="PlanDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="PlanDefinition.extension:knowledgeCapability">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.extension:knowledgeRepresentationLevel">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.extension:artifactComment">
            <path value="PlanDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-artifactComment"/>
            </type>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.url">
            <path value="PlanDefinition.url"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.version">
            <path value="PlanDefinition.version"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.versionAlgorithm[x]">
            <path value="PlanDefinition.versionAlgorithm[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.name">
            <path value="PlanDefinition.name"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.title">
            <path value="PlanDefinition.title"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.experimental">
            <path value="PlanDefinition.experimental"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.publisher">
            <path value="PlanDefinition.publisher"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.description">
            <path value="PlanDefinition.description"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"/>
    <resource>
      <StructureDefinition>
        <id value="cdshooksserviceplandefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1075"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="CDSHooksServicePlanDefinition"/>
        <title value="C D S Hooks Service Plan Definition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines a PlanDefinition that implements the behavior for a CDS Hooks service"/>
        <fhirVersion value="5.0.0"/>
        <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="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="PlanDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <short value="The definition of a plan for a series of actions, independent of any specific patient or context"/>
            <definition value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-3"/>
              <severity value="warning"/>
              <human value="goalid should reference the id of a goal definition"/>
              <expression value="%context.repeat(action).where((goalId in %context.goal.id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-4"/>
              <severity value="warning"/>
              <human value="targetId should reference the id of an action"/>
              <expression value="%context.repeat(action).relatedAction.where((targetId in %context.repeat(action).id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.id">
            <path value="PlanDefinition.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="PlanDefinition.meta">
            <path value="PlanDefinition.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="PlanDefinition.implicitRules">
            <path value="PlanDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="PlanDefinition.language">
            <path value="PlanDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="PlanDefinition.text">
            <path value="PlanDefinition.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="PlanDefinition.contained">
            <path value="PlanDefinition.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."/>
            <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="PlanDefinition.extension">
            <path value="PlanDefinition.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>
            <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="PlanDefinition.extension:cdsHooksEndpoint">
            <path value="PlanDefinition.extension"/>
            <sliceName value="cdsHooksEndpoint"/>
            <short value="Service endpoint"/>
            <definition value="Defines the service endpoint for the behavior implemented by the PlanDefinition."/>
            <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/cqf-cdsHooksEndpoint"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.modifierExtension">
            <path value="PlanDefinition.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>
            <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="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="PlanDefinition.url">
            <path value="PlanDefinition.url"/>
            <short value="Canonical identifier for this plan definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this plan definition 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 plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the plan definition to be referenced by a single globally unique identifier."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.identifier">
            <path value="PlanDefinition.identifier"/>
            <short value="Additional identifier for the plan definition"/>
            <definition value="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.version">
            <path value="PlanDefinition.version"/>
            <short value="Business version of the plan definition"/>
            <definition value="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the plan definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.versionAlgorithm[x]">
            <path value="PlanDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.name">
            <path value="PlanDefinition.name"/>
            <short value="Name for this plan definition (computer friendly)"/>
            <definition value="A natural language name identifying the plan definition. 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="PlanDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.title"/>
            <short value="Name for this plan definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the plan definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.subtitle"/>
            <short value="Subordinate title of the plan definition"/>
            <definition value="An explanatory or alternate title for the plan definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.type">
            <path value="PlanDefinition.type"/>
            <short value="order-set | clinical-protocol | eca-rule | workflow-definition"/>
            <definition value="A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PlanDefinitionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of PlanDefinition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/plan-definition-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.status">
            <path value="PlanDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this plan definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="PlanDefinition.experimental">
            <path value="PlanDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subject[x]">
            <path value="PlanDefinition.subject[x]"/>
            <short value="Type of individual the plan definition is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.date">
            <path value="PlanDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the plan definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="PlanDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the plan definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the plan definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.publisher"/>
              <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="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.contact">
            <path value="PlanDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.description"/>
            <short value="Natural language description of the plan definition"/>
            <definition value="A free text natural language description of the plan definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.useContext">
            <path value="PlanDefinition.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 plan definition 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="PlanDefinition.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for plan definition (if applicable)"/>
            <definition value="A legal or geographic region in which the plan definition is intended to be used."/>
            <comment value="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.purpose"/>
            <short value="Why this plan definition is defined"/>
            <definition value="Explanation of why this plan definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.usage"/>
            <short value="Describes the clinical usage of the plan"/>
            <definition value="A detailed description of how the plan definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyright">
            <path value="PlanDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyrightLabel"/>
              <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="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.approvalDate">
            <path value="PlanDefinition.approvalDate"/>
            <short value="When the plan definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.lastReviewDate">
            <path value="PlanDefinition.lastReviewDate"/>
            <short value="When the plan definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.effectivePeriod">
            <path value="PlanDefinition.effectivePeriod"/>
            <short value="When the plan definition is expected to be used"/>
            <definition value="The period during which the plan definition content was or is planned to be in active use."/>
            <comment value="The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a plan definition intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the plan definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.effectivePeriod"/>
              <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="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment"/>
            <definition value="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the plan definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.author">
            <path value="PlanDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.editor">
            <path value="PlanDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.reviewer">
            <path value="PlanDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.endorser">
            <path value="PlanDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact">
            <path value="PlanDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Plan definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.library">
            <path value="PlanDefinition.library"/>
            <short value="Logic used by the plan definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the plan definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal">
            <path value="PlanDefinition.goal"/>
            <short value="What the plan is trying to accomplish"/>
            <definition value="A goal describes an expected outcome that activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, meeting the acceptance criteria for a test as specified by a quality specification, etc."/>
            <requirements value="Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.id">
            <path value="PlanDefinition.goal.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="PlanDefinition.goal.extension">
            <path value="PlanDefinition.goal.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.modifierExtension">
            <path value="PlanDefinition.goal.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>
            <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>
            <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="PlanDefinition.goal.category">
            <path value="PlanDefinition.goal.category"/>
            <short value="E.g. Treatment, dietary, behavioral"/>
            <definition value="Indicates a category the goal falls within."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.category"/>
              <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="GoalCategory"/>
              </extension>
              <strength value="example"/>
              <description value="Example codes for grouping goals for filtering or presentation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-category"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.description">
            <path value="PlanDefinition.goal.description"/>
            <short value="Code or text describing the goal"/>
            <definition value="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;."/>
            <comment value="If no code is available, use CodeableConcept.text."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.description"/>
              <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="GoalDescription"/>
              </extension>
              <strength value="example"/>
              <description value="Describes goals that can be achieved."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.priority">
            <path value="PlanDefinition.goal.priority"/>
            <short value="high-priority | medium-priority | low-priority"/>
            <definition value="Identifies the expected level of importance associated with reaching/sustaining the defined goal."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.priority"/>
              <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="GoalPriority"/>
              </extension>
              <strength value="preferred"/>
              <description value="Indicates the level of importance associated with reaching or sustaining a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.start">
            <path value="PlanDefinition.goal.start"/>
            <short value="When goal pursuit begins"/>
            <definition value="The event after which the goal should begin being pursued."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.start"/>
              <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="GoalStartEvent"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies the types of events that might trigger the start of a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-start-event"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.addresses">
            <path value="PlanDefinition.goal.addresses"/>
            <short value="What does the goal address"/>
            <definition value="Identifies problems, conditions, issues, or concerns the goal is intended to address."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.addresses"/>
              <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="GoalAddresses"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies problems, conditions, issues, or concerns that goals may address."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.documentation">
            <path value="PlanDefinition.goal.documentation"/>
            <short value="Supporting documentation for the goal"/>
            <definition value="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target">
            <path value="PlanDefinition.goal.target"/>
            <short value="Target outcome for the goal"/>
            <definition value="Indicates what should be done and within what timeframe."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.id">
            <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.extension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.modifierExtension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <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="PlanDefinition.goal.target.measure">
            <path value="PlanDefinition.goal.target.measure"/>
            <short value="The parameter whose value is to be tracked"/>
            <definition value="The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.measure"/>
              <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="GoalTargetMeasure"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies types of parameters that can be tracked to determine goal achievement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.detail[x]">
            <path value="PlanDefinition.goal.target.detail[x]"/>
            <short value="The target value to be achieved"/>
            <definition value="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality - NMT 0.6%, Clear solution, etc. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value."/>
            <comment value="A 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 goal.target.measure defines a coded value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.detail[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.due">
            <path value="PlanDefinition.goal.target.due"/>
            <short value="Reach goal within"/>
            <definition value="Indicates the timeframe after the start of the goal in which the goal should be met."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.due"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor">
            <path value="PlanDefinition.actor"/>
            <short value="Actors within the plan"/>
            <definition value="Actors represent the individuals or groups involved in the execution of the defined set of activities."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.id">
            <path value="PlanDefinition.actor.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="PlanDefinition.actor.extension">
            <path value="PlanDefinition.actor.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.modifierExtension">
            <path value="PlanDefinition.actor.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>
            <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>
            <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="PlanDefinition.actor.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.title"/>
            <short value="User-visible title"/>
            <definition value="A descriptive label for the actor."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.description"/>
            <short value="Describes the actor"/>
            <definition value="A description of how the actor fits into the overall actions of the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option">
            <path value="PlanDefinition.actor.option"/>
            <short value="Who or what can be this actor"/>
            <definition value="The characteristics of the candidates that could serve as the actor."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor.option"/>
              <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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.id">
            <path value="PlanDefinition.actor.option.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="PlanDefinition.actor.option.extension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.modifierExtension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <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="PlanDefinition.actor.option.type">
            <path value="PlanDefinition.actor.option.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeCanonical">
            <path value="PlanDefinition.actor.option.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeReference">
            <path value="PlanDefinition.actor.option.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.role">
            <path value="PlanDefinition.actor.option.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action">
            <path value="PlanDefinition.action"/>
            <short value="Action defined by the plan"/>
            <definition value="An action or group of actions to be taken as part of the plan. For example, in clinical care, an action would be to prescribe a particular indicated medication, or perform a particular test as appropriate. In pharmaceutical quality, an action would be the test that needs to be performed on a drug product as defined in the quality specification."/>
            <comment value="Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-3"/>
            <condition value="pld-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="workflow"/>
              <map value="{Is a contained Definition}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.linkId">
            <path value="PlanDefinition.action.linkId"/>
            <short value="Unique id for the action in the PlanDefinition"/>
            <definition value="An identifier that is unique within the PlanDefinition to allow linkage within the realized CarePlan and/or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.linkId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.prefix">
            <path value="PlanDefinition.action.prefix"/>
            <short value="User-visible prefix for the action (e.g. 1. or A.)"/>
            <definition value="A user-visible prefix for the action. For example a section or item numbering such as 1. or A."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.prefix"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.title"/>
            <short value="User-visible title"/>
            <definition value="The textual description of the action displayed to a user. For example, when the action is a test to be performed, the title would be the title of the test such as Assay by HPLC."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.description"/>
            <short value="Brief description of the action"/>
            <definition value="A brief description of the action used to provide a summary to display to the user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.description"/>
              <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="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.textEquivalent">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.textEquivalent"/>
            <short value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
            <definition value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.textEquivalent"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.priority">
            <path value="PlanDefinition.action.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the action should be addressed with respect to other actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.priority"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.code">
            <path value="PlanDefinition.action.code"/>
            <short value="Code representing the meaning of the action or sub-actions"/>
            <definition value="A code that provides a meaning, grouping, or classification for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. In pharmaceutical quality, an action (Test) such as pH could be classified as a physical property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.reason">
            <path value="PlanDefinition.action.reason"/>
            <short value="Why the action should be performed"/>
            <definition value="A description of why this action is necessary or appropriate."/>
            <comment value="This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.reason"/>
              <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="ActionReasonCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of reasons for actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-reason-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.documentation">
            <path value="PlanDefinition.action.documentation"/>
            <short value="Supporting documentation for the intended performer of the action"/>
            <definition value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.goalId">
            <path value="PlanDefinition.action.goalId"/>
            <short value="What goals this action supports"/>
            <definition value="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.goalId"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.subject[x]">
            <path value="PlanDefinition.action.subject[x]"/>
            <short value="Type of individual the action is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.&#xA;&#xA;In addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient)."/>
            <requirements value="Multiple steps in a protocol often have different groups of steps that are focused on testing different things. The subject of an action specifies the focus of the action and any child actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.trigger">
            <path value="PlanDefinition.action.trigger"/>
            <short value="When the action should be triggered"/>
            <definition value="A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.trigger"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition">
            <path value="PlanDefinition.action.condition"/>
            <short value="Whether or not the action is applicable"/>
            <definition value="An expression that describes applicability criteria or start/stop conditions for the action."/>
            <comment value="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.condition.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.condition.kind">
            <path value="PlanDefinition.action.condition.kind"/>
            <short value="applicability | start | stop"/>
            <definition value="The kind of condition."/>
            <comment value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.kind"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionConditionKind"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the kinds of conditions that can appear on actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-condition-kind|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.expression">
            <path value="PlanDefinition.action.condition.expression"/>
            <short value="Boolean-valued expression"/>
            <definition value="An expression that returns true or false, indicating whether the condition is satisfied."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input">
            <path value="PlanDefinition.action.input"/>
            <short value="Input data requirements"/>
            <definition value="Defines input data requirements for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.input"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-0"/>
              <severity value="error"/>
              <human value="Input data elements must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.id">
            <path value="PlanDefinition.action.input.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="PlanDefinition.action.input.extension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.modifierExtension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <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="PlanDefinition.action.input.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.input.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.requirement">
            <path value="PlanDefinition.action.input.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that is to be provided as input to the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.relatedData">
            <path value="PlanDefinition.action.input.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that provides data to this input."/>
            <comment value="The relatedData element allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output">
            <path value="PlanDefinition.action.output"/>
            <short value="Output data definition"/>
            <definition value="Defines the outputs of the action, if any."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.output"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-1"/>
              <severity value="error"/>
              <human value="Output data element must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.id">
            <path value="PlanDefinition.action.output.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="PlanDefinition.action.output.extension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.modifierExtension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <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="PlanDefinition.action.output.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.output.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.requirement">
            <path value="PlanDefinition.action.output.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that results as output from the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.relatedData">
            <path value="PlanDefinition.action.output.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that is results as output from the action."/>
            <comment value="The relatedData element allows indicating that the output of child action is also the output of a parent action. It also allows the input of one action to be identified as the output of a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction">
            <path value="PlanDefinition.action.relatedAction"/>
            <short value="Relationship to another action"/>
            <definition value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
            <comment value="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.relatedAction"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.id">
            <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.extension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.modifierExtension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <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="PlanDefinition.action.relatedAction.targetId">
            <path value="PlanDefinition.action.relatedAction.targetId"/>
            <short value="What action is this related to"/>
            <definition value="The element id of the target related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.targetId"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.relationship">
            <path value="PlanDefinition.action.relatedAction.relationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the start of this action to the related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.relationship"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.endRelationship">
            <path value="PlanDefinition.action.relatedAction.endRelationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the end of this action to the related action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.endRelationship"/>
              <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="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.offset[x]">
            <path value="PlanDefinition.action.relatedAction.offset[x]"/>
            <short value="Time offset for the relationship"/>
            <definition value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.offset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.timing[x]">
            <path value="PlanDefinition.action.timing[x]"/>
            <short value="When the action should take place"/>
            <definition value="An optional value describing when the action should be performed."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.location">
            <path value="PlanDefinition.action.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant">
            <path value="PlanDefinition.action.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <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=".participation[typeCode=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.participant.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.participant.actorId">
            <path value="PlanDefinition.action.participant.actorId"/>
            <short value="What actor"/>
            <definition value="A reference to the id element of the actor who will participate in this action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.actorId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.type">
            <path value="PlanDefinition.action.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeCanonical">
            <path value="PlanDefinition.action.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeReference">
            <path value="PlanDefinition.action.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.role">
            <path value="PlanDefinition.action.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.function">
            <path value="PlanDefinition.action.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.type">
            <path value="PlanDefinition.action.type"/>
            <short value="create | update | remove | fire-event"/>
            <definition value="The type of action to perform (create, update, remove)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of action to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { Maybe? this is effectively Create, Update, or Delete }"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.groupingBehavior">
            <path value="PlanDefinition.action.groupingBehavior"/>
            <short value="visual-group | logical-group | sentence-group"/>
            <definition value="Defines the grouping behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.groupingBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no grouping behavior is specified but the action has children (i.e. is a group), the grouping behavior is assumed to be `logical-group`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionGroupingBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines organization behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-grouping-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.selectionBehavior">
            <path value="PlanDefinition.action.selectionBehavior"/>
            <short value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
            <definition value="Defines the selection behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.selectionBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no selection behavior is specified but the action has children (i.e. is a group), the selection behavior is assumed to be `all`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="ActionSelectionBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-selection-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.requiredBehavior">
            <path value="PlanDefinition.action.requiredBehavior"/>
            <short value="must | could | must-unless-documented"/>
            <definition value="Defines the required behavior for the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.requiredBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no required behavior is specified but the action has children (i.e. is a group), the required behavior is assumed to be `could`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionRequiredBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines expectations around whether an action or action group is required."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-required-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.precheckBehavior">
            <path value="PlanDefinition.action.precheckBehavior"/>
            <short value="yes | no"/>
            <definition value="Defines whether the action should usually be preselected."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.precheckBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no precheck behavior is specified but the action has children (i.e. is a group), the precheck behavior is assumed to be `no`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionPrecheckBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection frequency behavior for an action or group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-precheck-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.cardinalityBehavior">
            <path value="PlanDefinition.action.cardinalityBehavior"/>
            <short value="single | multiple"/>
            <definition value="Defines whether the action can be selected multiple times."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.cardinalityBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no cardinality behavior is specified but the action has children (i.e. is a group), the cardinality behavior is assumed to be `single`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionCardinalityBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines behavior for an action or a group for how many times that item may be repeated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.definition[x]">
            <path value="PlanDefinition.action.definition[x]"/>
            <short value="Description of the activity to be performed"/>
            <definition value="A reference to an ActivityDefinition that describes the action to be taken in detail, a MessageDefinition describing a message to be snet, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured."/>
            <comment value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.definition[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.transform">
            <path value="PlanDefinition.action.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.dynamicValue">
            <path value="PlanDefinition.action.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="PlanDefinition.action.dynamicValue.id">
            <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.extension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.modifierExtension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <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="PlanDefinition.action.dynamicValue.path">
            <path value="PlanDefinition.action.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.path"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.expression">
            <path value="PlanDefinition.action.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.action">
            <path value="PlanDefinition.action.action"/>
            <short value="A sub-action"/>
            <definition value="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="{InverseRelationship of Definition.partOf}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.asNeeded[x]">
            <path value="PlanDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="PlanDefinition.extension:cdsHooksEndpoint">
            <path value="PlanDefinition.extension"/>
            <sliceName value="cdsHooksEndpoint"/>
            <short value="Service endpoint"/>
            <definition value="Defines the service endpoint for the behavior implemented by the PlanDefinition."/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"/>
            </type>
          </element>
          <element id="PlanDefinition.action">
            <path value="PlanDefinition.action"/>
          </element>
          <element id="PlanDefinition.action.title">
            <path value="PlanDefinition.action.title"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.description">
            <path value="PlanDefinition.action.description"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.priority">
            <path value="PlanDefinition.action.priority"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.trigger">
            <path value="PlanDefinition.action.trigger"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.condition">
            <path value="PlanDefinition.action.condition"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.timing[x]">
            <path value="PlanDefinition.action.timing[x]"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.participant">
            <path value="PlanDefinition.action.participant"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.type">
            <path value="PlanDefinition.action.type"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.selectionBehavior">
            <path value="PlanDefinition.action.selectionBehavior"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.action.definition[x]">
            <path value="PlanDefinition.action.definition[x]"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/publishableplandefinition"/>
    <resource>
      <StructureDefinition>
        <id value="publishableplandefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/publishableplandefinition"/>
        <version value="5.0.0"/>
        <name value="PublishablePlanDefinition"/>
        <title value="Publishable PlanDefinition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Supports declaration of the PlanDefinition metadata required by HL7 and other organizations that share and publish plandefinitions with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation."/>
        <fhirVersion value="5.0.0"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM Mapping"/>
        </mapping>
        <mapping>
          <identity value="workflow"/>
          <uri value="http://hl7.org/fhir/workflow"/>
          <name value="Workflow Pattern"/>
        </mapping>
        <mapping>
          <identity value="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="PlanDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/shareableplandefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <short value="The definition of a plan for a series of actions, independent of any specific patient or context"/>
            <definition value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-3"/>
              <severity value="warning"/>
              <human value="goalid should reference the id of a goal definition"/>
              <expression value="%context.repeat(action).where((goalId in %context.goal.id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-4"/>
              <severity value="warning"/>
              <human value="targetId should reference the id of an action"/>
              <expression value="%context.repeat(action).relatedAction.where((targetId in %context.repeat(action).id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.id">
            <path value="PlanDefinition.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="PlanDefinition.meta">
            <path value="PlanDefinition.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="PlanDefinition.implicitRules">
            <path value="PlanDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="PlanDefinition.language">
            <path value="PlanDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="PlanDefinition.text">
            <path value="PlanDefinition.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="PlanDefinition.contained">
            <path value="PlanDefinition.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."/>
            <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="PlanDefinition.extension">
            <path value="PlanDefinition.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>
            <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="PlanDefinition.extension:knowledgeCapability">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeCapability"/>
            <short value="shareable | computable | publishable | executable"/>
            <definition value="Defines a knowledge capability afforded by this knowledge artifact."/>
            <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/cqf-knowledgeCapability"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.extension:knowledgeRepresentationLevel">
            <path value="PlanDefinition.extension"/>
            <sliceName value="knowledgeRepresentationLevel"/>
            <short value="narrative | semi-structured | structured | executable"/>
            <definition value="Defines a knowledge representation level provided by this knowledge artifact."/>
            <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/cqf-knowledgeRepresentationLevel"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.extension:artifactComment">
            <path value="PlanDefinition.extension"/>
            <sliceName value="artifactComment"/>
            <short value="Additional documentation, review, or usage guidance"/>
            <definition value="A comment containing additional documentation, a review comment, usage guidance, or other relevant information from a particular user."/>
            <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/cqf-artifactComment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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"/>
          </element>
          <element id="PlanDefinition.modifierExtension">
            <path value="PlanDefinition.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>
            <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="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="PlanDefinition.url">
            <path value="PlanDefinition.url"/>
            <short value="Canonical identifier for this plan definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this plan definition 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 plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the plan definition to be referenced by a single globally unique identifier."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.identifier">
            <path value="PlanDefinition.identifier"/>
            <short value="Additional identifier for the plan definition"/>
            <definition value="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.version">
            <path value="PlanDefinition.version"/>
            <short value="Business version of the plan definition"/>
            <definition value="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the plan definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.versionAlgorithm[x]">
            <path value="PlanDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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>
              <strength value="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.name">
            <path value="PlanDefinition.name"/>
            <short value="Name for this plan definition (computer friendly)"/>
            <definition value="A natural language name identifying the plan definition. 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="PlanDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.title"/>
            <short value="Name for this plan definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the plan definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.subtitle"/>
            <short value="Subordinate title of the plan definition"/>
            <definition value="An explanatory or alternate title for the plan definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.type">
            <path value="PlanDefinition.type"/>
            <short value="order-set | clinical-protocol | eca-rule | workflow-definition"/>
            <definition value="A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PlanDefinitionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of PlanDefinition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/plan-definition-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.status">
            <path value="PlanDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this plan definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="PlanDefinition.experimental">
            <path value="PlanDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subject[x]">
            <path value="PlanDefinition.subject[x]"/>
            <short value="Type of individual the plan definition is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.date">
            <path value="PlanDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the plan definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="PlanDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the plan definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the plan definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.publisher"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.contact">
            <path value="PlanDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.description"/>
            <short value="Natural language description of the plan definition"/>
            <definition value="A free text natural language description of the plan definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.description"/>
              <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="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.useContext">
            <path value="PlanDefinition.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 plan definition 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="PlanDefinition.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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.jurisdiction">
            <path value="PlanDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for plan definition (if applicable)"/>
            <definition value="A legal or geographic region in which the plan definition is intended to be used."/>
            <comment value="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.jurisdiction"/>
              <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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.purpose"/>
            <short value="Why this plan definition is defined"/>
            <definition value="Explanation of why this plan definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.purpose"/>
              <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="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.usage"/>
            <short value="Describes the clinical usage of the plan"/>
            <definition value="A detailed description of how the plan definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.usage"/>
              <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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyright">
            <path value="PlanDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyright"/>
              <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="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyrightLabel"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.approvalDate">
            <path value="PlanDefinition.approvalDate"/>
            <short value="When the plan definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.lastReviewDate">
            <path value="PlanDefinition.lastReviewDate"/>
            <short value="When the plan definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.effectivePeriod">
            <path value="PlanDefinition.effectivePeriod"/>
            <short value="When the plan definition is expected to be used"/>
            <definition value="The period during which the plan definition content was or is planned to be in active use."/>
            <comment value="The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a plan definition intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the plan definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.effectivePeriod"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.topic">
            <path value="PlanDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment"/>
            <definition value="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the plan definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.author">
            <path value="PlanDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.editor">
            <path value="PlanDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.reviewer">
            <path value="PlanDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.endorser">
            <path value="PlanDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact">
            <path value="PlanDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Plan definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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=".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact.id">
            <path value="PlanDefinition.relatedArtifact.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="id"/>
              </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="PlanDefinition.relatedArtifact.extension">
            <path value="PlanDefinition.relatedArtifact.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact.type">
            <path value="PlanDefinition.relatedArtifact.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"/>
            <definition value="The type of relationship to the related artifact."/>
            <comment value="The presence of both sides of a relationship type (e.g. successor and predecessor) is required to support use cases where one side of a relationship is not represented in FHIR. However, this feature SHALL NOT be used to create bi-directional resource links in FHIR instances. Specifically, following the methodology of &quot;new points to old&quot; and &quot;many points to one&quot;, when using related artifact elements to describe and reference FHIR resources, the type element SHALL be drawn from the fhir-related-artifact-type ValueSet."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The type of relationship to the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of relationship to the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/related-artifact-type|5.0.0"/>
            </binding>
          </element>
          <element id="PlanDefinition.relatedArtifact.classifier">
            <path value="PlanDefinition.relatedArtifact.classifier"/>
            <short value="Additional classifiers"/>
            <definition value="Provides additional classifiers of the related artifact."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="RelatedArtifact.classifier"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Additional classifiers for the related artifact."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactClassifier"/>
              </extension>
              <strength value="example"/>
              <description value="Additional classifiers for the related artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/citation-artifact-classifier"/>
            </binding>
          </element>
          <element id="PlanDefinition.relatedArtifact.label">
            <path value="PlanDefinition.relatedArtifact.label"/>
            <short value="Short label"/>
            <definition value="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.display">
            <path value="PlanDefinition.relatedArtifact.display"/>
            <short value="Brief description of the related artifact"/>
            <definition value="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.display"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.citation">
            <path value="PlanDefinition.relatedArtifact.citation"/>
            <short value="Bibliographic citation for the artifact"/>
            <definition value="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format."/>
            <comment value="Additional structured information about citations should be captured as extensions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.citation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.document">
            <path value="PlanDefinition.relatedArtifact.document"/>
            <short value="What document is being referenced"/>
            <definition value="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.document"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Attachment"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.resource">
            <path value="PlanDefinition.relatedArtifact.resource"/>
            <short value="What artifact is being referenced"/>
            <definition value="The related artifact, such as a library, value set, profile, or other knowledge resource."/>
            <comment value="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resource"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <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"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.resourceReference">
            <path value="PlanDefinition.relatedArtifact.resourceReference"/>
            <short value="What artifact, if not a conformance resource"/>
            <definition value="The related artifact, if the artifact is not a canonical resource, or a resource reference to a canonical resource."/>
            <comment value="If both resource and resourceReference are present, they SHOULD be consistent and reference the same resource. Although relatedArtifact is intended to support references to definitional resources, there are cases where non-definitional resources can be definitional (such as Location where the kind is mode). Related artifacts SHOULD be used to reference definitional resources, and profiles SHOULD be used to make that explicit for particular use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.resourceReference"/>
              <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="true"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.publicationStatus">
            <path value="PlanDefinition.relatedArtifact.publicationStatus"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The publication status of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationStatus"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Publication status of an artifact being referred to."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="RelatedArtifactPublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Publication status of an artifact being referred to."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
          </element>
          <element id="PlanDefinition.relatedArtifact.publicationDate">
            <path value="PlanDefinition.relatedArtifact.publicationDate"/>
            <short value="Date of publication of the artifact being referred to"/>
            <definition value="The date of publication of the artifact being referred to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="RelatedArtifact.publicationDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="PlanDefinition.library">
            <path value="PlanDefinition.library"/>
            <short value="Logic used by the plan definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the plan definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal">
            <path value="PlanDefinition.goal"/>
            <short value="What the plan is trying to accomplish"/>
            <definition value="A goal describes an expected outcome that activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, meeting the acceptance criteria for a test as specified by a quality specification, etc."/>
            <requirements value="Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.id">
            <path value="PlanDefinition.goal.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="PlanDefinition.goal.extension">
            <path value="PlanDefinition.goal.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.modifierExtension">
            <path value="PlanDefinition.goal.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>
            <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>
            <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="PlanDefinition.goal.category">
            <path value="PlanDefinition.goal.category"/>
            <short value="E.g. Treatment, dietary, behavioral"/>
            <definition value="Indicates a category the goal falls within."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.category"/>
              <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="GoalCategory"/>
              </extension>
              <strength value="example"/>
              <description value="Example codes for grouping goals for filtering or presentation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-category"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.description">
            <path value="PlanDefinition.goal.description"/>
            <short value="Code or text describing the goal"/>
            <definition value="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;."/>
            <comment value="If no code is available, use CodeableConcept.text."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.description"/>
              <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="GoalDescription"/>
              </extension>
              <strength value="example"/>
              <description value="Describes goals that can be achieved."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.priority">
            <path value="PlanDefinition.goal.priority"/>
            <short value="high-priority | medium-priority | low-priority"/>
            <definition value="Identifies the expected level of importance associated with reaching/sustaining the defined goal."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.priority"/>
              <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="GoalPriority"/>
              </extension>
              <strength value="preferred"/>
              <description value="Indicates the level of importance associated with reaching or sustaining a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.start">
            <path value="PlanDefinition.goal.start"/>
            <short value="When goal pursuit begins"/>
            <definition value="The event after which the goal should begin being pursued."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.start"/>
              <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="GoalStartEvent"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies the types of events that might trigger the start of a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-start-event"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.addresses">
            <path value="PlanDefinition.goal.addresses"/>
            <short value="What does the goal address"/>
            <definition value="Identifies problems, conditions, issues, or concerns the goal is intended to address."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.addresses"/>
              <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="GoalAddresses"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies problems, conditions, issues, or concerns that goals may address."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.documentation">
            <path value="PlanDefinition.goal.documentation"/>
            <short value="Supporting documentation for the goal"/>
            <definition value="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target">
            <path value="PlanDefinition.goal.target"/>
            <short value="Target outcome for the goal"/>
            <definition value="Indicates what should be done and within what timeframe."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.id">
            <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.extension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.modifierExtension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <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="PlanDefinition.goal.target.measure">
            <path value="PlanDefinition.goal.target.measure"/>
            <short value="The parameter whose value is to be tracked"/>
            <definition value="The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.measure"/>
              <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="GoalTargetMeasure"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies types of parameters that can be tracked to determine goal achievement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.detail[x]">
            <path value="PlanDefinition.goal.target.detail[x]"/>
            <short value="The target value to be achieved"/>
            <definition value="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality - NMT 0.6%, Clear solution, etc. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value."/>
            <comment value="A 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 goal.target.measure defines a coded value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.detail[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.due">
            <path value="PlanDefinition.goal.target.due"/>
            <short value="Reach goal within"/>
            <definition value="Indicates the timeframe after the start of the goal in which the goal should be met."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.due"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor">
            <path value="PlanDefinition.actor"/>
            <short value="Actors within the plan"/>
            <definition value="Actors represent the individuals or groups involved in the execution of the defined set of activities."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.id">
            <path value="PlanDefinition.actor.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="PlanDefinition.actor.extension">
            <path value="PlanDefinition.actor.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.modifierExtension">
            <path value="PlanDefinition.actor.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>
            <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>
            <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="PlanDefinition.actor.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.title"/>
            <short value="User-visible title"/>
            <definition value="A descriptive label for the actor."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.description"/>
            <short value="Describes the actor"/>
            <definition value="A description of how the actor fits into the overall actions of the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option">
            <path value="PlanDefinition.actor.option"/>
            <short value="Who or what can be this actor"/>
            <definition value="The characteristics of the candidates that could serve as the actor."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor.option"/>
              <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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.id">
            <path value="PlanDefinition.actor.option.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="PlanDefinition.actor.option.extension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.modifierExtension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <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="PlanDefinition.actor.option.type">
            <path value="PlanDefinition.actor.option.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeCanonical">
            <path value="PlanDefinition.actor.option.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeReference">
            <path value="PlanDefinition.actor.option.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.role">
            <path value="PlanDefinition.actor.option.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action">
            <path value="PlanDefinition.action"/>
            <short value="Action defined by the plan"/>
            <definition value="An action or group of actions to be taken as part of the plan. For example, in clinical care, an action would be to prescribe a particular indicated medication, or perform a particular test as appropriate. In pharmaceutical quality, an action would be the test that needs to be performed on a drug product as defined in the quality specification."/>
            <comment value="Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-3"/>
            <condition value="pld-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="workflow"/>
              <map value="{Is a contained Definition}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.linkId">
            <path value="PlanDefinition.action.linkId"/>
            <short value="Unique id for the action in the PlanDefinition"/>
            <definition value="An identifier that is unique within the PlanDefinition to allow linkage within the realized CarePlan and/or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.linkId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.prefix">
            <path value="PlanDefinition.action.prefix"/>
            <short value="User-visible prefix for the action (e.g. 1. or A.)"/>
            <definition value="A user-visible prefix for the action. For example a section or item numbering such as 1. or A."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.prefix"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.title"/>
            <short value="User-visible title"/>
            <definition value="The textual description of the action displayed to a user. For example, when the action is a test to be performed, the title would be the title of the test such as Assay by HPLC."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.description"/>
            <short value="Brief description of the action"/>
            <definition value="A brief description of the action used to provide a summary to display to the user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.textEquivalent">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.textEquivalent"/>
            <short value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
            <definition value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.textEquivalent"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.priority">
            <path value="PlanDefinition.action.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the action should be addressed with respect to other actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.priority"/>
              <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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.code">
            <path value="PlanDefinition.action.code"/>
            <short value="Code representing the meaning of the action or sub-actions"/>
            <definition value="A code that provides a meaning, grouping, or classification for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. In pharmaceutical quality, an action (Test) such as pH could be classified as a physical property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.reason">
            <path value="PlanDefinition.action.reason"/>
            <short value="Why the action should be performed"/>
            <definition value="A description of why this action is necessary or appropriate."/>
            <comment value="This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.reason"/>
              <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="ActionReasonCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of reasons for actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-reason-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.documentation">
            <path value="PlanDefinition.action.documentation"/>
            <short value="Supporting documentation for the intended performer of the action"/>
            <definition value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.goalId">
            <path value="PlanDefinition.action.goalId"/>
            <short value="What goals this action supports"/>
            <definition value="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.goalId"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.subject[x]">
            <path value="PlanDefinition.action.subject[x]"/>
            <short value="Type of individual the action is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.&#xA;&#xA;In addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient)."/>
            <requirements value="Multiple steps in a protocol often have different groups of steps that are focused on testing different things. The subject of an action specifies the focus of the action and any child actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.trigger">
            <path value="PlanDefinition.action.trigger"/>
            <short value="When the action should be triggered"/>
            <definition value="A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.trigger"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition">
            <path value="PlanDefinition.action.condition"/>
            <short value="Whether or not the action is applicable"/>
            <definition value="An expression that describes applicability criteria or start/stop conditions for the action."/>
            <comment value="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.condition.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.condition.kind">
            <path value="PlanDefinition.action.condition.kind"/>
            <short value="applicability | start | stop"/>
            <definition value="The kind of condition."/>
            <comment value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.kind"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionConditionKind"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the kinds of conditions that can appear on actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-condition-kind|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.expression">
            <path value="PlanDefinition.action.condition.expression"/>
            <short value="Boolean-valued expression"/>
            <definition value="An expression that returns true or false, indicating whether the condition is satisfied."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input">
            <path value="PlanDefinition.action.input"/>
            <short value="Input data requirements"/>
            <definition value="Defines input data requirements for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.input"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-0"/>
              <severity value="error"/>
              <human value="Input data elements must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.id">
            <path value="PlanDefinition.action.input.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="PlanDefinition.action.input.extension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.modifierExtension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <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="PlanDefinition.action.input.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.input.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.requirement">
            <path value="PlanDefinition.action.input.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that is to be provided as input to the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.relatedData">
            <path value="PlanDefinition.action.input.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that provides data to this input."/>
            <comment value="The relatedData element allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output">
            <path value="PlanDefinition.action.output"/>
            <short value="Output data definition"/>
            <definition value="Defines the outputs of the action, if any."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.output"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-1"/>
              <severity value="error"/>
              <human value="Output data element must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.id">
            <path value="PlanDefinition.action.output.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="PlanDefinition.action.output.extension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.modifierExtension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <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="PlanDefinition.action.output.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.output.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.requirement">
            <path value="PlanDefinition.action.output.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that results as output from the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.relatedData">
            <path value="PlanDefinition.action.output.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that is results as output from the action."/>
            <comment value="The relatedData element allows indicating that the output of child action is also the output of a parent action. It also allows the input of one action to be identified as the output of a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction">
            <path value="PlanDefinition.action.relatedAction"/>
            <short value="Relationship to another action"/>
            <definition value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
            <comment value="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.relatedAction"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.id">
            <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.extension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.modifierExtension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <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="PlanDefinition.action.relatedAction.targetId">
            <path value="PlanDefinition.action.relatedAction.targetId"/>
            <short value="What action is this related to"/>
            <definition value="The element id of the target related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.targetId"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.relationship">
            <path value="PlanDefinition.action.relatedAction.relationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the start of this action to the related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.relationship"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.endRelationship">
            <path value="PlanDefinition.action.relatedAction.endRelationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the end of this action to the related action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.endRelationship"/>
              <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="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.offset[x]">
            <path value="PlanDefinition.action.relatedAction.offset[x]"/>
            <short value="Time offset for the relationship"/>
            <definition value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.offset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.timing[x]">
            <path value="PlanDefinition.action.timing[x]"/>
            <short value="When the action should take place"/>
            <definition value="An optional value describing when the action should be performed."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.location">
            <path value="PlanDefinition.action.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant">
            <path value="PlanDefinition.action.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.participant.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.participant.actorId">
            <path value="PlanDefinition.action.participant.actorId"/>
            <short value="What actor"/>
            <definition value="A reference to the id element of the actor who will participate in this action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.actorId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.type">
            <path value="PlanDefinition.action.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeCanonical">
            <path value="PlanDefinition.action.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeReference">
            <path value="PlanDefinition.action.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.role">
            <path value="PlanDefinition.action.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.function">
            <path value="PlanDefinition.action.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.type">
            <path value="PlanDefinition.action.type"/>
            <short value="create | update | remove | fire-event"/>
            <definition value="The type of action to perform (create, update, remove)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of action to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { Maybe? this is effectively Create, Update, or Delete }"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.groupingBehavior">
            <path value="PlanDefinition.action.groupingBehavior"/>
            <short value="visual-group | logical-group | sentence-group"/>
            <definition value="Defines the grouping behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.groupingBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no grouping behavior is specified but the action has children (i.e. is a group), the grouping behavior is assumed to be `logical-group`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionGroupingBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines organization behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-grouping-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.selectionBehavior">
            <path value="PlanDefinition.action.selectionBehavior"/>
            <short value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
            <definition value="Defines the selection behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.selectionBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no selection behavior is specified but the action has children (i.e. is a group), the selection behavior is assumed to be `all`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionSelectionBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-selection-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.requiredBehavior">
            <path value="PlanDefinition.action.requiredBehavior"/>
            <short value="must | could | must-unless-documented"/>
            <definition value="Defines the required behavior for the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.requiredBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no required behavior is specified but the action has children (i.e. is a group), the required behavior is assumed to be `could`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionRequiredBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines expectations around whether an action or action group is required."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-required-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.precheckBehavior">
            <path value="PlanDefinition.action.precheckBehavior"/>
            <short value="yes | no"/>
            <definition value="Defines whether the action should usually be preselected."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.precheckBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no precheck behavior is specified but the action has children (i.e. is a group), the precheck behavior is assumed to be `no`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionPrecheckBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection frequency behavior for an action or group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-precheck-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.cardinalityBehavior">
            <path value="PlanDefinition.action.cardinalityBehavior"/>
            <short value="single | multiple"/>
            <definition value="Defines whether the action can be selected multiple times."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.cardinalityBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no cardinality behavior is specified but the action has children (i.e. is a group), the cardinality behavior is assumed to be `single`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionCardinalityBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines behavior for an action or a group for how many times that item may be repeated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.definition[x]">
            <path value="PlanDefinition.action.definition[x]"/>
            <short value="Description of the activity to be performed"/>
            <definition value="A reference to an ActivityDefinition that describes the action to be taken in detail, a MessageDefinition describing a message to be snet, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured."/>
            <comment value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.definition[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <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="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.transform">
            <path value="PlanDefinition.action.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.dynamicValue">
            <path value="PlanDefinition.action.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="PlanDefinition.action.dynamicValue.id">
            <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.extension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.modifierExtension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <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="PlanDefinition.action.dynamicValue.path">
            <path value="PlanDefinition.action.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.path"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.expression">
            <path value="PlanDefinition.action.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.action">
            <path value="PlanDefinition.action.action"/>
            <short value="A sub-action"/>
            <definition value="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="{InverseRelationship of Definition.partOf}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.asNeeded[x]">
            <path value="PlanDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="PlanDefinition.identifier">
            <path value="PlanDefinition.identifier"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.date">
            <path value="PlanDefinition.date"/>
            <min value="1"/>
            <max value="1"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.contact">
            <path value="PlanDefinition.contact"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.useContext">
            <path value="PlanDefinition.useContext"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.jurisdiction">
            <path value="PlanDefinition.jurisdiction"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.purpose">
            <path value="PlanDefinition.purpose"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.usage">
            <path value="PlanDefinition.usage"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.copyright">
            <path value="PlanDefinition.copyright"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.copyrightLabel">
            <path value="PlanDefinition.copyrightLabel"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.approvalDate">
            <path value="PlanDefinition.approvalDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.lastReviewDate">
            <path value="PlanDefinition.lastReviewDate"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.effectivePeriod">
            <path value="PlanDefinition.effectivePeriod"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.topic">
            <path value="PlanDefinition.topic"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.author">
            <path value="PlanDefinition.author"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.editor">
            <path value="PlanDefinition.editor"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.reviewer">
            <path value="PlanDefinition.reviewer"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.endorser">
            <path value="PlanDefinition.endorser"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact">
            <path value="PlanDefinition.relatedArtifact"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.display">
            <path value="PlanDefinition.relatedArtifact.display"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.document">
            <path value="PlanDefinition.relatedArtifact.document"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.resource">
            <path value="PlanDefinition.relatedArtifact.resource"/>
            <mustSupport value="true"/>
          </element>
          <element id="PlanDefinition.relatedArtifact.resourceReference">
            <path value="PlanDefinition.relatedArtifact.resourceReference"/>
            <mustSupport value="true"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/computableplandefinition"/>
    <resource>
      <StructureDefinition>
        <id value="computableplandefinition"/>
        <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="3"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
          <valueCode value="cds"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
          <valueCode value="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/computableplandefinition"/>
        <identifier>
          <system value="urn:ietf:rfc:3986"/>
          <value value="urn:oid:2.16.840.1.113883.4.642.5.1078"/>
        </identifier>
        <version value="5.0.0"/>
        <name value="ComputablePlanDefinition"/>
        <title value="Computable  Plan Definition"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2020-12-28T16:55:11+11:00"/>
        <publisher value="HL7"/>
        <description value="Defines a computable PlanDefinition that specifies a single library and requires all expressions referenced from the PlanDefinition to be definitions in that single library"/>
        <fhirVersion value="5.0.0"/>
        <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="w5"/>
          <uri value="http://hl7.org/fhir/fivews"/>
          <name value="FiveWs Pattern Mapping"/>
        </mapping>
        <mapping>
          <identity value="objimpl"/>
          <uri value="http://hl7.org/fhir/object-implementation"/>
          <name value="Object Implementation Information"/>
        </mapping>
        <kind value="resource"/>
        <abstract value="false"/>
        <type value="PlanDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <short value="The definition of a plan for a series of actions, independent of any specific patient or context"/>
            <definition value="This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="cnl-0"/>
              <severity value="warning"/>
              <human value="Name should be usable as an identifier for the module by machine processing applications such as code generation"/>
              <expression value="name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-3"/>
              <severity value="warning"/>
              <human value="goalid should reference the id of a goal definition"/>
              <expression value="%context.repeat(action).where((goalId in %context.goal.id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="pld-4"/>
              <severity value="warning"/>
              <human value="targetId should reference the id of an action"/>
              <expression value="%context.repeat(action).relatedAction.where((targetId in %context.repeat(action).id).not()).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="w5"/>
              <map value="conformance.behavior,clinical.general"/>
            </mapping>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=GROUPER;moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.id">
            <path value="PlanDefinition.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="PlanDefinition.meta">
            <path value="PlanDefinition.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="PlanDefinition.implicitRules">
            <path value="PlanDefinition.implicitRules"/>
            <short value="A set of rules under which this content was created"/>
            <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc."/>
            <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of 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="PlanDefinition.language">
            <path value="PlanDefinition.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>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="IETF language tag for a human language"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|5.0.0"/>
              <additional>
                <purpose value="starter"/>
                <valueSet value="http://hl7.org/fhir/ValueSet/languages"/>
              </additional>
            </binding>
          </element>
          <element id="PlanDefinition.text">
            <path value="PlanDefinition.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="PlanDefinition.contained">
            <path value="PlanDefinition.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."/>
            <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="PlanDefinition.extension">
            <path value="PlanDefinition.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>
            <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"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.modifierExtension">
            <path value="PlanDefinition.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>
            <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="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="PlanDefinition.url">
            <path value="PlanDefinition.url"/>
            <short value="Canonical identifier for this plan definition, represented as a URI (globally unique)"/>
            <definition value="An absolute URI that is used to identify this plan definition 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 plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition 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.&#xA;&#xA;The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). &#xA;&#xA;In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found."/>
            <requirements value="Allows the plan definition to be referenced by a single globally unique identifier."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.url"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <constraint>
              <key value="cnl-1"/>
              <severity value="warning"/>
              <human value="URL should not contain | or # - these characters make processing canonical references problematic"/>
              <expression value="exists() implies matches('^[^|# ]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.url"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier[scope=BUSN;reliability=ISS]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.identifier">
            <path value="PlanDefinition.identifier"/>
            <short value="Additional identifier for the plan definition"/>
            <definition value="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance."/>
            <comment value="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI."/>
            <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.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="Definition.identifier"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.identifier"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".identifier"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.version">
            <path value="PlanDefinition.version"/>
            <short value="Business version of the plan definition"/>
            <definition value="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts."/>
            <comment value="There may be different plan definition instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the plan definition with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.version"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.versionAlgorithm[x]">
            <path value="PlanDefinition.versionAlgorithm[x]"/>
            <short value="How to compare versions"/>
            <definition value="Indicates the mechanism used to compare versions to determine which is more current."/>
            <comment value="If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.versionAlgorithm[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="extensible"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.versionAlgorithm"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.version"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.name">
            <path value="PlanDefinition.name"/>
            <short value="Name for this plan definition (computer friendly)"/>
            <definition value="A natural language name identifying the plan definition. 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="PlanDefinition.name"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="cnl-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.name"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.title"/>
            <short value="Name for this plan definition (human friendly)"/>
            <definition value="A short, descriptive, user-friendly title for the plan definition."/>
            <comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subtitle">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.subtitle"/>
            <short value="Subordinate title of the plan definition"/>
            <definition value="An explanatory or alternate title for the plan definition giving additional information about its content."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subtitle"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.type">
            <path value="PlanDefinition.type"/>
            <short value="order-set | clinical-protocol | eca-rule | workflow-definition"/>
            <definition value="A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PlanDefinitionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of PlanDefinition."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/plan-definition-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.status">
            <path value="PlanDefinition.status"/>
            <short value="draft | active | retired | unknown"/>
            <definition value="The status of this plan definition. Enables tracking the life-cycle of the content."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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 is labeled as &quot;Is Modifier&quot; because applications should not use a retired {{title}} without due consideration"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PublicationStatus"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="The lifecycle status of an artifact."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/publication-status|5.0.0"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.status {different ValueSet}"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.status"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".status"/>
            </mapping>
          </element>
          <element id="PlanDefinition.experimental">
            <path value="PlanDefinition.experimental"/>
            <short value="For testing purposes, not real usage"/>
            <definition value="A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage."/>
            <comment value="Allows filtering of plan definitions that are appropriate for use versus not."/>
            <requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.experimental"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="If absent, this resource is treated as though it is not experimental."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.experimental"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.class"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.subject[x]">
            <path value="PlanDefinition.subject[x]"/>
            <short value="Type of individual the plan definition is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes  or identifies the intended subject of the plan definition. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="Note that the choice of canonical for the subject element was introduced in R4B to support pharmaceutical quality use cases. To ensure as much backwards-compatibility as possible, it is recommended to only use the new canonical type with these use cases."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SubstanceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition"/>
            </type>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/EvidenceVariable"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.date">
            <path value="PlanDefinition.date"/>
            <short value="Date last changed"/>
            <definition value="The date  (and optionally time) when the plan definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes."/>
            <comment value="The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <alias value="Revision Date"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.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="workflow"/>
              <map value="Definition.date"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.recorded"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].time"/>
            </mapping>
          </element>
          <element id="PlanDefinition.publisher">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.publisher"/>
            <short value="Name of the publisher/steward (organization or individual)"/>
            <definition value="The name of the organization or individual responsible for the release and ongoing maintenance of the plan definition."/>
            <comment value="Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the plan definition. This item SHOULD be populated unless the information is available from context."/>
            <requirements value="Helps establish the &quot;authority/credibility&quot; of the plan definition.  May also allow for contact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.publisher"/>
              <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="workflow"/>
              <map value="Definition.publisher"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.witness"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=AUT].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.contact">
            <path value="PlanDefinition.contact"/>
            <short value="Contact details for the publisher"/>
            <definition value="Contact details to assist a user in finding and communicating with the publisher."/>
            <comment value="May be a web site, an email address, a telephone number, etc.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.contact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.contact"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".participation[typeCode=CALLBCK].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.description"/>
            <short value="Natural language description of the plan definition"/>
            <definition value="A free text natural language description of the plan definition from a consumer's perspective."/>
            <comment value="This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.useContext">
            <path value="PlanDefinition.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 plan definition 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="PlanDefinition.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"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.useContext"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.jurisdiction">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.jurisdiction"/>
            <short value="Intended jurisdiction for plan definition (if applicable)"/>
            <definition value="A legal or geographic region in which the plan definition is intended to be used."/>
            <comment value="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.&#xA;&#xA;DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.jurisdiction"/>
              <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="Jurisdiction"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="Countries and regions within which this artifact is targeted for use."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.jurisdiction"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.purpose">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.purpose"/>
            <short value="Why this plan definition is defined"/>
            <definition value="Explanation of why this plan definition is needed and why it has been designed as it has."/>
            <comment value="This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.purpose"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.purpose"/>
            </mapping>
            <mapping>
              <identity value="w5"/>
              <map value="FiveWs.why[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode.text"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.usage">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.usage"/>
            <short value="Describes the clinical usage of the plan"/>
            <definition value="A detailed description of how the plan definition is used from a clinical perspective."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.usage"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyright">
            <path value="PlanDefinition.copyright"/>
            <short value="Use and/or publishing restrictions"/>
            <definition value="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
            <comment value="The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element."/>
            <requirements value="Consumers must be able to determine any legal restrictions on the use of the plan definition and/or its content."/>
            <alias value="License"/>
            <alias value="Restrictions"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyright"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.copyright"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.copyrightLabel">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.copyrightLabel"/>
            <short value="Copyright holder and year(s)"/>
            <definition value="A short string (&lt;50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')."/>
            <comment value="The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element."/>
            <requirements value="Defines the content expected to be rendered in all representations of the artifact."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.copyrightLabel"/>
              <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="workflow"/>
              <map value="Definition.copyrightLabel"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.approvalDate">
            <path value="PlanDefinition.approvalDate"/>
            <short value="When the plan definition was approved by publisher"/>
            <definition value="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage."/>
            <comment value="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.approvalDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.approvalDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;approval&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.lastReviewDate">
            <path value="PlanDefinition.lastReviewDate"/>
            <short value="When the plan definition was last reviewed by the publisher"/>
            <definition value="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date."/>
            <comment value="If specified, this date follows the original approval date.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.lastReviewDate"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="Definition.lastReviewDate"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".outboundRelationship[typeCode=&quot;SUBJ&quot;; subsetCode=&quot;RECENT&quot;].act[classCode=CACT;moodCode=EVN;code=&quot;review&quot;].effectiveTime"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.effectivePeriod">
            <path value="PlanDefinition.effectivePeriod"/>
            <short value="When the plan definition is expected to be used"/>
            <definition value="The period during which the plan definition content was or is planned to be in active use."/>
            <comment value="The effective period for a plan definition  determines when the content is applicable for usage and is independent of publication and review dates. For example, a plan definition intended to be used for the year 2016 might be published in 2015.&#xA;&#xA;See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <requirements value="Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the plan definition are or are expected to be used instead."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.effectivePeriod"/>
              <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="workflow"/>
              <map value="Definition.effectivePeriod"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
            <mapping>
              <identity value="objimpl"/>
              <map value="no-gen-base"/>
            </mapping>
          </element>
          <element id="PlanDefinition.topic">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="deprecated"/>
            </extension>
            <path value="PlanDefinition.topic"/>
            <short value="E.g. Education, Treatment, Assessment"/>
            <definition value="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching."/>
            <comment value="DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'topic' code in the useContext element.  (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#topic and useContext.valueCodeableConcept indicating the topic)"/>
            <requirements value="Repositories must be able to determine how to categorize the plan definition so that it can be found by topical searches."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.topic"/>
              <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="DefinitionTopic"/>
              </extension>
              <strength value="example"/>
              <description value="High-level categorization of the definition, used for searching, sorting, and filtering."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/definition-topic"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject[x]"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.author">
            <path value="PlanDefinition.author"/>
            <short value="Who authored the content"/>
            <definition value="An individiual or organization primarily involved in the creation and maintenance of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.author"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.editor">
            <path value="PlanDefinition.editor"/>
            <short value="Who edited the content"/>
            <definition value="An individual or organization primarily responsible for internal coherence of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.editor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=AUT]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.reviewer">
            <path value="PlanDefinition.reviewer"/>
            <short value="Who reviewed the content"/>
            <definition value="An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.reviewer"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.endorser">
            <path value="PlanDefinition.endorser"/>
            <short value="Who endorsed the content"/>
            <definition value="An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting."/>
            <comment value="See guidance around (not) making local changes to elements [here](canonicalresource.html#localization)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.endorser"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="ContactDetail"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=VRF] {not clear whether VRF best corresponds to reviewer or endorser}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.relatedArtifact">
            <path value="PlanDefinition.relatedArtifact"/>
            <short value="Additional documentation, citations"/>
            <definition value="Related artifacts such as additional documentation, justification, or bibliographic references."/>
            <comment value="Each related artifact is either an attachment, or a reference to another resource, but not both."/>
            <requirements value="Plan definitions must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.relatedArtifact"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}"/>
            </mapping>
          </element>
          <element id="PlanDefinition.library">
            <path value="PlanDefinition.library"/>
            <short value="Logic used by the plan definition"/>
            <definition value="A reference to a Library resource containing any formal logic used by the plan definition."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.library"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal">
            <path value="PlanDefinition.goal"/>
            <short value="What the plan is trying to accomplish"/>
            <definition value="A goal describes an expected outcome that activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, meeting the acceptance criteria for a test as specified by a quality specification, etc."/>
            <requirements value="Goal information needs to be captured for order sets, protocols, and care plan definitions to better describe the objectives of the protocol activities and to guide the creation of specific goals within the derived care plans and orders."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.id">
            <path value="PlanDefinition.goal.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="PlanDefinition.goal.extension">
            <path value="PlanDefinition.goal.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.modifierExtension">
            <path value="PlanDefinition.goal.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>
            <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>
            <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="PlanDefinition.goal.category">
            <path value="PlanDefinition.goal.category"/>
            <short value="E.g. Treatment, dietary, behavioral"/>
            <definition value="Indicates a category the goal falls within."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.category"/>
              <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="GoalCategory"/>
              </extension>
              <strength value="example"/>
              <description value="Example codes for grouping goals for filtering or presentation."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-category"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.description">
            <path value="PlanDefinition.goal.description"/>
            <short value="Code or text describing the goal"/>
            <definition value="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;."/>
            <comment value="If no code is available, use CodeableConcept.text."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.description"/>
              <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="GoalDescription"/>
              </extension>
              <strength value="example"/>
              <description value="Describes goals that can be achieved."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/clinical-findings"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.priority">
            <path value="PlanDefinition.goal.priority"/>
            <short value="high-priority | medium-priority | low-priority"/>
            <definition value="Identifies the expected level of importance associated with reaching/sustaining the defined goal."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.priority"/>
              <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="GoalPriority"/>
              </extension>
              <strength value="preferred"/>
              <description value="Indicates the level of importance associated with reaching or sustaining a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-priority"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.start">
            <path value="PlanDefinition.goal.start"/>
            <short value="When goal pursuit begins"/>
            <definition value="The event after which the goal should begin being pursued."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.start"/>
              <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="GoalStartEvent"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies the types of events that might trigger the start of a goal."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/goal-start-event"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.addresses">
            <path value="PlanDefinition.goal.addresses"/>
            <short value="What does the goal address"/>
            <definition value="Identifies problems, conditions, issues, or concerns the goal is intended to address."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.addresses"/>
              <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="GoalAddresses"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies problems, conditions, issues, or concerns that goals may address."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/condition-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.documentation">
            <path value="PlanDefinition.goal.documentation"/>
            <short value="Supporting documentation for the goal"/>
            <definition value="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target">
            <path value="PlanDefinition.goal.target"/>
            <short value="Target outcome for the goal"/>
            <definition value="Indicates what should be done and within what timeframe."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.goal.target"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.id">
            <path value="PlanDefinition.goal.target.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="PlanDefinition.goal.target.extension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.modifierExtension">
            <path value="PlanDefinition.goal.target.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>
            <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>
            <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="PlanDefinition.goal.target.measure">
            <path value="PlanDefinition.goal.target.measure"/>
            <short value="The parameter whose value is to be tracked"/>
            <definition value="The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.measure"/>
              <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="GoalTargetMeasure"/>
              </extension>
              <strength value="example"/>
              <description value="Identifies types of parameters that can be tracked to determine goal achievement."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.detail[x]">
            <path value="PlanDefinition.goal.target.detail[x]"/>
            <short value="The target value to be achieved"/>
            <definition value="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%, or in the case of pharmaceutical quality - NMT 0.6%, Clear solution, etc. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value."/>
            <comment value="A 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 goal.target.measure defines a coded value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.detail[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.goal.target.due">
            <path value="PlanDefinition.goal.target.due"/>
            <short value="Reach goal within"/>
            <definition value="Indicates the timeframe after the start of the goal in which the goal should be met."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.goal.target.due"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor">
            <path value="PlanDefinition.actor"/>
            <short value="Actors within the plan"/>
            <definition value="Actors represent the individuals or groups involved in the execution of the defined set of activities."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.id">
            <path value="PlanDefinition.actor.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="PlanDefinition.actor.extension">
            <path value="PlanDefinition.actor.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.modifierExtension">
            <path value="PlanDefinition.actor.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>
            <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>
            <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="PlanDefinition.actor.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.title"/>
            <short value="User-visible title"/>
            <definition value="A descriptive label for the actor."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.actor.description"/>
            <short value="Describes the actor"/>
            <definition value="A description of how the actor fits into the overall actions of the plan definition."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option">
            <path value="PlanDefinition.actor.option"/>
            <short value="Who or what can be this actor"/>
            <definition value="The characteristics of the candidates that could serve as the actor."/>
            <min value="1"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.actor.option"/>
              <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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.id">
            <path value="PlanDefinition.actor.option.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="PlanDefinition.actor.option.extension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.modifierExtension">
            <path value="PlanDefinition.actor.option.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>
            <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>
            <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="PlanDefinition.actor.option.type">
            <path value="PlanDefinition.actor.option.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeCanonical">
            <path value="PlanDefinition.actor.option.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.typeReference">
            <path value="PlanDefinition.actor.option.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.actor.option.role">
            <path value="PlanDefinition.actor.option.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.actor.option.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action">
            <path value="PlanDefinition.action"/>
            <short value="Action defined by the plan"/>
            <definition value="An action or group of actions to be taken as part of the plan. For example, in clinical care, an action would be to prescribe a particular indicated medication, or perform a particular test as appropriate. In pharmaceutical quality, an action would be the test that needs to be performed on a drug product as defined in the quality specification."/>
            <comment value="Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-3"/>
            <condition value="pld-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="workflow"/>
              <map value="{Is a contained Definition}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.linkId">
            <path value="PlanDefinition.action.linkId"/>
            <short value="Unique id for the action in the PlanDefinition"/>
            <definition value="An identifier that is unique within the PlanDefinition to allow linkage within the realized CarePlan and/or RequestOrchestration."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.linkId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.prefix">
            <path value="PlanDefinition.action.prefix"/>
            <short value="User-visible prefix for the action (e.g. 1. or A.)"/>
            <definition value="A user-visible prefix for the action. For example a section or item numbering such as 1. or A."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.prefix"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.title"/>
            <short value="User-visible title"/>
            <definition value="The textual description of the action displayed to a user. For example, when the action is a test to be performed, the title would be the title of the test such as Assay by HPLC."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="workflow"/>
              <map value="Definition.title"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".title"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.description"/>
            <short value="Brief description of the action"/>
            <definition value="A brief description of the action used to provide a summary to display to the user."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.description"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.textEquivalent">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.textEquivalent"/>
            <short value="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system"/>
            <definition value="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.textEquivalent"/>
              <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="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.description"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value=".text"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.priority">
            <path value="PlanDefinition.action.priority"/>
            <short value="routine | urgent | asap | stat"/>
            <definition value="Indicates how quickly the action should be addressed with respect to other actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.priority"/>
              <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="RequestPriority"/>
              </extension>
              <strength value="required"/>
              <description value="Identifies the level of importance to be assigned to actioning the request."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/request-priority|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".priority"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.code">
            <path value="PlanDefinition.action.code"/>
            <short value="Code representing the meaning of the action or sub-actions"/>
            <definition value="A code that provides a meaning, grouping, or classification for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. In pharmaceutical quality, an action (Test) such as pH could be classified as a physical property."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.reason">
            <path value="PlanDefinition.action.reason"/>
            <short value="Why the action should be performed"/>
            <definition value="A description of why this action is necessary or appropriate."/>
            <comment value="This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.reason"/>
              <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="ActionReasonCode"/>
              </extension>
              <strength value="example"/>
              <description value="Provides examples of reasons for actions to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-reason-code"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".reasonCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.documentation">
            <path value="PlanDefinition.action.documentation"/>
            <short value="Supporting documentation for the intended performer of the action"/>
            <definition value="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.documentation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.goalId">
            <path value="PlanDefinition.action.goalId"/>
            <short value="What goals this action supports"/>
            <definition value="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. In pharmaceutical quality, a goal represents acceptance criteria (Goal) for a given action (Test), so the goalId would be the unique id of a defined goal element establishing the acceptance criteria for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.goalId"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.subject[x]">
            <path value="PlanDefinition.action.subject[x]"/>
            <short value="Type of individual the action is focused on"/>
            <definition value="A code, group definition, or canonical reference that describes the intended subject of the action and its children, if any. Canonical references are allowed to support the definition of protocols for drug and substance quality specifications, and is allowed to reference a MedicinalProductDefinition, SubstanceDefinition, AdministrableProductDefinition, ManufacturedItemDefinition, or PackagedProductDefinition resource."/>
            <comment value="The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.&#xA;&#xA;In addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient)."/>
            <requirements value="Multiple steps in a protocol often have different groups of steps that are focused on testing different things. The subject of an action specifies the focus of the action and any child actions."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.subject[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <meaningWhenMissing value="Patient"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="SubjectType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/participant-resource-types"/>
            </binding>
            <mapping>
              <identity value="workflow"/>
              <map value="Definition.subject"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.trigger">
            <path value="PlanDefinition.action.trigger"/>
            <short value="When the action should be triggered"/>
            <definition value="A description of when the action should be triggered. When multiple triggers are specified on an action, any triggering event invokes the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.trigger"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition">
            <path value="PlanDefinition.action.condition"/>
            <short value="Whether or not the action is applicable"/>
            <definition value="An expression that describes applicability criteria or start/stop conditions for the action."/>
            <comment value="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.condition.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.condition.kind">
            <path value="PlanDefinition.action.condition.kind"/>
            <short value="applicability | start | stop"/>
            <definition value="The kind of condition."/>
            <comment value="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.kind"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionConditionKind"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the kinds of conditions that can appear on actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-condition-kind|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.condition.expression">
            <path value="PlanDefinition.action.condition.expression"/>
            <short value="Boolean-valued expression"/>
            <definition value="An expression that returns true or false, indicating whether the condition is satisfied."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.condition.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input">
            <path value="PlanDefinition.action.input"/>
            <short value="Input data requirements"/>
            <definition value="Defines input data requirements for the action."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.input"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-0"/>
              <severity value="error"/>
              <human value="Input data elements must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.id">
            <path value="PlanDefinition.action.input.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="PlanDefinition.action.input.extension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.modifierExtension">
            <path value="PlanDefinition.action.input.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>
            <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>
            <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="PlanDefinition.action.input.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.input.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.requirement">
            <path value="PlanDefinition.action.input.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that is to be provided as input to the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.input.relatedData">
            <path value="PlanDefinition.action.input.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that provides data to this input."/>
            <comment value="The relatedData element allows indicating that an input to a parent action is an input to specific child actions. It also allows the output of one action to be identified as the input to a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.input.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-0"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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 (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output">
            <path value="PlanDefinition.action.output"/>
            <short value="Output data definition"/>
            <definition value="Defines the outputs of the action, if any."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.output"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &gt; id.count())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
            </constraint>
            <constraint>
              <key value="pld-1"/>
              <severity value="error"/>
              <human value="Output data element must have a requirement or a relatedData, but not both"/>
              <expression value="requirement.exists() xor relatedData.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
            </constraint>
            <mustSupport value="false"/>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.id">
            <path value="PlanDefinition.action.output.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="PlanDefinition.action.output.extension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.modifierExtension">
            <path value="PlanDefinition.action.output.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>
            <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>
            <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="PlanDefinition.action.output.title">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="PlanDefinition.action.output.title"/>
            <short value="User-visible title"/>
            <definition value="A human-readable label for the data requirement used to label data flows in BPMN or similar diagrams. Also provides a human readable label when rendering the data requirement that conveys its purpose to human readers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.requirement">
            <path value="PlanDefinition.action.output.requirement"/>
            <short value="What data is provided"/>
            <definition value="Defines the data that results as output from the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.requirement"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="DataRequirement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.output.relatedData">
            <path value="PlanDefinition.action.output.relatedData"/>
            <short value="What data is provided"/>
            <definition value="Points to an existing input or output element that is results as output from the action."/>
            <comment value="The relatedData element allows indicating that the output of child action is also the output of a parent action. It also allows the input of one action to be identified as the output of a different action"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.output.relatedData"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction">
            <path value="PlanDefinition.action.relatedAction"/>
            <short value="Relationship to another action"/>
            <definition value="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;."/>
            <comment value="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.relatedAction"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.id">
            <path value="PlanDefinition.action.relatedAction.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="PlanDefinition.action.relatedAction.extension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.modifierExtension">
            <path value="PlanDefinition.action.relatedAction.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>
            <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>
            <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="PlanDefinition.action.relatedAction.targetId">
            <path value="PlanDefinition.action.relatedAction.targetId"/>
            <short value="What action is this related to"/>
            <definition value="The element id of the target related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.targetId"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="pld-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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.relationship">
            <path value="PlanDefinition.action.relatedAction.relationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the start of this action to the related action."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.relationship"/>
              <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="false"/>
            <binding>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.endRelationship">
            <path value="PlanDefinition.action.relatedAction.endRelationship"/>
            <short value="before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end"/>
            <definition value="The relationship of the end of this action to the related action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.endRelationship"/>
              <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="ActionRelationshipType"/>
              </extension>
              <strength value="required"/>
              <description value="Defines the types of relationships between actions."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-relationship-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.relatedAction.offset[x]">
            <path value="PlanDefinition.action.relatedAction.offset[x]"/>
            <short value="Time offset for the relationship"/>
            <definition value="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.relatedAction.offset[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Duration"/>
            </type>
            <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.timing[x]">
            <path value="PlanDefinition.action.timing[x]"/>
            <short value="When the action should take place"/>
            <definition value="An optional value describing when the action should be performed."/>
            <comment value="The intent of the timing element is to provide timing when the action should be performed. As a definitional resource, this timing is interpreted as part of an apply operation so that the timing of the result actions in a CarePlan or RequestOrchestration, for example, would be specified by evaluating the timing definition in the context of the apply and setting the resulting timing on the appropriate elements of the target resource. If the timing is an Age, the activity is expected to be performed when the subject is the given Age. When the timing is a Duration, the activity is expected to be performed within the specified duration from the apply. When the timing is a Range, it may be a range of Ages or Durations, providing a range for the expected timing of the resulting activity. When the timing is a Timing, it is establishing a schedule for the timing of the resulting activity."/>
            <requirements value="Allows prompting for activities and detection of missed planned activities."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.timing[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".effectiveTime"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.location">
            <path value="PlanDefinition.action.location"/>
            <short value="Where it should happen"/>
            <definition value="Identifies the facility where the action will occur; e.g. home, hospital, specific clinic, etc."/>
            <comment value="May reference a specific clinical location or may just identify a type of location."/>
            <requirements value="Helps in planning of activity."/>
            <alias value="facility"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.location"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="CodeableReference"/>
              <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="rim"/>
              <map value=".participation[typeCode=LOC].role"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant">
            <path value="PlanDefinition.action.participant"/>
            <short value="Who should participate in the action"/>
            <definition value="Indicates who should participate in performing the action described."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.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"/>
              <expression value="hasValue() 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=PFM]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.id">
            <path value="PlanDefinition.action.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="PlanDefinition.action.participant.extension">
            <path value="PlanDefinition.action.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.modifierExtension">
            <path value="PlanDefinition.action.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>
            <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>
            <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="PlanDefinition.action.participant.actorId">
            <path value="PlanDefinition.action.participant.actorId"/>
            <short value="What actor"/>
            <definition value="A reference to the id element of the actor who will participate in this action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.actorId"/>
              <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="N/A (to add?)"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.type">
            <path value="PlanDefinition.action.participant.type"/>
            <short value="careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.type"/>
              <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="ActivityParticipantType"/>
              </extension>
              <strength value="required"/>
              <description value="The type of participant in the activity."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeCanonical">
            <path value="PlanDefinition.action.participant.typeCanonical"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeCanonical"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CapabilityStatement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.typeReference">
            <path value="PlanDefinition.action.participant.typeReference"/>
            <short value="Who or what can participate"/>
            <definition value="The type of participant in the action."/>
            <comment value="When this element is a reference, it SHOULD be a reference to a definitional resource (for example, a location type, rather than a specific location)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.typeReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Reference"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/CareTeam"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Endpoint"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/HealthcareService"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Location"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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=".role.classCode"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.role">
            <path value="PlanDefinition.action.participant.role"/>
            <short value="E.g. Nurse, Surgeon, Parent"/>
            <definition value="The role the participant should play in performing the described action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.role"/>
              <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="ActionParticipantRole"/>
              </extension>
              <strength value="example"/>
              <description value="Defines roles played by participants for the action."/>
              <valueSet value="http://terminology.hl7.org/ValueSet/action-participant-role"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.participant.function">
            <path value="PlanDefinition.action.participant.function"/>
            <short value="E.g. Author, Reviewer, Witness, etc"/>
            <definition value="Indicates how the actor will be involved in the action - author, reviewer, witness, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.participant.function"/>
              <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="ActionParticipantFunction"/>
              </extension>
              <strength value="example"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-participant-function"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".role.code"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.type">
            <path value="PlanDefinition.action.type"/>
            <short value="create | update | remove | fire-event"/>
            <definition value="The type of action to perform (create, update, remove)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.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="ActionType"/>
              </extension>
              <strength value="extensible"/>
              <description value="The type of action to be performed."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-type"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value=".moodCode { Maybe? this is effectively Create, Update, or Delete }"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.groupingBehavior">
            <path value="PlanDefinition.action.groupingBehavior"/>
            <short value="visual-group | logical-group | sentence-group"/>
            <definition value="Defines the grouping behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.groupingBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no grouping behavior is specified but the action has children (i.e. is a group), the grouping behavior is assumed to be `logical-group`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionGroupingBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines organization behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-grouping-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.selectionBehavior">
            <path value="PlanDefinition.action.selectionBehavior"/>
            <short value="any | all | all-or-none | exactly-one | at-most-one | one-or-more"/>
            <definition value="Defines the selection behavior for the action and its children."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.selectionBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no selection behavior is specified but the action has children (i.e. is a group), the selection behavior is assumed to be `all`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionSelectionBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection behavior of a group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-selection-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.requiredBehavior">
            <path value="PlanDefinition.action.requiredBehavior"/>
            <short value="must | could | must-unless-documented"/>
            <definition value="Defines the required behavior for the action."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.requiredBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no required behavior is specified but the action has children (i.e. is a group), the required behavior is assumed to be `could`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionRequiredBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines expectations around whether an action or action group is required."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-required-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.precheckBehavior">
            <path value="PlanDefinition.action.precheckBehavior"/>
            <short value="yes | no"/>
            <definition value="Defines whether the action should usually be preselected."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.precheckBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no precheck behavior is specified but the action has children (i.e. is a group), the precheck behavior is assumed to be `no`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionPrecheckBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines selection frequency behavior for an action or group."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-precheck-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.cardinalityBehavior">
            <path value="PlanDefinition.action.cardinalityBehavior"/>
            <short value="single | multiple"/>
            <definition value="Defines whether the action can be selected multiple times."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.cardinalityBehavior"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <meaningWhenMissing value="If no cardinality behavior is specified but the action has children (i.e. is a group), the cardinality behavior is assumed to be `single`."/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="ActionCardinalityBehavior"/>
              </extension>
              <strength value="required"/>
              <description value="Defines behavior for an action or a group for how many times that item may be repeated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/action-cardinality-behavior|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.definition[x]">
            <path value="PlanDefinition.action.definition[x]"/>
            <short value="Description of the activity to be performed"/>
            <definition value="A reference to an ActivityDefinition that describes the action to be taken in detail, a MessageDefinition describing a message to be snet, a PlanDefinition that describes a series of actions to be taken, a Questionnaire that should be filled out, a SpecimenDefinition describing a specimen to be collected, or an ObservationDefinition that specifies what observation should be captured."/>
            <comment value="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.definition[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/MessageDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ObservationDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Questionnaire"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"/>
            </type>
            <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="Act[classCode=ACT; moodCode=DEFN]"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.transform">
            <path value="PlanDefinition.action.transform"/>
            <short value="Transform to apply the template"/>
            <definition value="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input."/>
            <comment value="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.transform"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureMap"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.dynamicValue">
            <path value="PlanDefinition.action.dynamicValue"/>
            <short value="Dynamic aspects of the definition"/>
            <definition value="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result."/>
            <comment value="Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="BackboneElement"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() or (children().count() &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="PlanDefinition.action.dynamicValue.id">
            <path value="PlanDefinition.action.dynamicValue.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="PlanDefinition.action.dynamicValue.extension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.modifierExtension">
            <path value="PlanDefinition.action.dynamicValue.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>
            <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>
            <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="PlanDefinition.action.dynamicValue.path">
            <path value="PlanDefinition.action.dynamicValue.path"/>
            <short value="The path to the element to be set dynamically"/>
            <definition value="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolvable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."/>
            <comment value="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.path"/>
              <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="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.action.dynamicValue.expression">
            <path value="PlanDefinition.action.dynamicValue.expression"/>
            <short value="An expression that provides the dynamic value for the customization"/>
            <definition value="An expression specifying the value of the customized element."/>
            <comment value="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.action.dynamicValue.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Expression"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="PlanDefinition.action.action">
            <path value="PlanDefinition.action.action"/>
            <short value="A sub-action"/>
            <definition value="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="PlanDefinition.action.action"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <contentReference value="http://hl7.org/fhir/StructureDefinition/PlanDefinition#PlanDefinition.action"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have a @value or children"/>
              <expression value="hasValue() 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="{InverseRelationship of Definition.partOf}"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="PlanDefinition.asNeeded[x]">
            <path value="PlanDefinition.asNeeded[x]"/>
            <short value="Preconditions for service"/>
            <definition value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="PlanDefinition.asNeeded[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <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="ProcedureAsNeededReason"/>
              </extension>
              <strength value="example"/>
              <description value="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/medication-as-needed-reason"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=&quot;Assertion&quot;].value"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="PlanDefinition">
            <path value="PlanDefinition"/>
            <min value="1"/>
            <max value="1"/>
          </element>
          <element id="PlanDefinition.library">
            <path value="PlanDefinition.library"/>
            <min value="1"/>
            <max value="1"/>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/Library"/>
            </type>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="http://hl7.org/fhir/StructureDefinition/elementdefinition-de"/>
    <resource>
      <StructureDefinition>
        <id value="elementdefinition-de"/>
        <text>
          <status value="generated"/>
          <div xmlns="http://www.w3.org/1999/xhtml">to do</div>
        </text>
        <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="trial-use"/>
        </extension>
        <url value="http://hl7.org/fhir/StructureDefinition/elementdefinition-de"/>
        <version value="5.0.0"/>
        <name value="DataElement constraint on ElementDefinition data type"/>
        <status value="draft"/>
        <experimental value="false"/>
        <date value="2015-02-28"/>
        <publisher value="Health Level Seven International (Orders and Observations)"/>
        <contact>
          <telecom>
            <system value="url"/>
            <value value="http://hl7.org/special/committees/FHIR"/>
          </telecom>
        </contact>
        <description value="Identifies how the ElementDefinition data type is used when it appears within a data element"/>
        <jurisdiction>
          <coding>
            <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
            <code value="001"/>
            <display value="World"/>
          </coding>
        </jurisdiction>
        <fhirVersion value="5.0.0"/>
        <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="iso11179"/>
          <uri value="http://metadata-standards.org/11179/"/>
          <name value="ISO 11179"/>
        </mapping>
        <mapping>
          <identity value="dex"/>
          <uri value="http://ihe.net/data-element-exchange"/>
          <name value="IHE Data Element Exchange (DEX)"/>
        </mapping>
        <kind value="complex-type"/>
        <abstract value="false"/>
        <type value="ElementDefinition"/>
        <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
        <derivation value="constraint"/>
        <snapshot>
          <element id="ElementDefinition">
            <path value="ElementDefinition"/>
            <short value="Definition of an element in a resource or extension"/>
            <definition value="Captures constraints on each element within the resource, profile, or extension."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <constraint>
              <key value="eld-2"/>
              <severity value="error"/>
              <human value="Min &lt;= Max"/>
              <expression value="min.empty() or max.empty() or (max = '*') or iif(max != '*', min &lt;= max.toInteger())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-5"/>
              <severity value="error"/>
              <human value="if the element definition has a contentReference, it cannot have type, defaultValue, fixed, pattern, example, minValue, maxValue, maxLength, or binding"/>
              <expression value="contentReference.empty() or (type.empty() and defaultValue.empty() and fixed.empty() and pattern.empty() and example.empty() and minValue.empty() and maxValue.empty() and maxLength.empty() and binding.empty())"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-6"/>
              <severity value="error"/>
              <human value="Fixed value may only be specified if there is one type"/>
              <expression value="fixed.empty() or (type.count()  &lt;= 1)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-7"/>
              <severity value="error"/>
              <human value="Pattern may only be specified if there is one type"/>
              <expression value="pattern.empty() or (type.count() &lt;= 1)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-8"/>
              <severity value="error"/>
              <human value="Pattern and fixed are mutually exclusive"/>
              <expression value="pattern.empty() or fixed.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-11"/>
              <severity value="error"/>
              <human value="Binding can only be present for coded elements, string, and uri if using FHIR-defined types"/>
              <expression value="binding.empty() or type.code.empty() or type.code.contains(&quot;:&quot;) or type.select((code = 'code') or (code = 'Coding') or (code='CodeableConcept') or (code = 'Quantity') or (code = 'string') or (code = 'uri') or (code = 'Duration')).exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-13"/>
              <severity value="error"/>
              <human value="Types must be unique by code"/>
              <expression value="type.select(code).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-14"/>
              <severity value="error"/>
              <human value="Constraints must be unique by key"/>
              <expression value="constraint.select(key).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-15"/>
              <severity value="error"/>
              <human value="default value and meaningWhenMissing are mutually exclusive"/>
              <expression value="defaultValue.empty() or meaningWhenMissing.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-16"/>
              <severity value="error"/>
              <human value="sliceName must be composed of proper tokens separated by &quot;/&quot;"/>
              <expression value="sliceName.empty() or sliceName.matches('^[a-zA-Z0-9\\/\\-_\\[\\]\\@]+$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-18"/>
              <severity value="error"/>
              <human value="Must have a modifier reason if isModifier = true"/>
              <expression value="(isModifier.exists() and isModifier) implies isModifierReason.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-19"/>
              <severity value="error"/>
              <human value="Element path SHALL be expressed as a set of '.'-separated components with each component restricted to a maximum of 64 characters and with some limits on the allowed choice of characters"/>
              <expression value="path.matches('^[^\\s\\.,:;\\\'&quot;\\/|?!@#$%&amp;*()\\[\\]{}]{1,64}(\\.[^\\s\\.,:;\\\'&quot;\\/|?!@#$%&amp;*()\\[\\]{}]{1,64}(\\[x\\])?(\\:[^\\s\\.]+)?)*$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-20"/>
              <severity value="warning"/>
              <human value="The first component of the path should be UpperCamelCase.  Additional components (following a '.') should be lowerCamelCase.  If this syntax is not adhered to, code generation tools may be broken. Logical models may be less concerned about this implication."/>
              <expression value="path.matches('^[A-Za-z][A-Za-z0-9]{0,63}(\\.[a-z][A-Za-z0-9]{0,63}(\\[x])?)*$')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-22"/>
              <severity value="error"/>
              <human value="sliceIsConstraining can only appear if slicename is present"/>
              <expression value="sliceIsConstraining.exists() implies sliceName.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </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="pattern[x] is generally preferred over fixed[x] because it doesn't preclude the use of id and additional extensions, though there are corner cases when it's appropriate to exclude those"/>
              </extension>
              <key value="eld-24"/>
              <severity value="warning"/>
              <human value="pattern[x] should be used rather than fixed[x]"/>
              <expression value="fixed.exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-25"/>
              <severity value="warning"/>
              <human value="Order has no meaning (and cannot be asserted to have meaning), so enforcing rules on order is improper"/>
              <expression value="orderMeaning.empty() implies slicing.where(rules='openAtEnd' or ordered).exists().not()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-27"/>
              <severity value="warning"/>
              <human value="Mappings SHOULD be unique by key"/>
              <expression value="mapping.select(identity).isDistinct()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-28"/>
              <severity value="error"/>
              <human value="Can't have valueAlternatives if mustHaveValue is true"/>
              <expression value="mustHaveValue.value implies valueAlternatives.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a,Observation[classCode=OBS, moodCode=DEFN]"/>
            </mapping>
            <mapping>
              <identity value="v2"/>
              <map value="OM1"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="Data_Element"/>
            </mapping>
            <mapping>
              <identity value="dex"/>
              <map value="RetrieveMetadata response"/>
            </mapping>
          </element>
          <element id="ElementDefinition.id">
            <path value="ElementDefinition.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="id"/>
              </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="ElementDefinition.extension">
            <path value="ElementDefinition.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.extension:Question">
            <path value="ElementDefinition.extension"/>
            <sliceName value="Question"/>
            <short value="Prompt for element phrased as question"/>
            <definition value="The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey)."/>
            <comment value="Question and label serve similar purposes in they both can be used to prompt for capturing a data element.  Whether the question form or label form should be used will depend on the type of instrument being used to capture the information.  The ordering is in order of preference.  I.e. Most preferred question form is listed first.  Note that this is for alternate phrasings of the question.  Language translations are handled using the ISO 21090 string translation extensions."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="Element.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/elementdefinition-question"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF-level)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.extension:AllowedUnits">
            <path value="ElementDefinition.extension"/>
            <sliceName value="AllowedUnits"/>
            <short value="Units to use for measured value"/>
            <definition value="Identifies the units of measure in which the element should be captured or expressed."/>
            <comment value="Use a value set if more than one unit of measure is possible.  Value sets will typically be short enough to display in a drop-down selection list."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="Element.extension"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements 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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="v2"/>
              <map value="OM2.2"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.modifierExtension">
            <path value="ElementDefinition.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="BackboneType.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>
            <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>
            <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="ElementDefinition.path">
            <path value="ElementDefinition.path"/>
            <short value="Path of the element in the hierarchy of elements"/>
            <definition value="The path identifies the element and is expressed as a &quot;.&quot;-separated list of ancestor elements, beginning with the name of the resource or extension."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.path"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-19"/>
            <condition value="eld-20"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="Name, Identifier &amp; Context"/>
            </mapping>
          </element>
          <element id="ElementDefinition.representation">
            <path value="ElementDefinition.representation"/>
            <short value="xmlAttr | xmlText | typeAttr | cdaText | xhtml"/>
            <definition value="Codes that define how this element is represented in instances, when the deviation varies from the normal case. No extensions are allowed on elements with a representation of 'xmlAttr', no matter what FHIR serialization format is used."/>
            <comment value="In resources, this is rarely used except for special cases where the representation deviates from the normal, and can only be done in the base standard (and profiles must reproduce what the base standard does). This element is used quite commonly in Logical models when the logical models represent a specific serialization format (e.g. CDA, v2 etc.)."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.representation"/>
              <min value="0"/>
              <max value="*"/>
            </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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How a property is represented when serialized."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="PropertyRepresentation"/>
              </extension>
              <strength value="required"/>
              <description value="How a property is represented when serialized."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/property-representation|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.sliceName">
            <path value="ElementDefinition.sliceName"/>
            <short value="Name for this particular element (in a set of slices)"/>
            <definition value="The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element."/>
            <comment value="The name SHALL be unique within the structure within the context of the constrained resource element.  (Though to avoid confusion, uniqueness across all elements is recommended.)."/>
            <requirements value="May also be used for code generation purposes."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.sliceName"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-22"/>
            <condition value="eld-16"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.sliceIsConstraining">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ElementDefinition.sliceIsConstraining"/>
            <short value="If this slice definition constrains an inherited slice definition (or not)"/>
            <definition value="If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName."/>
            <comment value="If set to true, an ancestor profile SHALL have a slicing definition with this name.  If set to false, no ancestor profile is permitted to have a slicing definition with this name."/>
            <requirements value="Allows detection of a situation where an ancestor profile adds or removes slicing with the same name where that might impact the child profile."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.sliceIsConstraining"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="eld-22"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.label">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.label"/>
            <short value="Name for element to display with or prompt for element"/>
            <definition value="A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form."/>
            <comment value="See also the extension [http://hl7.org/fhir/StructureDefinition/elementdefinition-question](http://hl7.org/fhir/extensions/StructureDefinition-elementdefinition-question.html)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./code/display"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.code">
            <path value="ElementDefinition.code"/>
            <short value="Corresponding codes in terminologies"/>
            <definition value="A code that has the same meaning as the element in a particular terminology."/>
            <comment value="The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here.  Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system."/>
            <requirements value="Links the meaning of an element to an external terminology, and is very useful for searching and indexing."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.code"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Coding"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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/tools/StructureDefinition/binding-definition">
                <valueString value="Codes that indicate the meaning of a data element."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ElementDefinitionCode"/>
              </extension>
              <strength value="example"/>
              <description value="Codes that indicate the meaning of a data element."/>
              <valueSet value="http://loinc.org/vs"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OM1.7"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./code (root or translation)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="(Data_Element).data_element_concept.identifier"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing">
            <path value="ElementDefinition.slicing"/>
            <short value="This element is sliced - slices follow"/>
            <definition value="Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set)."/>
            <comment value="The first element in the sequence, the one that carries the slicing, is the definition that applies to all the slices. This is based on the unconstrained element, but can apply any constraints as appropriate. This may include the common constraints on the children of the element."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.slicing"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-25"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.id">
            <path value="ElementDefinition.slicing.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="ElementDefinition.slicing.extension">
            <path value="ElementDefinition.slicing.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.discriminator">
            <path value="ElementDefinition.slicing.discriminator"/>
            <short value="Element values that are used to distinguish the slices"/>
            <definition value="Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices."/>
            <comment value="If there is no discriminator, the content is hard to process, so this should be avoided."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.slicing.discriminator"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.discriminator.id">
            <path value="ElementDefinition.slicing.discriminator.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="ElementDefinition.slicing.discriminator.extension">
            <path value="ElementDefinition.slicing.discriminator.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.discriminator.type">
            <path value="ElementDefinition.slicing.discriminator.type"/>
            <short value="value | exists | type | profile | position"/>
            <definition value="How the element value is interpreted when discrimination is evaluated."/>
            <comment value="'pattern' is deprecated - it works exactly the same as 'value'."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.slicing.discriminator.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How an element value is interpreted when discrimination is evaluated."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="DiscriminatorType"/>
              </extension>
              <strength value="required"/>
              <description value="How an element value is interpreted when discrimination is evaluated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/discriminator-type|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.discriminator.path">
            <path value="ElementDefinition.slicing.discriminator.path"/>
            <short value="Path to element value"/>
            <definition value="A FHIRPath expression, using [the simple subset of FHIRPath](fhirpath.html#simple), that is used to identify the element on which discrimination is based."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.slicing.discriminator.path"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.slicing.description"/>
            <short value="Text description of how slicing works (or not)"/>
            <definition value="A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated."/>
            <comment value="If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.slicing.description"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.ordered">
            <path value="ElementDefinition.slicing.ordered"/>
            <short value="If elements must be in same order as slices"/>
            <definition value="If the matching elements have to occur in the same order as defined in the profile."/>
            <comment value="Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.slicing.ordered"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="Order is not required unless specified"/>
            <condition value="eld-25"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.slicing.rules">
            <path value="ElementDefinition.slicing.rules"/>
            <short value="closed | open | openAtEnd"/>
            <definition value="Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end."/>
            <comment value="Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.slicing.rules"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="eld-25"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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/tools/StructureDefinition/binding-definition">
                <valueString value="How slices are interpreted when evaluating an instance."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="SlicingRules"/>
              </extension>
              <strength value="required"/>
              <description value="How slices are interpreted when evaluating an instance."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/resource-slicing-rules|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.short">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.short"/>
            <short value="Concise definition for space-constrained presentation"/>
            <definition value="A concise description of what this element means (e.g. for use in autogenerated summaries)."/>
            <comment value="It is easy for a different short definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing short definitions in a profile."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.short"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ElementDefinition.definition">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.definition"/>
            <short value="Full formal definition as narrative text"/>
            <definition value="Provides a complete explanation of the meaning of the data element for human readability.  For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition)."/>
            <comment value="It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions in a profile."/>
            <requirements value="To allow a user to state the usage of an element in a particular context."/>
            <alias value="Description"/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.definition"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OM1.6, OM1.41"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./text"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="(Designatable_Item).definition.text  acceptability=preferred in default context"/>
            </mapping>
          </element>
          <element id="ElementDefinition.comment">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.comment"/>
            <short value="Comments about the use of this element"/>
            <definition value="Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment)."/>
            <comment value="If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.comment"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="NTE, OM1.32, OM1.33, OM1.39"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="./inboundRelationship[typeCode=SUBJ]/source[classCode=LIST, moodCode=EVN]/code"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="(Administered_Item).explanatory_comment"/>
            </mapping>
          </element>
          <element id="ElementDefinition.requirements">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.requirements"/>
            <short value="Why this resource has been created"/>
            <definition value="This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element."/>
            <comment value="This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do.  This may be used to point to source materials or specifications that drove the structure of this data element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.requirements"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="./inboundRelationship[typeCode=META]/source[classCode=ACT, moodCode=EVN, isCriterionInd=true]/reasonCode/originalText"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="(Registered_item).document_reference[document_type=requirements].notation"/>
            </mapping>
          </element>
          <element id="ElementDefinition.alias">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.alias"/>
            <short value="Other names"/>
            <definition value="Identifies additional names by which this element might also be known."/>
            <requirements value="Allows for better easier recognition of the element by multiple communities, including international communities."/>
            <alias value="synonym"/>
            <alias value="other name"/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.alias"/>
              <min value="0"/>
              <max value="*"/>
            </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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="v2"/>
              <map value="OM1.8, OM1.52"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="Not currently expressible"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="(Designatable_Item).designation.sign  acceptability!=preferred or context is other than default"/>
            </mapping>
          </element>
          <element id="ElementDefinition.min">
            <path value="ElementDefinition.min"/>
            <short value="Minimum Cardinality"/>
            <definition value="The minimum number of times this element SHALL appear in the instance."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.min"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="Minimum  size of  data element  values?"/>
            </mapping>
          </element>
          <element id="ElementDefinition.max">
            <path value="ElementDefinition.max"/>
            <short value="Maximum Cardinality (a number or *)"/>
            <definition value="The maximum number of times this element is permitted to appear in the instance."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.max"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-2"/>
            <constraint>
              <key value="eld-3"/>
              <severity value="error"/>
              <human value="Max SHALL be a number or &quot;*&quot;"/>
              <expression value="empty() or ($this = '*') or (toInteger() &gt;= 0)"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="OMC.10"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="Maximum  size of  data element  values?"/>
            </mapping>
          </element>
          <element id="ElementDefinition.base">
            <path value="ElementDefinition.base"/>
            <short value="Base definition information for tools"/>
            <definition value="Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - e.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same."/>
            <comment value="The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. For tooling simplicity, the base information must always be populated in element definitions in snap shots, even if it is the same."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.base"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.base.id">
            <path value="ElementDefinition.base.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="ElementDefinition.base.extension">
            <path value="ElementDefinition.base.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.base.path">
            <path value="ElementDefinition.base.path"/>
            <short value="Path that identifies the base element"/>
            <definition value="The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](structuredefinition.html#) without a StructureDefinition.base."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.base.path"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.base.min">
            <path value="ElementDefinition.base.min"/>
            <short value="Min cardinality of the base element"/>
            <definition value="Minimum cardinality of the base element identified by the path."/>
            <comment value="This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.base.min"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="unsignedInt"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.base.max">
            <path value="ElementDefinition.base.max"/>
            <short value="Max cardinality of the base element"/>
            <definition value="Maximum cardinality of the base element identified by the path."/>
            <comment value="This is provided to code generation, since the serialization representation in JSON differs depending on whether the base element has max &gt; 1. Also, some forms of code generation may differ."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.base.max"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.contentReference">
            <path value="ElementDefinition.contentReference"/>
            <short value="Reference to definition of content for the element"/>
            <definition value="Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc."/>
            <comment value="ContentReferences can only be defined in specializations, not constrained types, and they cannot be changed and always reference the non-constrained definition."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.contentReference"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="TypeRef"/>
            </extension>
            <path value="ElementDefinition.type"/>
            <short value="Data type and Profile for this element"/>
            <definition value="The data type or resource that the value of this element is permitted to be."/>
            <comment value="The Type of the element can be left blank in a differential constraint, in which case the type is inherited from the resource. Abstract types are not permitted to appear as a type when multiple types are listed.  (I.e. Abstract types cannot be part of a choice)."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.type"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-13"/>
            <condition value="eld-7"/>
            <condition value="eld-6"/>
            <condition value="eld-11"/>
            <condition value="eld-5"/>
            <constraint>
              <key value="eld-4"/>
              <severity value="error"/>
              <human value="Aggregation may only be specified if one of the allowed types for the element is a reference"/>
              <expression value="aggregation.empty() or (code = 'Reference') or (code = 'canonical') or (code = 'CodeableReference')"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-17"/>
              <severity value="error"/>
              <human value="targetProfile is only allowed if the type is Reference or canonical"/>
              <expression value="(code='Reference' or code = 'canonical' or code = 'CodeableReference') or targetProfile.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="OM1.3, OMC.9"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".domain.data+Q14type"/>
            </mapping>
            <mapping>
              <identity value="dex"/>
              <map value="valueDomain.dataType"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.id">
            <path value="ElementDefinition.type.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="ElementDefinition.type.extension">
            <path value="ElementDefinition.type.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.code">
            <path value="ElementDefinition.type.code"/>
            <short value="Data type or Resource (reference to definition)"/>
            <definition value="URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. &quot;string&quot; is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models."/>
            <comment value="If the element is a reference to another resource, this element contains &quot;Reference&quot;, and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.type.code"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="uri"/>
            </type>
            <condition value="eld-11"/>
            <condition value="eld-13"/>
            <condition value="eld-4"/>
            <condition value="eld-17"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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/tools/StructureDefinition/binding-definition">
                <valueString value="List of all Types for ElementDefinition.type.code."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ElementDefinitionTypes"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="extensible"/>
              <description value="List of all Types for ElementDefinition.type.code."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/elementdefinition-types"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="OM1.3"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".domain.data+Q14type"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.profile">
            <path value="ElementDefinition.type.profile"/>
            <short value="Profiles (StructureDefinition or IG) - one must apply"/>
            <definition value="Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide."/>
            <comment value="It is possible to profile  backbone element (e.g. part of a resource), using the [http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element](http://hl7.org/fhir/extensions/StructureDefinition-elementdefinition-profile-element.html) extension."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.type.profile"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImplementationGuide"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.targetProfile">
            <path value="ElementDefinition.type.targetProfile"/>
            <short value="Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply"/>
            <definition value="Used when the type is &quot;Reference&quot; or &quot;canonical&quot;, and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.type.targetProfile"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImplementationGuide"/>
            </type>
            <condition value="eld-17"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.aggregation">
            <path value="ElementDefinition.type.aggregation"/>
            <short value="contained | referenced | bundled - how aggregated"/>
            <definition value="If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle."/>
            <comment value="See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.type.aggregation"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="How resource references can be aggregated."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AggregationMode"/>
              </extension>
              <strength value="required"/>
              <description value="How resource references can be aggregated."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/resource-aggregation-mode|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.type.versioning">
            <path value="ElementDefinition.type.versioning"/>
            <short value="either | independent | specific"/>
            <definition value="Whether this reference needs to be version specific or version independent, or whether either can be used."/>
            <comment value="The base specification never makes a rule as to which form is allowed, but implementation guides may do this. See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.type.versioning"/>
              <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="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Whether a reference needs to be version specific or version independent, or whether either can be used."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ReferenceVersionRules"/>
              </extension>
              <strength value="required"/>
              <description value="Whether a reference needs to be version specific or version independent, or whether either can be used."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/reference-version-rules|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.defaultValue[x]">
            <path value="ElementDefinition.defaultValue[x]"/>
            <short value="Specified value if missing from instance"/>
            <definition value="The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false')."/>
            <comment value="Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed, or changed in constraints on content models. Defining default values creates many difficulties in implementation (e.g. when is a value missing?). For these reasons, default values are (and should be) used extremely sparingly. &#xA;&#xA;No default values are ever defined in the FHIR specification, nor can they be defined in constraints (&quot;profiles&quot;) on data types or resources. This element only exists so that default values may be defined in logical models.&#xD;&#xA;  This element should only be used on child elements of complex data elements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.defaultValue[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="id"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="markdown"/>
            </type>
            <type>
              <code value="oid"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="url"/>
            </type>
            <type>
              <code value="uuid"/>
            </type>
            <type>
              <code value="Address"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Annotation"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="CodeableReference"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="ContactPoint"/>
            </type>
            <type>
              <code value="Count"/>
            </type>
            <type>
              <code value="Distance"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="HumanName"/>
            </type>
            <type>
              <code value="Identifier"/>
            </type>
            <type>
              <code value="Money"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="RatioRange"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="Signature"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="ContactDetail"/>
            </type>
            <type>
              <code value="DataRequirement"/>
            </type>
            <type>
              <code value="Expression"/>
            </type>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <type>
              <code value="UsageContext"/>
            </type>
            <type>
              <code value="Availability"/>
            </type>
            <type>
              <code value="ExtendedContactDetail"/>
            </type>
            <type>
              <code value="Dosage"/>
            </type>
            <type>
              <code value="Meta"/>
            </type>
            <condition value="eld-15"/>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.meaningWhenMissing">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.meaningWhenMissing"/>
            <short value="Implicit meaning when this element is missing"/>
            <definition value="The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing')."/>
            <comment value="Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope.&#xD;&#xA;  This element should only be used on child elements of complex data elements."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.meaningWhenMissing"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.orderMeaning">
            <path value="ElementDefinition.orderMeaning"/>
            <short value="What the order of the elements means"/>
            <definition value="If present, indicates that the order of the repeating element has meaning and describes what that meaning is.  If absent, it means that the order of the element has no meaning."/>
            <comment value="This element can only be asserted on repeating elements and can only be introduced when defining resources or data types.  It can be further refined profiled elements but if absent in the base type, a profile cannot assert meaning."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.orderMeaning"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-25"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.fixed[x]">
            <path value="ElementDefinition.fixed[x]"/>
            <short value="Value must be exactly this"/>
            <definition value="Specifies a value that SHALL be exactly the value  for this element in the instance, if present. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing."/>
            <comment value="This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.fixed[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="id"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="markdown"/>
            </type>
            <type>
              <code value="oid"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="url"/>
            </type>
            <type>
              <code value="uuid"/>
            </type>
            <type>
              <code value="Address"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Annotation"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="CodeableReference"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="ContactPoint"/>
            </type>
            <type>
              <code value="Count"/>
            </type>
            <type>
              <code value="Distance"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="HumanName"/>
            </type>
            <type>
              <code value="Identifier"/>
            </type>
            <type>
              <code value="Money"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="RatioRange"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="Signature"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="ContactDetail"/>
            </type>
            <type>
              <code value="DataRequirement"/>
            </type>
            <type>
              <code value="Expression"/>
            </type>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <type>
              <code value="UsageContext"/>
            </type>
            <type>
              <code value="Availability"/>
            </type>
            <type>
              <code value="ExtendedContactDetail"/>
            </type>
            <type>
              <code value="Dosage"/>
            </type>
            <type>
              <code value="Meta"/>
            </type>
            <condition value="eld-5"/>
            <condition value="eld-6"/>
            <condition value="eld-8"/>
            <condition value="eld-24"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="N/A (only relevant when constraining, which 11179 doesn't do)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.pattern[x]">
            <path value="ElementDefinition.pattern[x]"/>
            <short value="Value must have at least these property values"/>
            <definition value="Specifies a value that each occurrence of the element in the instance SHALL follow - that is, any value in the pattern must be found in the instance, if the element has a value. Other additional values may be found too. This is effectively constraint by example.  &#xA;&#xA;When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.&#xA;&#xA;When an element within a pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] must (recursively) match at least one element from the instance array.&#xA;&#xA;When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,&#xA;&#xA;1. If primitive: it must match exactly the pattern value&#xA;2. If a complex object: it must match (recursively) the pattern value&#xA;3. If an array: it must match (recursively) the pattern value&#xA;&#xA;If a pattern[x] is declared on a repeating element, the pattern applies to all repetitions.  If the desire is for a pattern to apply to only one element or a subset of elements, slicing must be used. See [Examples of Patterns](elementdefinition-examples.html#pattern-examples) for examples of pattern usage and the effect it will have."/>
            <comment value="Mostly used for fixing values of CodeableConcept. In general, pattern[x] is not intended for use with primitive types, where is has the same meaning as fixed[x]."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.pattern[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="id"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="markdown"/>
            </type>
            <type>
              <code value="oid"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="url"/>
            </type>
            <type>
              <code value="uuid"/>
            </type>
            <type>
              <code value="Address"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Annotation"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="CodeableReference"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="ContactPoint"/>
            </type>
            <type>
              <code value="Count"/>
            </type>
            <type>
              <code value="Distance"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="HumanName"/>
            </type>
            <type>
              <code value="Identifier"/>
            </type>
            <type>
              <code value="Money"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="RatioRange"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="Signature"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="ContactDetail"/>
            </type>
            <type>
              <code value="DataRequirement"/>
            </type>
            <type>
              <code value="Expression"/>
            </type>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <type>
              <code value="UsageContext"/>
            </type>
            <type>
              <code value="Availability"/>
            </type>
            <type>
              <code value="ExtendedContactDetail"/>
            </type>
            <type>
              <code value="Dosage"/>
            </type>
            <type>
              <code value="Meta"/>
            </type>
            <condition value="eld-5"/>
            <condition value="eld-7"/>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.example">
            <path value="ElementDefinition.example"/>
            <short value="Example value (as defined for type)"/>
            <definition value="A sample value for this element demonstrating the type of information that would typically be found in the element."/>
            <comment value="Examples will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be.  (I.e. Example values for dates or quantities would generally be unnecessary.)  If the example value is fully populated, the publication tool can generate an instance automatically."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.example"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.example.id">
            <path value="ElementDefinition.example.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="ElementDefinition.example.extension">
            <path value="ElementDefinition.example.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.example.label">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.example.label"/>
            <short value="Describes the purpose of this example"/>
            <definition value="Describes the purpose of this example among the set of examples."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.example.label"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.example.value[x]">
            <path value="ElementDefinition.example.value[x]"/>
            <short value="Value of Example (one of allowed types)"/>
            <definition value="The actual value for the element, which must be one of the types allowed for this element."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.example.value[x]"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="base64Binary"/>
            </type>
            <type>
              <code value="boolean"/>
            </type>
            <type>
              <code value="canonical"/>
            </type>
            <type>
              <code value="code"/>
            </type>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="id"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="markdown"/>
            </type>
            <type>
              <code value="oid"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="string"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="uri"/>
            </type>
            <type>
              <code value="url"/>
            </type>
            <type>
              <code value="uuid"/>
            </type>
            <type>
              <code value="Address"/>
            </type>
            <type>
              <code value="Age"/>
            </type>
            <type>
              <code value="Annotation"/>
            </type>
            <type>
              <code value="Attachment"/>
            </type>
            <type>
              <code value="CodeableConcept"/>
            </type>
            <type>
              <code value="CodeableReference"/>
            </type>
            <type>
              <code value="Coding"/>
            </type>
            <type>
              <code value="ContactPoint"/>
            </type>
            <type>
              <code value="Count"/>
            </type>
            <type>
              <code value="Distance"/>
            </type>
            <type>
              <code value="Duration"/>
            </type>
            <type>
              <code value="HumanName"/>
            </type>
            <type>
              <code value="Identifier"/>
            </type>
            <type>
              <code value="Money"/>
            </type>
            <type>
              <code value="Period"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <type>
              <code value="Range"/>
            </type>
            <type>
              <code value="Ratio"/>
            </type>
            <type>
              <code value="RatioRange"/>
            </type>
            <type>
              <code value="Reference"/>
            </type>
            <type>
              <code value="SampledData"/>
            </type>
            <type>
              <code value="Signature"/>
            </type>
            <type>
              <code value="Timing"/>
            </type>
            <type>
              <code value="ContactDetail"/>
            </type>
            <type>
              <code value="DataRequirement"/>
            </type>
            <type>
              <code value="Expression"/>
            </type>
            <type>
              <code value="ParameterDefinition"/>
            </type>
            <type>
              <code value="RelatedArtifact"/>
            </type>
            <type>
              <code value="TriggerDefinition"/>
            </type>
            <type>
              <code value="UsageContext"/>
            </type>
            <type>
              <code value="Availability"/>
            </type>
            <type>
              <code value="ExtendedContactDetail"/>
            </type>
            <type>
              <code value="Dosage"/>
            </type>
            <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".example"/>
            </mapping>
          </element>
          <element id="ElementDefinition.minValue[x]">
            <path value="ElementDefinition.minValue[x]"/>
            <short value="Minimum Allowed Value (for some types)"/>
            <definition value="The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity."/>
            <comment value="Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value.   A minimum value for a Quantity is interpreted as a canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.minValue[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.maxValue[x]">
            <path value="ElementDefinition.maxValue[x]"/>
            <short value="Maximum Allowed Value (for some types)"/>
            <definition value="The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity."/>
            <comment value="Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as a canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.maxValue[x]"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="date"/>
            </type>
            <type>
              <code value="dateTime"/>
            </type>
            <type>
              <code value="instant"/>
            </type>
            <type>
              <code value="time"/>
            </type>
            <type>
              <code value="decimal"/>
            </type>
            <type>
              <code value="integer"/>
            </type>
            <type>
              <code value="integer64"/>
            </type>
            <type>
              <code value="positiveInt"/>
            </type>
            <type>
              <code value="unsignedInt"/>
            </type>
            <type>
              <code value="Quantity"/>
            </type>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.maxLength">
            <path value="ElementDefinition.maxLength"/>
            <short value="Max length for string type data"/>
            <definition value="Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. ```maxLength``` SHOULD only be used on primitive data types that have a string representation (see [http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics](http://hl7.org/fhir/extensions/StructureDefinition-structuredefinition-type-characteristics.html))."/>
            <comment value="Receivers are not required to reject instances that exceed the maximum length.  The full length could be stored.  In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.maxLength"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="integer"/>
            </type>
            <condition value="eld-5"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="OMC.12"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".domain.maximum_character_quantity"/>
            </mapping>
          </element>
          <element id="ElementDefinition.condition">
            <path value="ElementDefinition.condition"/>
            <short value="Reference to invariant about presence"/>
            <definition value="A reference to an invariant that may make additional statements about the cardinality or value in the instance."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.condition"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint">
            <path value="ElementDefinition.constraint"/>
            <short value="Condition that must evaluate to true"/>
            <definition value="Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance."/>
            <comment value="Constraints should be declared on the &quot;context&quot; element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.constraint"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-14"/>
            <constraint>
              <key value="eld-21"/>
              <severity value="warning"/>
              <human value="Constraints should have an expression or else validators will not be able to enforce them"/>
              <expression value="expression.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-26"/>
              <severity value="error"/>
              <human value="Errors cannot be suppressed"/>
              <expression value="(severity = 'error') implies suppress.empty()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="??"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.id">
            <path value="ElementDefinition.constraint.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="ElementDefinition.constraint.extension">
            <path value="ElementDefinition.constraint.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.key">
            <path value="ElementDefinition.constraint.key"/>
            <short value="Target of 'condition' reference above"/>
            <definition value="Allows identification of which elements have their cardinalities impacted by the constraint.  Will not be referenced for constraints that do not affect cardinality."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.key"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="eld-14"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.requirements">
            <path value="ElementDefinition.constraint.requirements"/>
            <short value="Why this constraint is necessary or appropriate"/>
            <definition value="Description of why this constraint is necessary or appropriate."/>
            <comment value="To be used if the reason for the constraint might not be intuitive to all implementers."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.requirements"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.severity">
            <path value="ElementDefinition.constraint.severity"/>
            <short value="error | warning"/>
            <definition value="Identifies the impact constraint violation has on the conformance of the instance."/>
            <comment value="This allows constraints to be asserted as &quot;shall&quot; (error) and &quot;should&quot; (warning)."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.severity"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="code"/>
            </type>
            <condition value="eld-26"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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/tools/StructureDefinition/binding-definition">
                <valueString value="SHALL applications comply with this constraint?"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="ConstraintSeverity"/>
              </extension>
              <strength value="required"/>
              <description value="SHALL applications comply with this constraint?"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/constraint-severity|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.suppress">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ElementDefinition.constraint.suppress"/>
            <short value="Suppress warning or hint in profile"/>
            <definition value="If true, indicates that the warning or best practice guideline should be suppressed."/>
            <comment value="This element should only be present in a derived profile where a warning or hint has been determined to be spurious/incorrect. E.g. a warning encouraging the inclusion of an element that the profile explicitly prohibits."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.suppress"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="eld-26"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.human">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.constraint.human"/>
            <short value="Human description of constraint"/>
            <definition value="Text that can be used to describe the constraint in messages identifying that the constraint has been violated."/>
            <comment value="Should be expressed in business terms as much as possible."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.human"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.expression">
            <path value="ElementDefinition.constraint.expression"/>
            <short value="FHIRPath expression of constraint"/>
            <definition value="A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met."/>
            <comment value="In the absense of an expression, the expression is likely not enforceable by validators, and might be missed by many systems."/>
            <requirements value="Used by validation tooling tests of the validity of the resource."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.expression"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-21"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.constraint.source">
            <path value="ElementDefinition.constraint.source"/>
            <short value="Reference to original source of constraint"/>
            <definition value="A reference to the original source of the constraint, for traceability purposes."/>
            <comment value="This is used when, e.g. rendering, where it is not useful to present inherited constraints when rendering the snapshot."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.constraint.source"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mustHaveValue">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ElementDefinition.mustHaveValue"/>
            <short value="For primitives, that a value must be present - not replaced by an extension"/>
            <definition value="Specifies for a primitive data type that the value of the data type cannot be replaced by an extension."/>
            <comment value="Typical extensions that can be provided in place of a the value are [http://hl7.org/fhir/StructureDefinition/data-absent-reason](http://hl7.org/fhir/extensions/StructureDefinition-data-absent-reason.html),  [http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor](http://hl7.org/fhir/extensions/StructureDefinition-iso21090-nullFlavor.html),  [http://hl7.org/fhir/StructureDefinition/originalText](http://hl7.org/fhir/extensions/StructureDefinition-originalText.html), and [http://hl7.org/fhir/StructureDefinition/cqf-expression](http://hl7.org/fhir/extensions/StructureDefinition-cqf-expression.html). Note that this element has no meaning when a value is provided, and extensions can be provided in addition to a value."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mustHaveValue"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <condition value="eld-28"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ElementDefinition.valueAlternatives">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ElementDefinition.valueAlternatives"/>
            <short value="Extensions that are allowed to replace a primitive value"/>
            <definition value="Specifies a list of extensions that can appear in place of a primitive value."/>
            <comment value="if mustHaveValue is true, then this element should not be present, since no extensions are allowed in place of the value. Note that this element has no impact if the value is present."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.valueAlternatives"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition"/>
            </type>
            <meaningWhenMissing value="If this element is missing, then any extension can be used if its context is appropriate"/>
            <condition value="eld-28"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ElementDefinition.mustSupport">
            <path value="ElementDefinition.mustSupport"/>
            <short value="If the element must be supported (discouraged - see obligations)"/>
            <definition value="If true, implementations that produce or consume resources SHALL provide &quot;support&quot; for the element in some meaningful way. Note that this is being phased out and replaced by obligations (see below).  If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation."/>
            <comment value="&quot;Something meaningful&quot; is context dependent and impossible to describe in the base FHIR specification. For this reason, the mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles.  A profile on a type can always make mustSupport = true if it is false in the base type but cannot make mustSupport = false if it is true in the base type.   This is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of &quot;support&quot; is required, as this can mean many things.    Note that an element that has the property IsModifier is not necessarily a &quot;key&quot; element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements."/>
            <requirements value="Allows a profile to set expectations for system capabilities beyond merely respecting cardinality constraints."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mustSupport"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="In a base type, where the element is being defined for the first time, the element is assumed to be mustSupport = false. In a profile (a constraint on an existing type), if mustSupport is not specific in either the differential or the snapshot, the mustSupport value is not changed from the base definition. Note, though, that the snapshot SHOULD always populate the mustSupport value"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="??"/>
            </mapping>
          </element>
          <element id="ElementDefinition.isModifier">
            <path value="ElementDefinition.isModifier"/>
            <short value="If this modifies the meaning of other elements"/>
            <definition value="If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. When used on the root element in an extension definition, this indicates whether or not the extension is a modifier extension."/>
            <comment value="Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles (except in the special case of the defining a new extension). An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear."/>
            <requirements value="Allows elements to be introduced into a specification that can't safely be ignored by applications that don't recognize them."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.isModifier"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="An element is not a modifier element unless it is explicitly specified to be one"/>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="??"/>
            </mapping>
          </element>
          <element id="ElementDefinition.isModifierReason">
            <path value="ElementDefinition.isModifierReason"/>
            <short value="Reason that this element is marked as a modifier"/>
            <definition value="Explains how that element affects the interpretation of the resource or element that contains it."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.isModifierReason"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="string"/>
            </type>
            <condition value="eld-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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.isSummary">
            <path value="ElementDefinition.isSummary"/>
            <short value="Include when _summary = true?"/>
            <definition value="Whether the element should be included if a client requests a search with the parameter _summary=true."/>
            <comment value="Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance. When a request is made with _summary=true, serializers only include elements marked as 'isSummary = true'. With a few exceptions (listed below), all datatype properties are included in the summary form. In resource and datatype definitions, if an element has a descendant marked as isSummary=true or if it satisfies both of the following conditions, it must be marked as isSummary=true:&#xA;* is at the root or has a parent that is 'mustSupport'&#xA;* has a minimum cardinality of 1 or is a modifier element&#xA;&#xA;The following datatype properties are exceptions, and are not marked as isSummary:&#xA;* Attachment.data&#xA;* Signature.data, Signature.targetFormat, Signature.sigFormat&#xA;* Narrative.status, Narrative.div&#xA;* SampledData.data."/>
            <requirements value="Allow clients to search through large resources quickly."/>
            <min value="0"/>
            <max value="0"/>
            <base>
              <path value="ElementDefinition.isSummary"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="boolean"/>
            </type>
            <meaningWhenMissing value="An element is not included in the summary unless it is explicitly specified to be so"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="??"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
              <valueString value="ElementDefinitionBinding"/>
            </extension>
            <path value="ElementDefinition.binding"/>
            <short value="ValueSet details if this is coded"/>
            <definition value="Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri)."/>
            <comment value="For a CodeableConcept, when no codes are allowed - only text, use a binding of strength &quot;required&quot; with a description explaining that no coded values are allowed and what sort of information to put in the &quot;text&quot; element."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-11"/>
            <condition value="eld-5"/>
            <constraint>
              <key value="eld-12"/>
              <severity value="error"/>
              <human value="ValueSet SHALL start with http:// or https:// or urn: or #"/>
              <expression value="valueSet.exists() implies (valueSet.startsWith('http:') or valueSet.startsWith('https') or valueSet.startsWith('urn:') or valueSet.startsWith('#'))"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="eld-23"/>
              <severity value="error"/>
              <human value="binding SHALL have either description or valueSet"/>
              <expression value="description.exists() or valueSet.exists()"/>
              <source value="http://hl7.org/fhir/StructureDefinition/ElementDefinition"/>
            </constraint>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="OM3, OMC.11"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".domain"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.id">
            <path value="ElementDefinition.binding.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="ElementDefinition.binding.extension">
            <path value="ElementDefinition.binding.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.strength">
            <path value="ElementDefinition.binding.strength"/>
            <short value="required | extensible | preferred | example"/>
            <definition value="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances."/>
            <comment value="For further discussion, see [Using Terminologies](terminologies.html)."/>
            <alias value="conformance"/>
            <alias value="extensibility"/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.strength"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="Indication of the degree of conformance expectations associated with a binding."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="BindingStrength"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="Indication of the degree of conformance expectations associated with a binding."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/binding-strength|5.0.0"/>
            </binding>
            <mapping>
              <identity value="v2"/>
              <map value="N/A"/>
            </mapping>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.description">
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable">
              <valueBoolean value="true"/>
            </extension>
            <path value="ElementDefinition.binding.description"/>
            <short value="Intended use of codes in the bound value set"/>
            <definition value="Describes the intended use of this particular set of codes."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.description"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="markdown"/>
            </type>
            <condition value="eld-23"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value=".domain.description"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.valueSet">
            <path value="ElementDefinition.binding.valueSet"/>
            <short value="Source of value set"/>
            <definition value="Refers to the value set that identifies the set of codes the binding refers to."/>
            <comment value="The reference may be version-specific or not (e.g. have a |[version] at the end of the canonical URL)."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.valueSet"/>
              <min value="0"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <condition value="eld-12"/>
            <condition value="eld-23"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="points to explicit list or expression that evaluates to list of (Enumerated_Value_Domain).member"/>
            </mapping>
            <mapping>
              <identity value="dex"/>
              <map value="valueDomain.valueSet"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.additional">
            <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
              <valueCode value="trial-use"/>
            </extension>
            <path value="ElementDefinition.binding.additional"/>
            <short value="Additional Bindings - more rules about the binding"/>
            <definition value="Additional bindings that help applications implementing this element. Additional bindings do not replace the main binding but provide more information and/or context."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.binding.additional"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ElementDefinition.binding.additional.id">
            <path value="ElementDefinition.binding.additional.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="ElementDefinition.binding.additional.extension">
            <path value="ElementDefinition.binding.additional.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.binding.additional.purpose">
            <path value="ElementDefinition.binding.additional.purpose"/>
            <short value="maximum | minimum | required | extensible | candidate | current | preferred | ui | starter | component"/>
            <definition value="The use of this additional binding."/>
            <comment value="Conformance bindings are in addition to the base binding, not instead of it."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.additional.purpose"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The use of an additional binding."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="AdditionalBindingPurpose"/>
              </extension>
              <strength value="required"/>
              <description value="The use of an additional binding."/>
              <valueSet value="http://hl7.org/fhir/ValueSet/additional-binding-purpose|5.0.0"/>
            </binding>
          </element>
          <element id="ElementDefinition.binding.additional.valueSet">
            <path value="ElementDefinition.binding.additional.valueSet"/>
            <short value="The value set for the additional binding"/>
            <definition value="The valueSet that is being bound for the purpose."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.additional.valueSet"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="canonical"/>
              <targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet"/>
            </type>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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"/>
          </element>
          <element id="ElementDefinition.binding.additional.documentation">
            <path value="ElementDefinition.binding.additional.documentation"/>
            <short value="Documentation of the purpose of use of the binding"/>
            <definition value="Documentation of the purpose of use of the bindingproviding additional information about how it is intended to be used."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.additional.documentation"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ElementDefinition.binding.additional.shortDoco">
            <path value="ElementDefinition.binding.additional.shortDoco"/>
            <short value="Concise documentation - for summary tables"/>
            <definition value="Concise documentation - for summary tables."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.additional.shortDoco"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ElementDefinition.binding.additional.usage">
            <path value="ElementDefinition.binding.additional.usage"/>
            <short value="Qualifies the usage - jurisdiction, gender, workflow status etc."/>
            <definition value="Qualifies the usage of the binding. Typically bindings are qualified by jurisdiction, but they may also be qualified by gender, workflow status, clinical domain etc. The information to decide whether a usege context applies is usually outside the resource, determined by context, and this might present challenges for validation tooling."/>
            <comment value="This specification does not define exactly how the context is determined for the usage; typically, this will be described in implementation guides."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.binding.additional.usage"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ElementDefinition.binding.additional.any">
            <path value="ElementDefinition.binding.additional.any"/>
            <short value="Whether binding can applies to all repeats, or just one"/>
            <definition value="Whether the binding applies to all repeats, or just to any one of them. This is only relevant for elements that can repeat."/>
            <comment value="A common pattern is to make a conformance binding to all repeats, and then make a binding that one of the repeats must conform to."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.binding.additional.any"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
          </element>
          <element id="ElementDefinition.mapping">
            <path value="ElementDefinition.mapping"/>
            <short value="Map element to another set of definitions"/>
            <definition value="Identifies a concept from an external specification that roughly corresponds to this element."/>
            <comment value="Mappings are not necessarily specific enough for safe translation."/>
            <requirements value="Provides guidance to implementers familiar with or converting content from other specifications."/>
            <min value="0"/>
            <max value="*"/>
            <base>
              <path value="ElementDefinition.mapping"/>
              <min value="0"/>
              <max value="*"/>
            </base>
            <type>
              <code value="Element"/>
            </type>
            <condition value="eld-27"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="Registered_item).document_reference[document_type=mapping]  Also, .meaning linkage to Data_Element_Concept is done as a mapping to a reference model.  (Data_Element_Concepts are all defined in some sort of reference model, be that Object_Class and Property or some other mechanism)"/>
            </mapping>
            <mapping>
              <identity value="dex"/>
              <map value="mappingSpecification"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mapping.id">
            <path value="ElementDefinition.mapping.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="ElementDefinition.mapping.extension">
            <path value="ElementDefinition.mapping.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>
            <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>
            <isModifier value="false"/>
            <isSummary value="false"/>
            <mapping>
              <identity value="rim"/>
              <map value="n/a"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mapping.identity">
            <path value="ElementDefinition.mapping.identity"/>
            <short value="Reference to mapping declaration"/>
            <definition value="An internal reference to the definition of a mapping."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mapping.identity"/>
              <min value="1"/>
              <max value="1"/>
            </base>
            <type>
              <code value="id"/>
            </type>
            <condition value="eld-27"/>
            <constraint>
              <key value="ele-1"/>
              <severity value="error"/>
              <human value="All FHIR elements must have 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="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mapping.language">
            <path value="ElementDefinition.mapping.language"/>
            <short value="Computable language of mapping"/>
            <definition value="Identifies the computable language in which mapping.map is expressed."/>
            <comment value="If omitted, then there can be no expectation of computational interpretation of the mapping."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mapping.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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <binding>
              <extension url="http://hl7.org/fhir/tools/StructureDefinition/binding-definition">
                <valueString value="The mime type of an attachment. Any valid mime type is allowed."/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
                <valueString value="MimeType"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
                <valueBoolean value="true"/>
              </extension>
              <strength value="required"/>
              <description value="BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)"/>
              <valueSet value="http://hl7.org/fhir/ValueSet/mimetypes|5.0.0"/>
            </binding>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mapping.map">
            <path value="ElementDefinition.mapping.map"/>
            <short value="Details of the mapping"/>
            <definition value="Expresses what part of the target specification corresponds to this element."/>
            <comment value="For most mappings, the syntax is undefined.  Syntax will be provided for mappings to the RIM.  Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies."/>
            <min value="1"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mapping.map"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
            <mapping>
              <identity value="iso11179"/>
              <map value="ObjectClass, Property (this is one possible data model that can be mapped to - the uri would identify the data model  mappingSpecification.mappingScript"/>
            </mapping>
          </element>
          <element id="ElementDefinition.mapping.comment">
            <path value="ElementDefinition.mapping.comment"/>
            <short value="Comments about the mapping or its use"/>
            <definition value="Comments that provide information about the mapping or its use."/>
            <min value="0"/>
            <max value="1"/>
            <base>
              <path value="ElementDefinition.mapping.comment"/>
              <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>
            <isModifier value="false"/>
            <isSummary value="true"/>
            <mapping>
              <identity value="rim"/>
              <map value="N/A (MIF territory)"/>
            </mapping>
          </element>
        </snapshot>
        <differential>
          <element id="ElementDefinition">
            <path value="ElementDefinition"/>
            <min value="0"/>
            <max value="*"/>
          </element>
          <element id="ElementDefinition.extension:Question">
            <path value="ElementDefinition.extension"/>
            <sliceName value="Question"/>
            <min value="0"/>
            <max value="*"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/elementdefinition-question"/>
            </type>
          </element>
          <element id="ElementDefinition.extension:AllowedUnits">
            <path value="ElementDefinition.extension"/>
            <sliceName value="AllowedUnits"/>
            <min value="0"/>
            <max value="1"/>
            <type>
              <code value="Extension"/>
              <profile value="http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"/>
            </type>
          </element>
          <element id="ElementDefinition.representation">
            <path value="ElementDefinition.representation"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.slicing">
            <path value="ElementDefinition.slicing"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.short">
            <path value="ElementDefinition.short"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.contentReference">
            <path value="ElementDefinition.contentReference"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.type">
            <path value="ElementDefinition.type"/>
          </element>
          <element id="ElementDefinition.type.profile">
            <path value="ElementDefinition.type.profile"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.type.aggregation">
            <path value="ElementDefinition.type.aggregation"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.defaultValue[x]">
            <path value="ElementDefinition.defaultValue[x]"/>
            <comment value="...  This element should only be used on child elements of complex data elements."/>
          </element>
          <element id="ElementDefinition.meaningWhenMissing">
            <path value="ElementDefinition.meaningWhenMissing"/>
            <comment value="...  This element should only be used on child elements of complex data elements."/>
          </element>
          <element id="ElementDefinition.fixed[x]">
            <path value="ElementDefinition.fixed[x]"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.pattern[x]">
            <path value="ElementDefinition.pattern[x]"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.isModifier">
            <path value="ElementDefinition.isModifier"/>
            <min value="0"/>
            <max value="0"/>
          </element>
          <element id="ElementDefinition.isSummary">
            <path value="ElementDefinition.isSummary"/>
            <min value="0"/>
            <max value="0"/>
          </element>
        </differential>
      </StructureDefinition>
    </resource>
  </entry>
</Bundle>