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

Slots need to be fetched by Provider #82

Open
kchapple opened this issue Oct 19, 2016 · 1 comment
Open

Slots need to be fetched by Provider #82

kchapple opened this issue Oct 19, 2016 · 1 comment
Labels

Comments

@kchapple
Copy link
Collaborator

https://gponline-fhir.vu2vu.com/fhir/Slot?provider=4&date=lt2020-09-30&date=gt2014-08-30

The provider value in the query string needs to be used to map a provider in the auth providers table to the user in the LibreEHR database. The Slot query should only retrieve slots for the specified provider in the LibreEHR database.

1- process provider in query string
2- fetch the provider out of the auth database
3- After fetching the provider out of auth database, we have their emr_id
4- Use emr_id to filter available slots so only the specified provider's slots are returned

@kchapple kchapple added the bug label Oct 19, 2016
@Leo24
Copy link
Contributor

Leo24 commented Oct 20, 2016

Add mapping for provider Id
LibreHealthIO/lh-ehr-api#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants