Profiles & Interactions Index > Profile: Bundle Search Result

Profile: Bundle (Search Result)

Simplifier project page: Bundle Searchset

Derived from: Bundle (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Bundle-searchsetactive4.0.14.0.1

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

idS Σ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
identifierΣ0..1Identifier
typeS Σ1..1codeBindingFixed Value
timestampΣ0..1instant
totalS Σ I0..1unsignedInt
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
relationS Σ1..1string
urlS Σ1..1uri
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
fullUrlS Σ0..1uri
resourceS Σ0..1Resource
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
modeΣ0..1codeBinding
scoreΣ0..1decimal
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
methodΣ1..1codeBinding
urlΣ1..1uri
ifNoneMatchΣ0..1string
ifModifiedSinceΣ0..1instant
ifMatchΣ0..1string
ifNoneExistΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
statusΣ1..1string
locationΣ0..1uri
etagΣ0..1string
lastModifiedΣ0..1instant
outcomeΣ0..1Resource
signatureΣ0..1Signature

Hybrid View

idS Σ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
identifierΣ0..1Identifier
typeS Σ1..1codeBindingFixed Value
timestampΣ0..1instant
totalS Σ I0..1unsignedInt
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
relationS Σ1..1string
urlS Σ1..1uri
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
fullUrlS Σ0..1uri
resourceS Σ0..1Resource
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
modeΣ0..1codeBinding
scoreΣ0..1decimal
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
methodΣ1..1codeBinding
urlΣ1..1uri
ifNoneMatchΣ0..1string
ifModifiedSinceΣ0..1instant
ifMatchΣ0..1string
ifNoneExistΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
statusΣ1..1string
locationΣ0..1uri
etagΣ0..1string
lastModifiedΣ0..1instant
outcomeΣ0..1Resource
signatureΣ0..1Signature

Snapshot View

idS Σ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
identifierΣ0..1Identifier
typeS Σ1..1codeBindingFixed Value
timestampΣ0..1instant
totalS Σ I0..1unsignedInt
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
relationS Σ1..1string
urlS Σ1..1uri
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
fullUrlS Σ0..1uri
resourceS Σ0..1Resource
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
modeΣ0..1codeBinding
scoreΣ0..1decimal
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
methodΣ1..1codeBinding
urlΣ1..1uri
ifNoneMatchΣ0..1string
ifModifiedSinceΣ0..1instant
ifMatchΣ0..1string
ifNoneExistΣ0..1string
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
statusΣ1..1string
locationΣ0..1uri
etagΣ0..1string
lastModifiedΣ0..1instant
outcomeΣ0..1Resource
signatureΣ0..1Signature

Table View

Bundle..
Bundle.id..
Bundle.type..
Bundle.total..
Bundle.link..
Bundle.link.relation..
Bundle.link.url..
Bundle.entry..
Bundle.entry.fullUrl..
Bundle.entry.resource..

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "c49ef9ea-5fef-4f7c-9bfd-4c8028d8539d",
    "meta": {
        "lastUpdated": "2024-03-05T20:25:33.2884805+00:00"
    },
    "text": {
        "status": "empty",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Bundle-searchset",
    "version": "4.0.1",
    "name": "Bundle",
    "title": "Bundle Searchset",
    "status": "active",
    "date": "2021-11-24T18:45:16.3227669Z",
    "description": "A special type of resource for collections of resources.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Bundle",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Bundle",
                "path": "Bundle",
                "mustSupport": true
            },
            {
                "id": "Bundle.id",
                "path": "Bundle.id",
                "mustSupport": true
            },
            {
                "id": "Bundle.type",
                "path": "Bundle.type",
                "fixedCode": "searchset",
                "mustSupport": true
            },
            {
                "id": "Bundle.total",
                "path": "Bundle.total",
                "mustSupport": true
            },
            {
                "id": "Bundle.link",
                "path": "Bundle.link",
                "mustSupport": true
            },
            {
                "id": "Bundle.link.relation",
                "path": "Bundle.link.relation",
                "mustSupport": true
            },
            {
                "id": "Bundle.link.url",
                "path": "Bundle.link.url",
                "mustSupport": true
            },
            {
                "id": "Bundle.entry",
                "path": "Bundle.entry",
                "mustSupport": true
            },
            {
                "id": "Bundle.entry.fullUrl",
                "path": "Bundle.entry.fullUrl",
                "mustSupport": true
            },
            {
                "id": "Bundle.entry.resource",
                "path": "Bundle.entry.resource",
                "mustSupport": true
            }
        ]
    }
}

Usage

A Bundle resource is used to package together a collection of FHIR instances to be sent from one system to another. The Bundle SHALL have an entry for each of the FHIR Resources required to convey information about the business event.

This resource captures the search result of medication document bundles returned from the server.

Notes

The following rules apply to DHDR searchset type Bundles.

.id

  • used to uniquely identify a bundle response
  • populate this element with a UUID each time a response is returned by DHDR

.meta.profile

  • used to declare conformance to this profile
  • populate with a fixed value: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Bundle-searchset|4.0.1

.type

  • declares that the Bundle contains a searchset result
  • populate with a fixed value: searchset

Note: A set of search results (type = searchset) consists of a series of zero or more entries. Each entry element will contain a resource. Bundle.total may be used to return the total number of resources that match the search, and that may be returned by following the next link.

.link

  • a series of links that provide context to this bundle. This is used to support paging.

.link.relation

  • self for the link to the this Bundle next for the link to the next page

.entry

  • each entry contains a DHDR FHIR Resource required to convey information about the business event

.entry.fullUrl

  • each entry in the Bundle SHALL have a fullUrl which is the identity of the resource in the entry

.entry.resource

  • SHALL be populated with the resource for this entry

.entry.request

  • SHALL NOT be populated

.entry.response

  • SHALL NOT be populated