Documentos de Académico
Documentos de Profesional
Documentos de Cultura
2 Data Dictionary
activity_log
Field Name Data Type Constrain Sample Data
activitylogID VARCHAR(10) Primary Key, AL-0000001
Not Null
AC_dateTime TIMESTAMP Not Null 2017-04-19
10:22:28PM
AC_userID VARCHAR(6) Foreign Key, U-0001
Not Null
AC_notification LONGTEXT Not Null Patient Log In
Table 1 Data Dictionary for activity_log
admin
Field Name Data Type Constrain Sample Data
adminID VARCHAR(5) Primary Key, AD-01
Not Null
AD_Fname VARCHAR(26) Not Null Ma. Camille
AD_Lname VARCHAR(35) Not Null Maulion
AD_Mname VARCHAR(35) Not Null Guiang
AD_EXname VARCHAR(3) Null
AD_contact VARCHAR(15) Not Null 05 347 9844
AD_email VARCHAR(45) Not Null camille05@gmail.com
AD_address LONGTEXT Not Null Carmona
Townhomes,
Carmona, Cavite
AD_pic TEXT Not Null pic.jpeg
Table 2 Data Dictionary for admin
appointment
Field Name Data Type Constrain Sample Data
appointmentID VARCHAR(8) Primary Key, APP-0001
Not Null
AP_schedByDateID VARCHAR(9) Foreign Key, SD-000001
Not Null
AP_patientID VARCHAR(8) Foreign Key, PAT-0001
Not Null
AP_doctorID VARCHAR(8) Foreign Key, DOC-0001
Not Null
AP_status VARCHAR(1) Not Null Y/N
AP_dateTime TIMESTAMP Not Null 2017-04-19
10:22:28PM
Table 3 Data Dictionary for appointment
diagnosis
Field Name Data Type Constrain Sample Data
diagnosisID VARCHAR(8) Primary Key,
Not Null
DI_name VARCHAR(45) Not Null, migraine
Unique
Table 4 Data Dictionary for diagnosis
doctor
Field Name Data Type Constrain Sample Data
doctorID VARCHAR(8) Primary Key, DOC-0001
Not Null
DO_Fname VARCHAR(26) Not Null Emelyn
DO_Lname VARCHAR(35) Not Null Tiaong
DO_Mname VARCHAR(35) Not Null Cruz
DO_EXname VARCHAR(3) Null
DO_sex CHAR Null
DO_pic TEXT Not Null doc-3.png
DO_status CHAR(1) Not Null Y/N
DO_email VARCHAR(45) Not Null emelyntiaong@gmail.com
DO_description LONGTEXT Not Null Dr. Emelyn has worked in
Carmona Health Center
for almost 7 years.
DO_serviceID VARCHAR(6) Foreign Key, SER-01
Not Null
DO_eventID VARCHAR(5) Foreign Key, E-001
Not Null
DO_mini TEXT Not Null doctor-mini-3.jpg
DO_message LONGTEXT Not Null Dr. Emelyn has been the
pediatrics doctor since
the beginning of the
Carmona Health Center. I
dedicated my work to the
Carmonian children and
is happy that they are
healthy and happy.
DO_specialtyID VARCHAR(7) Foreign Key, SPEC-01
Not Null
DO_positionID VARCHAR(4) Foreign Key, P-01
Not Null
DO_fieldID VARCHAR(4) Foreign Key, F-01
Not Null
DO_adminID VARCHAR(5) Foreign Key, AD-01
Not Null
Table 5 Data Dictionary for doctor
event
Field Name Data Type Constrain Sample Data
eventID VARCHAR(5) Primary Key, E-001
Not Null
E_name VARCHAR(45) Not Null, Unique Balik Paningin
Program
E_date DATE Not Null 2017-02-06
E_description LONGTEXT Not Null This program includes
free eyeglasses.
E_pic TEXT Not Null a.jpg
E_startTime TIME Not Null 08:00AM
E_endTime TIME Not Null 05:00PM
Table 6 Data Dictionary for event
field
Field Name Data Type Constrain Sample Data
fieldID VARCHAR(4) Primary Key, F-01
Not Null
F_name VARCHAR(5) Not Null, Unique PhD
position
Field Name Data Type Constrain Sample Data
positionID VARCHAR(4) Primary Key, P-01
Not Null
PO_name VARCHAR(45) Not Null, Head of Emergency
Unique Room
Table 10 Data Dictionary for position
sched_by_date
service
Field Name Data Type Constrain Sample Data
serviceID VARCHAR(6) Primary Key, SER-01
Not Null
SR_name VARCHAR(30) Not Null, Unique Medical Consultation
A type of therapy that
helps couple for
SR_description LONGTEXT Not Null marriage. Premarital
counseling can also
help you identify
weaknesses that
could become
problem during
marriage.
SR_icon TEXT Not Null med-icon icon-i-
alternative
SR_settingID VARCHAR(6) Foreign Key, SET-03
Not Null
SR_pic2 TEXT Not Null MCpic1.png
SR_status VARCHAR(1) Null N
SR_pic3 TEXT Null MCpic2.jpg
Table 13 Data Dictionary for service
setting
Field Name Data Type Constrain Sample Data
settingID VARCHAR(6) Primary Key, SET-01
Not Null
ST_name VARCHAR(45) Not Null, Unique Lobby
specialty
Field Name Data Type Constrain Sample Data
specialtyID VARCHAR(7) Primary Key, SPEC-01
Not Null
SP_name VARCHAR(45) Not Null, Neuro Care
Unique
Table 15 Data Dictionary for specialty
user
Field Name Data Type Constrain Sample Data
userID VARCHAR(6) Primary Key, U-0001
Not Null
U_password VARCHAR(25) Not Null 05102015
U_defaultPass VARCHAR(25) Not Null 05102015
U_profile VARCHAR(8) Not Null
U_username VARCHAR(25) Not Null, Unique Brenan_cortez0510@gmail
.com
U_registeredDate DATE Not Null 03-18-2020
U_status CHAR (1) Not Null Y/N
U_logoutDatetime DATETIME 2017-04-27 00:51:08
Table 16 Data Dictionary for user