Telemedicine platform database schema

How a virtual care product models its data: clinician licences per state with expiry dates driving who may treat whom, bookable slots, video consultations with a waiting room, intake forms, e-prescriptions routed to a pharmacy, and per-region pricing.

Telemedicine ER diagram

Telemedicine platform database schema n1 n1 n1 n1 11 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 n1 patients idBIGINT given_nameVARCHAR family_nameVARCHAR date_of_birthDATE emailVARCHAR phoneVARCHAR residence_region_…VARCHAR timezoneVARCHAR created_atTIMESTAMPTZ clinicians idBIGINT full_nameVARCHAR credentialVARCHAR specialtyVARCHAR emailVARCHAR is_accepting_new_…BOOLEAN is_activeBOOLEAN created_atTIMESTAMPTZ clinician_licences idBIGINT clinician_idBIGINT region_codeVARCHAR licence_numberVARCHAR issued_onDATE expires_onDATE statusVARCHAR verified_atTIMESTAMPTZ availability_slots idBIGINT clinician_idBIGINT starts_atTIMESTAMPTZ ends_atTIMESTAMPTZ statusVARCHAR hold_expires_atTIMESTAMPTZ visit_typeVARCHAR consultations idBIGINT patient_idBIGINT clinician_idBIGINT slot_idBIGINT region_codeVARCHAR licence_idBIGINT visit_typeVARCHAR statusVARCHAR waiting_room_ente…TIMESTAMPTZ started_atTIMESTAMPTZ ended_atTIMESTAMPTZ video_room_refVARCHAR chief_complaintVARCHAR price_centsINTEGER currency_codeCHAR cancelled_reasonVARCHAR created_atTIMESTAMPTZ intake_forms idBIGINT nameVARCHAR versionINTEGER specialtyVARCHAR definitionJSONB is_activeBOOLEAN intake_responses idBIGINT consultation_idBIGINT form_idBIGINT answersJSONB red_flagsVARCHAR submitted_atTIMESTAMPTZ clinical_notes idBIGINT consultation_idBIGINT author_idBIGINT subjectiveTEXT objectiveTEXT assessmentTEXT planTEXT signed_atTIMESTAMPTZ amends_note_idBIGINT created_atTIMESTAMPTZ pharmacies idBIGINT ncpdp_idVARCHAR nameVARCHAR region_codeVARCHAR address_lineVARCHAR phoneVARCHAR accepts_erxBOOLEAN e_prescriptions idBIGINT consultation_idBIGINT patient_idBIGINT prescriber_idBIGINT pharmacy_idBIGINT drug_nameVARCHAR drug_codeVARCHAR doseVARCHAR frequencyVARCHAR quantityINTEGER refills_allowedINTEGER controlled_schedu…VARCHAR transmitted_atTIMESTAMPTZ transmission_stat…VARCHAR follow_ups idBIGINT consultation_idBIGINT patient_idBIGINT due_onDATE reasonVARCHAR statusVARCHAR booked_consultati…BIGINT created_atTIMESTAMPTZ region_prices idBIGINT region_codeVARCHAR visit_typeVARCHAR specialtyVARCHAR price_centsINTEGER currency_codeCHAR effective_fromDATE effective_toDATE insurance_eligibili… idBIGINT patient_idBIGINT payer_nameVARCHAR member_numberVARCHAR plan_region_codeVARCHAR statusVARCHAR copay_centsINTEGER deductible_remain…INTEGER checked_atTIMESTAMPTZ expires_atTIMESTAMPTZ response_payloadJSONB

Related database schemas