Add Resource To Bundle
- 04 Apr 2024
- 1 Minute to read
- Print
- DarkLight
Add Resource To Bundle
- Updated on 04 Apr 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 7.1.0 |
Location | Integration > 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
Property | Description | Data Type |
---|---|---|
FHIR Bundle | The desired FHIR Bundle. | FHIR Bundle |
Resource to Add | The desired Resource. | Resource |
Resource URL | The resource URL. | ResourceUrl |
Outputs
Property | Description | Data Type |
---|---|---|
FHIR Bundle Result | The updated FHIR Bundle. | FHIR Bundle |
Example Inputs and Outputs
FHIR Bundle | Resource to Add | Resource Url | Output |
---|---|---|---|
ReadBundleFromJSONData1_Output | ReadResourceFromJson1_Output | Resource Url data | Resource Bundle |
ReadBundleFromJSONData1_Output | ReadResourceFromJson1_Output | Null | Resource Bundle |
Null | Null | Resource Url data | EXCEPTION MESSAGE |
Empty | Null | Resource Url data | EXCEPTION 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?