Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A bundle can reference other objects in the bundle. This will then create the related object and then associate it with a new object. For example, if a service request contains a reference to a consent object, then the bundle can contain both the new consent object and the new service request object with the reference in the bundle. For example

    • The consent object can contain the JSON attribute full URL

      Code Block
              {
                  request: {
                      method: 'POST',
                      url: 'Consent',
                  },
                  fullUrl: 'urn:uuid:05efabf0-4be2-4561-91ce-51548425acb9',
                  resource: {
                      resourceType: 'Consent'
                  },
              },
      

    • The service object then can reference that id when it makes the reference

      Code Block
                  resource: {
                      resourceType: 'ServiceRequest',
                      reasonReference: {
                          reference: 'urn:uuid:05efabf0-4be2-4561-91ce-51548425acb9',
                      },
      
  • For this version of the CIE implementation of the FHIR spec we will not be able to process patient records in a bundle. This is because of the de duplication processing that needs to be done on the patient record before it goes into the database.

...

The following are descriptions of the most important values that must be passed

Field

Description

References

 ResourceType

This needs to be Bundle.

 https://www.hl7.org/fhir/bundle-definitions.html

 type

This needs to

allows be

allow a transaction.

 https://www.hl7.org/fhir/bundle-definitions.html

entry

The entry block is

a

an array of resources to be added to the database. It has two high-level objects: a request and a resource. The request object defines the method and the object(

url

URL). The resource is the resource data that will be submitted.

Code Block
request: {
   method: 'POST',
   url: 'Observation',
   },