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

We need to provide "available" slots, which means they are in-office, and not at lunch, and don't have another appointment. #54

Open
kchapple opened this issue Oct 3, 2016 · 2 comments
Labels

Comments

@kchapple
Copy link
Collaborator

kchapple commented Oct 3, 2016

No description provided.

@kchapple kchapple added the bug label Oct 3, 2016
@kchapple
Copy link
Collaborator Author

@Leo24 This is still not working as expected:
https://gponline-fhir.vu2vu.com/fhir/Slot?provider=1&date=lt2020-09-30&date=gt2014-08-30

1- if I don't provide dates, I get an exception
2- This request responds with 0 results in the bundle, but there should be lots. See screen shot that shows large blocks of in-office time for provider. The id in the auth provider table equals 1, and the id in the users table on EHR database equals 4. The id of 1 in the query string should map to the id of 4 in the EHR database and return available slots.

+----+-----------+----------+------------------+---------------------+---------+-------+---------+---------------------+--------+----------------+
| id | firstname | lastname | practice_name | address | town | state | country | email | emr_id | connection_key |
+----+-----------+----------+------------------+---------------------+---------+-------+---------+---------------------+--------+----------------+
| 1 | John | Dow | ophthalmologist | 1757 E. Baseline Rd | Gilbert | AZ | US | [email protected] | 4 | mysql |
screen shot 2016-10-21 at 10 27 15 am

@Leo24
Copy link
Contributor

Leo24 commented Oct 24, 2016

https://github.com/LibreEHR/core/pulls - Fix fetching available slots
#86 - Change slot end from duration to endTime

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