Comments (6)
And what does 'launch' parameter mean and how could I use it?
Thank you.
from smart-on-fhir-tutorial.
@WebPro9369 - The launch
parameter is ultimately how context is shared securely between the EHR and the SMART app. You can read more about SMART app launches, context, and FHIR permissions (scopes) over on the SMART project homepage.
Regarding your other questions, are you launching your SMART app from Cerner's Code Console? Assuming you've registered your app there, you should be able to click on the "Begin Testing" button, select a patient for testing, and then click on the "Launch" button to call your SMART app's launch URL.
from smart-on-fhir-tutorial.
Thank you for your kind reply.
What I need to do is to add a call against an endpoint MedicationStatement(Post & Get).
To do this, I should insert codes of calling api endpoint in somewhere(I think it would be example-smart-app.js).
I tried to use Postman to simulate a process of POST, but failed because it needed OAuth2.0 Authorization.
But GET was succeessful, I think this is because I was working on Sandbox.
So could you please let me know if POST is possible on Sandbox?
It seems that Sandbox does not allow Authorization, it is just a place to demo try.
Waiting for your reply.
Thank you
from smart-on-fhir-tutorial.
Cerner's FHIR Sandbox does allow for write transactions (POST requests). However, in order to perform a POST request you must have a valid OAuth 2 access token (Bearer token).
from smart-on-fhir-tutorial.
Hi, everyone!
I have some troubles in process of authorization of my SMART App.
In the tutorial, they wrote about Authrization:
"The responsibility of launch.html is to redirect to the appropriate FHIR authorization server. As you can see in the code, fhir-client makes our job pretty easy. All we have to do is call FHIR.oauth2.authorize and supply the client_id generated by the code console during registration and the scopes we registered."But when I deploy and go to 'https://.github.io/smart-on-fhir-tutorial/example-smart-app/', the browser says 'Failed to call FHIR Service'.
Also when I go to 'https://.github.io/smart-on-fhir-tutorial/example-smart-app/launch.html' where function FHIR.oauth2.authorize is in, there is an error that is caused by no authorization server is identified.Of course, I registered my app and now have a Client_ID, and use it in function FHIR.oauth2.authorize, as tutorial says.
I think when go to url 'https://.github.io/smart-on-fhir-tutorial/example-smart-app/launch.html', I should give it params 'iss' and 'launch'.
But for this, I need to know url of Authorization server.
It is what I cannot solve, and as it is the beginning of SMART app development, I could make no step in advance.As I am not familiar with SMART app(though very experienced in api development using JS), really hope to see your kind reply.
i am trying to launch app getting error like .Information to provide to Unknown Application
The supplied "client_id" value does not correspond to any registered applications on record..kindly solve my problem
![clientid error
Thank you.
from smart-on-fhir-tutorial.
i am trying to launch app getting error like .Information to provide to Unknown Application
The supplied "client_id" value does not correspond to any registered applications on record..kindly solve my problem
![clientid error
Thank you.
from smart-on-fhir-tutorial.
Related Issues (20)
- "Being Testing" is not available on Cerner Code Console HOT 2
- Incorrect links and instructions in tutorial HOT 1
- HL7 HOT 1
- The supplied "client_id" value does not correspond to any registered applications on record. HOT 1
- Correct SMART Health IT sandbox link
- FHIR commercial server HOT 1
- Official sample App is not working - Throwing 'Failed to call FHIR service' error HOT 4
- Small issues with the tutorial (misspelled words, wrong link)
- Can we use this sample code to invoke R4 FHIR APIs
- Failed to call FHIR Service after launch HOT 2
- Git Page not loading HOT 3
- Not able to run app against SMART Health IT Sandbox HOT 7
- Example app misinterprets patient date of birth HOT 2
- Cannot read property 'substr' of undefined at stripTrailingSlash HOT 5
- Problem registering App on Code Cerner HOT 2
- GitHub template HOT 4
- Cannot find Authorization server HOT 2
- Application may see a JavaScript error due to insufficient Observation data
- Update client id in launch.html to be clearer that it must be changed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart-on-fhir-tutorial.