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

4.2.6 Database Design Database Structure

The document describes the database structure and tables for a hospital management system. It includes 8 tables: admission, bill, charge, doctor, login, opd, roomno, and service. The admission table stores patient admission details. The bill table stores billing information. The charge table lists medical charges. The doctor table contains doctor details. The login table manages user authentication. The opd table is for outpatient department records. The roomno table lists room numbers and rates. And the service table tracks services provided to patients.

Uploaded by

ashim01
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)
89 views

4.2.6 Database Design Database Structure

The document describes the database structure and tables for a hospital management system. It includes 8 tables: admission, bill, charge, doctor, login, opd, roomno, and service. The admission table stores patient admission details. The bill table stores billing information. The charge table lists medical charges. The doctor table contains doctor details. The login table manages user authentication. The opd table is for outpatient department records. The roomno table lists room numbers and rates. And the service table tracks services provided to patients.

Uploaded by

ashim01
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/ 4

4.2.

6 DATABASE DESIGN Database Structure:

Table 1: admission Sl No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Field Name indoorRegNo ward roomno patientName guardianName age sex townVillage distric state postOffice pin co policeStation telNo dateTimeOfAdmission dateTimeOfDischarge diagnosis treatment result status Data Type varchar char int char char int char varchar varchar varchar varchar decimal char varchar int varchar varchar varchar varchar varchar varchar Size 20 20 11 20 20 10 10 30 20 20 30 10 20 30 11 15 15 20 20 20 5 Key Primary

Table2: bill

Sl. No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Field Name roomNo patientName address billNo dateOfAdmission dateOfDischarge doctorCharge residentDoctorCharge laboratoryCharge bedCharge nursingcharge subTotal gross discount net xsubTotal

Data type int char varchar varchar varchar varchar float float float float float float float float float float .

Size 11 50 30 20 20 20 0 0 0 0 0 0 0 0 0 0

Key Primary

Table3: charge Sl. No 1 2 3 Field Name slNo field charge Data Type int char float Table4: doctor Sl. No 1 2 3 4 5 6 7 Field Name id name department type timingFrom timingTo phoneNo Data Type int char varchar varchar varchar varchar int Size 11 20 50 20 10 10 11 Key Primary Size 11 20 0 Key Primary

Table5: : login Sl. No 1 2 Field Name id Password Data Type varchar varchar Size 50 50 Key Primary

Table6: opd Sl. No 1 2 3 4 5 6 7 8 9 10 11 Field Name slNo date patientName age sex address phoneNo doctor treatment fees doctorPhoneNo Data Type int varchar char int char varchar int char varchar float int Size 11 15 20 11 10 50 10 20 20 50 11 Key Primary

Table7: roomno Sl. No 1 2 3 4 Field Name roomNo category rate status Data Type int char float char Size 11 30 0 10 Key Primary

Table8: service

Sl. No 1 2 3 4 5 6 7 8

Field Name roomNo patientID date serviceName daysHourNoOfItem charge amount status

Data Type int int varchar varchar int float float varchar

Size 11 11 20 20 11 20 20 5

Key Primary

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy