-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POC-475: modified columns under patient tracker
modified columns under patient tracker
- Loading branch information
Showing
5 changed files
with
146 additions
and
78 deletions.
There are no files selected for viewing
170 changes: 109 additions & 61 deletions
170
...pp/patient-dashboard/hiv/hiv-summary/ahd-events-summary/ahd-events-summary.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,134 @@ | ||
<div> | ||
<div> | ||
<table class="table table-hover table-striped table-responsive" *ngIf=" tbStartdates.length > 0 || tbEnddates[0] != null"> | ||
<thead> | ||
<tr> | ||
<th>TB Start Date </th> | ||
<th>TB End Date </th> | ||
|
||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of tbStartdates">{{ startDate | date: 'dd-MM-yyyy' }}</td> | ||
<td *ngFor="let endDate of tbEnddates">{{ endDate | date: 'dd-MM-yyyy' }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<table | ||
class="table table-hover table-striped table-responsive" | ||
*ngIf="tbStartdates.length > 0 || tbEnddates[0] != null" | ||
> | ||
<thead> | ||
<tr> | ||
<th>TB Treatment Start Date</th> | ||
<th>TB Treatment End Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of tbStartdates"> | ||
{{ startDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
<td *ngFor="let endDate of tbEnddates"> | ||
{{ endDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<table class="table table-hover table-striped table-responsive" *ngIf="cryptococallStartDates[0] != null || cryptococallEndDates[0] != null"> | ||
<table | ||
class="table table-hover table-striped table-responsive" | ||
*ngIf=" | ||
cryptococallStartDates[0] != null || cryptococallEndDates[0] != null | ||
" | ||
> | ||
<thead> | ||
<tr> | ||
<th>Cryptococcal Start Date : </th> | ||
<th>Cryptococcal End Date : </th> | ||
|
||
<th>Cryptococcal Treatment Start Date :</th> | ||
<th>Cryptococcal Treatment End Date :</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr > | ||
<td *ngFor="let startDate of cryptococallStartDates"> {{ startDate | date: 'dd-MM-yyyy' }} </td> | ||
<td *ngFor="let endDate of cryptococallEndDates"> {{ endDate | date: 'dd-MM-yyyy' }} </td> | ||
</tr> | ||
</tbody> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of cryptococallStartDates"> | ||
{{ startDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
<td *ngFor="let endDate of cryptococallEndDates"> | ||
{{ endDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<table class="table table-hover table-striped table-responsive" *ngIf="pcpStartDates[0] != null || pcpEndDates[0] != null"> | ||
<thead > | ||
|
||
<table | ||
class="table table-hover table-striped table-responsive" | ||
*ngIf="pcpStartDates[0] != null || pcpEndDates[0] != null" | ||
> | ||
<thead> | ||
<tr> | ||
<th>PCP Start Date</th> | ||
<th>PCP End Date</th> | ||
<th>PCP Treatment Start Date</th> | ||
<th>PCP Treatment End Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of pcpStartDates">{{ startDate | date: 'dd-MM-yyyy' }}</td> | ||
<td *ngFor="let endDate of pcpEndDates">{{ endDate | date: 'dd-MM-yyyy' }}</td> | ||
</tr> | ||
</tbody> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of pcpStartDates"> | ||
{{ startDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
<td *ngFor="let endDate of pcpEndDates"> | ||
{{ endDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<table class="table table-hover table-striped table-responsive" *ngIf="toxoplasmosisStartDates[0] != null || toxoplasmosisEndDates[0] != null"> | ||
<thead> | ||
<tr> | ||
<th>Toxoplasmosis Start Date</th> | ||
<th>Toxoplasmosis End Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of toxoplasmosisStartDates">{{ startDate | date: 'dd-MM-yyyy' }}</td> | ||
<td *ngFor="let startDate of toxoplasmosisEndDates">{{ endDate | date: 'dd-MM-yyyy' }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
<table class="table table-hover table-striped table-responsive" *ngIf="kaposisStartDates[0] != null || kaposisEndDates[0] != null"> | ||
<table | ||
class="table table-hover table-striped table-responsive" | ||
*ngIf=" | ||
toxoplasmosisStartDates[0] != null || toxoplasmosisEndDates[0] != null | ||
" | ||
> | ||
<thead> | ||
<tr> | ||
<th>Kaposis Sarcoma Start Date</th> | ||
<th>Kaposis Sarcoma End Date</th> | ||
<th>Toxoplasmosis Treatment Start Date</th> | ||
<th>Toxoplasmosis Treatment End Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of kaposisStartDates">{{ startDate | date: 'dd-MM-yyyy' }}</td> | ||
<td *ngFor="let startDate of kaposisEndDates">{{ endDate | date: 'dd-MM-yyyy' }}</td> | ||
<td *ngFor="let startDate of toxoplasmosisStartDates"> | ||
{{ startDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
<td *ngFor="let startDate of toxoplasmosisEndDates"> | ||
{{ endDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<!-- <div *ngIf="" > | ||
<p class="mx-8" >NO AHD SUMMARY DATA!</p> | ||
</div> --> | ||
<table | ||
class="table table-hover table-striped table-responsive" | ||
*ngIf="kaposisStartDates[0] != null || kaposisEndDates[0] != null" | ||
> | ||
<thead> | ||
<tr> | ||
<th>Kaposis Sarcoma Treatment Start Date</th> | ||
<th>Kaposis Sarcoma Treatment End Date</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td *ngFor="let startDate of kaposisStartDates"> | ||
{{ startDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
<td *ngFor="let startDate of kaposisEndDates"> | ||
{{ endDate | date: 'dd-MM-yyyy' }} | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<div | ||
*ngIf=" | ||
kaposisStartDates[0] == null && | ||
kaposisEndDates[0] == null && | ||
toxoplasmosisStartDates[0] == null && | ||
toxoplasmosisEndDates[0] == null && | ||
tbStartdates.length == 0 && | ||
tbEnddates[0] == null && | ||
pcpStartDates[0] == null && | ||
pcpEndDates[0] == null && | ||
cryptococallStartDates[0] == null && | ||
cryptococallEndDates[0] == null | ||
" | ||
> | ||
<p class="mx-8">NO AHD SUMMARY DATA!</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/app/patient-dashboard/hiv/hiv-summary/medication-history.component.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.table { | ||
width: 100%; | ||
} | ||
|
||
th, | ||
td { | ||
padding: 8px; | ||
width: 10%; | ||
} | ||
|
||
th:nth-child(6) { | ||
width: 18%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters