· Jun 28, 2022

Trying to get DSTU2 to R4. Anyone have ideas or code?

I have a project that needs to get DSTU2 resources ultimately to CSV files.  My thought was if I could get there Resources to R4 I could use the FHIR SQL builder to help map the data.  Anyone have ideas?  Maybe DSTU2 to SDA to R4... 

Product version: IRIS 2021.2
Discussion (1)0
Log in or sign up to continue

Forwards compatibility of DSTU2 (draft standard for trial use) was never intended.  That is the short answer. 

There are breaking changes between DSTU2 and R4.  Even to the extent that some FHIR Resources in DSTU2 no longer exist and names were changed or collapsed into a single Resource (ProcedureRequest + ReferralRequest => ServiceRequest).  DSTU2 => SDA => R4 is a path, but at some point we stopped supporting DSTU2.  There would be need to analyze data loss and integrity of the R4 data if it is still possible.