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

Allow passing patientId as url param #130

Conversation

ajorda3
Copy link

@ajorda3 ajorda3 commented Jun 29, 2021

No description provided.

iss = url.searchParams.get("iss") || iss;
fhirServiceUrl = url.searchParams.get("fhirServiceUrl") || fhirServiceUrl;
launch = url.searchParams.get("launch") || launch;
patientId = url.searchParams.get("patientId") || patientId;
Copy link
Collaborator

Choose a reason for hiding this comment

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

patientId is a constant, so it can't be reassigned here. I think you only need to move its initialization from line 215 down to the let variables section (223 to 232). If you do that this PR should be ready for merging.

@Dtphelan1
Copy link

After #178 was merged in, this feature was incorporated into the codebase albeit in a slightly different way. Sorry for the delay on responding to this PR, but thank you for the input!

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.

3 participants