Send Lab Visit Results SMS (v1)
Method & Path
POST /api/v1/workspace/:workspaceId/labs/visits/:labVisitId/send-sms
Actual backend path: /v1/workspace/:workspaceId/labs/visits/:labVisitId/send-sms
Description
Sends an SMS to the patient with a public link to view/print the lab visit results.
The message body is provided by the frontend (user-editable). The backend only:
- Chooses the recipient number from patient
contactMethods - Charges SMS cost based on the message length rules
The recipient number is auto-selected from the patient contactMethods:
- Prefer
phone, fallback towhatsapp