ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
3
4
This sheet enumerates the tables of Simple Server's data model. It lists each 's meaning, type, possible values, and other useful information. These datas are the building blocks that power Simple's dashboard and reporting capabilities.
5
6
7
ModelFieldTypeConstraintsDefinitionSample data
8
9
addressesPatient address details
10
iduuidUnique patient address ID61dbab2c-ee15-43c7-9abe-6ce28a4c72a5
11
street_addressstringPatient street address45 Marigold Lane
12
village_or_colonystringPatient village, colony, etc.Riverside Village
13
districtstringPatient district, upazila, etc.Darjeeling
14
zonestringPatient zone, block, etc.Pulbazar
15
statestringPatient stateWest Bengal
16
countrystringPatient countryIndia
17
pinstringPatient pin, zip code, postal code, etc.40537
18
created_atdatetimenull: falseWhen the address was first created on the serverFebruary 14, 2020, 1:34 PM
19
updated_atdatetimenull: falseWhen the address was last updated on the serverFebruary 14, 2020, 1:34 PM
20
device_created_atdatetimenull: falseWhen the address was first created in the mobile appFebruary 14, 2020, 1:34 PM
21
device_updated_atdatetimenull: falseWhen the address was last updated in the mobile appFebruary 14, 2020, 1:34 PM
22
deleted_atdatetimeWhen the address was deleted. Blank if not deleted.
23
24
appointmentsAppointments when patients are expected to return for follow up
25
iduuidUnique patient appointment ID8d22600f-33c2-4331-a0a3-35880ab0de31HighLow
26
patient_iduuidnull: falseAppointment for this patient ID0fb55418-3613-466f-8310-6cf40c373c02High
27
facility_iduuidnull: falseAppointment to show up at this facility IDf3d6dd5c-628e-418b-b1be-de8e786a49fcLow
28
scheduled_datedatenull: falseWhen the appointment is scheduled4/15/2020
29
statusstringAppointment status ("scheduled", "canceled", "visited")scheduled
30
cancel_reasonstringWhy the appointment was canceled. Blank if not canceled.
31
remind_ondateWhen to start reminding patients to return4/18/2020
32
agreed_to_visitbooleanWhether or not the patient agreed to visit (after being reminded)
33
appointment_typestringnull: falseHow the appointment was created ("manual" or "automatic")manual
34
user_iduuidUser ID who created the appointment6cdb78a9-7b77-4c80-90b5-bb85b70430f7
35
creation_facility_iduuidFacility ID where the appointment was createdf3d6dd5c-628e-418b-b1be-de8e786a49fc
36
created_atdatetimenull: falseWhen the appointment was first created on the serverFebruary 14, 2020, 1:34 PM
37
updated_atdatetimenull: falseWhen the appointment was last updated on the serverFebruary 14, 2020, 1:34 PM
38
device_created_atdatetimenull: falseWhen the appointment was first created in the mobile appFebruary 14, 2020, 1:22 PM
39
device_updated_atdatetimenull: falseWhen the appointment was last updated in the mobile appFebruary 14, 2020, 1:22 PM
40
deleted_atdatetimeWhen the appointment was deleted. Blank if not deleted.
41
42
43
44
45
audit_logsDEPRECATED
46
iduuidDeprecated
47
actionstringnull: falseDeprecated
48
auditable_typestringnull: falseDeprecated
49
auditable_iduuidnull: falseDeprecated
50
user_iduuidnull: falseDeprecated
51
created_atdatetimenull: falseDeprecated
52
updated_atdatetimenull: falseDeprecated
53
deleted_atdatetimeDeprecated
54
55
blood_pressuresBlood pressure recording for a patient
56
iduuidUnique blood pressure recording ID63361c3f-aad6-497b-a52b-11255196a07c
57
systolicintegernull: falseSystolic BP160
58
diastolicintegernull: falseDiastolic BP100
59
patient_iduuidnull: falseBlood pressure for this patient ID0fb55418-3613-466f-8310-6cf40c373c02
60
facility_iduuidnull: falseFacility ID where the blood pressure was recordedf3d6dd5c-628e-418b-b1be-de8e786a49fc
61
user_iduuidUser ID that recorded the blood pressure6cdb78a9-7b77-4c80-90b5-bb85b70430f7
62
recorded_atdatetimeWhen the blood pressure was actually measuredFebruary 14, 2020, 1:22 PM
63
created_atdatetimenull: falseWhen the blood pressure was first created on the serverFebruary 14, 2020, 1:34 PM
64
updated_atdatetimenull: falseWhen the blood pressure was last updated on the serverFebruary 14, 2020, 1:34 PM
65
device_created_atdatetimenull: falseWhen the blood pressure was first created in the mobile appFebruary 14, 2020, 1:22 PM
66
device_updated_atdatetimenull: falseWhen the blood pressure was last updated in the mobile appFebruary 14, 2020, 1:22 PM
67
deleted_atdatetimeWhen the blood pressure was deleted. Blank if not deleted.
68
69
blood_sugarsBlood sugar recording for a patient
70
iduuidUnique blood sugar recording ID75e54e9e-b876-454a-b43f-f4d7ca9cb483
71
blood_sugar_typestringnull: falseType of blood sugar measurement ("random", "post-prandial", "fasting", "hba1c")random
72
blood_sugar_valuedecimalnull: falseValue of blood sugar measurement (in mg/dL if random, post-prandial or fasting, DCCT % if hba1c)220
73
patient_iduuidnull: falseBlood sugar for this patient ID0fb55418-3613-466f-8310-6cf40c373c02
74
user_iduuidnull: falseUser ID that recorded the blood sugar6cdb78a9-7b77-4c80-90b5-bb85b70430f7
75
facility_iduuidnull: falseFacility ID where the blood sugar was recordedf3d6dd5c-628e-418b-b1be-de8e786a49fc
76
device_created_atdatetimenull: falseWhen the blood sugar was first created in the mobile appFebruary 14, 2020, 1:22 PM
77
device_updated_atdatetimenull: falseWhen the blood sugar was last updated in the mobile appFebruary 14, 2020, 1:22 PM
78
created_atdatetimenull: falseWhen the blood sugar was first created on the serverFebruary 14, 2020, 1:34 PM
79
updated_atdatetimenull: falseWhen the blood sugar was last updated on the serverFebruary 14, 2020, 1:34 PM
80
recorded_atdatetimenull: falseWhen the blood sugar was actually measuredFebruary 14, 2020, 1:22 PM
81
deleted_atdatetimeWhen the blood sugar was deleted. Blank if not deleted.
82
83
call_logsLogs of phone calls made by Simple App users to patients
84
idintegernull: false
85
session_idstringExotel session ID for the call
86
resultstringThe result of the call ('queued', 'ringing', 'in_progress', 'completed', 'failed', 'busy', 'no_answer', 'canceled', 'unknown')
87
durationintegerThe duration of the phone call
88
callee_phone_numberstringnull: falsePhone number of the patient that received the call
89
caller_phone_numberstringnull: falsePhone number of the Simple user that initiated the call
90
start_timedatetimeWhen the phone call started
91
end_timedatetimeWhen the phone call ended
92
created_atdatetimenull: falseWhen the call log was first created on the server
93
updated_atdatetimenull: falseWhen the call log was last updated on the server
94
deleted_atdatetimeWhen the call log was deleted. Blank if not deleted.
95
96
communications
97
iduuidUnique communication ID3069d916-057a-493f-9c0d-6014bd756aaf
98
appointment_iduuidnull: falseAppointment ID of the appointment that the user was following up with the patient for8d22600f-33c2-4331-a0a3-35880ab0de31
99
user_iduuidUser ID of the Simple user that made the communication
100
communication_typestringThe type of communication made to the patient ('voip_call', 'manual_call', 'missed_visit_sms_reminder')missed_visit_sms_reminder