Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
N | Resource | Contains a collection of resources + Rule: total only when a search or history + Rule: entry.search only when a search + Rule: entry.request mandatory for batch/transaction/history, otherwise prohibited + Rule: entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited + Rule: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) + Rule: A document must have an identifier with a system and a value + Rule: A document must have a date + Rule: A document must have a Composition as the first resource + Rule: A message must have a MessageHeader as the first resource Elements defined in Ancestors: id, meta, implicitRules, language | ||
Σ | 0..1 | Identifier | Persistent identifier for the bundle | |
Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection BundleType (Required) | |
Σ | 0..1 | instant | When the bundle was assembled | |
ΣI | 0..1 | unsignedInt | If search, the total number of matches | |
Σ | 0..* | BackboneElement | Links related to this Bundle | |
Σ | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1 | |
Σ | 1..1 | uri | Reference details for the link | |
ΣI | 0..* | BackboneElement | Entry in the bundle - will have a resource or information + Rule: must be a resource unless there's a request or response + Rule: fullUrl cannot be a version specific reference This repeating element order: 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 | |
Σ | 0..* | see link | Links related to this entry | |
Σ | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID) | |
Σ | 0..1 | Resource | A resource in the bundle | |
ΣI | 0..1 | BackboneElement | Search related information | |
Σ | 0..1 | code | match | include | outcome - why this is in the result set SearchEntryMode (Required) | |
Σ | 0..1 | decimal | Search ranking (between 0 and 1) | |
ΣI | 0..1 | BackboneElement | Additional execution information (transaction/batch/history) | |
Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH HTTPVerb (Required) | |
Σ | 1..1 | uri | URL for HTTP equivalent of this entry | |
Σ | 0..1 | string | For managing cache currency | |
Σ | 0..1 | instant | For managing cache currency | |
Σ | 0..1 | string | For managing update contention | |
Σ | 0..1 | string | For conditional creates | |
ΣI | 0..1 | BackboneElement | Results of execution (transaction/batch/history) | |
Σ | 1..1 | string | Status response code (text optional) | |
Σ | 0..1 | uri | The location (if the operation returns a location) | |
Σ | 0..1 | string | The Etag for the resource (if relevant) | |
Σ | 0..1 | instant | Server's date time modified | |
Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction) | |
ΣTU | 0..1 | Signature | Digital Signature | |
![]() |