I have a scenario where I send a GET request to a broker and receive a FHIR response. When I attempted to use the built-in InterSystems functions to convert this FHIR response into SDA, the transformation failed—likely because it is not a standard FHIR request.
How should I handle this situation? Is there a recommended approach to processing FHIR responses in this context?
Additionally, if I manage to convert the FHIR response into a request format, I noticed that the broker sends a Task resource. However, when I tried to transform it into SDA using the built-in functions, it wasn’t processed successfully.
After checking the ^HS.XF.Transform global, I couldn’t find any predefined DTLs related to the Task resource. This raises a few questions:
- Does this mean I need to create a new DTL specifically to transform the Task FHIR resource into SDA?
- If so, do I also need to manually define the source and destination and update the global to register this transformation?
I’d appreciate any guidance or best practices on the best approach to handle this. Thanks in advance!