Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8a27860

Browse files
authored
Create PatientRecords.sql
1 parent 18db146 commit 8a27860

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎PatientRecords.sql‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
CREATE TABLE PatientRecords (
2+
PatientID INT PRIMARY KEY,
3+
FirstName VARCHAR(255),
4+
LastName VARCHAR(255),
5+
DateOfBirth DATE,
6+
Gender CHAR(1),
7+
Address TEXT,
8+
PhoneNumber VARCHAR(20),
9+
Email VARCHAR(255),
10+
EmergencyContactName VARCHAR(255),
11+
EmergencyContactPhone VARCHAR(20),
12+
PrimaryPhysicianID INT,
13+
InsuranceProvider VARCHAR(255),
14+
InsurancePolicyNumber VARCHAR(50),
15+
MedicalHistory TEXT,
16+
CurrentMedications TEXT,
17+
Allergies TEXT,
18+
TreatmentPlans TEXT,
19+
AppointmentHistory TEXT,
20+
LabResults TEXT,
21+
ImagingResults TEXT,
22+
PrescriptionHistory TEXT,
23+
BillingInformation TEXT,
24+
Notes TEXT,
25+
-- ... additional columns as needed ...
26+
FOREIGN KEY (PrimaryPhysicianID) REFERENCES Physicians(PhysicianID)
27+
);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /