Test Data for Muntra
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 Muntra EHR setup guide.
Environment Overview
We have a fully integrated Sandbox for testing with Muntra. Core patient and appointment booking workflows are functional, though many features are still in active development. This represents an early-stage integration with ongoing improvements.
Common Workflows
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 your Muntra system. Use any id
from the response in the path parameter for other endpoints.
Patient Management
Create and retrieve patient information for use in appointment booking workflows.
Create Patient: Use POST
/patients to create new patients. All standard patient fields are supported and will be reflected in your Muntra system.
Get Patient: Use GET
/patients/{patient_id} with any patient ID from your system or from patients created via the API.
Availability
Discover available resources, services, and time slots for appointment booking.
Get Services: Call GET
/healthcare-services to retrieve all available healthcare services configured in your Muntra system.
Get Resources: Call GET
/resources to get available practitioners and resources.
Get Time Slots: Use GET
/timeslots with resource_id
and/or healthcare_service_id
from previous calls to find available appointment times.
/timeslots
call without filtering parameters to see all available slots, then use resource_id
or healthcare_service_id
to narrow down results.Appointment Booking
Basic appointment creation is available, with additional management features in development.
Book Appointment: Use POST
/appointments with a patient ID (from Patient Management) and time slot details (from Availability) to create appointments.
Medical Notes
Documents
Happy coding! 🙂