This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Profile for bundle
{ "resourceType": "Profile", "id": "Bundle", "meta": { "lastUpdated": "2015-02-23T09:07:27.665+11:00" }, "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/Profile/Bundle", "name": "Bundle", "publisher": "HL7 FHIR Project (FHIR Management Group)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] }, { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/fhirmg/index.cfm" } ] } ], "description": "Base Profile for Bundle Resource", "status": "draft", "date": "2015-02-23T09:07:27+11:00", "mapping": [ { "identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2" }, { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM" } ], "type": "Bundle", "snapshot": { "element": [ { "path": "Bundle", "short": "Contains a group of resources", "definition": "A container for a group of resources.", "min": 1, "max": "1", "constraint": [ { "key": "bdl-2", "name": "entry.search", "severity": "error", "human": "entry.search only when a search", "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')" }, { "key": "bdl-1", "name": "total", "severity": "error", "human": "total only when a search or history", "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" }, { "key": "bdl-3", "name": "entry.transaction", "severity": "error", "human": "entry.transaction when (and only when) a transaction", "xpath": "not(f:entry/f:transaction) or (f:type/@value = 'transaction') or (f:type/@value = 'history')" }, { "key": "bdl-4", "name": "entry.transactionResponse", "severity": "error", "human": "entry.transactionResponse when (and only when) a transaction-response", "xpath": "not(f:entry/f:transactionResponse) or (f:type/@value = 'transaction-response')" } ], "mapping": [ { "identity": "v2", "map": "N/A" }, { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.id", "short": "Logical id of this artefact", "definition": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes.", "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.", "min": 0, "max": "1", "type": [ { "code": "id" } ] }, { "path": "Bundle.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.", "min": 0, "max": "1", "type": [ { "code": "Meta" } ] }, { "path": "Bundle.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "comments": "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 as much as possible.", "min": 0, "max": "1", "type": [ { "code": "uri" } ], "isModifier": true }, { "path": "Bundle.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comments": "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\n\nNot 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": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "Language", "isExtensible": false, "conformance": "required", "description": "A human language", "referenceUri": "http://tools.ietf.org/html/bcp47" } }, { "path": "Bundle.type", "short": "document | message | transaction | transaction-response | history | searchset | collection", "definition": "Indicates the purpose of this bundle- how it was intended to be used.", "comments": "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": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "BundleType", "isExtensible": false, "conformance": "required", "description": "Indicates the purpose of a bundle- how it was intended to be used", "referenceReference": { "reference": "http://hl7.org/fhir/vs/bundle-type" } } }, { "path": "Bundle.base", "short": "Stated Base URL", "definition": "The base URL for the service that provided these resources. All relative URLs are relative to this one (equivalent to xml:base).", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.total", "short": "If search, the total number of matches", "definition": "If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).", "comments": "Only used if the bundle is a search result set.", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "condition": [ "bdl-1" ] }, { "path": "Bundle.link", "short": "Links related to this Bundle", "definition": "A series of links that provide context to this bundle.", "min": 0, "max": "*" }, { "path": "Bundle.link.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.link.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.link.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.link.relation", "short": "http://www.iana.org/assignments/link-relations/link-relations.xhtml", "definition": "A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]].", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.link.url", "short": "Reference details for the link", "definition": "The reference details for the link.", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry", "short": "Entry in the bundle - will have a resource, or information", "definition": "An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).", "min": 0, "max": "*", "constraint": [ { "key": "bdl-5", "name": "entry.resource", "severity": "error", "human": "must be a resource unless there's a transaction or transaction response", "xpath": "f:resource or f:transaction or f:transactionResponse" } ] }, { "path": "Bundle.entry.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.entry.base", "short": "Base URL, if different to bundle base", "definition": "The Base URL for the resource, if different to the base URL specified for the bundle as a whole.", "comments": "This allows bundles to be composed of resources from multiple servers (collated search, documents etc).", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.resource", "short": "Resources in this bundle", "definition": "The Resources for the entry.", "min": 0, "max": "1", "type": [ { "code": "Resource" } ] }, { "path": "Bundle.entry.search", "short": "Search related information", "definition": "Information about the search process that lead to the creation of this entry.", "min": 0, "max": "1", "condition": [ "bdl-2" ] }, { "path": "Bundle.entry.search.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.search.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.search.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.entry.search.mode", "short": "match | include - why this is in the result set", "definition": "Why this entry is in the result set - whether it's included as a match or because of an _include requirement.", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "SearchEntryMode", "isExtensible": false, "conformance": "required", "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement", "referenceReference": { "reference": "http://hl7.org/fhir/vs/search-entry-mode" } } }, { "path": "Bundle.entry.search.score", "short": "Search ranking (between 0 and 1)", "definition": "When searching, the server's search ranking score for the entry.", "comments": "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.", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "path": "Bundle.entry.transaction", "short": "Transaction Related Information", "definition": "Additional information about how this entry should be processed as part of a transaction.", "min": 0, "max": "1", "condition": [ "bdl-3" ] }, { "path": "Bundle.entry.transaction.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.transaction.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.transaction.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.entry.transaction.method", "short": "GET | POST | PUT | DELETE", "definition": "The HTTP verb for this entry in either a update history, or a transaction/ transaction response.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "HTTPVerb", "isExtensible": false, "conformance": "required", "description": "HTTP verbs (in the HTTP command line)", "referenceReference": { "reference": "http://hl7.org/fhir/vs/http-verb" } } }, { "path": "Bundle.entry.transaction.url", "short": "The URL for the transaction", "definition": "A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation).", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.transaction.ifNoneMatch", "short": "For managing cache currency", "definition": "If the ETag values match, return a 304 Not modified status. See the read/vread interaction documentation.", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transaction.ifMatch", "short": "For managing update contention", "definition": "Only perform the operation if the Etag value matches. For more information, see the API section \"Managing Resource Contention\".", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transaction.ifModifiedSince", "short": "For managing update contention", "definition": "Only perform the operation if the last updated date matches. For more information, see the API section \"Managing Resource Contention\".", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "path": "Bundle.entry.transaction.ifNoneExist", "short": "For conditional creates", "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see \"Conditional Create\".", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse", "short": "Transaction Related Information", "definition": "Additional information about how this entry should be processed as part of a transaction.", "min": 0, "max": "1", "condition": [ "bdl-4" ] }, { "path": "Bundle.entry.transactionResponse.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references).", "min": 0, "max": "1", "type": [ { "code": "id" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.transactionResponse.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "path": "Bundle.entry.transactionResponse.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "synonym": [ "extensions", "user content", "modifiers" ], "min": 0, "max": "*", "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.entry.transactionResponse.status", "short": "Status return code for entry", "definition": "The status code returned by processing this entry.", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse.location", "short": "The location, if the operation returns a location", "definition": "The location header created by processing this operation.", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.transactionResponse.etag", "short": "The etag for the resource (if relevant)", "definition": "The etag for the resource, it the operation for the entry produced a versioned resource.", "comments": "This has to match the version id in the header if a resource is included.", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse.lastModified", "short": "Server's date time modified", "definition": "The date/time that the resource was modified on the server.", "comments": "This has to match the same time in the meta header if a resource is included.", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "path": "Bundle.signature", "short": "XML Digital Signature (base64 encoded)", "definition": "XML Digital Signature - base64 encoded.", "comments": "This is base 64 encoded to address issues with json/xml.", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ] } ] }, "differential": { "element": [ { "path": "Bundle", "short": "Contains a group of resources", "definition": "A container for a group of resources.", "min": 1, "max": "1", "constraint": [ { "key": "bdl-2", "name": "entry.search", "severity": "error", "human": "entry.search only when a search", "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')" }, { "key": "bdl-1", "name": "total", "severity": "error", "human": "total only when a search or history", "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')" }, { "key": "bdl-3", "name": "entry.transaction", "severity": "error", "human": "entry.transaction when (and only when) a transaction", "xpath": "not(f:entry/f:transaction) or (f:type/@value = 'transaction') or (f:type/@value = 'history')" }, { "key": "bdl-4", "name": "entry.transactionResponse", "severity": "error", "human": "entry.transactionResponse when (and only when) a transaction-response", "xpath": "not(f:entry/f:transactionResponse) or (f:type/@value = 'transaction-response')" } ], "mapping": [ { "identity": "v2", "map": "N/A" }, { "identity": "rim", "map": "N/A" } ] }, { "path": "Bundle.type", "short": "document | message | transaction | transaction-response | history | searchset | collection", "definition": "Indicates the purpose of this bundle- how it was intended to be used.", "comments": "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": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "BundleType", "isExtensible": false, "conformance": "required", "description": "Indicates the purpose of a bundle- how it was intended to be used", "referenceReference": { "reference": "http://hl7.org/fhir/vs/bundle-type" } } }, { "path": "Bundle.base", "short": "Stated Base URL", "definition": "The base URL for the service that provided these resources. All relative URLs are relative to this one (equivalent to xml:base).", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.total", "short": "If search, the total number of matches", "definition": "If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).", "comments": "Only used if the bundle is a search result set.", "min": 0, "max": "1", "type": [ { "code": "integer" } ], "condition": [ "bdl-1" ] }, { "path": "Bundle.link", "short": "Links related to this Bundle", "definition": "A series of links that provide context to this bundle.", "min": 0, "max": "*" }, { "path": "Bundle.link.relation", "short": "http://www.iana.org/assignments/link-relations/link-relations.xhtml", "definition": "A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]].", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.link.url", "short": "Reference details for the link", "definition": "The reference details for the link.", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry", "short": "Entry in the bundle - will have a resource, or information", "definition": "An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).", "min": 0, "max": "*", "constraint": [ { "key": "bdl-5", "name": "entry.resource", "severity": "error", "human": "must be a resource unless there's a transaction or transaction response", "xpath": "f:resource or f:transaction or f:transactionResponse" } ] }, { "path": "Bundle.entry.base", "short": "Base URL, if different to bundle base", "definition": "The Base URL for the resource, if different to the base URL specified for the bundle as a whole.", "comments": "This allows bundles to be composed of resources from multiple servers (collated search, documents etc).", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.resource", "short": "Resources in this bundle", "definition": "The Resources for the entry.", "min": 0, "max": "1", "type": [ { "code": "Resource" } ] }, { "path": "Bundle.entry.search", "short": "Search related information", "definition": "Information about the search process that lead to the creation of this entry.", "min": 0, "max": "1", "condition": [ "bdl-2" ] }, { "path": "Bundle.entry.search.mode", "short": "match | include - why this is in the result set", "definition": "Why this entry is in the result set - whether it's included as a match or because of an _include requirement.", "min": 0, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "SearchEntryMode", "isExtensible": false, "conformance": "required", "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement", "referenceReference": { "reference": "http://hl7.org/fhir/vs/search-entry-mode" } } }, { "path": "Bundle.entry.search.score", "short": "Search ranking (between 0 and 1)", "definition": "When searching, the server's search ranking score for the entry.", "comments": "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.", "min": 0, "max": "1", "type": [ { "code": "decimal" } ] }, { "path": "Bundle.entry.transaction", "short": "Transaction Related Information", "definition": "Additional information about how this entry should be processed as part of a transaction.", "min": 0, "max": "1", "condition": [ "bdl-3" ] }, { "path": "Bundle.entry.transaction.method", "short": "GET | POST | PUT | DELETE", "definition": "The HTTP verb for this entry in either a update history, or a transaction/ transaction response.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "binding": { "name": "HTTPVerb", "isExtensible": false, "conformance": "required", "description": "HTTP verbs (in the HTTP command line)", "referenceReference": { "reference": "http://hl7.org/fhir/vs/http-verb" } } }, { "path": "Bundle.entry.transaction.url", "short": "The URL for the transaction", "definition": "A search URL for this resource that specifies how the resource is matched to an existing resource when processing a transaction (see transaction documentation).", "min": 1, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.transaction.ifNoneMatch", "short": "For managing cache currency", "definition": "If the ETag values match, return a 304 Not modified status. See the read/vread interaction documentation.", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transaction.ifMatch", "short": "For managing update contention", "definition": "Only perform the operation if the Etag value matches. For more information, see the API section \"Managing Resource Contention\".", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transaction.ifModifiedSince", "short": "For managing update contention", "definition": "Only perform the operation if the last updated date matches. For more information, see the API section \"Managing Resource Contention\".", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "path": "Bundle.entry.transaction.ifNoneExist", "short": "For conditional creates", "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see \"Conditional Create\".", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse", "short": "Transaction Related Information", "definition": "Additional information about how this entry should be processed as part of a transaction.", "min": 0, "max": "1", "condition": [ "bdl-4" ] }, { "path": "Bundle.entry.transactionResponse.status", "short": "Status return code for entry", "definition": "The status code returned by processing this entry.", "min": 1, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse.location", "short": "The location, if the operation returns a location", "definition": "The location header created by processing this operation.", "min": 0, "max": "1", "type": [ { "code": "uri" } ] }, { "path": "Bundle.entry.transactionResponse.etag", "short": "The etag for the resource (if relevant)", "definition": "The etag for the resource, it the operation for the entry produced a versioned resource.", "comments": "This has to match the version id in the header if a resource is included.", "min": 0, "max": "1", "type": [ { "code": "string" } ] }, { "path": "Bundle.entry.transactionResponse.lastModified", "short": "Server's date time modified", "definition": "The date/time that the resource was modified on the server.", "comments": "This has to match the same time in the meta header if a resource is included.", "min": 0, "max": "1", "type": [ { "code": "instant" } ] }, { "path": "Bundle.signature", "short": "XML Digital Signature (base64 encoded)", "definition": "XML Digital Signature - base64 encoded.", "comments": "This is base 64 encoded to address issues with json/xml.", "min": 0, "max": "1", "type": [ { "code": "base64Binary" } ] } ] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.