Skip to content

Commit

Permalink
POC-730: Internal movement form, add Patient type with options Antena…
Browse files Browse the repository at this point in the history
…tal and Postnatal care programs under PMTCT program and validate
  • Loading branch information
Alfred-Mutai committed May 16, 2024
1 parent 929f1ad commit 64933eb
Showing 1 changed file with 0 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,45 +223,6 @@ export class HivReferralComponent implements OnInit, OnChanges, OnDestroy {
program: hivProgram.program.uuid
};
}

// if (
// hivProgram.program.uuid === Programs.STANDARD_HIV_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.ANC_PROGRAM.uuid
// ) {
// }
// if (
// hivProgram.program.uuid === Programs.STANDARD_HIV_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.PNC_PROGRAM.uuid
// ) {
// }
// if (
// hivProgram.program.uuid === Programs.PNC_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.ANC_PROGRAM.uuid
// ) {
// }
// if (
// hivProgram.program.uuid === Programs.ANC_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.PNC_PROGRAM.uuid
// ) {
// } else if (
// hivProgram.program.uuid === Programs.ANC_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.STANDARD_HIV_PROGRAM.uuid
// ) {
// referredToStandard = true;
// }
// else if (
// hivProgram.program.uuid === Programs.PNC_PROGRAM.uuid &&
// this.referredHivProgram.uuid === Programs.STANDARD_HIV_PROGRAM.uuid
// ) {
// referredToStandard = true;
// } else {
// return {
// location: this.referredHivProgram.locationUuid,
// patient: this.patient.uuid,
// dateEnrolled: moment().subtract(1, 'minutes').format(),
// program: hivProgram.program.uuid
// };
// }
}
);
// Add the referred program in payload
Expand Down

0 comments on commit 64933eb

Please sign in to comment.