Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds patientId & clientId url params, makes documentation changes, adds nvmrc file #178

Merged
merged 5 commits into from
Feb 7, 2024

Conversation

Dtphelan1
Copy link

Closes #159, closes #150, closes #151, closes #130, and addresses documentation changes we discussed yesterday. Also, it adds an .nvmrc file suggesting lts/fermium by version number.

In addition to ensuring local tests continue to pass and ensuring that I could still load these examples using the new client, I also tested this by cloning/building the broken growth-patient-app locally and pointing the fhir-client package at my local version of the project by running the following locally:

// Where `../client-js` is the path from my growth-patient-app directory to my client-js directory
npm install ../client-js

I also had to fix the growth-patient-app paths from node_modules/fhirclient/build/fhir-client.js to node_modules/fhirclient/dist/build/fhir-client.js; I think the version of the client this tool uses is so old that the path to the build files has changed.

After that, I was able to load a localhost version of the broken growth-patient-app URL without issue: http://localhost:9000/launch.html?fhirServiceUrl=https://r2.smarthealthit.org&patientId=smart-1482713

Copy link
Collaborator

@vlad-ignatov vlad-ignatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, Thanks!

@Dtphelan1 Dtphelan1 merged commit aca2ab7 into master Feb 7, 2024
4 checks passed
@Dtphelan1 Dtphelan1 deleted the dtp/clientid-patientid-url-params branch February 7, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typo in README Allow client_id being passed as Query Parameter to Launch context
2 participants