Not Seeing the Data I Want to in FHIR Step Output?

Greetings,

I am using the For Each Resource in FHIR Bundle step in my flow. When I pass in a bundle of resources, I get resources out. However, these resources contain some metadata and other data I am not expecting to be passed-out. What type is the bundle? Is this expected behavior? If it is, How can I convert my bundle from whatever type it is to the type I want it to be?

Comments

  • Hello there!

    Based on what you are describing as the output, this sounds like expected behvavior. When using the For Each Resource in FHIR Bundle step, the bundle outputted is by default type-less. You'll want to use a Cast FHIR Resource to FHIR Type step in the loop to convert your bundle to your desired type, as shown below:


    Here's the documentation on the Cast FHIR Resource to FHIR Type step:

    https://documentation.decisions.com/docs/fhir

    We hope this helps!

    -Gregory, Decisions Support

Sign In or Register to comment.