FHIR Chat · C16 FHIR Documents Track · connectathon mgmt

Stream: connectathon mgmt

Topic: C16 FHIR Documents Track


view this post on Zulip Rick Geimer (Sep 08 2017 at 19:22):

Thread starter

view this post on Zulip David Hay (Sep 08 2017 at 22:07):

Hi Rick - will you still be working on creating FHIR documents from CCDA?

view this post on Zulip Rick Geimer (Sep 09 2017 at 16:38):

http://wiki.hl7.org/index.php?title=201709_FHIR_Documents

view this post on Zulip Sarah Gaunt (Sep 09 2017 at 16:38):

Sweet!

view this post on Zulip Rick Geimer (Sep 09 2017 at 16:38):

@David Hay Yes some of the folks in the track (including me) will be doing that.

view this post on Zulip Matthew Dugal (Sep 09 2017 at 16:48):

Hi All

view this post on Zulip Matthew Dugal (Sep 09 2017 at 16:49):

http://dynamicfhir1.westus.cloudapp.azure.com:44801/fhir/

Resources that should be available: patient, condition, allergies, diagnosticreport, medication

Patient Id's 101299, 101300

Example queries:
http://dynamicfhir1.westus.cloudapp.azure.com:44801/fhir/patient/101299
http://dynamicfhir1.westus.cloudapp.azure.com:44801/fhir/Condition/_search?Patient=101299
http://dynamicfhir1.westus.cloudapp.azure.com:44801/fhir/Allergies/_search?Patient=101299

view this post on Zulip Matthew Dugal (Sep 09 2017 at 16:49):

Our server does not allow the creation of resources

view this post on Zulip Rick Geimer (Sep 09 2017 at 16:52):

Here is the current build of C-CDA on FHIR

http://build.fhir.org/ig/HL7/ccda-on-fhir/

view this post on Zulip Rick Geimer (Sep 09 2017 at 17:06):

Converted C-CDA Care Plan document posted here for review
http://fhirtest.uhn.ca/baseDstu3/Bundle/222030

view this post on Zulip Matthew Dugal (Sep 09 2017 at 17:36):

170.315_b1_toc_amb_rn_r21_sample1_v9.xml 170.315_b1_toc_inp_rn_r21_sample1_v9.xml

view this post on Zulip Matthew Dugal (Sep 09 2017 at 17:36):

That's two on one line.

view this post on Zulip Rick Geimer (Sep 09 2017 at 17:52):

Here is a link to the HAPI server:
http://fhirtest.uhn.ca/baseDstu3/

view this post on Zulip Rick Geimer (Sep 09 2017 at 17:59):

@Matthew Dugal here is the converted CDA document (your first example):
http://fhirtest.uhn.ca/baseDstu3/Bundle/222063

view this post on Zulip David Hay (Sep 09 2017 at 18:44):

Any chance of creating DocumentReference resources that refer to those documents? That will make it easier to display them in clinfhir...

view this post on Zulip David Hay (Sep 09 2017 at 18:45):

I could (and will for this one) but would be easier for others...

view this post on Zulip David Hay (Sep 09 2017 at 20:09):

OK so I've created a docref for this document and tidied up the display a bit. If you go to the Patient viewer in cf, and select the patient (by id - 222072) then the 'Documents' tab (not the CCDA-migrated tab) then you'll get a list of docrefs to the left. Clicking one of those docrefs will display various views of the document to the right (the tree is kinda nice - and all the elements are clickable of course).

view this post on Zulip David Hay (Sep 09 2017 at 20:10):

I'll continue to enhance this as time permits today - in particular I'l like to incorporate the graph view of the document that we developed last connectathon. feel free to suggest any other enhancements tho...

view this post on Zulip Rick Geimer (Sep 09 2017 at 20:23):

Here is a Patient resource with a full document associated with it:
http://fhirtest.uhn.ca/baseDstu3/Patient/222422

view this post on Zulip Rick Geimer (Sep 09 2017 at 20:23):

@David Hay I'll try out your document reference example shortly.

view this post on Zulip David Hay (Sep 09 2017 at 20:43):

trouble is, without the docref or the bundle id, I can't find it...

view this post on Zulip Richard Kavanagh (Sep 09 2017 at 20:50):

I suspect that the 222063 bundle may have an issue or two. There seem to me multiple resources in the bundle that are "orphans".
pasted image

view this post on Zulip Richard Kavanagh (Sep 09 2017 at 20:51):

(deleted)

view this post on Zulip Rick Geimer (Sep 09 2017 at 21:30):

Example US Core Vital Sign observation converted from C-CDA (with minor mods):
http://fhirtest.uhn.ca/baseDstu3/Observation/222532

view this post on Zulip Rick Geimer (Sep 09 2017 at 21:34):

@David Hay Was looking for you here, but just discovered you are working remotely :(. Anyway, I noticed that you used to render the Composition resource graph under the documents tab, but that functionality is gone now. Was there a reason you removed it?

view this post on Zulip David Hay (Sep 09 2017 at 21:35):

yeah - at home right now! The graph was only ever a hack - working (as we speak!) to re-instate it under the document tab. An hour at most I hope...

view this post on Zulip David Hay (Sep 09 2017 at 22:18):

OK - there's now a graph chart as a tab for the selected document - should be the same as before... I can see richards orphans in there!

view this post on Zulip David Hay (Sep 09 2017 at 22:25):

btw - if you look at the resource detail (shown to the right when a node is selected) you'll see a resource id at the bottom - this is added by cf as part of the linking between nodes so is not part of the original resource...

view this post on Zulip Rick Geimer (Sep 09 2017 at 22:26):

@David Hay I tried loading patient 222422, but I see no documents under that tab, though under the main resource graph there is clearly a Composition associated with the patient. Is this where you are now expecting a DocumentReference? If so, should this point to a Composition resource or a full document Bundle? I would assume a Bundle based on MHD, but I'm guessing ClinFHIR is expecting a reference to Composition.

view this post on Zulip David Hay (Sep 09 2017 at 23:37):

btw - just updated the tree view - shows more detail to the right when you select a section. Check out health concerns section for the document for patient 222072.. there are some weird entries there, and the referenced resource seems to be absent...

view this post on Zulip David Hay (Sep 09 2017 at 23:41):

wrt 222422, the documents tab is working off DocumentReference resources rather than composition which is why the doc is not appearing in the doc list. the current document display function expects to be passed a document bundle, rather than just a composition resource....

view this post on Zulip David Hay (Sep 09 2017 at 23:43):

I know it should be possible to reconstruct the document from the Composition resource, but that will take a bit of work to do, so right now a docref pointing to a bundle is easier to support!

view this post on Zulip David Hay (Sep 10 2017 at 00:07):

so all you need to do is create an appropriate docref (or tell me the id of the bundle) - and all should work...

view this post on Zulip David Hay (Sep 10 2017 at 09:00):

Oh - there's now a 'quality report' tab that will list the orphans.

view this post on Zulip Rick Geimer (Sep 10 2017 at 16:43):

@Tony Ferullo Post to http://fhirtest.uhn.ca/baseDstu3/Patient


Last updated: Apr 12 2022 at 19:14 UTC