FHIR Chat · CCDA File Utility · CCDA / FHIR mapping stream

Stream: CCDA / FHIR mapping stream

Topic: CCDA File Utility


view this post on Zulip Henry Perretta (Nov 30 2020 at 11:47):

Would anyone happen to know of a utility that exists - that could take a CCD XML document - and convert into a flat file layout. The utility would be configurable to just extract patient identifying information and lab test results. thanks

view this post on Zulip AJ Chen (Dec 06 2020 at 21:59):

That would be a helpful tool. Viewing data in CCD or FHIR is overwhelmed. For lab results, CCD results section header usually lists the results in a table format for easy read.

view this post on Zulip Josh Lamb (Jan 22 2021 at 16:30):

Hi @Henry Perretta ,

You can use a simple XPath query to extract lab results and patient identifiers.

to get the patient labs (QRD1 example, will need rejiggering for any file since everyone does things differently):
1.) get teh patients clinical data
/ClinicalDocument/component/structuredBody/component/section[@templateId='2.16.840.1.113883.10.20.17.2.4']

2.) within this section of the document, select the labs by templateIds (and know what is in the templates)
../entry/observation[templateId[@root='2.16.840.1.113883.10.20.24.3.38']]

(the above XPaths are for illustration only but should be close to what you need)

view this post on Zulip Henry Perretta (Jan 22 2021 at 22:27):

Thanks Josh


Last updated: Apr 12 2022 at 19:14 UTC