Add Resource To Bundle
  • 04 Apr 2024
  • 1 Minute to read
  • Dark
    Light

Add Resource To Bundle

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.1.0
LocationIntegration > FHIR

The Add Resource to Bundle step allows users to add resource types to an FHIR Bundle.

Prerequisites 

This step requires the FHIR Module to be installed before it will be available in the Toolbox. 


Properties

Inputs

PropertyDescriptionData Type
FHIR BundleThe desired FHIR Bundle.FHIR Bundle
Resource to AddThe desired Resource. Resource
Resource URLThe resource URL.ResourceUrl

Outputs

PropertyDescriptionData Type
FHIR Bundle ResultThe updated FHIR Bundle.FHIR Bundle

Example Inputs and Outputs

FHIR BundleResource to AddResource UrlOutput
ReadBundleFromJSONData1_Output
ReadResourceFromJson1_Output
Resource Url dataResource Bundle
ReadBundleFromJSONData1_Output
ReadResourceFromJson1_Output
NullResource Bundle
NullNullResource Url dataEXCEPTION MESSAGE
EmptyNullResource Url dataEXCEPTION MESSAGE


Common Errors

FHIR Bundle is not a valid FHIR Bundle

If the FHIR Bundle input is null, empty, or not a properly formatted FHIR Bundle, the step will cause an error.

To correct this, ensure that the value mapped to the input is a valid FHIR Bundle by using the Read Bundle from JSON step.

Exception Message:

Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] FHIR Bundle is not a valid FHIR Bundle object. 
Please use Read Bundle from JSON Step at Decisions.FHIR.FlowSteps.AddResourceToBundle.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)



Was this article helpful?