Stream: clinFHIR
Topic: Find instances
Melva Peters (May 24 2016 at 14:45):
Hi David, after creating an instance, where do you go to find the instance and download? I'm looking in the Details for the patient but don't see the Instances for Medication I created. I believe it was saved as I got an id for it. Thx
David Hay (May 24 2016 at 17:40):
Hi Melva - when you saved the instance did you get a message with the id of the instance? (That just indicates that it was saved correctly) . What patient and server were you using? I'll go take a look...
Melva Peters (May 24 2016 at 17:52):
Hi David, Here's the ID 93428. I was saving to the Public HAPI server STU3 for Brooke Jones
Melva Peters (May 24 2016 at 17:52):
Also, when I go to download, I just get a blank screen
David Hay (May 25 2016 at 05:54):
Hi Melva - a medication resource does not reference a patient - that's why it isn't showing in the patients resources (and thanks for getting the id - made it really easy to check!) Right now, you would have to download it by entering the following url into a browser or REST client (like POSTMan): http://fhirtest.uhn.ca/baseDstu3/Medication/93428 (It does exist - I checked :) )
David Hay (May 25 2016 at 06:05):
You can create a MedicationOrder for that patient that references that medication and you should see the MedicationOrder in the patient history, but not - alas - the medication resource itself (only the reference to it). I'll update clinFHIR to download it when viewing the history - but may take a week or so as I'm in the middle of some updates the the profiling that I'd like to finish off first!
David Hay (May 25 2016 at 06:09):
heres a post I wrote about POSTman a little while back if that helps (let me know if you want more)
David Hay (May 25 2016 at 06:10):
Can you be more explicit about the download problem? Or - now that we've discussed the issue about the Medication resource, does that resolve it?
Melva Peters (May 25 2016 at 13:34):
Thanks David. That helps with finding the resource. For the download, when I click on the download button for an instance, I get a blank screen in the browser with the following URL blob:http://107.170.196.80/9efea075-332f-4121-97bb-3a2796a7dafc but nothing is displayed or is downloaded. I'm using Safari on a Mac - not sure if it is a browser issue.
David Hay (May 25 2016 at 18:12):
Hi Melva - yes, it does seem to be an issue with safari (I was able to duplicate on my mac as well - though using a different server as HAPI has an issue right now). I'll take a look at some stage - but Chrome definately works on the mac (it's what I use for development) so a work around would be for you to install chrome and use that. cheers...
Last updated: Apr 12 2022 at 19:14 UTC