Skip to content

Commit

Permalink
Merge branch 'master' into POC-495
Browse files Browse the repository at this point in the history
  • Loading branch information
drizzentic authored Nov 30, 2023
2 parents bbd98ab + ecd37da commit 2523c04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ export class PreAppointmentOutreachComponent implements OnInit {
width: 100,
field: 'rescheduled_date'
},
{
headerName: 'No. of Failed Phone Attempts',
width: 100,
field: 'number_of_failed_phone_attempts'
},
{
headerName: 'Contact Reached',
width: 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@
</div>
<div
class="alert-div"
*ngIf="hasPredictedScore"
*ngIf="
hasPredictedScore &&
patientData?.encounter_datetime < prediction.prediction_generated_date
"
style="display: inline-block"
>
<p [ngClass]="getPredictionAlertColorCoded(prediction.predicted_risk)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ export class HivProgramSnapshotComponent implements OnInit {
if (
result &&
result.predicted_prob_disengage &&
result.predicted_risk
result.predicted_risk &&
result.observed_rtc_date === null
) {
this.hasPredictedScore = true;
this.prediction = result;
Expand Down

0 comments on commit 2523c04

Please sign in to comment.