Back to Data Models

Consultation

AgreedUpdated 2024-03-28

A scheduled or ad-hoc video consultation between a patient and a doctor.

Open questions / notes

Still deciding: should we store a full transcript or just a summary? Doctor wants transcript, legal says summary only.

Fields
9 fields defined
NameTypeRequiredUniqueDescription
iduuidPrimary key
patientIduuid—FK → Patient attending the consultation
doctorIduuid—FK → Doctor conducting the consultation
scheduledAtdatetime—When the consultation is booked for
startedAtdatetimeoptional—When the call actually began
endedAtdatetimeoptional—When the call ended
statusenum
scheduledin_progresscompletedcancelledno_show
—Lifecycle state
videoRoomIdstringoptionalTwilio room SID for the video call
summarytextoptional—Doctor's notes written after the call
Relationships
How this model connects to others
Consultationbelongs toPatient

The patient in this consultation

Consultationbelongs toDoctor

The doctor conducting the call

ER Diagram
Auto-generated from the fields and relationships above
Other Models
More models in this project