Skip to content

Provider-driven pre-visit

Endpoint: POST /v1/sessions/previsit/provider

Use this when a staff member (front-desk, nurse, or doctor) fills the form while the patient is present — on a clinic tablet, front-desk PC, or your internal portal.

The request body and response are identical to the patient-driven route. The difference is:

  • The generated form is rendered in clinician mode (more clinical language, fewer explanatory notes)
  • ui_type in the response is "clinician" instead of "patient"
Terminal window
curl -X POST https://api.snowmed.io/v1/sessions/previsit/provider \
-H "Authorization: Bearer sn_live_your_key" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: appt-12345-provider-intake" \
-d '{
"patient": { "name": "Priya S" },
"clinic": { "doctor": "Dr. Padmavathi", "display_name": "Sunrise Clinic" }
}'
ScenarioUse
Clinic sends link to patient via SMS/WhatsApp before appointmentprevisit/patient
PHR app lets patients fill history on their phoneprevisit/patient
Front-desk staff collects history at check-in on clinic tabletprevisit/provider
Nurse fills vitals + history on a ward PCprevisit/provider
Telehealth intake — patient on a phone call, staff types responsesprevisit/provider