CDA FHIR mapping
<p>I am trying to add support for <a href="https://groups.google.com/forum/#!msg/smart-on-fhir/LxzSzSSdtf8/sD7rkuZMX0sJ" rel="noreferrer">sidecar applications</a> in EHR platforms. I am taking a pure implementer's approach to build an intermediate representation (such as an XML) for mapping CDA&lt;--->FHIR. I am using the smart-on-fhir as the reference implementation for this. The CDA I am trying to use is the Australian extension - ereferral (www.digitalhealth.gov.au/implementation-resources/clinical-documents/EP-0936-2012/NEHTA-0967-2012).</p>

<p>Is it possible to create such an intermediate representation using the smart-on-fhir (or any other FHIR) reference implementation? Has anyone else tried this?</p>

<p>While searching for actual implementations I came across these repos:</p>

<ul>
<li><a href="http://github.com/jmandel/sample_ccdas" rel="noreferrer">github.com/jmandel/sample_ccdas</a> </li>
<li><a href="http://github.com/amida-tech/fhir2ccda" rel="noreferrer">github.com/amida-tech/fhir2ccda</a>  </li>
<li><a href="http://github.com/amida-tech/cda-fhir" rel="noreferrer">github.com/amida-tech/cda-fhir</a></li>
</ul>

<p>The FHIR group has some hand crafted <a href="https://github.com/FHIR/cda-examples-to-fhir" rel="noreferrer">examples</a>. Are there any equivalent CDA examples for these FHIR resources?</p>

<p>I have read couple of web articles and white paper documents regarding the challenges between the transforms, such as:</p>

<ul>
<li>David Hay's <a href="https://fhirblog.com/2013/12/13/fhir-meet-cda/" rel="noreferrer">blog</a> says "<em>FHIR document is that it is like an object graph, rooted in the composition resource</em>", so is their an equivalent representation for CDA?</li>
<li>Rene Spronk's <a href="http://www.ringholm.com/docs/04200_en.htm" rel="noreferrer">article</a> about whether HL7 v3 is a message or a document. What are the implications for an implementer who has to handle and validate representations across both CDA and FHIR</li>
<li><a href="https://www.lantanagroup.com/wp-content/uploads/CDA-on-FHIR-Position-Paper_April-10-2015-Update1.pdf" rel="noreferrer">Lantana Group position paper</a> - "<em>If or when FHIR can accommodate the full CDA use case, the future holds the promise of seamless integration and information sharing between clinical documents and APIs</em>". Does this mean that CDA&lt;--->FHIR transform is not possible at this stage of the FHIR standard?</li>
</ul>

<p>Apologies for cross posting it in both SO and FHIR community forums: <a href="http://community.fhir.org/t/cda-fhir-mapping-implementations/211/1" rel="noreferrer">http://community.fhir.org/t/cda-fhir-mapping-implementations/211/1</a></p>