Hi all,
I am interested by the Smart-on-FHIR project.
Correct me if I am wrong, the purpose of the project is to create a Rest API to communicate with the OpenMRS endpoint and the same endpoint is linked to the FHIR modules using the Keycloak module. If yes, then I have other questions:
What are the improvements the community is looking for the Keycloak module?
Can I also get a link to the Jira registration?
What specific are we talking about when it comes to the patient and encounter scope?
Not exactly, we are focusing on authorizing the SMART App to use the OpenMRS resources here. So we need an authorization server that generates the Access token.
Hello Team,
Does the keycloak github found here " GitHub - openmrs/openmrs-contrib-keycloak-smart-auth" implements the SMART authorization & FHIR access: overview?
If yes is it totally?
What are the areas that needs work or polishing?
Has the security measures been put in place as recommended?
Hello,
I am trying to install the client on my computer and I am faced with the following issue:
I installed the client “npm ifhirclient” + hapi “nom install @hapi/hapi”
But I am still faced with a json package missing. Find attached screenshoot of my error Any clue on how to resolve it?
Hi @djibrillamohamed,
this problem usually occurs because when your targeted directory is not an npm directory. In the sense that npm has not been initialized. Try resolving your targeted directory path and ensure you are in the right directory.
A workaround this issue might be this… If you know all the dependencies required to launch the application? Then you can try running npm init first before installing the required dependencies.
Hello @djibrillamohamed, As I can understand, you are trying to setup-up a SMART App (client) to Test SMART-on-FHIR.
Adding to what @joachimjunior correctly said, you need to create a module in the client. This module must contain launch-standalone.html and index.html so that client can request the resource and scopes.
After that, in the newly created module directory run, npm start to run the client application.
Great step ahead @djibrillamohamed, right now you are seeing this error because you are trying to run a script not stated in your package.json file.
Look at the scripts section in your package.json and see the commands available. You can modify them the way you want. That is… if you have the required knowledge to do that. If that’s not the case, I’d recommend you go through this resources.
Hello @joachimjunior ,
I have gone through the two links and some resources on how to get started in NodeJS. Can I have a more specific guide through which I can refer to instead of asking very basic questions?
I have created the launch and the index pages, however when I follow the instructions on this page:“SMART on FHIR JavaScript Library | SMART JS Client Library” and run “npm run fhir-client.js”. I am having an error (screenshot ).
Hello @theanandankit,
Thanks for the help, I have gone through your repository.
I am getting a blank page, while opening the javascript pages(launch standalone and index)
Okay brief, consider this. You can’t run a script command when it has not been defined. Before running a script, ensure to define this in the package.json folder in your workspace(npm) directory.
I’ll advice you not to rush… Take your time to grasp the basics. It’s usually like this at the beginning. Give it time. May be you could do a simple test project to have the basics before you dive into this.
Great, you are getting this blank page because this is a demo SMART App, developed for testing purpose. if you see the code you will find that result is printed in the console.