FHIR Transformer Step Type
This transformer step uses the FHIR Resource Builder to create a new FHIR resource or data type. Once created, you can store the object in a map (such as the channel map) or as a variable local to the transformer, to use in a subsequent step.
In the upper-right, double-click the drop-down menu in the Type column to switch to a FHIR Resource Builder.
The following settings panel shows up:
With FHIR Version, you can choose which version of FHIR to use to create this resource. With the Store As option, you can choose to store the resource as a local variable or in a variable map. With Local Variable, the finished JavaScript Object will be set to a variable local to the transformer. You can use that variable in subsequent transformer steps, but not outside the transformer. With Map Variable, the finished object will be converted into a JSON string and stored in the variable map of your choice.