diff --git a/angular/src/app/patients/all-patients/all-patients.component.html b/angular/src/app/patients/all-patients/all-patients.component.html index 3874c1c..08f7a61 100644 --- a/angular/src/app/patients/all-patients/all-patients.component.html +++ b/angular/src/app/patients/all-patients/all-patients.component.html @@ -104,13 +104,14 @@ Patient ID + Card ID Full Name Gender - Date of Admission Blood Group Mobile + Age Email - Status + Insurance Actions @@ -118,22 +119,18 @@ {{ patient.id }} + {{patient.patientCardId}} {{ patient.name }} {{ gender[patient.gender] }} - {{ patient.admissionDate | date }} {{ patient.bloodGroup }} {{ patient.mobile }} + {{patient.age}} {{ patient.email }} - - - {{ status[patient.status] }} - - + {{patient.insuranceProvider}} - @@ -82,12 +65,15 @@ Patient ID Full Name Gender + Doctor Date of Admission + Discharge Date + Next Follow-Up Diagnosis Lab Reports Medications - Next Follow-Up - Status + + Status Actions @@ -101,15 +87,19 @@ {{ gender[patientrecord.patients.gender] }} + {{'Dr. ' + patientrecord.doctorAssigned?.firstName + ' ' + + + patientrecord.doctorAssigned?.lastName}} {{ patientrecord.dateOfAdmission | date }} + {{ patientrecord.dischargeDate | date }} + {{ patientrecord.nextFollowUp | date }} {{ patientrecord.diagnosis }} - {{ patientrecord.nextFollowUp | date }} - {{ status[patientrecord.patients.status] }} + [ngClass]="patientrecord.status === 1 ? 'bg-success' : (patientrecord.status === 2 ? 'bg-primary':'bg-danger')"> + {{ status[patientrecord.status] }} @@ -136,38 +126,82 @@ [closable]="true" [style]="{width: '70%', height: 'auto'}">
- -
- - + + Admission Date is required.
- -
- - - Next Follow-Up Date is required. - + +
+
+
+
+
+
+ + +
+
+
+
+ + + Status is required +
+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+

Documents

-

Uploading... {{ uploadProgress1 }}%

@@ -180,7 +214,7 @@
-

Uploading... {{ uploadProgress2 }}%

@@ -192,7 +226,7 @@
-

Uploading... {{ uploadProgress3 }}%

@@ -203,33 +237,6 @@
- - -
-
- - - - Diagnosis is required. - -
-
- - -
-
- - - - Insurance is required. - -
-
-