Skip to main content

Bundle

ResourceFoundation · OtherNormativeMaturity 5

A container for a collection of resources.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
5 of 5 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..1IdentifierPersistent identifier for the bundle
typeRequiredΣ
1..1codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collectionBinding (required): bundle-type
timestampΣ
0..1instantWhen the bundle was assembled
totalΣ
0..1unsignedIntIf search, the total number of matches
relationRequiredΣ
1..1stringSee http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
urlRequiredΣ
1..1uriReference details for the link
entryΣ
0..*BackboneElementEntry in the bundle - will have a resource or information
fullUrlΣ
0..1uriURI for resource (Absolute URL server address or URI for UUID/OID)
resourceΣ
0..1ResourceA resource in the bundle
searchΣ
0..1BackboneElementSearch related information
modeΣ
0..1codematch | include | outcome - why this is in the result setBinding (required): search-entry-mode
scoreΣ
0..1decimalSearch ranking (between 0 and 1)
requestΣ
0..1BackboneElementAdditional execution information (transaction/batch/history)
methodRequiredΣ
1..1codeGET | HEAD | POST | PUT | DELETE | PATCHBinding (required): http-verb
urlRequiredΣ
1..1uriURL for HTTP equivalent of this entry
ifNoneMatchΣ
0..1stringFor managing cache currency
ifModifiedSinceΣ
0..1instantFor managing cache currency
ifMatchΣ
0..1stringFor managing update contention
ifNoneExistΣ
0..1stringFor conditional creates
responseΣ
0..1BackboneElementResults of execution (transaction/batch/history)
statusRequiredΣ
1..1stringStatus response code (text optional)
locationΣ
0..1uriThe location (if the operation returns a location)
etagΣ
0..1stringThe Etag for the resource (if relevant)
lastModifiedΣ
0..1instantServer's date time modified
outcomeΣ
0..1ResourceOperationOutcome with hints and warnings (for batch/transaction)
signatureΣ
0..1SignatureDigital Signature

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Bundle?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
compositionreference

The first resource in the bundle, if the bundle type is "document" - this is a composition, and this parameter provides access to search its contents

Bundle.entry[0].resource
identifiertoken

Persistent identifier for the bundle

Bundle.identifier
messagereference

The first resource in the bundle, if the bundle type is "message" - this is a message header, and this parameter provides access to search its contents

Bundle.entry[0].resource
timestampdate

When the bundle was assembled

Bundle.timestamp
typetoken

document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection

Bundle.type

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition