Test Data for Cerner Millennium

This test data can be used to try out integration with Cerner Millennium 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 Cerner Millennium EHR setup guide.

Environment Overview

We have a partially integrated Sandbox for testing with Cerner Millennium. Most read operations work with real data, but patient creation and appointment booking return mocked responses due to Millennium's Sandbox limitations. You can test the complete data discovery flow and see realistic response structures.

Common Workflows

Cerner Millennium requires specific test data combinations for successful testing. Use the exact values provided below for reliable results. Check our supported services matrix to see what's available for Cerner Millennium.

Care Units Discovery

This is the typical entry point to the Leyr API. The care unit ID returned here is required for all subsequent API calls.

Call GET /care-units to discover available care units in the Millennium system. Use any id from the response, including L0_22887191 which has extensive test data associated with it.

Patient Management

Retrieve existing patient information and test patient creation workflows.

Get Patient: Use GET /patients/{patient_id} with any of the patient IDs below. These work with any valid care unit ID.

patient_id
12724067
12822085
12755128

Create Patient: Use POST /patients to test patient creation. You'll receive a mocked response with emr_id and id set to "MOCKED" because Millennium's Sandbox doesn't allow actual patient creation.

If you have a clinic using Cerner Millennium and want to test real patient creation, please reach out at contact@leyr.io so we can test together in your environment.

Availability

Discover available resources, services, and time slots using specific test data combinations.

Get Services: Call GET /healthcare-services to retrieve available healthcare services.

Get Resources: Call GET /resources to get available practitioners and resources.

Get Time Slots: Use GET /timeslots with this specific combination for guaranteed results:

care_unit_idresource_idhealthcare_service_id
L0_2288719112763452http://snomed.info/sct|408443003

Appointment Booking

Test appointment workflows with both real data retrieval and mocked booking responses.

Get Appointments: Use GET /appointments without parameters to see all clinic appointments. This will also reveal additional patient IDs you can use for testing.

Book Appointment: Use POST /appointments to test appointment booking. You'll receive a mocked response with emr_id and id set to "MOCKED" because Millennium's Sandbox doesn't allow actual appointment creation.

If you have a clinic using Cerner Millennium and want to test real appointment booking, please reach out at contact@leyr.io so we can test together in your environment.

Update Appointment: Use PATCH /appointments/{appointment_id} with appointment IDs from the GET /appointments response.

Cancel Appointment: Use PATCH /appointments/{appointment_id} with appointment IDs from the GET /appointments response.

Medical Notes

Medical Notes functionality is in progress for Cerner Millennium.

Documents

Access and manage patient documents with real Millennium data.

Get Documents: Use GET /documents with any of the patient IDs from the Patient Management section.

Create Document: Use POST /documents to upload or create documents for patients.


Happy coding! ๐Ÿ™‚

In case of any questions or if you feel stuck - please feel free to reach out at contact@leyr.io.