Stream: eCR Now FHIR App
Topic: test.fhir.org
Grahame Grieve (May 14 2020 at 07:16):
If it's useful to anyone, test.fhir.org/r2 now works with the ecr now application. Here's how to get it working:
- Login to https://test.fhir.org/r2 using one of the login methods (your google login, or ask me to create a login)
- go to https://test.fhir.org/r2/registerclient.html to register your client -
- choose a name that distinguishes your client from anyone else who registers their client
- use mode = Public OAuth client
- enter your site (e.g. http://localhost:8081) for both client URI and in the redirect list
- Click on "Show this application on the patient screen"
- now, find one of the encounter options using the web interface (not your rest client)
- e.g. https://test.fhir.org/r2/Encounter?patient=12724070 (that search takes ages - ~3min) - some indexing problem)
- then click on "this resource", then "Patient Encounter Page"
- then pick your client from the list of patient focused applications
Grahame Grieve (May 14 2020 at 07:17):
(there's no way in the system to make your application apply only for you)
Grahame Grieve (May 14 2020 at 07:19):
note: I registered a generic localhost:8081 that anyone can use if your ecrNow app is running on http://localhost:8081. The client id for this client is c.2
John Loonsk (May 14 2020 at 10:15):
This is great, Grahame! Thank you.
Nagesh Bashyam (May 14 2020 at 11:13):
+1
Nagesh Bashyam (May 15 2020 at 15:10):
@Grahame Grieve -- How do i launch the app
Eric Marriott (May 15 2020 at 15:39):
@Nagesh Bashyam you can launch it by going to the resource page, then clicking on <resource type> Page and there should be a link to the app... or you can hit http://localhost:8081/?iss=https://test.fhir.org/r2&launch=<resource type>/<id>
Nagesh Bashyam (May 15 2020 at 16:24):
I tried it with the following :
http://localhost:8081/?iss=https://test.fhir.org/r2&launch=Encounter/97953489
and with
http://localhost:8081/?iss=https://test.fhir.org/r2&launch=Patient/12724070
and I am getting the following error ... Any thoughts ?
[Microsoft][SQL Server Native Client 11.0]String data, right truncation
Eric Marriott (May 15 2020 at 16:46):
Oh I think there may be something wrong with your scope string?
Eric Marriott (May 15 2020 at 16:56):
Oh, it might be too long - I think that's the problem I ran into. On the hl7 fhir test server I had to make my scope string user/*.*,patient/*.*
I think
Grahame Grieve (May 15 2020 at 18:21):
oh. interesting. the scope string is limited to 255 chars.
Grahame Grieve (May 15 2020 at 18:21):
I'll have to think about how to fix
Grahame Grieve (May 15 2020 at 22:29):
Grahame Grieve (May 15 2020 at 22:30):
that's an R2 test-script resource that contains the log of calls made against test.fhir.org after erNow was authenticated to it.
Last updated: Apr 12 2022 at 19:14 UTC