FHIR Chat · FHIR document · implementers

Stream: implementers

Topic: FHIR document


view this post on Zulip Sa (Mar 04 2020 at 05:49):

Hello,
Looking forward to generate cda from fhir bundle. Is there any api that can do directly. Can't see any library that implemented it.

view this post on Zulip Lloyd McKenzie (Mar 04 2020 at 06:23):

Recommend asking under #CCDA / FHIR mapping stream

view this post on Zulip sandeep nani (Apr 09 2020 at 05:58):

Hello Team

view this post on Zulip Lloyd McKenzie (Apr 09 2020 at 06:19):

@sandeep nani - if you want to socialize, best to do that on #social. This stream is for asking questions :)

view this post on Zulip Luis Ismael (May 09 2020 at 17:35):

Hello friends, I want to update an HL7 CDA document to HL7 FHIR, I am reading the Composition documentation, there is a way of not passing the data by reference, but passing it directly?
<!-- Example -->
<subject>
<reference value="Patient/123456"/>
<display value="Henry Levin the 7th"/>
</subject>

<!-- I would like it to work as follows -->
<subject>
<name>
<use value="official"/>
<family value="Chalmers"/>
<given value="Peter"/>
<given value="James"/>
</name>
</subject>

view this post on Zulip Rik Smithies (May 09 2020 at 17:51):

hi Luis, there is no way to do exactly what you want.

You cannot just put the data inline. It has to be a reference - though you can have a small amount of data in the "display".

So the question is what to reference. You can reference a full resource, or you can reference a contained resource. The full resource can be inside the same bundle, so it is still local, but not in-line. A contained resource will be more local, because it is in the same resource. So that is conceptually the closest to it being in-line.

Contained resources are intended for when you don't have enough identifying info to make a full resource (which appears to be your case here - you have no identifying numbers in your example). They are also good for practical reasons when you don't need/want to have to carry around a bundle, or to de-reference global references. But you will have a bundle anyway in this case.

view this post on Zulip Luis Ismael (May 09 2020 at 18:08):

Rik Smithies said:

hi Luis, there is no way to do exactly what you want.

You cannot just put the data inline. It has to be a reference - though you can have a small amount of data in the "display".

So the question is what to reference. You can reference a full resource, or you can reference a contained resource. The full resource can be inside the same bundle, so it is still local, but not in-line. A contained resource will be more local, because it is in the same resource. So that is conceptually the closest to it being in-line.

Contained resources are intended for when you don't have enough identifying info to make a full resource (which appears to be your case here - you have no identifying numbers in your example). They are also good for practical reasons when you don't need/want to have to carry around a bundle, or to de-reference global references. But you will have a bundle anyway in this case.

Thanks a lot Rik :grinning_face_with_smiling_eyes:

view this post on Zulip Vassil Peytchev (May 09 2020 at 18:46):

CDA documents correspond to FHIR documents:
http://build.fhir.org/documents.html
There is also an implementation guide for CDA-on-FHIR:
http://build.fhir.org/cda-intro.html

There is rarely a good reason to reinvent the wheel...


Last updated: Apr 12 2022 at 19:14 UTC