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. - You can then use resource
id
returned from theGET
/resources endpoint, or healthcare serviceid
returned from theGET
/healthcare-services endpoint, when testingGET
/timeslots.Hint: When testingGET /timeslots
try your first call withoutresource_id
orhealthcare_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 testPOST
/appointments. - 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 test SSN using generators available online, e.g. https://theonegenerator.com/generators/documents/ssn-generator.
Otherwise, some knownpatient_id
values that you can use for testing are:e5s6OVXlZumYgZW-AWVMnvg3
ande63wRTbPfr1p8UW81d8Seiw3
Happy coding! ๐
In case of any questions or if you feel stuck - please feel free to reach out at contact@leyr.io.