Skip to content

Commit

Permalink
Extended pep initial days to 120 days (AMPATH#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkimaina authored Oct 26, 2020
1 parent d3d4cb3 commit a4320c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/scope-builder.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function isInitialPepVisit(patientEncounters) {
let latestPEPEncounterDate = Moment(latestPEPEncounter.encounterDatetime).format();
duration = today.diff(latestPEPEncounterDate,'days');
// if its more than 60 days since their last PEP Initial then they should see a pep initial visit
if(duration > 60){
if(duration > 120){
isInitialPEPVisit = true;
}else{
isInitialPEPVisit = false;
Expand Down

0 comments on commit a4320c9

Please sign in to comment.