FHIR Implementation Guide for NDHM CI Build v2.0
banner

NDHM (R4), Published and maintained by NRCeS for NHA.
This version is based on the NDHM Health Data Interchange Specifications 1.0 and updated periodically.

StructureDefinition-DocumentBundle

This profile sets minimum expectations for the DocumentBundle that includes all resources into a single instance with containing context to act as an exchangeable clinical document. It identifies the mandatory core elements, vocabularies and value sets which SHALL be present in the Composition resource when using this profile.

Examples

Formal Views of Profile Content

Description of Profiles, Differentials, and Snapshots.

The official URL for this profile is: https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentBundle

This profile builds on Bundle


Summary

Mandatory: 6 elements
Must-Support: 1 element

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle 0..*BundleContains a collection of resources
... meta 1..1MetaMetadata about the resource
.... versionId 1..1idVersion specific identifier
.... security S0..*CodingSecurity Labels applied to this resource
... identifier 1..1IdentifierPersistent identifier for the bundle
.... system 1..1uriThe namespace for the identifier value
.... value 1..1stringThe value that is unique
... timestamp 1..1instantWhen the bundle was assembled

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle I0..*BundleContains a collection of resources
... id Σ0..1stringLogical id of this artifact
... meta ΣI1..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId ΣI1..1idVersion specific identifier
.... lastUpdated ΣI0..1instantWhen the resource version last changed
.... source ΣI0..1uriIdentifies where the resource comes from
.... profile ΣI0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security SΣI0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag ΣI0..*CodingTags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... identifier ΣI1..1IdentifierPersistent identifier for the bundle
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!ΣI0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type ΣI0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system ΣI1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣI1..1stringThe value that is unique
Example General: 123456
.... period ΣI0..1PeriodTime period when id is/was valid for use
.... assigner ΣI0..1Reference(Organization)Organization that issued id (may be just text)
... type ΣI1..1codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required)
... timestamp ΣI1..1instantWhen the bundle was assembled
... total ΣI0..1unsignedIntIf search, the total number of matches
... link ΣI0..*BackboneElementLinks related to this Bundle
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... relation ΣI1..1stringSee http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url ΣI1..1uriReference details for the link
... entry ΣI0..*BackboneElementEntry in the bundle - will have a resource or information
bdl-5: must be a resource unless there's a request or response
bdl-8: 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
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... link ΣI0..*See linkLinks related to this entry
.... fullUrl ΣI0..1uriURI for resource (Absolute URL server address or URI for UUID/OID)
.... resource Σ0..1ResourceA resource in the bundle
.... search ΣI0..1BackboneElementSearch related information
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... mode ΣI0..1codematch | include | outcome - why this is in the result set
Binding: SearchEntryMode (required)
..... score ΣI0..1decimalSearch ranking (between 0 and 1)
.... request ΣI0..1BackboneElementAdditional execution information (transaction/batch/history)
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... method ΣI1..1codeGET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required)
..... url ΣI1..1uriURL for HTTP equivalent of this entry
..... ifNoneMatch ΣI0..1stringFor managing cache currency
..... ifModifiedSince ΣI0..1instantFor managing cache currency
..... ifMatch ΣI0..1stringFor managing update contention
..... ifNoneExist ΣI0..1stringFor conditional creates
.... response ΣI0..1BackboneElementResults of execution (transaction/batch/history)
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ΣI1..1stringStatus response code (text optional)
..... location ΣI0..1uriThe location (if the operation returns a location)
..... etag ΣI0..1stringThe Etag for the resource (if relevant)
..... lastModified ΣI0..1instantServer's date time modified
..... outcome Σ0..1ResourceOperationOutcome with hints and warnings (for batch/transaction)
... signature ΣI0..1SignatureDigital Signature

doco Documentation for this format

Summary

Mandatory: 6 elements
Must-Support: 1 element

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle 0..*BundleContains a collection of resources
... meta 1..1MetaMetadata about the resource
.... versionId 1..1idVersion specific identifier
.... security S0..*CodingSecurity Labels applied to this resource
... identifier 1..1IdentifierPersistent identifier for the bundle
.... system 1..1uriThe namespace for the identifier value
.... value 1..1stringThe value that is unique
... timestamp 1..1instantWhen the bundle was assembled

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Bundle I0..*BundleContains a collection of resources
... id Σ0..1stringLogical id of this artifact
... meta ΣI1..1MetaMetadata about the resource
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId ΣI1..1idVersion specific identifier
.... lastUpdated ΣI0..1instantWhen the resource version last changed
.... source ΣI0..1uriIdentifies where the resource comes from
.... profile ΣI0..*canonical(StructureDefinition)Profiles this resource claims to conform to
.... security SΣI0..*CodingSecurity Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag ΣI0..*CodingTags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... identifier ΣI1..1IdentifierPersistent identifier for the bundle
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!ΣI0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type ΣI0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system ΣI1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣI1..1stringThe value that is unique
Example General: 123456
.... period ΣI0..1PeriodTime period when id is/was valid for use
.... assigner ΣI0..1Reference(Organization)Organization that issued id (may be just text)
... type ΣI1..1codedocument | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
Binding: BundleType (required)
... timestamp ΣI1..1instantWhen the bundle was assembled
... total ΣI0..1unsignedIntIf search, the total number of matches
... link ΣI0..*BackboneElementLinks related to this Bundle
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... relation ΣI1..1stringSee http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
.... url ΣI1..1uriReference details for the link
... entry ΣI0..*BackboneElementEntry in the bundle - will have a resource or information
bdl-5: must be a resource unless there's a request or response
bdl-8: 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
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... link ΣI0..*See linkLinks related to this entry
.... fullUrl ΣI0..1uriURI for resource (Absolute URL server address or URI for UUID/OID)
.... resource Σ0..1ResourceA resource in the bundle
.... search ΣI0..1BackboneElementSearch related information
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... mode ΣI0..1codematch | include | outcome - why this is in the result set
Binding: SearchEntryMode (required)
..... score ΣI0..1decimalSearch ranking (between 0 and 1)
.... request ΣI0..1BackboneElementAdditional execution information (transaction/batch/history)
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... method ΣI1..1codeGET | HEAD | POST | PUT | DELETE | PATCH
Binding: HTTPVerb (required)
..... url ΣI1..1uriURL for HTTP equivalent of this entry
..... ifNoneMatch ΣI0..1stringFor managing cache currency
..... ifModifiedSince ΣI0..1instantFor managing cache currency
..... ifMatch ΣI0..1stringFor managing update contention
..... ifNoneExist ΣI0..1stringFor conditional creates
.... response ΣI0..1BackboneElementResults of execution (transaction/batch/history)
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!ΣI0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status ΣI1..1stringStatus response code (text optional)
..... location ΣI0..1uriThe location (if the operation returns a location)
..... etag ΣI0..1stringThe Etag for the resource (if relevant)
..... lastModified ΣI0..1instantServer's date time modified
..... outcome Σ0..1ResourceOperationOutcome with hints and warnings (for batch/transaction)
... signature ΣI0..1SignatureDigital Signature

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON), Schema: XML Schematron