FHIR Chat · StructureMap · cda to fhir

Stream: cda to fhir

Topic: StructureMap


view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:34):

ok, so I've been making progress with this

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:35):

then, there's a set of map files in \build\guides\ccda\maps

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:36):

these map files define how to map from CDA to a FHIR bundle that contains resources

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:36):

so far, I've only done part of the header

view this post on Zulip 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.

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:48):

I checked the output in at \build\guides\ccda\maps\bundle.xml

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:48):

I'll be releasing a packaged engine that can do the transform soon

view this post on Zulip Vadim Peretokin (Apr 18 2016 at 03:48):

:thumbsup:

view this post on Zulip David Hay (Apr 18 2016 at 03:53):

Our interest is also in the opposite direction - ie generating a CDA document from FHIR resources...

view this post on Zulip 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

view this post on Zulip Lloyd McKenzie (Apr 18 2016 at 03:54):

Presumably that would need to be from a bundle that's compliant with a CCDA profile.

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:54):

yes

view this post on Zulip Grahame Grieve (Apr 18 2016 at 03:54):

I'm also going to post pseudo-code for the mapping engine today

view this post on Zulip David Hay (Apr 18 2016 at 04:18):

well, we can't have you having ALL the fun :)

view this post on Zulip 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