ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
Minimal Simple Data Dictionary
This is a version of the Simple Data Dictionary with the minimal set of elements required for our reporting pipeline.
Green = Required for our reporting dashboard.
Yellow = used in our dashboard, but not essential for reports.
These fields enumerate the minimal data attributes needed to generate our dashboard's most important reports.
2
ModelFieldTypeConstraintsDefinitionComments
3
4
addressesPatient address details
5
iduuidUnique patient address ID
6
street_addressstringPatient street address
7
village_or_colonystringPatient village, colony, etc.
8
districtstringPatient district, upazila, etc.
9
zonestringPatient zone, block, etc.
10
statestringPatient state
11
countrystringPatient country
12
stringPatient pin, zip code, postal code, etc.
13
created_atdatetimenull: falseWhen the address was first created on the server
14
updated_atdatetimenull: falseWhen the address was last updated on the server
15
device_created_atdatetimenull: falseWhen the address was first created in the mobile app
16
device_updated_atdatetimenull: falseWhen the address was last updated in the mobile app
17
deleted_atdatetimeWhen the address was deleted. Blank if not deleted.
18
19
appointmentsAppointments when patients are expected to return for follow upThis is necessary to ensure accuracy in LTFU and missed visit figures
20
iduuidUnique patient appointment ID
21
patient_iduuidnull: falseAppointment for this patient ID
22
facility_iduuidnull: falseAppointment to show up at this facility ID
23
scheduled_datedatenull: falseWhen the appointment is scheduled
24
statusstringAppointment status
("scheduled", "canceled", "visited")
If missing, appointment creation fails because it's a required field in the swagger spec.
If it is set to a default of "scheduled": line list data is inaccurate.
25
cancel_reasonstringWhy the appointment was canceled. Blank if not canceled.
26
remind_ondateWhen to start reminding patients to return
27
agreed_to_visitbooleanWhether or not the patient agreed to visit (after being reminded)
28
appointment_typestringnull: falseHow the appointment was created
("manual" or "automatic")
29
user_iduuidUser ID who created the appointment
30
creation_facility_iduuidFacility ID where the appointment was created
31
created_atdatetimenull: falseWhen the appointment was first created on the server
32
updated_atdatetimenull: falseWhen the appointment was last updated on the server
33
device_created_atdatetimenull: falseWhen the appointment was first created in the mobile app
34
device_updated_atdatetimenull: falseWhen the appointment was last updated in the mobile app
35
deleted_atdatetimeWhen the appointment was deleted. Blank if not deleted.
36
37
audit_logsDEPRECATED
38
iduuidDeprecated
39
actionstringnull: falseDeprecated
40
auditable_typestringnull: falseDeprecated
41
auditable_iduuidnull: falseDeprecated
42
user_iduuidnull: falseDeprecated
43
created_atdatetimenull: falseDeprecated
44
updated_atdatetimenull: falseDeprecated
45
deleted_atdatetimeDeprecated
46
47
blood_pressuresBlood pressure recording for a patient
48
iduuidUnique blood pressure recording ID
49
systolicintegernull: falseSystolic BP
50
diastolicintegernull: falseDiastolic BP
51
patient_iduuidnull: falseBlood pressure for this patient ID
52
facility_iduuidnull: falseFacility ID where the blood pressure was recorded
53
user_iduuidUser ID that recorded the blood pressure
54
recorded_atdatetimeWhen the blood pressure was actually measured
55
created_atdatetimenull: falseWhen the blood pressure was first created on the server
56
updated_atdatetimenull: falseWhen the blood pressure was last updated on the server
57
device_created_atdatetimenull: falseWhen the blood pressure was first created in the mobile app
58
device_updated_atdatetimenull: falseWhen the blood pressure was last updated in the mobile app
59
deleted_atdatetimeWhen the blood pressure was deleted. Blank if not deleted.
60
61
blood_sugarsBlood sugar recording for a patient
62
iduuidUnique blood sugar recording ID
63
blood_sugar_typestringnull: falseType of blood sugar measurement ("random", "post-prandial", "fasting", "hba1c")
64
blood_sugar_valuedecimalnull: falseValue of blood sugar measurement (in mg/dL if random, post-prandial or fasting, DCCT % if hba1c)
65
patient_iduuidnull: falseBlood sugar for this patient ID
66
user_iduuidnull: falseUser ID that recorded the blood sugar
67
facility_iduuidnull: falseFacility ID where the blood sugar was recorded
68
device_created_atdatetimenull: falseWhen the blood sugar was first created in the mobile app
69
device_updated_atdatetimenull: falseWhen the blood sugar was last updated in the mobile app
70
created_atdatetimenull: falseWhen the blood sugar was first created on the server
71
updated_atdatetimenull: falseWhen the blood sugar was last updated on the server
72
recorded_atdatetimenull: falseWhen the blood sugar was actually measured
73
deleted_atdatetimeWhen the blood sugar was deleted. Blank if not deleted.
74
75
call_logsLogs of phone calls made by Simple App users to patients
76
session_idstringExotel session ID for the call
77
resultstringThe result of the call ('queued', 'ringing', 'in_progress', 'completed', 'failed', 'busy', 'no_answer', 'canceled', 'unknown')
78
durationintegerThe duration of the phone call
79
callee_phone_numberstringnull: falsePhone number of the patient that received the call
80
caller_phone_numberstringnull: falsePhone number of the Simple user that initiated the call
81
start_timedatetimeWhen the phone call started
82
end_timedatetimeWhen the phone call ended
83
created_atdatetimenull: falseWhen the call log was first created on the server
84
updated_atdatetimenull: falseWhen the call log was last updated on the server
85
deleted_atdatetimeWhen the call log was deleted. Blank if not deleted.
86
87
communications
88
iduuidUnique communication ID
89
appointment_iduuidnull: falseAppointment ID of the appointment that the user was following up with the patient for
90
user_iduuidUser ID of the Simple user that made the communication
91
communication_typestringThe type of communication made to the patient ('voip_call', 'manual_call', 'missed_visit_sms_reminder')
92
detailable_typestringThe type of detail record that describes the outcome of the communication (eg. TwilioSmsDeliveryDetail)
93
detailable_idbigintThe ID of the detail record that describes the outcome of the communication
94
created_atdatetimenull: falseWhen the communication was first created on the server
95
updated_atdatetimenull: falseWhen the communication was last updated on the server
96
device_created_atdatetimenull: falseWhen the communication was first created on the mobile app
97
device_updated_atdatetimenull: falseWhen the communication was last updated on the mobile app
98
deleted_atdatetimeWhen the communication was deleted. Blank if not deleted.
99
100
drug_stocksDrug stock reports indicating availability of drugs at facilities