Stream: cda to fhir
Topic: StructureMap
Grahame Grieve (Apr 18 2016 at 03:34):
ok, so I've been making progress with this
Grahame Grieve (Apr 18 2016 at 03:35):
if you look in svn, there's a folder \build\guides\ccda\CDA that contains an up to date version of the CDA structure definitions. I can now properly parse CDA using the FHIR parser
Grahame Grieve (Apr 18 2016 at 03:35):
then, there's a set of map files in \build\guides\ccda\maps
Grahame Grieve (Apr 18 2016 at 03:36):
these map files define how to map from CDA to a FHIR bundle that contains resources
Grahame Grieve (Apr 18 2016 at 03:36):
so far, I've only done part of the header
Grahame Grieve (Apr 18 2016 at 03:46):
then I can transform the CDA document in \build\guides\ccda\Example\ccd.xml to a FHIR bundle.
Grahame Grieve (Apr 18 2016 at 03:48):
I checked the output in at \build\guides\ccda\maps\bundle.xml
Grahame Grieve (Apr 18 2016 at 03:48):
I'll be releasing a packaged engine that can do the transform soon
Vadim Peretokin (Apr 18 2016 at 03:48):
David Hay (Apr 18 2016 at 03:53):
Our interest is also in the opposite direction - ie generating a CDA document from FHIR resources...
Grahame Grieve (Apr 18 2016 at 03:54):
well, the mapping language can do that too, but not these map files. And it's not quite as simple as reversing the map files - there's some logic that would be expressed differently
Lloyd McKenzie (Apr 18 2016 at 03:54):
Presumably that would need to be from a bundle that's compliant with a CCDA profile.
Grahame Grieve (Apr 18 2016 at 03:54):
yes
Grahame Grieve (Apr 18 2016 at 03:54):
I'm also going to post pseudo-code for the mapping engine today
David Hay (Apr 18 2016 at 04:18):
well, we can't have you having ALL the fun :)
Grahame Grieve (Apr 18 2016 at 07:17):
http://www.healthintersections.com.au/?p=2506 - information, psuedo code, and a tool
Last updated: Apr 12 2022 at 19:14 UTC