FHIR to SDA Example
I am still trying to understand and come up with a use case to use FHIR as an enhancement to our existing HL7 messages. Does anyone have an example of taking a FHIR response and transforming it into a SDA?
How does the workflow go? Does it go through 1 BP?
Thanks
Scott
Product version: IRIS 2024.1
Discussion (0)0
Comments
Ive used the reverse method like this, in a BP, converting a CCDA to SDA, then SDA to FHIR...
set fhir=##class(HS.FHIR.DTL.Util.API.Transform.SDA3ToFHIR).TransformStream(sdaStream,"HS.SDA3.Container","R4")
It has a counterpart that does what you are asking for in HS.FHIR.DTL.Util.API.Transform.FHIRToSDA3 which may be the method you need in a business process.
I think that @Laura Blázquez García is doing something similar to what you are asking for, using the DTLs of IRIS for Health to transform an ORU^R01 message into FHIR resources in a bundle, maybe you can send a message to her.