diff --git a/src/app/app-modules/nurse-doctor/case-record/general-case-record/prescription/prescription.component.html b/src/app/app-modules/nurse-doctor/case-record/general-case-record/prescription/prescription.component.html
index a018ddb..ecd338d 100644
--- a/src/app/app-modules/nurse-doctor/case-record/general-case-record/prescription/prescription.component.html
+++ b/src/app/app-modules/nurse-doctor/case-record/general-case-record/prescription/prescription.component.html
@@ -45,7 +45,6 @@
name="form"
[(ngModel)]="currentPrescription.formName"
(selectionChange)="getFormValueChanged()"
- required
>
{{ item }}
@@ -157,7 +152,6 @@
name="unit"
[(ngModel)]="currentPrescription.unit"
[disabled]="!currentPrescription.drugID"
- required
>
(
- (caseRecordForm && caseRecordForm.controls
- ? caseRecordForm.controls['drugPrescriptionForm']
- : null)
- );
- if (drugPrescriptionForm) {
- let prescribedDrugs =
- drugPrescriptionForm.value &&
- drugPrescriptionForm.value.prescribedDrugs
- ? drugPrescriptionForm.value.prescribedDrugs
- : [];
- prescribedDrugs = prescribedDrugs.filter((d: any) => !!d.createdBy);
- if (!prescribedDrugs || prescribedDrugs.length === 0) {
- required.push(
- this.current_language_set?.Prescription?.prescriptionRequired ||
- 'Please add at least one prescription',
- );
- }
- }
- } catch (err) {
- console.warn('Error validating prescription presence', err);
- }
- }
-
+
if (required.length) {
this.confirmationService.notify(
this.current_language_set.alerts.info.belowFields,