This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: 0 | Trial Use | Use Context: Any |
HistoryBundle
<?xml version="1.0" encoding="UTF-8"?> <StructureDefinition xmlns="http://hl7.org/fhir"> <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 1. One code in `Observation.code` which must have - a fixed `Observation.code.coding.system`=**'http ://loinc.org'** - a fixed `Observation.code.coding.code`= **'29463-7'** - Other additional Codings are allowed in `Observation.code`- e.g. more specific LOINC Codes, SNOMED CT concepts, system specific codes. All codes SHALL have an system value 1. Either one Observation.valueQuantity or, if there is no value, one code in Observation.Dat aAbsentReason - Each Observation.valueQuantity must have: - One numeric value in Observation.valueQuantity.value - a fixed Observation.valueQuantity.system="http://unitsofmeasure.org" - a UCUM unit code in Observation.valueQuantity.code = **'kg', 'g', or '[lb_av]'**"/> </extension> <url value="http://hl7.org/fhir/StructureDefinition/history-bundle"/> <version value="6.0.0-ballot1"/> <name value="HistoryBundle"/> <title value="History bundle"/> <status value="active"/> <experimental value="false"/> <date value="2023-12-18T15:12:07+11:00"/> <publisher value="HL7 International / FHIR Infrastructure"/> <contact> <telecom> <system value="url"/> <value value="http://www.hl7.org/Special/committees/fiwg"/> </telecom> </contact> <description value="This profile holds all the requirements and constraints related to a FHIR history bundle."/> <fhirVersion value="6.0.0-ballot1"/> <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&iif(resource.meta.vers ionId.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.exis ts() 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.metho d 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() > 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() > 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() > id.count())"/> <source value="http://hl7.org/fhir/StructureDefinition/Element"/> </constraint> <mustSupport value="false"/> <isModifier value="false"/> <isSummary value="false"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="Language"/> </extension> <strength value="required"/> <description value="IETF language tag for a human language"/> <valueSet value="http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot1"/> <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() > 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() > id.count())"/> <source value="http://hl7.org/fhir/StructureDefinition/Element"/> </constraint> <mustSupport value="false"/> <isModifier value="false"/> <isSummary value="true"/> <binding> <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"> <valueString value="BundleType"/> </extension> <strength value="required"/> <description value="Indicates the purpose of a bundle - how it is intended to be used."/> <valueSet value="http://hl7.org/fhir/ValueSet/bundle-type|6.0.0-ballot1"/> </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. Usage: * 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 * 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 * history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates * 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 * transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning 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() > 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() > 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)). Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly. This specification defines some specific uses of Bundle.link for [searching](search.html#conf ormance) 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() > 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() > id.count())"/> <source value="http://hl7.org/fhir/StructureDefinition/Element"/> </constraint> <isModifier value="false"/> <isSummary value="false"/> <mapping> <identity value="rim"/> <map value="n/a"/> </mapping> </element> <element id="Bundle.link.modifierExtension"> <path value="Bundle.link.modifierExtension"/> <short value="Extensions that cannot be ignored even if unrecognized"/> <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/> <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/> <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)."/> <alias value="extensions"/> <alias value="user content"/> <alias value="modifiers"/> <min value="0"/> <max value="*"/> <base> <path value="BackboneElement.modifierExtension"/> <min value="0"/> <max value="*"/> </base> <type> <code value="Extension"/> </type> <constraint> <key value="ele-1"/> <severity value="error"/> <human value="All FHIR elements must have a @value or children"/> <expression value="hasValue() or (children().count() > id.count())"/> <source value="http://hl7.org/fhir/StructureDefinition/Element"/> </constraint> <isModifier value="true"/> <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/> <isSummary value="true"/> <mapping> <identity value="rim"/> <map value="N/A"/> </mapping> </element> <element id="Bundle.link.relation"> <path value="Bundle.link.relation"/> <short value="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1"/> <definition value="A name which details the functional use for this link - see [http://www.iana.org/assignments/ link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-rel ations/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() > id.count())"/> <source value="http://hl7.org/fhir/StructureDefinition/Element"/> </constraint> <mustSupport value="false"/> <isModifier value="false"/> <isSummary value="true"/> <binding> <strength value="required"/> <valueSet value="http://hl7.org/fhir/ValueSet/iana-link-relations|6.0.0-ballot1"/> </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() > id.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() > id.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="*"