Skip to content

Commit

Permalink
Fix: Prevent prescribing new dosage while previous one is still activ…
Browse files Browse the repository at this point in the history
…e (Issue udsm-dhis2-lab#501)

Implemented a check to ensure that a new dosage cannot be prescribed until the previous one has expired. This prevents overmedication or dosage conflicts, promoting patient safety and accurate medication management.
  • Loading branch information
KaReeeeeeeeEM committed Jan 19, 2025
1 parent 8c91b70 commit 526d358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ export class DispensingFormComponent implements OnInit {
detail: errorResponse?.error || "",
},
},
];
];
} else {
this.errors = [
...this.errors,
Expand Down

0 comments on commit 526d358

Please sign in to comment.