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

Sandbox Data #114

Closed
jdmaple opened this issue Feb 19, 2020 · 3 comments
Closed

Sandbox Data #114

jdmaple opened this issue Feb 19, 2020 · 3 comments

Comments

@jdmaple
Copy link

jdmaple commented Feb 19, 2020

Is there a way to see what data is in the sandbox? How do we get a full patient or resource list?

@Torin-Shepard-athena
Copy link
Collaborator

The sample work account provider (Practitioner) listed on API Access is authorized to perform multiple FHIR queries with and without various search parameters to discover the data. This may require some learning and creativity.

CPS FHIR API Server allow searching for resources across patients for Practice Management resources but not for Clinical resources (this is by design to avoid HIPAA concerns/risks).

It is possible to get a Bundle of all System resources of a given type without search parameters (e.g. Location, Organization, Practitioner).

Issue #118 has a comment that explains how the :missing modifier can be used to get a list of Patient resources in CPS API Sandbox.

@jdmaple
Copy link
Author

jdmaple commented Mar 23, 2020

@Torin-Shepard-athena - this was very helpful, thank you!! We are able to retrieve patients using the methods you described.

@Deiva1
Copy link

Deiva1 commented Sep 27, 2023

I have completed as per api access,(https://ap22sandbox.fhirapi.athenahealth.com/demoAPIServer/oauth2/authorize?state=defaultState&
scope=openid%20profile%20patient/*.read%20launch/patient&
response_type=code&redirecturi-'my_redirecturl').
If I am passing the patient id to get the patient details and the response an getting is error,
kindly share me some API information to insert records and fetch all patient details
![image](https://github.com/athenahealth/api

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

No branches or pull requests

3 participants