Test Data for Epic
This test data can be used to try out integration with Epic in Leyr Sandbox.
It is applicable when using Leyr credentials, as described in the EHR configuration guide.
If you'd like to use your own credentials or are going live, please refer to our Epic EHR setup guide.
It is applicable when using Leyr credentials, as described in the EHR configuration guide.
If you'd like to use your own credentials or are going live, please refer to our Epic EHR setup guide.
We have a fully integrated Sandbox for testing with Epic, so feel free to explore any combinations of data returned by the endpoints in the API documentation!
Start by calling GET
/care-units to get care units available for testing.
Then you can use resource id
returned from the GET
/resources endpoint, or healthcare service id
returned from the GET
/healthcare-services endpoint, when testing GET
/timeslots.
Hint: When testing
GET /timeslots
try your first call without resource_id
or healthcare_service_id
to get more test data back. You can then use those parameters to filter the results.You can use found timeslots, together with patient created with the POST
/patients endpoint, to test POST
/appointments.
Hint: When creating patient via
POST /patients
, you'll need a valid US SSN number. That is because Epic's Sandbox is based on the US regulations. You can generate fake SSN using generators available online, e.g. https://theonegenerator.com/generators/documents/ssn-generator.Otherwise, some known patient_id
values that you can use for testing are: e5s6OVXlZumYgZW-AWVMnvg3
and e63wRTbPfr1p8UW81d8Seiw3
Happy coding! ๐
In case of any questions or if you feel stuck - please feel free to reach out at contact@leyr.io.