Stream: implementers
Topic: Retrieve CCDAs from the FHIR server.
Priya Mathew (Sep 17 2021 at 14:59):
Hello!
What's the best approach to reference CCDAs through FHIR. Looking at § 170.315 (g)(9) Application access – all data request , Cures update test procedure , which says the API must respond to requests for patient data (based on an ID or other token) as a CCD document. Our CCDAs are generated on demand in an external system. The CCDA document doesn't reside anywhere to be referenced within a documentreference as per the US core IG.
Thanks!
Lloyd McKenzie (Sep 17 2021 at 16:48):
DocumentReference can 'reference', but it can also 'encapsulate'. So either store your CDA as a Binary and point to it by DocumentReference, or wrap it directly.
Priya Mathew (Sep 20 2021 at 17:31):
Thanks @Lloyd McKenzie . Is there a paradigm that can request a CCDA from the FHIR server , a task perhaps that runs in the background and returns the CCDA later? Like the bulk API processing process.
Lloyd McKenzie (Sep 20 2021 at 17:46):
No standard operation that I'm aware of. In general, if you're using FHIR, you probably don't want to consume a CCDA. So interfaces that generate CCDAs probably aren't FHIR-based.
Cooper Thompson (Sep 20 2021 at 17:54):
US Core defines the $docref operation to generate a CCDA for the g9 criteria.
Cooper Thompson (Sep 20 2021 at 17:56):
Our (Epic's) DSTU2 DocRef/CCDA API predates that operation, so we just "fudge" it and just generate the CCDA documents on-demand when you do a DocRef search -> Binary dereference. We've actually seen a decent amount of folks using FHIR to get CCDAs.
John Silva (Sep 20 2021 at 18:01):
What would an extension look like for adding the R4 ClinicalImpression.supportingInfo property to an STU3 ClinicalImpression?
(would you have an example of what the compliant JSON for this would look like?). Thanks.
Priya Mathew (Sep 20 2021 at 18:10):
Yes- thank you @Cooper Thompson ! Looking into docref operation.
Cooper Thompson (Sep 20 2021 at 18:13):
This is the better link to $docref
Priya Mathew (Sep 20 2021 at 18:23):
Yes- thanks, I think that's the way we want to go- this addresses my initial question!
Eric Haas (Sep 20 2021 at 20:00):
@John Silva use the backportinh extension described here: http://hl7.org/fhir/r4/versions.html#extensions
John Moehrke (Sep 21 2021 at 12:08):
much of this is in the IHE Mobile access to Health Documents (MHD), which is a FHIR infrastructure based way to access documents that are managed in XDS/XCA/XDR environments, and has a MHDS companion IG that is full FHIR infrastructure replacing XDS with just a FHIR server. -- MHD is published using the IG publisher and is available on the IHE site https://profiles.ihe.net/ITI/MHD/
John Silva (Sep 21 2021 at 14:11):
Thanks @Eric Haas First, I realized I piggy-backed this question on this topic; I meant to create this as a new topic since it's not really related to CCDA.
Eric, I went looking at the link you gave and I can't see any mention of "backportin" and the few sample extensions seem to just point to the definition of the element from the StructureDefinition for the specific version, not an extension unless I'm not understanding this (I must admit, extensions are still confusing to me -- I know the intent but the mechanism and the JSON format escapes me.
Eric Haas (Sep 21 2021 at 14:57):
John Silva said:
What would an extension look like for adding the R4 ClinicalImpression.supportingInfo property to an STU3 ClinicalImpression?
(would you have an example of what the compliant JSON for this would look like?). Thanks.
something like this...
{
"resourceType": "ClinicalImpression",
...
"extension": [
{
"url": "http://hl7.org/fhir/4.0/StructureDefinition/extension-ClinicalImpression.supportingInfo",
"valueReference": {
"reference": "<string>",
"type": "<uri>",
"identifier": "<{ Identifier }>",
"display": "<string>"
}
}
],
....
}
Priya Mathew (Sep 21 2021 at 14:59):
@John Moehrke thanks! Wasn't aware of this!
John Silva (Sep 21 2021 at 18:24):
@Eric Haas Thanks! Is that a 'standard' FHIR STU3 to R4 extension mapping that can be found somewhere? I was looking at the ClinicalImpression spec page and it has the R3 Diffs tab and also the FHIR mapping language that shows how to convert one to the other but doesn't show supportingInfo field.
Also, one other 'complication'; the supportingInfo is an array of Reference(Any); would that make a difference with the example. you show?
Last updated: Apr 12 2022 at 19:14 UTC