shubovich.ru
Case · Healthcare

Voice agent for booking with a specialist

Takes an incoming call, identifies the patient, picks a specialist and a time slot and creates the appointment in the clinic information system without an operator. Complex questions stay with the front desk.

Reception desk of a private clinic: a monitor, a headset and a plant on the desk, a receptionist in the background
Customer
Private clinic
Scope
Incoming calls, booking with a specialist
Clinic system
Integration over an agreed interface
Hosting
Inside the clinic network
Status
In production
Task

Routine booking calls

Booking with a specialist is a formal routine: the operator asks the same questions every time. Staff time matters more where knowledge is needed: procedures, diagnostics, tests.

One number, several patients

One phone is used to call for parents, children and relatives. The agent asks who the appointment is for and tells namesakes apart by date of birth.

Similar specialties and shared surnames

"Urologist", "pediatric urologist", "urologic oncologist". One surname shared by several doctors. The choice is narrowed by the patient's age and clarified.

A clinic system without a public API

A missing ready-made API does not limit integration. We connect in whatever way the clinic has available: database stored procedures, file exchange, a gateway or an intermediate service. We agree the data set and the exchange interface with you in advance.

Out of hours

At night the front desk is closed. The agent books the patient itself and, when a human is needed, says that a transfer is not possible right now.

Scenario

Booking scenario

The scenario is agreed with the clinic before launch: wording, clarification rules, boundaries. Its diagram is below.

  1. 01

    Identification

    • search by the caller's number
    • clarifying who the appointment is for
    One patient identified
    Several on one numberask who it is for; tell namesakes apart by date of birth
    Not foundask for full name and date of birth; confirm; create a record marked "needs verification"
  2. 02

    Choosing a specialist

    • the patient names a specialty or a doctor's surname
    • matching against the clinic system directory
    Specialty or doctor determined
    Similar specialtiesage filter; a clarifying question when needed
    Several doctors with a surnamelist them with first name and specialty
    Question "does the doctor see…"answer from the clinic system directory and return to the question; if it is not there, offer an operator
  3. 03

    Choosing a time

    • checking existing appointments
    • the nearest free slot, others only on request
    Slot selected
    Already bookedread out the existing appointment
    No slotssay so and hand over to an operator
  4. 04

    Confirmation and booking

    • the result is read back aloud
    • the appointment is created in the clinic system
    Appointment created, patient informed
    Slot already takenapologize, offer another time
    New patientremind which documents to bring to the first visit

The diagram is based on the scenario agreed with the clinic. Scenario boundaries: cancellation and rescheduling, medical advice, payment and diagnostic bookings go to an operator unless agreed otherwise.

The agent names only doctors and times from clinic system data

The agent takes specialties, doctors and free slots from the clinic system. If the chosen time has just been taken, it says so and offers another.

How the agent understands the patient

The patient saysThe agent understands
"eye doctor", "oculist"Ophthalmologist, taking the patient's age into account
"ENT", "ear-nose-throat"Otolaryngologist, adult or pediatric
"to Dr. Ivanova"Doctor Ivanova: grammatical forms and recognition errors are accounted for
"March twelfth, eighty-five"Date of birth 12.03.1985
"at five in the evening", "half past five"Time 17:00 and 17:30
"Saturday morning"Saturday, first half of the day
"yes no", "no operator needed"Understands that it is a refusal, not an agreement and not a transfer request

Typical situations

SituationAgent action
Silence or an unrecognized answerAsks again; after the allowed number of attempts hands over to an operator
Patient not found in the clinic systemConfirms full name and date of birth, creates a record marked "needs verification"
An appointment with the specialty already existsReads out the existing appointment
No free timeTells the patient and hands over to an operator
A question "is a pediatrician available?" instead of an answerAnswers from the clinic system directory and returns to the question
The doctor or specialty is not in the directoryDoes not deny: says booking is possible through an operator and transfers the call
A question about priceNames the price of a first visit from the clinic system, if it is set
Integration

Integration with the PBX and the clinic system

The agent connects to the existing PBX and to the clinic system over an agreed interface. No telephony replacement or data migration is required.

CLINIC NETWORKSpeech and AI servicesYandex, Sber, T-Bank, 1COpenAI and local modelsprovider cloudorinside the clinic networkspeech recognition and synthesisPatientphonecallClinic PBXno replacementspeechVoice agentclinic scenariobooking, slotsClinic systemschedule, patientscall logControl panelstatistics, tracing
The dashed line marks what is inside the clinic network. Speech recognition and synthesis services connect at the clinic's choice: from the cloud or deployed locally; providers can be combined.
TechnicalFor IT specialists: what we need from you and what you get

The methods and technical parameters below are an example of a typical implementation, not a requirement for every integration. The set and form of exchange depend on the scenario and on what the clinic system offers; we agree them with you at the design stage.

What we need from you

Example clinic system interface: exchange methods

MethodPurpose
Patients by phonewho is linked to the caller's number
Search by name and date of birthif the number is not in the system
Specialty directoryage limits, referral
Doctor directoryspecialty, age, visit price
Patient appointmentschecking existing appointments
Free slotsby doctor or specialty
Appointment creationfor a new patient together with the record

Method response codes

  • 0 success, data in the response
  • 1 not found
  • 2 slot already taken
  • 9 internal error

Format and limits

  • responses in JSON, one structure for all methods
  • response time no more than 2 to 3 seconds
  • a separate account with the right to execute these procedures only
  • a lost response when creating an appointment does not lead to a duplicate: before retrying, the agent checks the patient's appointments

Telephony side

  • connection to the clinic's existing PBX, without replacing it
  • the PBX passes the operator working hours to decide on a transfer (if it does not, the clinic schedule is used)
  • transfer to an operator using the PBX's standard means
What you get

Security and hosting

  • the agent works inside the clinic network
  • speech and AI service keys belong to the clinic, payment goes to providers directly
  • call recordings are stored at the clinic
  • with local models, data never leaves the perimeter

Control for IT

  • access to the control panel via administrator accounts
  • any scenario data your team needs for analysis can be put into the trace
  • clinic system response time for every request; slow responses and errors are flagged with a warning
  • when a request to the clinic system fails, the log keeps the procedure, parameters and time
What it looks like

Call recordings

Anonymized recordings of real calls from the working system: you can hear how the agent handles a conversation.

Recording 11:14

Appointment with a general practitioner

A patient calls the clinic. The agent identifies the patient, picks an appointment time and creates the appointment in the medical information system.

0:00 / 1:14
Recording 21:20

Appointment with a specialist

A patient calls the clinic. The agent identifies the patient and the right specialist, agrees on a time and creates the appointment in the medical information system.

0:00 / 1:20

Anonymized recordings of real calls.

Management console screenshots Call trace, dashboard, outcomes by scenario: on the VoiceAI product page.
Control

Call outcomes and tracing

The outcome of the conversation and the transfer reason are recorded. Any call can be opened to see what the agent heard, what it decided and what it asked the clinic system.

Call outcomeWhat is recorded
Appointment createdAppointment ID in the clinic system
Patient declinedRefusal as the outcome
Transfer to an operatorReason: patient request, answer not recognized, identity not established, question outside the scenario, referral needed, no free time, error
Out of hoursTransfer not possible, the call ended with an explanation
Already bookedID of the existing appointment
Caller hung upDrop at a specific step

What the clinic gets

  • a call log with the outcome and the transfer reason
  • tracing: utterances, decisions, requests to the clinic system; the data set is configured for the scenario
  • speech and AI service usage by provider and model
  • call recordings
  • an email to the front desk for every appointment created
  • a monthly report

The scenario is refined based on real conversations: calls that went beyond the scenario are identified and fixes are made. Doctor surnames that speech synthesis pronounces wrongly are corrected in the clinic dictionary without stopping the agent.

Commissioning

Commissioning procedure

The connection and go-live procedure is set per clinic: its clinic system, telephony and team readiness. The typical path has four stages.

  1. 01

    Scenario agreement

    Wording, clarification rules, boundaries. Answers to open questions are recorded in writing.

    weclinic
  2. 02

    Integration

    Connecting to the clinic PBX and clinic system over an agreed interface. The method and order are set for your infrastructure.

    clinicwe
  3. 03

    Test calls

    Checking the scenario by phone, on real recognition and synthesis.

    weclinic
  4. 04

    Production

    An acceptance act for production use. Then: refinement from real conversations and scenario extension.

    clinicwe
Contact

Let's discuss your project

We will contact you, clarify the requirements and propose a pilot project format. Pricing is determined individually based on the assessment.

Product of interest