We have a fully integrated Sandbox for testing with Konfidens. Patient management, appointment booking, and resource discovery workflows are functional, though some appointment management and medical record features are not yet supported. The system follows Norwegian healthcare data requirements.
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 Konfidens system. Use any id from the response in the path parameter for other endpoints.
Create and retrieve patient information following Norwegian healthcare data requirements.
Create Patient: Use POST /patients to create new patients. You must provide a valid Norwegian personal number (fødselsnummer) as Konfidens follows Norwegian regulations. You can find test fødselsnummer at https://norske-testdata.no/fiktivt-fnr/.
Get Patient: Use GET /patients/{patient_id} with any patient ID from your system or from patients created via the API.
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 Konfidens 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.
Create and cancel appointments, with some management features not yet supported.
Book Appointment: Use POST /appointments with a patient ID (from Patient Management) and time slot details (from Availability) to create appointments.
Cancel Appointment: Use PATCH /appointments/{appointment_id} to cancel appointments.
Happy coding! 🙂