0% found this document useful (0 votes)
87 views

Table 1 Data Dictionary For Activity - Log

This document contains data dictionaries that define the fields for several tables in a database for a health center management system. The tables include: 1. activity_log which tracks user logins and notifications 2. admin which stores information about administrators 3. appointment which schedules patient appointments 4. diagnosis which lists medical diagnoses 5. doctor which contains details about doctors The data dictionaries describe each field name, data type, constraints, and sample data. This information provides a overview of the key database tables and structure for managing patient, medical, and administrative data for a health center.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

Table 1 Data Dictionary For Activity - Log

This document contains data dictionaries that define the fields for several tables in a database for a health center management system. The tables include: 1. activity_log which tracks user logins and notifications 2. admin which stores information about administrators 3. appointment which schedules patient appointments 4. diagnosis which lists medical diagnoses 5. doctor which contains details about doctors The data dictionaries describe each field name, data type, constraints, and sample data. This information provides a overview of the key database tables and structure for managing patient, medical, and administrative data for a health center.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

5.2.

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 [email protected]
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 [email protected]
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

Table 7 Data Dictionary for field


medical_record
Field Name Data Type Constrain Sample Data
medicalRecordID VARCHAR(8) Primary Key, MR-00001
Not Null
MR_appointmentID VARCHAR(8) Foreign Key, APP-0001
Not Null
MR_serviceID VARCHAR(6) Foreign Key, SER-01
Not Null
MR_diagnosisID VARCHAR(8) Foreign Key,
Not Null
MR_medication LONGTEXT Not Null 3x a day of 500mg
salbutamol capsule
MR_complaints LONGTEXT Not Null
MR_bloodpressure VARCHAR (7) Not Null
MR_height INT(3) Not Null
MR_temperature INT(3) Not Null
MR_weight INT(3) Not Null
Table 8 Data Dictionary for medical_record
patient
Field Name Data Type Constrain Sample Data
patientID VARCHAR(8) Primary PAT-001
Key,
Not Null
PA_Fname VARCHAR(26) Not Null Jamuel Jamin
PA_Lname VARCHAR(35) Not Null Sta. Ana
PA_Mname VARCHAR(35) Not Null Batallones
PA_EXname VARCHAR(3) Not Null Jr.
PA_sex VARCHAR(1) Not Null M
PA_mother VARCHAR(132) Null Evelyn Sta. Ana
PA_father VARCHAR(132) Null Domingo Sta. Ana
PA_birthday VARCHAR(10) Not Null 1996-09-14
PA_birthplace LONGTEXT Null Balibago Complex, Sta. Rosa,
Laguna
PA_bloodtype CHAR(2) Null B
PA_address LONGTEXT Null Balibago Complex, Sta. Rosa,
Laguna
PA_civilStatus CHAR(1) Null S/M/D/W
PA_contact VARCHAR(15) Not Null
PA_email VARCHAR(45) Not Null [email protected]
PA_pic TEXT Not Null Patient1.jpg
PA_philMem CHAR(1) Null Y/N
PA_philNum VARCHAR(14) Null 19 000184823 6
PA_statusType CHAR(1) Null Y/N
PA_validityDate DATE Null 03-18-2020
PA_adminID VARCHAR(5) Foreign Key, AD-01
Not Null
Table 9 Data Dictionary for patient

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

Field Name Data Type Constrain Sample Data


schedByDateID VARCHAR(9) Primary Key, SD-000001
Not Null
SD_startTime TIME Not Null 08:00 AM
SD_endTime TIME Not Null 08:30 PM
SD_slotNumber INT (3) Not Null 1
SD_status CHAR(1) Not Null Y/N
SD_schedByMonthID VARCHAR (8) Foreign Key, SM-00001
Not Null
Table 11 Data Dictionary for sched_by_date
sched_by_month
Field Name Data Type Constrain Sample Data
schedByMonthID VARCHAR(8) Primary Key, SM-00001
Not Null
SM_queue INT (3) Not Null 3
SM_dotorID VARCHAR(8) Foreign Key, DOC-0001
Not Null
SM_week VARCHAR(2) Not Null M/T/W/TH/F/SA/SU
SM_date DATE Not Null 2017-03-13
SM_endTime TIME Not Null 08:00 AM
SM_startTime TIME Not Null 05:00 PM
SM_status CHAR (1) Not Null Y/N
Table 12 Data Dictionary for sched_by_month

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

Table 14 Data Dictionary for setting

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

You might also like