@james_jayaraj/test-npm 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/hola-rx.component.mjs +5 -1
- package/esm2020/lib/reissue-popup/reissue-popup.component.mjs +8 -4
- package/esm2020/lib/rx/rx.component.mjs +14 -6
- package/fesm2015/james_jayaraj-test-npm.mjs +24 -7
- package/fesm2015/james_jayaraj-test-npm.mjs.map +1 -1
- package/fesm2020/james_jayaraj-test-npm.mjs +23 -7
- package/fesm2020/james_jayaraj-test-npm.mjs.map +1 -1
- package/lib/reissue-popup/reissue-popup.component.d.ts +3 -1
- package/lib/rx/rx.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1253,11 +1253,14 @@ class ReissuePopupComponent {
|
|
|
1253
1253
|
this.submitEvent = new EventEmitter();
|
|
1254
1254
|
this.AddressSendToAddType = "SMS";
|
|
1255
1255
|
this.rxEmailFlag = true;
|
|
1256
|
+
this.isResend = false;
|
|
1256
1257
|
this.MobileNo = this.commonServices.patientDetails.phone;
|
|
1257
1258
|
this.Email = this.commonServices.isScriptToPharmacy == 1 && this.commonServices.pharmacyEmail != null && this.commonServices.pharmacyEmail != "" ? this.commonServices.pharmacyEmail : this.commonServices.patientDetails.email;
|
|
1258
1259
|
this.commonServices.isScriptToPharmacy == 1 ? this.AddressSendToAddType = "Email" : this.AddressSendToAddType = "SMS";
|
|
1259
1260
|
}
|
|
1260
1261
|
ngOnInit() {
|
|
1262
|
+
var _a;
|
|
1263
|
+
this.isResend = ((_a = this.modaldata) === null || _a === void 0 ? void 0 : _a.isResend) || false;
|
|
1261
1264
|
try {
|
|
1262
1265
|
document.documentElement.style.setProperty('--eprescription_popup_width', '450px');
|
|
1263
1266
|
}
|
|
@@ -1399,10 +1402,10 @@ class ReissuePopupComponent {
|
|
|
1399
1402
|
}
|
|
1400
1403
|
}
|
|
1401
1404
|
ReissuePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReissuePopupComponent, deps: [{ token: i0.ElementRef }, { token: CommonServices }, { token: i0.ChangeDetectorRef }, { token: ApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1402
|
-
ReissuePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReissuePopupComponent, selector: "app-reissue-popup", outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"ReactModalPortal e_prescription_box\">\r\n <div class=\"ReactModal__Overlay ReactModal__Overlay--after-open open_popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open popup_header e_prescription_popup_inner_box\"\r\n tabindex=\"-1\" role=\"dialog\" aria-modal=\"true\">\r\n <p class=\"rx_record_change_popup\">Confirm Patient Contact Details</p><button type=\"button\"\r\n class=\"rx_record_popup_close\" (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">X</button>\r\n <div class=\"content\">\r\n <hr class=\"m-0\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"details_width_flex\"><label class=\"label\">Send Token Via<span class=\"text_content\">*</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx-btn rx_radio_overall\">\r\n <label class=\"rx_radio_label\"><input [disabled]=\"this.commonServices.isScriptToPharmacy==1\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"AddressSendToAddType\" [value]=\"'SMS'\" (click)=\"radioChange(1)\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'sms'\" /><span\r\n class=\"mdl-radio__label radio_txt\">SMS</span></label>\r\n\r\n <label class=\"rx_radio_label\"><input type=\"radio\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'email'\" (click)=\"radioChange(2)\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"AddressSendToAddType\"\r\n [value]=\"'Email'\"><span class=\"mdl-radio__label radio_txt\">E-Mail</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'sms'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Mobile\r\n Number</label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"img-w\"><span class=\"addpatient-country-flag\"><img\r\n src=\"https://passets.hola.health/rx-widgets/rx-australia.png\"></span>\r\n </div>\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"tel\" id=\"mobile-number\" (keypress)=\"checkMobile($event)\" placeholder=\"04 123 45678\"\r\n [(ngModel)]=\"MobileNo\" style=\"text-decoration: none; border-bottom: none;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'email'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Email\r\n </label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"email\" id=\"mobile-number\" placeholder=\"text@gmail.com\" [(ngModel)]=\"Email\"\r\n style=\"text-decoration: none; border-bottom: none;\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\"><br>\r\n <div class=\"btn-bottom\">\r\n <div class=\"btn-outer\"><button class=\"mdl-button mdl-js-button rx_record_change_popup_cancel cancel_send\"\r\n (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">Cancel</button>\r\n </div>\r\n <div class=\"btn-send\">\r\n <!-- <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\" (click)=\"close(2)\">Re-Issue</button> -->\r\n <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\"\r\n style=\"position: relative;width: 110px;padding: 0;height: 38px !important;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"close(2)\">\r\n <ng-container *ngIf=\"this.commonServices.prescribeMedLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"position: absolute;margin: 0; top: 8px;left: 40%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Re-Issue\r\n </ng-container><i class=\"fa fa-angle-down\" style=\"margin-left: 5px; color: #fff\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #rxwidgets> </ng-template>", styles: [".details_width_flex{width:100%;display:flex}.details_width_flex,.details_width_flex label{font-size:15px!important;font-family:Roboto Medium!important;font-weight:600}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--8-col,.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:calc(100% - 16px)}}@media only screen and (max-width: 767px){.new_rx_mobile_fullwidth.mdl-cell{width:calc(100% - 16px)!important}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--12-col,.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:calc(100% - 16px)}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell{margin:8px;width:calc(50% - 16px)}}.mdl-cell{box-sizing:border-box}@media only screen and (max-width: 767px){.mdl-cell{width:100%!important}}.details_flag_number{border:1.5px solid #d7d7d7;margin-top:5px;padding:6px;flex-direction:row;display:flex;border-radius:4px}div span.addpatient-country-flag img{height:100%;width:100%}.mdl-textfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}div.first-row-input{padding:0!important;width:100%}.details_mobileNo_input{font-size:15px!important;font-family:Roboto Medium!important}.mdl-textfield__input{border:none;border-bottom:1px solid rgba(0,0,0,.12);display:block;font-size:16px;font-family:Helvetica,Arial,sans-serif;margin:0;padding:4px 0;width:100%;background:0 0;text-align:left;color:inherit}.details_mobileNo_input input{font-size:15px!important;font-family:Roboto Medium!important;color:#5a5a5a}.mdl-textfield__input{outline:none}.details_mobileNo_input{padding-left:10px;width:100%}.mdl-button{background:0 0;border:none;border-radius:2px;color:#000;position:relative;height:36px;margin:3;min-width:64px;padding:0 16px;display:inline-block;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle}.cancel_send{padding:0 27px!important}.radio_txt{vertical-align:super}.content{margin-bottom:20px;margin-top:10px}.label{color:#000}.text_content{color:red;font-size:16px}.rx-btn{padding:.375rem 0rem!important}.no_txt_clr{color:#000}.img-w{width:40px}.btn-bottom{float:right}.btn-outer,.btn-send{display:inline-block;margin-right:5px}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:2px solid #005760;width:35px;height:35px;animation:spin 1s linear infinite}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
1405
|
+
ReissuePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReissuePopupComponent, selector: "app-reissue-popup", inputs: { modaldata: "modaldata" }, outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"ReactModalPortal e_prescription_box\">\r\n <div class=\"ReactModal__Overlay ReactModal__Overlay--after-open open_popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open popup_header e_prescription_popup_inner_box\"\r\n tabindex=\"-1\" role=\"dialog\" aria-modal=\"true\">\r\n <p class=\"rx_record_change_popup\">Confirm Patient Contact Details</p><button type=\"button\"\r\n class=\"rx_record_popup_close\" (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">X</button>\r\n <div class=\"content\">\r\n <hr class=\"m-0\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"details_width_flex\"><label class=\"label\">Send Token Via<span class=\"text_content\">*</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx-btn rx_radio_overall\">\r\n <label class=\"rx_radio_label\" *ngIf=\"!isResend\"><input [disabled]=\"this.commonServices.isScriptToPharmacy==1\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"AddressSendToAddType\" [value]=\"'SMS'\" (click)=\"radioChange(1)\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'sms'\" /><span\r\n class=\"mdl-radio__label radio_txt\">SMS</span></label>\r\n\r\n <label class=\"rx_radio_label\"><input type=\"radio\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'email'\" (click)=\"radioChange(2)\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"AddressSendToAddType\"\r\n [value]=\"'Email'\"><span class=\"mdl-radio__label radio_txt\">E-Mail</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'sms'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Mobile\r\n Number</label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"img-w\"><span class=\"addpatient-country-flag\"><img\r\n src=\"https://passets.hola.health/rx-widgets/rx-australia.png\"></span>\r\n </div>\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"tel\" id=\"mobile-number\" (keypress)=\"checkMobile($event)\" placeholder=\"04 123 45678\"\r\n [(ngModel)]=\"MobileNo\" style=\"text-decoration: none; border-bottom: none;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'email'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Email\r\n </label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"email\" id=\"mobile-number\" placeholder=\"text@gmail.com\" [(ngModel)]=\"Email\"\r\n style=\"text-decoration: none; border-bottom: none;\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\"><br>\r\n <div class=\"btn-bottom\">\r\n <div class=\"btn-outer\"><button class=\"mdl-button mdl-js-button rx_record_change_popup_cancel cancel_send\"\r\n (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">Cancel</button>\r\n </div>\r\n <div class=\"btn-send\">\r\n <!-- <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\" (click)=\"close(2)\">Re-Issue</button> -->\r\n <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\"\r\n style=\"position: relative;width: 110px;padding: 0;height: 38px !important;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"close(2)\">\r\n <ng-container *ngIf=\"this.commonServices.prescribeMedLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"position: absolute;margin: 0; top: 8px;left: 40%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n {{!isResend ? 'Re-Issue' : 'Resend'}}\r\n </ng-container><i class=\"fa fa-angle-down\" style=\"margin-left: 5px; color: #fff\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #rxwidgets> </ng-template>", styles: [".details_width_flex{width:100%;display:flex}.details_width_flex,.details_width_flex label{font-size:15px!important;font-family:Roboto Medium!important;font-weight:600}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--8-col,.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:calc(100% - 16px)}}@media only screen and (max-width: 767px){.new_rx_mobile_fullwidth.mdl-cell{width:calc(100% - 16px)!important}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--12-col,.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:calc(100% - 16px)}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell{margin:8px;width:calc(50% - 16px)}}.mdl-cell{box-sizing:border-box}@media only screen and (max-width: 767px){.mdl-cell{width:100%!important}}.details_flag_number{border:1.5px solid #d7d7d7;margin-top:5px;padding:6px;flex-direction:row;display:flex;border-radius:4px}div span.addpatient-country-flag img{height:100%;width:100%}.mdl-textfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}div.first-row-input{padding:0!important;width:100%}.details_mobileNo_input{font-size:15px!important;font-family:Roboto Medium!important}.mdl-textfield__input{border:none;border-bottom:1px solid rgba(0,0,0,.12);display:block;font-size:16px;font-family:Helvetica,Arial,sans-serif;margin:0;padding:4px 0;width:100%;background:0 0;text-align:left;color:inherit}.details_mobileNo_input input{font-size:15px!important;font-family:Roboto Medium!important;color:#5a5a5a}.mdl-textfield__input{outline:none}.details_mobileNo_input{padding-left:10px;width:100%}.mdl-button{background:0 0;border:none;border-radius:2px;color:#000;position:relative;height:36px;margin:3;min-width:64px;padding:0 16px;display:inline-block;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle}.cancel_send{padding:0 27px!important}.radio_txt{vertical-align:super}.content{margin-bottom:20px;margin-top:10px}.label{color:#000}.text_content{color:red;font-size:16px}.rx-btn{padding:.375rem 0rem!important}.no_txt_clr{color:#000}.img-w{width:40px}.btn-bottom{float:right}.btn-outer,.btn-send{display:inline-block;margin-right:5px}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:2px solid #005760;width:35px;height:35px;animation:spin 1s linear infinite}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
1403
1406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReissuePopupComponent, decorators: [{
|
|
1404
1407
|
type: Component,
|
|
1405
|
-
args: [{ selector: 'app-reissue-popup', template: "<div class=\"ReactModalPortal e_prescription_box\">\r\n <div class=\"ReactModal__Overlay ReactModal__Overlay--after-open open_popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open popup_header e_prescription_popup_inner_box\"\r\n tabindex=\"-1\" role=\"dialog\" aria-modal=\"true\">\r\n <p class=\"rx_record_change_popup\">Confirm Patient Contact Details</p><button type=\"button\"\r\n class=\"rx_record_popup_close\" (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">X</button>\r\n <div class=\"content\">\r\n <hr class=\"m-0\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"details_width_flex\"><label class=\"label\">Send Token Via<span class=\"text_content\">*</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx-btn rx_radio_overall\">\r\n <label class=\"rx_radio_label\"><input [disabled]=\"this.commonServices.isScriptToPharmacy==1\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"AddressSendToAddType\" [value]=\"'SMS'\" (click)=\"radioChange(1)\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'sms'\" /><span\r\n class=\"mdl-radio__label radio_txt\">SMS</span></label>\r\n\r\n <label class=\"rx_radio_label\"><input type=\"radio\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'email'\" (click)=\"radioChange(2)\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"AddressSendToAddType\"\r\n [value]=\"'Email'\"><span class=\"mdl-radio__label radio_txt\">E-Mail</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'sms'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Mobile\r\n Number</label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"img-w\"><span class=\"addpatient-country-flag\"><img\r\n src=\"https://passets.hola.health/rx-widgets/rx-australia.png\"></span>\r\n </div>\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"tel\" id=\"mobile-number\" (keypress)=\"checkMobile($event)\" placeholder=\"04 123 45678\"\r\n [(ngModel)]=\"MobileNo\" style=\"text-decoration: none; border-bottom: none;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'email'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Email\r\n </label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"email\" id=\"mobile-number\" placeholder=\"text@gmail.com\" [(ngModel)]=\"Email\"\r\n style=\"text-decoration: none; border-bottom: none;\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\"><br>\r\n <div class=\"btn-bottom\">\r\n <div class=\"btn-outer\"><button class=\"mdl-button mdl-js-button rx_record_change_popup_cancel cancel_send\"\r\n (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">Cancel</button>\r\n </div>\r\n <div class=\"btn-send\">\r\n <!-- <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\" (click)=\"close(2)\">Re-Issue</button> -->\r\n <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\"\r\n style=\"position: relative;width: 110px;padding: 0;height: 38px !important;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"close(2)\">\r\n <ng-container *ngIf=\"this.commonServices.prescribeMedLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"position: absolute;margin: 0; top: 8px;left: 40%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Re-Issue\r\n </ng-container><i class=\"fa fa-angle-down\" style=\"margin-left: 5px; color: #fff\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #rxwidgets> </ng-template>", styles: [".details_width_flex{width:100%;display:flex}.details_width_flex,.details_width_flex label{font-size:15px!important;font-family:Roboto Medium!important;font-weight:600}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--8-col,.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:calc(100% - 16px)}}@media only screen and (max-width: 767px){.new_rx_mobile_fullwidth.mdl-cell{width:calc(100% - 16px)!important}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--12-col,.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:calc(100% - 16px)}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell{margin:8px;width:calc(50% - 16px)}}.mdl-cell{box-sizing:border-box}@media only screen and (max-width: 767px){.mdl-cell{width:100%!important}}.details_flag_number{border:1.5px solid #d7d7d7;margin-top:5px;padding:6px;flex-direction:row;display:flex;border-radius:4px}div span.addpatient-country-flag img{height:100%;width:100%}.mdl-textfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}div.first-row-input{padding:0!important;width:100%}.details_mobileNo_input{font-size:15px!important;font-family:Roboto Medium!important}.mdl-textfield__input{border:none;border-bottom:1px solid rgba(0,0,0,.12);display:block;font-size:16px;font-family:Helvetica,Arial,sans-serif;margin:0;padding:4px 0;width:100%;background:0 0;text-align:left;color:inherit}.details_mobileNo_input input{font-size:15px!important;font-family:Roboto Medium!important;color:#5a5a5a}.mdl-textfield__input{outline:none}.details_mobileNo_input{padding-left:10px;width:100%}.mdl-button{background:0 0;border:none;border-radius:2px;color:#000;position:relative;height:36px;margin:3;min-width:64px;padding:0 16px;display:inline-block;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle}.cancel_send{padding:0 27px!important}.radio_txt{vertical-align:super}.content{margin-bottom:20px;margin-top:10px}.label{color:#000}.text_content{color:red;font-size:16px}.rx-btn{padding:.375rem 0rem!important}.no_txt_clr{color:#000}.img-w{width:40px}.btn-bottom{float:right}.btn-outer,.btn-send{display:inline-block;margin-right:5px}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:2px solid #005760;width:35px;height:35px;animation:spin 1s linear infinite}\n"] }]
|
|
1408
|
+
args: [{ selector: 'app-reissue-popup', template: "<div class=\"ReactModalPortal e_prescription_box\">\r\n <div class=\"ReactModal__Overlay ReactModal__Overlay--after-open open_popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open popup_header e_prescription_popup_inner_box\"\r\n tabindex=\"-1\" role=\"dialog\" aria-modal=\"true\">\r\n <p class=\"rx_record_change_popup\">Confirm Patient Contact Details</p><button type=\"button\"\r\n class=\"rx_record_popup_close\" (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">X</button>\r\n <div class=\"content\">\r\n <hr class=\"m-0\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"details_width_flex\"><label class=\"label\">Send Token Via<span class=\"text_content\">*</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx-btn rx_radio_overall\">\r\n <label class=\"rx_radio_label\" *ngIf=\"!isResend\"><input [disabled]=\"this.commonServices.isScriptToPharmacy==1\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"AddressSendToAddType\" [value]=\"'SMS'\" (click)=\"radioChange(1)\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'sms'\" /><span\r\n class=\"mdl-radio__label radio_txt\">SMS</span></label>\r\n\r\n <label class=\"rx_radio_label\"><input type=\"radio\"\r\n [checked]=\"AddressSendToAddType.toLowerCase() == 'email'\" (click)=\"radioChange(2)\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"AddressSendToAddType\"\r\n [value]=\"'Email'\"><span class=\"mdl-radio__label radio_txt\">E-Mail</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'sms'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Mobile\r\n Number</label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"img-w\"><span class=\"addpatient-country-flag\"><img\r\n src=\"https://passets.hola.health/rx-widgets/rx-australia.png\"></span>\r\n </div>\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"tel\" id=\"mobile-number\" (keypress)=\"checkMobile($event)\" placeholder=\"04 123 45678\"\r\n [(ngModel)]=\"MobileNo\" style=\"text-decoration: none; border-bottom: none;\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngIf=\"AddressSendToAddType.toLowerCase() == 'email'\"\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mobilenumber-input addpatient-details-col \">\r\n <div class=\"mdl-textfield mdl-js-textfield first-row-input\">\r\n <div class=\"details_width_flex\"><label for=\"mobile-number\" class=\"no_txt_clr\">Email\r\n </label></div>\r\n <div class=\"details_flag_number\">\r\n <div class=\"details_mobileNo_input\"><input autocomplete=\"off\" class=\"mdl-textfield__input input_textfield\"\r\n type=\"email\" id=\"mobile-number\" placeholder=\"text@gmail.com\" [(ngModel)]=\"Email\"\r\n style=\"text-decoration: none; border-bottom: none;\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\"><br>\r\n <div class=\"btn-bottom\">\r\n <div class=\"btn-outer\"><button class=\"mdl-button mdl-js-button rx_record_change_popup_cancel cancel_send\"\r\n (click)=\"close(1)\" [disabled]=\"this.commonServices.prescribeMedLoader\">Cancel</button>\r\n </div>\r\n <div class=\"btn-send\">\r\n <!-- <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\" (click)=\"close(2)\">Re-Issue</button> -->\r\n <button class=\"mdl-button mdl-js-button rx_record_change_popup_submit\"\r\n style=\"position: relative;width: 110px;padding: 0;height: 38px !important;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"close(2)\">\r\n <ng-container *ngIf=\"this.commonServices.prescribeMedLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"position: absolute;margin: 0; top: 8px;left: 40%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n {{!isResend ? 'Re-Issue' : 'Resend'}}\r\n </ng-container><i class=\"fa fa-angle-down\" style=\"margin-left: 5px; color: #fff\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #rxwidgets> </ng-template>", styles: [".details_width_flex{width:100%;display:flex}.details_width_flex,.details_width_flex label{font-size:15px!important;font-family:Roboto Medium!important;font-weight:600}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--8-col,.mdl-cell--8-col-tablet.mdl-cell--8-col-tablet{width:calc(100% - 16px)}}@media only screen and (max-width: 767px){.new_rx_mobile_fullwidth.mdl-cell{width:calc(100% - 16px)!important}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell--12-col,.mdl-cell--12-col-tablet.mdl-cell--12-col-tablet{width:calc(100% - 16px)}}@media (min-width: 480px) and (max-width: 839px){.mdl-cell{margin:8px;width:calc(50% - 16px)}}.mdl-cell{box-sizing:border-box}@media only screen and (max-width: 767px){.mdl-cell{width:100%!important}}.details_flag_number{border:1.5px solid #d7d7d7;margin-top:5px;padding:6px;flex-direction:row;display:flex;border-radius:4px}div span.addpatient-country-flag img{height:100%;width:100%}.mdl-textfield{position:relative;font-size:16px;display:inline-block;box-sizing:border-box;width:300px;max-width:100%;margin:0;padding:20px 0}div.first-row-input{padding:0!important;width:100%}.details_mobileNo_input{font-size:15px!important;font-family:Roboto Medium!important}.mdl-textfield__input{border:none;border-bottom:1px solid rgba(0,0,0,.12);display:block;font-size:16px;font-family:Helvetica,Arial,sans-serif;margin:0;padding:4px 0;width:100%;background:0 0;text-align:left;color:inherit}.details_mobileNo_input input{font-size:15px!important;font-family:Roboto Medium!important;color:#5a5a5a}.mdl-textfield__input{outline:none}.details_mobileNo_input{padding-left:10px;width:100%}.mdl-button{background:0 0;border:none;border-radius:2px;color:#000;position:relative;height:36px;margin:3;min-width:64px;padding:0 16px;display:inline-block;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:0;overflow:hidden;will-change:box-shadow;transition:box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);outline:none;cursor:pointer;text-decoration:none;text-align:center;line-height:36px;vertical-align:middle}.cancel_send{padding:0 27px!important}.radio_txt{vertical-align:super}.content{margin-bottom:20px;margin-top:10px}.label{color:#000}.text_content{color:red;font-size:16px}.rx-btn{padding:.375rem 0rem!important}.no_txt_clr{color:#000}.img-w{width:40px}.btn-bottom{float:right}.btn-outer,.btn-send{display:inline-block;margin-right:5px}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:2px solid #005760;width:35px;height:35px;animation:spin 1s linear infinite}\n"] }]
|
|
1406
1409
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: CommonServices }, { type: i0.ChangeDetectorRef }, { type: ApiService }]; }, propDecorators: { closeEvent: [{
|
|
1407
1410
|
type: Output
|
|
1408
1411
|
}], submitEvent: [{
|
|
@@ -1410,6 +1413,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1410
1413
|
}], content: [{
|
|
1411
1414
|
type: ViewChild,
|
|
1412
1415
|
args: ['rxwidgets', { static: true }]
|
|
1416
|
+
}], modaldata: [{
|
|
1417
|
+
type: Input
|
|
1413
1418
|
}] } });
|
|
1414
1419
|
|
|
1415
1420
|
class ClosePopupComponent {
|
|
@@ -1604,6 +1609,7 @@ class RxComponent {
|
|
|
1604
1609
|
this.tempAuthorityFormNo = "";
|
|
1605
1610
|
this.clientId = "";
|
|
1606
1611
|
this.showFavouriteMed = false;
|
|
1612
|
+
this.isResend = false;
|
|
1607
1613
|
this.handleClickOutside = (event) => {
|
|
1608
1614
|
try {
|
|
1609
1615
|
if (this.wrapperRef != null && this.wrapperRef != undefined && this.wrapperRef.nativeElement &&
|
|
@@ -1974,6 +1980,7 @@ class RxComponent {
|
|
|
1974
1980
|
ceasePrescribeMed() {
|
|
1975
1981
|
try {
|
|
1976
1982
|
if (this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 2)) {
|
|
1983
|
+
this.isResend = false;
|
|
1977
1984
|
this.selectActionBtnDropdown = false;
|
|
1978
1985
|
this.changedetect.detectChanges();
|
|
1979
1986
|
this.commonServices.dialogopen(CeasePopupComponent, this.content, this.ceaseData).subscribe((res) => {
|
|
@@ -1991,6 +1998,7 @@ class RxComponent {
|
|
|
1991
1998
|
cancelPrescribeMed() {
|
|
1992
1999
|
try {
|
|
1993
2000
|
if (this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 4)) {
|
|
2001
|
+
this.isResend = false;
|
|
1994
2002
|
this.selectActionBtnDropdown = false;
|
|
1995
2003
|
this.changedetect.detectChanges();
|
|
1996
2004
|
this.commonServices.dialogopen(ClosePopupComponent, this.content, 1).subscribe((res) => {
|
|
@@ -2020,6 +2028,7 @@ class RxComponent {
|
|
|
2020
2028
|
cancelDraft() {
|
|
2021
2029
|
try {
|
|
2022
2030
|
if (this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 4)) {
|
|
2031
|
+
this.isResend = false;
|
|
2023
2032
|
this.selectActionBtnDropdown = false;
|
|
2024
2033
|
this.changedetect.detectChanges();
|
|
2025
2034
|
this.commonServices.dialogopen(ClosePopupComponent, this.content, 2).subscribe((res) => {
|
|
@@ -2034,16 +2043,20 @@ class RxComponent {
|
|
|
2034
2043
|
this.commonServices.setlogvalue(false, ex.message, ex.stack, "RxComponent", "cancelDraft");
|
|
2035
2044
|
}
|
|
2036
2045
|
}
|
|
2037
|
-
reissuePrescribeMed() {
|
|
2046
|
+
reissuePrescribeMed(flag) {
|
|
2038
2047
|
try {
|
|
2039
|
-
if (this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 3)) {
|
|
2048
|
+
if (this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 3) || this.commonServices.enableSendPaperScriptInMail && !this.checkStatusAndScripttype(this.commonServices.rxDetails.scriptType, this.commonServices.rxDetails.status, 2)) {
|
|
2049
|
+
this.isResend = flag == 2 ? true : false;
|
|
2040
2050
|
this.selectActionBtnDropdown = false;
|
|
2041
2051
|
this.changedetect.detectChanges();
|
|
2042
|
-
this.commonServices.dialogopen(ReissuePopupComponent, this.content).subscribe((res) => {
|
|
2052
|
+
this.commonServices.dialogopen(ReissuePopupComponent, this.content, { isResend: this.isResend }).subscribe((res) => {
|
|
2043
2053
|
if (res != null && res.response_code == 0) {
|
|
2044
2054
|
this.commonServices.errorResponse("", res.response_message, true, res.data);
|
|
2045
2055
|
this.close(res.data);
|
|
2046
2056
|
}
|
|
2057
|
+
else if (res == null) {
|
|
2058
|
+
this.isResend = false;
|
|
2059
|
+
}
|
|
2047
2060
|
});
|
|
2048
2061
|
}
|
|
2049
2062
|
}
|
|
@@ -6334,10 +6347,10 @@ class RxComponent {
|
|
|
6334
6347
|
}
|
|
6335
6348
|
}
|
|
6336
6349
|
RxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RxComponent, deps: [{ token: ApiService }, { token: CommonServices }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i3.DatePipe }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6337
|
-
RxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RxComponent, selector: "app-rx", outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, host: { listeners: { "click": "onclick($event)" } }, viewQueries: [{ propertyName: "wrapperRef", first: true, predicate: ["MedicineDropdown"], descendants: true }, { propertyName: "prescribeDropdownRef", first: true, predicate: ["PrescribeDropdown"], descendants: true }, { propertyName: "doseRef", first: true, predicate: ["DoseDropdown"], descendants: true }, { propertyName: "freqRef", first: true, predicate: ["FreqDropdown"], descendants: true }, { propertyName: "stpRef", first: true, predicate: ["stpDropdown"], descendants: true }, { propertyName: "foodRef", first: true, predicate: ["FoodDropdown"], descendants: true }, { propertyName: "InstructionRef", first: true, predicate: ["InstructionDropdown"], descendants: true }, { propertyName: "routeRef", first: true, predicate: ["RouteDropdown"], descendants: true }, { propertyName: "purposeRef", first: true, predicate: ["PurposeDropdown"], descendants: true }, { propertyName: "selectActionDropdownRef", first: true, predicate: ["selectActionDropdown"], descendants: true }, { propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }, { propertyName: "myTemplate", first: true, predicate: ["tooltipdemo"], descendants: true }, { propertyName: "tooltip", first: true, predicate: ["test"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #rxwidgets> </ng-template>\r\n<div class=\"new_rx_popup_mims\">\r\n <div\r\n class=\"ReactModal__Overlay ReactModal__Overlay--after-open React__Overlay_Open_Popup new_rx_mims_Overlay_Open_Popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open React__Content new_rx_mims_React__Content\">\r\n <div class=\"popup new_rx_mims_ReactModal_popup\">\r\n <div>\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-rx-spin'\"> </app-splashscreen>\r\n <div class=\"page-content\" *ngIf=\"!PopupScreenLoader\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col-tablet mdl-cell--3-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_1\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--2-col':'mdl-cell--3-col'\"\r\n style=\"align-self: center\">\r\n <h3 class=\"new_rx_popup_header_box_text\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-hola-health-logo-1.png\" alt=\"hola_health\"\r\n style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-header-logo.png\" alt=\"\" />\r\n {{commonServices.editPrescription === true ? 'Edit Script' : 'New Script'}}\r\n </h3>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_desktop_title new_rx_mobile_fullwidth\"\r\n style=\"align-self: center;\">\r\n <p class=\"new_rx_popup_header_box_text\" style=\"justify-content: center;\">\r\n <span style=\"font-weight: 600;\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span style=\"width: 100px;\">{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col-tablet mdl-cell--4-col-phone new_rx_popup_header_box_col new_rx_mobile_fullwidth rx_ipad_header_box_2 new_mobile_rx_top_bottom_0\"\r\n style=\"position: relative\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--6-col':'mdl-cell--5-col'\">\r\n <div class=\"new_rx_popup_btns\">\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Close\r\n </button>\r\n <div style=\"display: inline-block;position: relative\"\r\n *ngIf=\"commonServices.rxid != null && commonServices.rxid !=''\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton select-action-btn new_mobile_rx_btn\"\r\n style=\"position: relative;width: 140px;display: flex;flex-direction: row;align-items: center;justify-content: center;padding: 10px !important\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"selectActionDropdownopen()\">\r\n <ng-container *ngIf=\"selectionbtnLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!selectionbtnLoader\">\r\n Select Action <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #selectActionDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box select-action-ul\"\r\n *ngIf=\"selectActionBtnDropdown == true\"\r\n [class]=\"{ M_list_box_show: selectActionBtnDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li\r\n (click)=\"commonServices.rxDetails.status.toLowerCase() == 'draft'?cancelDraft():cancelPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,4)?'':'edit-disable-data'\">\r\n Cancel</li>\r\n <li (click)=\"printPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,1)?'':'edit-disable-data'\">\r\n Print</li>\r\n <li (click)=\"reissuePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,3)?'':'edit-disable-data'\">\r\n Re-Issue</li>\r\n <li (click)=\"ceasePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2)?'':'edit-disable-data'\">\r\n Cease</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <button *ngIf=\"page != 1\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n (click)=\"back()\" [disabled]=\"this.commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Back\r\n </button>\r\n <button *ngIf=\"page == 1\" (click)=\"pageNumberOneToNext()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Next\r\n </button>\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored new_mobile_rx_btn\"\r\n [class]=\"abortdisable?'nextButton':'abortbutton'\" *ngIf=\"abortBtnFlag\" [disabled]=\"abortdisable\"\r\n (click)=\"prescripeAbort()\"><span *ngIf=\"abortdisable\" class=\"rx_loader\">\r\n <p class=\"rx_loader_button m-v4 rx_btn_spin\">\r\n </p>\r\n </span><span *ngIf=\"!abortdisable\">Abort</span></button>\r\n <div style=\"display: inline-block\" *ngIf=\"page == 2\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n style=\"position: relative;width: 135px;display: flex;flex-direction: row;align-items: center;justify-content: center\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"includeRtpmModal()\">\r\n <ng-container *ngIf=\"commonServices.prescribeMedLoader \">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Prescribe <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #PrescribeDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box\"\r\n *ngIf=\"selectPBTNDropdown == true\" [class]=\"{ M_list_box_show: selectPBTNDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(1)}\"\r\n (click)=\"MprescribeMed(1)\">E-Prescribe (Draft)</li>\r\n <li [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(1)\" *ngIf=\"!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && commonServices.enableSendEScriptInMail\">E-Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(2)\">E-Prescribe and Print</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"MprescribeMed(2)\">Prescribe (Draft)</li>\r\n <li *ngIf=\"commonServices.enableSendPaperScriptInMail\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"PaperprescripeSend(1)\"> Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase() == 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft') || (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"prescripePrint()\">\r\n Prescribe and Print</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_3 new_rx_mobile_title\"\r\n style=\"align-self: center\">\r\n <p class=\"new_rx_popup_header_box_text new_mobile_rx_popup_header_text\">\r\n <span style=\"font-weight: 600\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span>{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 1\" class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div #MedicineDropdown style=\"position: relative\">\r\n <div style=\"position: relative\">\r\n <input autocomplete=\"off\" type=\"text\" name=\"medicine search\" placeholder=\"Search Medicines\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_1_input\"\r\n value=\"{{ mediSearchValue }}\" (input)=\"searchHandler($event)\"\r\n (click)=\"MedicineDropdownList()\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search\">search</i>\r\n <!-- <mat-icon class=\"new_rx_popup_tab_1_input_search\"></mat-icon> -->\r\n </div>\r\n <div class=\"new_rx_popup_tab_1_list_box\" [class]=\"{\r\n M_list_box_show: selectedMedicineDropdown === true\r\n }\">\r\n <div *ngIf=\"searchMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!searchMedicineLoader\" style=\"margin-bottom: 10px;\">\r\n <ul class=\"new_rx_popup_tab_1_list\">\r\n <li *ngFor=\"let medicineList of searchedMedicineList\" [class]=\"getcurrentid(medicineList)\"\r\n (click)=\"\r\n getProductListByName(\r\n medicineList['prodHiddenValue'],\r\n medicineList['prodDisplayValue'],\r\n medicineList['searchBase']\r\n )\r\n \" [innerHTML]=\"medicineList['prodDisplayValue']\"></li>\r\n <li *ngIf=\"searchedMedicineList.length == 0\">No Data</li>\r\n </ul>\r\n </div>\r\n <div *ngIf=\"PrimarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxOnlyPBS\"\r\n (change)=\"onCheckboxChange(1)\" value=\"PBS/RPBS\" [disabled]=\"this.isNonPbsFlag\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">PBS/RPBS</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange(1)\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div>\r\n <!-- <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange()\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div> -->\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--6-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" style=\"margin-left: 8px;\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <span class=\"favourites-toggle-link\" (click)=\"$event.stopPropagation(); showFavourties()\">\r\n {{ showFavouriteMed ? 'Hide favourites' : 'Show favourites' }}\r\n </span>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--7-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"new_rx_popup_table_box\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"padding: 5px 10px; margin: 0px\">\r\n Available Formulations:\r\n </p>\r\n <div *ngIf=\"!showFavouriteMed\">\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.selectedMedicineList == null ||\r\n commonServices.selectedMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Data</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.selectedMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForMed(med)\"\r\n (click)=\"selectFormulation(med, i)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.pbsType!=undefined && med.pbsType!=null && med.pbsType.toLowerCase() == \"non pbs\"\r\n ? med.numberOfPack + \"x\" + med.unitPerPack\r\n : med.maxQtyUnits\r\n }}</span><span><b>Rpts:</b> {{ med.repeats }}</span><span\r\n *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.Restrictions!=undefined &&\r\n med.Restrictions != null && med.Restrictions != \"\"\r\n ? med.pbsType +\r\n \" (\" +\r\n getRestrictions(med.Restrictions) +\r\n \") \"\r\n : (med.pbsType!=undefined&&med.pbsType!=null?med.pbsType:\"\")\r\n }} </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showFavouriteMed\">\r\n\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.favouriteMedicineList == null ||\r\n commonServices.favouriteMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Favourites</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.favouriteMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForFavouriteMed(med)\"\r\n (click)=\"favouriteMedicineLoading(med)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.quantity}}\r\n </span><span><b>Rpts:</b> {{ med.repeats }}</span>\r\n <span *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.restriction}}\r\n </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"favMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!favMedicineLoader\"\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid new_rx_popup_tab_1_box\"\r\n *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"margin-bottom: 5px\"\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.productName!=undefined && commonServices.selectedFormulation.productName!=null? commonServices.selectedFormulation.productName: ''\">\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col\">\r\n <p class=\"new_rx_popup_label\">\r\n Generic Name:<span\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.genericName!=undefined && commonServices.selectedFormulation.genericName!=null? commonServices.selectedFormulation.genericName : ''\"></span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\" *ngIf=\"commonServices.isBrandName\">\r\n Brand Name:<span [innerHTML]=\"\r\n getBrandName(commonServices.selectedFormulation)\r\n \">\r\n </span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n Schedule:<span>{{\r\n commonServices.selectedFormulation != null &&\r\n commonServices.selectedFormulation.poisonClassification !=\r\n undefined && commonServices.selectedFormulation.poisonClassification!=null &&\r\n commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=undefined && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=null && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses.length>0\r\n ? commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses[0]\r\n : \"No Scheduled Information Available\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listing:<span>{{commonServices.selectedFormulation.pbsType!=undefined &&\r\n commonServices.selectedFormulation.pbsType!=null? commonServices.selectedFormulation.pbsType :\r\n '' }}\r\n {{\r\n commonServices.selectedFormulation.pbsCode!=undefined &&\r\n commonServices.selectedFormulation.pbsCode!=null\r\n ? \" (\" +\r\n commonServices.selectedFormulation.pbsCode +\r\n \")\"\r\n : \"\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n <span style=\"margin:0px ;\">\r\n Max Quantity =\r\n {{getMaxQuantity()}}\r\n and Repeats =\r\n {{commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats\r\n :\"\"}}</span>\r\n </p>\r\n\r\n <p class=\"new_rx_popup_label\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pregnancyCategory!=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory != null && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=undefined && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=null\r\n \">\r\n Pregnancy Category:<span>{{\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode\r\n }}\r\n </span>\r\n <span *ngIf=\"commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote !=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != null &&\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != ''\r\n \">\r\n AdditionalNote:\r\n <span *ngFor=\"\r\n let item of commonServices.selectedFormulation\r\n .pregnancyCategory.additionalNote\r\n \" [innerHTML]=\"item\">\r\n </span>\r\n </span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" *ngIf=\"\r\n this.isShowRestrictions == true && commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <p class=\"new_rx_popup_label\">Restrictions:</p>\r\n <ol style=\"margin: 0px; padding-left: 15px\" *ngIf=\"commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li class=\"new_rx_pop_aut_int\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions\r\n \">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length < 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span>\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length > 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 60)\r\n \"></span>...\r\n <span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ol>\r\n </div>\r\n </div>\r\n\r\n <div class=\"new_rx_popup_tab_3_small_box\" [style.display]=\"isCurrentMedicineInFavourites() ? 'inline-flex' : null\"\r\n [style.width]=\"isCurrentMedicineInFavourites() ? 'max-content' : null\" *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div style=\"display: inline-block;margin-right: 10px;\" class=\"new_rx_popup_header_box_col\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <button *ngIf=\"commonServices.selectedFormulation != null\" (click)=\"addToFavourites()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored\"\r\n [class.nextButton]=\"!isCurrentMedicineInFavourites()\"\r\n [class.rmfavbutton]=\"isCurrentMedicineInFavourites()\">\r\n <span *ngIf=\"isCurrentMedicineInFavourites(); else addText\">\r\n Remove from favourites\r\n </span>\r\n <ng-template #addText>+ Add to favourites</ng-template>\r\n </button>\r\n </div>\r\n <div style=\"display: inline-block; margin-right: 10px\">\r\n <span class=\"new_rx_popup_label\">Quantity: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" name=\"qty\"\r\n placeholder=\"\" class=\"new_rx_popup_tab_input\" step=\"1\" [min]=\"0\"\r\n [(ngModel)]=\"commonServices.quantityVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"quantityChange()\" (paste)=\"$event.preventDefault()\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" />\r\n </div>\r\n <div style=\"display: inline-block\">\r\n <span class=\"new_rx_popup_label\">Repeats: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true || commonServices.isMedicineRestrict}\"\r\n name=\"rpts\" placeholder=\"\" [min]=\"0\" (input)=\"repeatsChange()\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.repeatsVal\" (paste)=\"$event.preventDefault()\"\r\n (keypress)=\"checkMobile($event)\"\r\n [disabled]=\"commonServices.editPrescribedPrescription || commonServices.isMedicineRestrict\" />\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\"></div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n Dose:\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n id=\"checkbox1\" class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.unUsualDoseFlag\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Unusual\r\n Dose</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Dose\"\r\n [(ngModel)]=\"commonServices.doseSearchValue\" (click)=\"doseDropdown()\" />\r\n <div #DoseDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectDoseDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectDoseValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let dose of doseData\" (click)=\"selectDoseValue(dose)\" [class]=\"{\r\n heighlight: dose['text'] == commonServices.doseSearchValue\r\n }\">\r\n {{ dose[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Frequency:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Frequency\" readOnly [(ngModel)]=\"commonServices.freqSearchValue\"\r\n (click)=\"freqDropdown()\" />\r\n <div #FreqDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFreqDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFrequencyValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let frequency of frequencyData\" (click)=\"selectFrequencyValue(frequency)\" [class]=\"{\r\n heighlight:\r\n frequency['text'] == commonServices.freqSearchValue\r\n }\">\r\n {{ frequency[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Food:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Food\" readOnly [(ngModel)]=\"commonServices.foodSearchValue\"\r\n (click)=\"foodDropdown()\" />\r\n <div #FoodDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFoodDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFoodValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let food of foodData\" (click)=\"selectFoodValue(food)\" [class]=\"{\r\n heighlight: food['text'] == commonServices.foodSearchValue\r\n }\">\r\n {{ food[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Instruction:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"Instruction\"\r\n placeholder=\"Select Instruction\" [(ngModel)]=\"commonServices.InstructionSearchValue\"\r\n (click)=\"instructionDropdown()\" (change)=\"instructionOnChange()\"\r\n (keypress)=\"alphaRestriction($event)\" />\r\n <div #InstructionDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{M_list_box_show: selectInstructionDropdown === true}\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <ng-container *ngIf=\"selectInstructionDropdownList\">\r\n <li (click)=\"ChangeInstruction(null)\" class=\"p-12\"> </li>\r\n <li\r\n [class]=\"item.id == commonServices.complexId && item.text == commonServices.InstructionSearchValue ? 'heighlight' : ''\"\r\n *ngFor=\"let item of instructionData; index as i\" (click)=\"ChangeInstruction(item)\">\r\n {{ item.text }}\r\n <span *ngIf=\"item.userid !== 0\" class=\"span_icon\" style=\"float: right\">\r\n <i class=\"material-icons\" style=\"padding: 5px\"\r\n (click)=\"editInstruction(item.id, item)\">create</i><i class=\"material-icons\"\r\n style=\"margin-left: 10px; padding: 5px\"\r\n (click)=\"deleteInstruction(item.id)\">clear</i></span>\r\n </li>\r\n <li class=\"RX_ADD_dropdown_btn\" (click)=\"addNewInstruction()\">\r\n + Add Complex Instructions\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectInstructionDropdownList == false\">\r\n <div class=\"complex_instruction_box\">\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction:\r\n </p>\r\n <input autocomplete=\"off\"\r\n class=\"instruction_field_clr mdl-textfield__input new_rx_popup_tab_input \" type=\"text\"\r\n id=\"Instruction\" [(ngModel)]=\"commonServices.Instructiontiltle\"\r\n placeholder=\"Enter Complex Instruction\" />\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction Description:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxLength=\"500\"\r\n [(ngModel)]=\"tempInstructionDescription\" placeholder=\"Enter Complex Instruction Description\"\r\n class=\"instruction_field_clr w-100 new_rx_popup_tab_textarea\"></textarea>\r\n <div class=\"RX_ADD_dropdown_btn_1\">\r\n <button (click)=\"clearInstruction()\" class=\"rx-instruction-btn\">Cancel</button>\r\n <button (click)=\"saveInstruction()\" class=\"rx-instruction-btn\">Save</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Route:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedRoute:\"\r\n placeholder=\"Select Route\" [(ngModel)]=\"commonServices.routeSearchValue\" maxlength=\"50\"\r\n (click)=\"routeDropdown()\" (keypress)=\"alphaRestriction($event)\" />\r\n <div #RouteDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectRouteDropdown === true }\">\r\n <div style=\"padding: 10px; position: relative\">\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_route__input\" type=\"text\"\r\n placeholder=\"Search...\" [value]=\"routeDataFilter ? routeDataFilter : ''\"\r\n (keyup)=\"routeFilter($event)\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search rx-search-icon\">search</i>\r\n </div>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length != 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li *ngFor=\"\r\n let route of filterRouteItems(routeData, routeDataFilter)\r\n \" (click)=\"selectRoutesearcValue(route)\" [class]=\"{\r\n heighlight:\r\n route['routeName'] == commonServices.routeSearchValue\r\n }\">\r\n {{ route[\"routeName\"] }}\r\n </li>\r\n </ul>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length == 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li>no data</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Pro Re Nata Prescription:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.rxPRN\"\r\n (ngModelChange)=\"PRNChange(commonServices.rxPRN)\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Pro\r\n Re Nata\r\n Prescription</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Prescribe As:</p>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx_radio_overall\">\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"PrescribeAs\" [value]=\"'Private'\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'private'\" (click)=\"private()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Private</span></label>\r\n\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'PBS'\"\r\n [disabled]=\"prescribeAS_PBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'pbs'\" (click)=\"PBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_PBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">PBS</span>\r\n </label>\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'RPBS'\"\r\n [disabled]=\"prescribeAS_RPBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'rpbs'\" (click)=\"RPBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_RPBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">RPBS</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pbsType!=undefined && commonServices.selectedFormulation.pbsType!=null &&\r\n commonServices.selectedFormulation.pbsType.toLowerCase() === 'non pbs' &&\r\n commonServices.patientDetails.dvaNumber != null &&\r\n commonServices.patientDetails.dvaNumber != '' && isNonPbsFlag == false && !isPrescribeAsPrivateOnly\r\n \">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox\" class=\"check_box\"\r\n [checked]=\"commonServices.unlistedRA\" (click)=\"unlistedRA()\"\r\n [(ngModel)]=\"commonServices.unlistedRA\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" />\r\n <span class=\"mdl-checkbox__label check_box_label\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">\r\n Unlisted RA\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n M_CTG_box_hide: !(\r\n commonServices.patientDetails &&\r\n commonServices.patientDetails.patientCtgFlag == 0 &&\r\n commonServices.patientDetails.patientCtgCoPayment == 0 &&\r\n commonServices.PrescribeAS.toLowerCase() == 'pbs'\r\n )\r\n }\">\r\n <!-- <p class=\"new_rx_popup_label\">CTG/PBS Co Payment:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.CTGCoPayment\"\r\n [checked]=\"commonServices.CTGCoPayment == true\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">CTG/PBS\r\n Co Payment</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Script Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n id=\"RxScriptDate\" placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.scriptDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Start Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxStartDate\"\r\n placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.startDate\" (ngModelChange)=\"commonServices.rxEndDateCalculater()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">End Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxEndDate\"\r\n placeholder=\"../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.endDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Days Between Repeats:</p>\r\n <input autocomplete=\"off\" (paste)=\"$event.preventDefault()\" placeholder=\"Enter Days Between Repeats\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true||commonServices.isMedicineRestrict}\"\r\n class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"number\" id=\"Daybetweenrepeats\" [min]=\"0\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription||commonServices.isMedicineRestrict\"\r\n [(ngModel)]=\"commonServices.daysBtnRepeatsVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"dayschange()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <div>\r\n <p class=\"new_rx_popup_label\">Purpose:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedPurpose:\"\r\n placeholder=\"Select Purpose\" readOnly [(ngModel)]=\"commonServices.purposeSearchValue\"\r\n (click)=\"purposeDropdown()\" />\r\n <div #PurposeDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_purpose_box h-160p\"\r\n [class]=\"{ M_list_box_show: selectPurposeDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectPurposeValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let purpose of purposeData\" (click)=\"selectPurposeValue(purpose)\" [class]=\"{\r\n heighlight:\r\n purpose['lookupText'] ==\r\n commonServices.purposeSearchValue\r\n }\">\r\n {{ purpose[\"lookupText\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.isBrandName != true }\">\r\n <!-- <p class=\"new_rx_popup_label\">Substitution:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true || commonServices.isBrandName == false\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.BrandSubstitutesNotAllow\"\r\n (change)=\"this.brandSubstitutesNotAllow(commonServices.BrandSubstitutesNotAllow)\" [checked]=\"\r\n commonServices.BrandSubstitutesNotAllow\r\n ? commonServices.BrandSubstitutesNotAllow\r\n : false\r\n \" /><span class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Brand\r\n Substitution\r\n Not Permitted</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide_brand: commonServices.lemi == true }\" id=\"brandnametooltip\"\r\n (mouseleave)=\"hideToolTip()\" (mouseenter)=\"showtooltip(commonServices.lemi,brandtooltip)\">\r\n <!-- <p class=\"new_rx_popup_label\">Brand Name:</p> -->\r\n <ng-template #brandtooltip><span class=\"include_brand_tooltip\">The selected product is LEMI\r\n identified. Therefore it may be\r\n prescribed by the brand name only.</span></ng-template>\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\" [class]=\"{\r\n M_CTG_box_hide_brand_name: commonServices.lemi == true || commonServices.isFetching == true || commonServices.editPrescribedPrescription === true\r\n }\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [checked]=\"commonServices.isBrandName\"\r\n [(ngModel)]=\"commonServices.isBrandName\"\r\n (change)=\"this.isChangeBrandName(commonServices.isBrandName)\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">Include Brand\r\n Name</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Regulation 24:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.regulation24\"\r\n [checked]=\"commonServices.regulation24\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Regulation\r\n 24</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">DO NOT send to MySL:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.mySLConsent\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">DO\r\n NOT send to MySL</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n <!-- Pharmacy: -->\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.sendToPharmacy\" (change)=\"sendToPharmacyChange()\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Send\r\n to Pharmacy</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\" readonly\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Value\"\r\n [(ngModel)]=\"commonServices.sendToPharmacyValue\" (click)=\"stpValueDropdown()\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.sendToPharmacy != true }\" />\r\n <div #stpDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_stp_box h-93p\"\r\n [class]=\"{ M_list_box_show: selectstpDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectStpValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let sendtopharmacy of sendtopharmacyData\" (click)=\"selectStpValue(sendtopharmacy)\">\r\n {{ sendtopharmacy.name }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Emergency Supply:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.emergencySupply\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Emergency\r\n Supply</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 2\" class=\"new_rx_popup_tab_2\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px; opacity: 1\">\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div style=\"width: 100%; padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\">RX</p>\r\n <p class=\"new_rx_popup_label_p\">\r\n <b [innerHTML]=\"commonServices.rxDisplayName\"></b>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\" style=\"margin: 0px\">Quantity: <span\r\n style=\"color: rgb(45, 45, 45); font-weight: 600\">{{ commonServices.quantityVal }}\r\n </span> Repeats: <span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default Quantity:{{getDefaultQuantity()}}\r\n Default Repeats:\r\n {{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?commonServices.selectedFormulation.repeats:\"\"\r\n }}\r\n </p>\r\n <p *ngIf=\"commonServices.doseSearchValue != '' ||commonServices.freqSearchValue != ''\"\r\n class=\"new_rx_popup_label_p\">\r\n <span>{{ commonServices.doseSearchValue }} </span><span>{{ commonServices.freqSearchValue\r\n }}</span>\r\n </p>\r\n <p *ngIf=\"commonServices.foodSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.foodSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n {{InstructionDescription !=\"\" && InstructionDescription!=null?\r\n InstructionDescription:commonServices.InstructionSearchValue!=\"\" &&\r\n commonServices.InstructionSearchValue!=null?commonServices.InstructionSearchValue:\"\"}}\r\n </p>\r\n <p *ngIf=\"commonServices.routeSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.routeSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n P.R.N :\r\n <i *ngIf=\"commonServices.rxPRN\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.rxPRN\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Days Between Repeats:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">{{commonServices.daysBtnRepeatsVal}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Unusual Dose:\r\n <i *ngIf=\"commonServices.unUsualDoseFlag\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.unUsualDoseFlag\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Script Date:\r\n <span>{{this.commonServices.scriptDate|date:'dd-MM-yyyy'}}</span>\r\n\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Start Date:\r\n <span>{{this.commonServices.startDate|date:'dd-MM-yyyy'}}</span>, End Date:\r\n {{this.commonServices.endDate|date:'dd-MM-yyyy'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Prescribe As:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">{{commonServices.PrescribeAS}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Purpose:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">{{commonServices.purposeSearchValue}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Include Brand Name:\r\n <i *ngIf=\"commonServices.isBrandName\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.isBrandName\">-</span>,\r\n Brand Substitution Not Permitted:\r\n <i *ngIf=\"commonServices.BrandSubstitutesNotAllow\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.BrandSubstitutesNotAllow\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Regulation 24:\r\n <i *ngIf=\"commonServices.regulation24\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.regulation24\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n CTG/PBS Co Payment:\r\n <i *ngIf=\"commonServices.CTGCoPayment\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.CTGCoPayment\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n DO NOT send to MySL:\r\n <i *ngIf=\"commonServices.mySLConsent\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.mySLConsent\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Send to Pharmacy:\r\n <i *ngIf=\"commonServices.sendToPharmacy\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.sendToPharmacy\">-</span>, Send to Pharmacy Value:\r\n {{!commonServices.IsNullOrEmpty(commonServices.sendToPharmacyValue)?commonServices.sendToPharmacyValue:'-'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Emergency Supply:\r\n <i *ngIf=\"commonServices.emergencySupply\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.emergencySupply\">-</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Note To Pharmacy:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.doctorNotes\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Annotation:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.annotation\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Reason For Prescription:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.prescriptionReason\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\" style=\"text-transform: capitalize;\">\r\n {{this.getStateAuthorityLabel(commonServices.patientDetails.state)}}\r\n </p>\r\n\r\n <p style=\"margin: 0px;margin-top: -8px;margin-bottom: 10px;\">\r\n <span class=\"state-txt-color new_rx_popup_label_p\">(Relevant to\r\n {{ commonServices.patientDetails.state }})</span>\r\n </p>\r\n\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.StateAuthorityNumber\" maxlength=\"25\"\r\n (keypress)=\"authorityNoValidation($event)\" (ngModelChange)=\"authorityNoChange($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n 'new_rx_no_authority':!showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',commonServices.PrescribeAS,commonServices.rxAuthority,commonServices.unlistedRA)\r\n }\">\r\n <div *ngIf=\"\r\n showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \">\r\n <div style=\"padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--8-col mdl-cell--6-col-tablet mdl-cell--4-col-phone\">\r\n <span class=\"new_rx_popup_label_New\">HOTLINE: <span\r\n class=\"new_rx_popup_label_span\">{{commonServices.PrescribeAS ==\r\n 'RPBS'?'1800552580':'1800888333'}}</span></span>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--4-col mdl-cell--2-col-tablet mdl-cell--4-col-phone\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Name:<span>{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Number:<span>{{\r\n commonServices.physicianDetails.prescriberNumber\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Patient Medicare Number:<span>{{\r\n commonServices.patientDetails.medicareNumber\r\n ? commonServices.patientDetails.medicareNumber\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Authority Form No:\r\n <span>{{\r\n commonServices.authorityFormNo\r\n ? commonServices.authorityFormNo\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Authority Item:</p>\r\n <p class=\"authority_item_text\" [innerHTML]=\"commonServices.rxDisplayName\"></p>\r\n\r\n <p class=\"new_rx_popup_label_p new_rx_popup_tab_smallBoxes\" style=\"margin: 0px\">\r\n Quantity:<span style=\"color: rgb(45, 45, 45); font-weight: 600\"> {{ commonServices.quantityVal\r\n }}</span> Repeats:<span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default\r\n Quantity:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.maxQtyUnits!=null?(commonServices.quantityWithUnitFlag?\"1\r\n x \":\"\")+commonServices.selectedFormulation.maxQtyUnits:\"\"}}\r\n Default\r\n Repeats:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?\r\n commonServices.selectedFormulation.repeats:\"\"}}\r\n </p>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listed Indication Authority:\r\n </p>\r\n <div class=\"w-100 new_rx_popup_tab_textarea\"\r\n style=\"min-height: 70px; max-height: 150px; overflow: auto\">\r\n <ul style=\"margin: 0px; padding-left: 15px;list-style: none;padding: 0px;\" *ngIf=\"\r\n this.isShowRestrictions == true &&\r\n commonServices.selectedFormulation.Restrictions !=\r\n null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li style=\"font-size: 12px;padding: 0px 10px;margin-bottom: 10px;\"\r\n class=\"new_rx_pop_aut_int cursor\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions;\r\n index as i\r\n \" [class]=\"{\r\n new_rx_pop_aut_ins_select:\r\n commonServices.pbsListInstructionsId == i\r\n }\">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length < 80\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span></span>\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length > 80\"><b (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">{{\r\n restriction.restrictionType }}</b> -\r\n <span (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \" [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 80)\r\n \"></span>...\r\n <span>\r\n </span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\"\r\n style=\"padding: 0px\">\r\n <!-- <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">PBS Notes:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsNotes\"></textarea>\r\n </div> -->\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Indication For This Authority:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsListInstructions\" (ngModelChange)=\"onInputChange($event)\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-100\"></textarea>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n {{\r\n getAuthorityLabel(commonServices.patientDetails.state)\r\n }}\r\n </p>\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.approvalNo\" (ngModelChange)=\"onInputchangeApprovalNo($event)\"\r\n (keypress)=\"authorityNoValidation($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"\r\n !showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \" style=\"width: 100%;\">\r\n <div style=\"text-align: right\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n <div class=\"No_Authority_box\">\r\n <p>No Authority Required</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rx_footer\">\r\n <div class=\"rx_footer_brand\">\r\n <p class=\"ml-10\"><span>Hola Consult | 1.0 <span *ngIf=\"commonServices.sandbox\">| <span\r\n class=\"rx_staging\">This is a sandbox environment</span></span></span></p>\r\n <p class=\"mt-15p\">\r\n <span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v\r\n 1.1.3 |\r\n <a href=\"https://hola.health/consult-terms\" target=\"_blank\">Terms</a> |\r\n <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> |\r\n <a href=\"mailto:support@hola.health\" target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["@charset \"UTF-8\";.loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #020202;width:30px;height:30px;animation:spin 1s linear infinite;margin-left:18px;margin-top:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m-v4{margin-left:4vh}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.drp-icon{color:#fff;font-size:19px;margin-left:5px}.select-action-btn{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}.select-action-ul{width:80%}.new_rx_popup_mims .React__Overlay_Open_Popup{position:fixed;inset:0;background-color:#00000080!important}.new_rx_popup_mims .new_rx_mims_Overlay_Open_Popup{z-index:9999999!important}.new_rx_popup_mims .ReactModal__Overlay{overflow-y:auto!important}.new_rx_popup_mims .ReactModal_popup{width:100%;padding:0;margin:20px 0 0}.new_rx_popup_mims .ReactModal__Content{margin:auto}.edit-disable-data{pointer-events:none;opacity:.6}.new_rx_popup_btns{position:relative;display:flex;justify-content:flex-end;align-items:center}@media only screen and (max-width: 1023px){.rx_ipad_header_box_1{width:calc(35% - 16px)}.rx_ipad_header_box_2{width:calc(65% - 16px)}.rx_ipad_header_box_3{width:calc(100% - 16px)}.new_mobile_rx_popup_header_text{display:block;text-align:center}}@media screen and (max-width: 767px){.new_rx_popup_btns,.new_mobile_rx_popup_header_text{display:block;text-align:center}.new_mobile_rx_top_bottom_0{margin-top:0;margin-bottom:0}.new_mobile_rx_btn{margin-bottom:5px}}.favourites-toggle-link{color:#0077b6!important;text-decoration:underline;cursor:pointer!important;font-size:14px;font-weight:400;line-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;outline:none!important;-webkit-tap-highlight-color:transparent}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: SplashscreenComponent, selector: "app-splashscreen", inputs: ["height"] }, { kind: "pipe", type: i3.DatePipe, name: "date" }] });
|
|
6350
|
+
RxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: RxComponent, selector: "app-rx", outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, host: { listeners: { "click": "onclick($event)" } }, viewQueries: [{ propertyName: "wrapperRef", first: true, predicate: ["MedicineDropdown"], descendants: true }, { propertyName: "prescribeDropdownRef", first: true, predicate: ["PrescribeDropdown"], descendants: true }, { propertyName: "doseRef", first: true, predicate: ["DoseDropdown"], descendants: true }, { propertyName: "freqRef", first: true, predicate: ["FreqDropdown"], descendants: true }, { propertyName: "stpRef", first: true, predicate: ["stpDropdown"], descendants: true }, { propertyName: "foodRef", first: true, predicate: ["FoodDropdown"], descendants: true }, { propertyName: "InstructionRef", first: true, predicate: ["InstructionDropdown"], descendants: true }, { propertyName: "routeRef", first: true, predicate: ["RouteDropdown"], descendants: true }, { propertyName: "purposeRef", first: true, predicate: ["PurposeDropdown"], descendants: true }, { propertyName: "selectActionDropdownRef", first: true, predicate: ["selectActionDropdown"], descendants: true }, { propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }, { propertyName: "myTemplate", first: true, predicate: ["tooltipdemo"], descendants: true }, { propertyName: "tooltip", first: true, predicate: ["test"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #rxwidgets> </ng-template>\r\n<div class=\"new_rx_popup_mims\">\r\n <div\r\n class=\"ReactModal__Overlay ReactModal__Overlay--after-open React__Overlay_Open_Popup new_rx_mims_Overlay_Open_Popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open React__Content new_rx_mims_React__Content\">\r\n <div class=\"popup new_rx_mims_ReactModal_popup\">\r\n <div>\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-rx-spin'\"> </app-splashscreen>\r\n <div class=\"page-content\" *ngIf=\"!PopupScreenLoader\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col-tablet mdl-cell--3-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_1\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--2-col':'mdl-cell--3-col'\"\r\n style=\"align-self: center\">\r\n <h3 class=\"new_rx_popup_header_box_text\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-hola-health-logo-1.png\" alt=\"hola_health\"\r\n style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-header-logo.png\" alt=\"\" />\r\n {{commonServices.editPrescription === true ? 'Edit Script' : 'New Script'}}\r\n </h3>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_desktop_title new_rx_mobile_fullwidth\"\r\n style=\"align-self: center;\">\r\n <p class=\"new_rx_popup_header_box_text\" style=\"justify-content: center;\">\r\n <span style=\"font-weight: 600;\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span style=\"width: 100px;\">{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col-tablet mdl-cell--4-col-phone new_rx_popup_header_box_col new_rx_mobile_fullwidth rx_ipad_header_box_2 new_mobile_rx_top_bottom_0\"\r\n style=\"position: relative\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--6-col':'mdl-cell--5-col'\">\r\n <div class=\"new_rx_popup_btns\">\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Close\r\n </button>\r\n <div style=\"display: inline-block;position: relative\"\r\n *ngIf=\"commonServices.rxid != null && commonServices.rxid !=''\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton select-action-btn new_mobile_rx_btn\"\r\n style=\"position: relative;width: 140px;display: flex;flex-direction: row;align-items: center;justify-content: center;padding: 10px !important\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"selectActionDropdownopen()\">\r\n <ng-container *ngIf=\"selectionbtnLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!selectionbtnLoader\">\r\n Select Action <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #selectActionDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box select-action-ul\"\r\n *ngIf=\"selectActionBtnDropdown == true\"\r\n [class]=\"{ M_list_box_show: selectActionBtnDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li\r\n (click)=\"commonServices.rxDetails.status.toLowerCase() == 'draft'?cancelDraft():cancelPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,4)?'':'edit-disable-data'\">\r\n Cancel</li>\r\n <li (click)=\"printPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,1)?'':'edit-disable-data'\">\r\n Print</li>\r\n <li (click)=\"reissuePrescribeMed(1)\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,3)?'':'edit-disable-data'\">\r\n Re-Issue</li>\r\n <li (click)=\"ceasePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2)?'':'edit-disable-data'\">\r\n Cease</li>\r\n <li (click)=\"reissuePrescribeMed(2)\"\r\n [class]=\"commonServices.enableSendPaperScriptInMail && !checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2) ?'':'edit-disable-data'\">\r\n Resend</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <button *ngIf=\"page != 1\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n (click)=\"back()\" [disabled]=\"this.commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Back\r\n </button>\r\n <button *ngIf=\"page == 1\" (click)=\"pageNumberOneToNext()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Next\r\n </button>\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored new_mobile_rx_btn\"\r\n [class]=\"abortdisable?'nextButton':'abortbutton'\" *ngIf=\"abortBtnFlag\" [disabled]=\"abortdisable\"\r\n (click)=\"prescripeAbort()\"><span *ngIf=\"abortdisable\" class=\"rx_loader\">\r\n <p class=\"rx_loader_button m-v4 rx_btn_spin\">\r\n </p>\r\n </span><span *ngIf=\"!abortdisable\">Abort</span></button>\r\n <div style=\"display: inline-block\" *ngIf=\"page == 2\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n style=\"position: relative;width: 135px;display: flex;flex-direction: row;align-items: center;justify-content: center\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"includeRtpmModal()\">\r\n <ng-container *ngIf=\"commonServices.prescribeMedLoader \">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Prescribe <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #PrescribeDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box\"\r\n *ngIf=\"selectPBTNDropdown == true\" [class]=\"{ M_list_box_show: selectPBTNDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(1)}\"\r\n (click)=\"MprescribeMed(1)\">E-Prescribe (Draft)</li>\r\n <li [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(1)\" *ngIf=\"!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && commonServices.enableSendEScriptInMail\">E-Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(2)\">E-Prescribe and Print</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"MprescribeMed(2)\">Prescribe (Draft)</li>\r\n <li *ngIf=\"commonServices.enableSendPaperScriptInMail\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"PaperprescripeSend(1)\"> Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase() == 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft') || (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"prescripePrint()\">\r\n Prescribe and Print</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_3 new_rx_mobile_title\"\r\n style=\"align-self: center\">\r\n <p class=\"new_rx_popup_header_box_text new_mobile_rx_popup_header_text\">\r\n <span style=\"font-weight: 600\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span>{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 1\" class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div #MedicineDropdown style=\"position: relative\">\r\n <div style=\"position: relative\">\r\n <input autocomplete=\"off\" type=\"text\" name=\"medicine search\" placeholder=\"Search Medicines\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_1_input\"\r\n value=\"{{ mediSearchValue }}\" (input)=\"searchHandler($event)\"\r\n (click)=\"MedicineDropdownList()\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search\">search</i>\r\n <!-- <mat-icon class=\"new_rx_popup_tab_1_input_search\"></mat-icon> -->\r\n </div>\r\n <div class=\"new_rx_popup_tab_1_list_box\" [class]=\"{\r\n M_list_box_show: selectedMedicineDropdown === true\r\n }\">\r\n <div *ngIf=\"searchMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!searchMedicineLoader\" style=\"margin-bottom: 10px;\">\r\n <ul class=\"new_rx_popup_tab_1_list\">\r\n <li *ngFor=\"let medicineList of searchedMedicineList\" [class]=\"getcurrentid(medicineList)\"\r\n (click)=\"\r\n getProductListByName(\r\n medicineList['prodHiddenValue'],\r\n medicineList['prodDisplayValue'],\r\n medicineList['searchBase']\r\n )\r\n \" [innerHTML]=\"medicineList['prodDisplayValue']\"></li>\r\n <li *ngIf=\"searchedMedicineList.length == 0\">No Data</li>\r\n </ul>\r\n </div>\r\n <div *ngIf=\"PrimarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxOnlyPBS\"\r\n (change)=\"onCheckboxChange(1)\" value=\"PBS/RPBS\" [disabled]=\"this.isNonPbsFlag\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">PBS/RPBS</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange(1)\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div>\r\n <!-- <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange()\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div> -->\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--6-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" style=\"margin-left: 8px;\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <span class=\"favourites-toggle-link\" (click)=\"$event.stopPropagation(); showFavourties()\">\r\n {{ showFavouriteMed ? 'Hide favourites' : 'Show favourites' }}\r\n </span>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--7-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"new_rx_popup_table_box\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"padding: 5px 10px; margin: 0px\">\r\n Available Formulations:\r\n </p>\r\n <div *ngIf=\"!showFavouriteMed\">\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.selectedMedicineList == null ||\r\n commonServices.selectedMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Data</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.selectedMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForMed(med)\"\r\n (click)=\"selectFormulation(med, i)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.pbsType!=undefined && med.pbsType!=null && med.pbsType.toLowerCase() == \"non pbs\"\r\n ? med.numberOfPack + \"x\" + med.unitPerPack\r\n : med.maxQtyUnits\r\n }}</span><span><b>Rpts:</b> {{ med.repeats }}</span><span\r\n *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.Restrictions!=undefined &&\r\n med.Restrictions != null && med.Restrictions != \"\"\r\n ? med.pbsType +\r\n \" (\" +\r\n getRestrictions(med.Restrictions) +\r\n \") \"\r\n : (med.pbsType!=undefined&&med.pbsType!=null?med.pbsType:\"\")\r\n }} </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showFavouriteMed\">\r\n\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.favouriteMedicineList == null ||\r\n commonServices.favouriteMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Favourites</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.favouriteMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForFavouriteMed(med)\"\r\n (click)=\"favouriteMedicineLoading(med)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.quantity}}\r\n </span><span><b>Rpts:</b> {{ med.repeats }}</span>\r\n <span *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.restriction}}\r\n </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"favMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!favMedicineLoader\"\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid new_rx_popup_tab_1_box\"\r\n *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"margin-bottom: 5px\"\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.productName!=undefined && commonServices.selectedFormulation.productName!=null? commonServices.selectedFormulation.productName: ''\">\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col\">\r\n <p class=\"new_rx_popup_label\">\r\n Generic Name:<span\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.genericName!=undefined && commonServices.selectedFormulation.genericName!=null? commonServices.selectedFormulation.genericName : ''\"></span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\" *ngIf=\"commonServices.isBrandName\">\r\n Brand Name:<span [innerHTML]=\"\r\n getBrandName(commonServices.selectedFormulation)\r\n \">\r\n </span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n Schedule:<span>{{\r\n commonServices.selectedFormulation != null &&\r\n commonServices.selectedFormulation.poisonClassification !=\r\n undefined && commonServices.selectedFormulation.poisonClassification!=null &&\r\n commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=undefined && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=null && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses.length>0\r\n ? commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses[0]\r\n : \"No Scheduled Information Available\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listing:<span>{{commonServices.selectedFormulation.pbsType!=undefined &&\r\n commonServices.selectedFormulation.pbsType!=null? commonServices.selectedFormulation.pbsType :\r\n '' }}\r\n {{\r\n commonServices.selectedFormulation.pbsCode!=undefined &&\r\n commonServices.selectedFormulation.pbsCode!=null\r\n ? \" (\" +\r\n commonServices.selectedFormulation.pbsCode +\r\n \")\"\r\n : \"\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n <span style=\"margin:0px ;\">\r\n Max Quantity =\r\n {{getMaxQuantity()}}\r\n and Repeats =\r\n {{commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats\r\n :\"\"}}</span>\r\n </p>\r\n\r\n <p class=\"new_rx_popup_label\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pregnancyCategory!=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory != null && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=undefined && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=null\r\n \">\r\n Pregnancy Category:<span>{{\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode\r\n }}\r\n </span>\r\n <span *ngIf=\"commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote !=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != null &&\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != ''\r\n \">\r\n AdditionalNote:\r\n <span *ngFor=\"\r\n let item of commonServices.selectedFormulation\r\n .pregnancyCategory.additionalNote\r\n \" [innerHTML]=\"item\">\r\n </span>\r\n </span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" *ngIf=\"\r\n this.isShowRestrictions == true && commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <p class=\"new_rx_popup_label\">Restrictions:</p>\r\n <ol style=\"margin: 0px; padding-left: 15px\" *ngIf=\"commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li class=\"new_rx_pop_aut_int\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions\r\n \">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length < 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span>\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length > 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 60)\r\n \"></span>...\r\n <span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ol>\r\n </div>\r\n </div>\r\n\r\n <div class=\"new_rx_popup_tab_3_small_box\" [style.display]=\"isCurrentMedicineInFavourites() ? 'inline-flex' : null\"\r\n [style.width]=\"isCurrentMedicineInFavourites() ? 'max-content' : null\" *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div style=\"display: inline-block;margin-right: 10px;\" class=\"new_rx_popup_header_box_col\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <button *ngIf=\"commonServices.selectedFormulation != null\" (click)=\"addToFavourites()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored\"\r\n [class.nextButton]=\"!isCurrentMedicineInFavourites()\"\r\n [class.rmfavbutton]=\"isCurrentMedicineInFavourites()\">\r\n <span *ngIf=\"isCurrentMedicineInFavourites(); else addText\">\r\n Remove from favourites\r\n </span>\r\n <ng-template #addText>+ Add to favourites</ng-template>\r\n </button>\r\n </div>\r\n <div style=\"display: inline-block; margin-right: 10px\">\r\n <span class=\"new_rx_popup_label\">Quantity: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" name=\"qty\"\r\n placeholder=\"\" class=\"new_rx_popup_tab_input\" step=\"1\" [min]=\"0\"\r\n [(ngModel)]=\"commonServices.quantityVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"quantityChange()\" (paste)=\"$event.preventDefault()\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" />\r\n </div>\r\n <div style=\"display: inline-block\">\r\n <span class=\"new_rx_popup_label\">Repeats: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true || commonServices.isMedicineRestrict}\"\r\n name=\"rpts\" placeholder=\"\" [min]=\"0\" (input)=\"repeatsChange()\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.repeatsVal\" (paste)=\"$event.preventDefault()\"\r\n (keypress)=\"checkMobile($event)\"\r\n [disabled]=\"commonServices.editPrescribedPrescription || commonServices.isMedicineRestrict\" />\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\"></div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n Dose:\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n id=\"checkbox1\" class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.unUsualDoseFlag\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Unusual\r\n Dose</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Dose\"\r\n [(ngModel)]=\"commonServices.doseSearchValue\" (click)=\"doseDropdown()\" />\r\n <div #DoseDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectDoseDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectDoseValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let dose of doseData\" (click)=\"selectDoseValue(dose)\" [class]=\"{\r\n heighlight: dose['text'] == commonServices.doseSearchValue\r\n }\">\r\n {{ dose[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Frequency:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Frequency\" readOnly [(ngModel)]=\"commonServices.freqSearchValue\"\r\n (click)=\"freqDropdown()\" />\r\n <div #FreqDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFreqDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFrequencyValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let frequency of frequencyData\" (click)=\"selectFrequencyValue(frequency)\" [class]=\"{\r\n heighlight:\r\n frequency['text'] == commonServices.freqSearchValue\r\n }\">\r\n {{ frequency[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Food:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Food\" readOnly [(ngModel)]=\"commonServices.foodSearchValue\"\r\n (click)=\"foodDropdown()\" />\r\n <div #FoodDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFoodDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFoodValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let food of foodData\" (click)=\"selectFoodValue(food)\" [class]=\"{\r\n heighlight: food['text'] == commonServices.foodSearchValue\r\n }\">\r\n {{ food[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Instruction:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"Instruction\"\r\n placeholder=\"Select Instruction\" [(ngModel)]=\"commonServices.InstructionSearchValue\"\r\n (click)=\"instructionDropdown()\" (change)=\"instructionOnChange()\"\r\n (keypress)=\"alphaRestriction($event)\" />\r\n <div #InstructionDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{M_list_box_show: selectInstructionDropdown === true}\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <ng-container *ngIf=\"selectInstructionDropdownList\">\r\n <li (click)=\"ChangeInstruction(null)\" class=\"p-12\"> </li>\r\n <li\r\n [class]=\"item.id == commonServices.complexId && item.text == commonServices.InstructionSearchValue ? 'heighlight' : ''\"\r\n *ngFor=\"let item of instructionData; index as i\" (click)=\"ChangeInstruction(item)\">\r\n {{ item.text }}\r\n <span *ngIf=\"item.userid !== 0\" class=\"span_icon\" style=\"float: right\">\r\n <i class=\"material-icons\" style=\"padding: 5px\"\r\n (click)=\"editInstruction(item.id, item)\">create</i><i class=\"material-icons\"\r\n style=\"margin-left: 10px; padding: 5px\"\r\n (click)=\"deleteInstruction(item.id)\">clear</i></span>\r\n </li>\r\n <li class=\"RX_ADD_dropdown_btn\" (click)=\"addNewInstruction()\">\r\n + Add Complex Instructions\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectInstructionDropdownList == false\">\r\n <div class=\"complex_instruction_box\">\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction:\r\n </p>\r\n <input autocomplete=\"off\"\r\n class=\"instruction_field_clr mdl-textfield__input new_rx_popup_tab_input \" type=\"text\"\r\n id=\"Instruction\" [(ngModel)]=\"commonServices.Instructiontiltle\"\r\n placeholder=\"Enter Complex Instruction\" />\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction Description:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxLength=\"500\"\r\n [(ngModel)]=\"tempInstructionDescription\" placeholder=\"Enter Complex Instruction Description\"\r\n class=\"instruction_field_clr w-100 new_rx_popup_tab_textarea\"></textarea>\r\n <div class=\"RX_ADD_dropdown_btn_1\">\r\n <button (click)=\"clearInstruction()\" class=\"rx-instruction-btn\">Cancel</button>\r\n <button (click)=\"saveInstruction()\" class=\"rx-instruction-btn\">Save</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Route:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedRoute:\"\r\n placeholder=\"Select Route\" [(ngModel)]=\"commonServices.routeSearchValue\" maxlength=\"50\"\r\n (click)=\"routeDropdown()\" (keypress)=\"alphaRestriction($event)\" />\r\n <div #RouteDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectRouteDropdown === true }\">\r\n <div style=\"padding: 10px; position: relative\">\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_route__input\" type=\"text\"\r\n placeholder=\"Search...\" [value]=\"routeDataFilter ? routeDataFilter : ''\"\r\n (keyup)=\"routeFilter($event)\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search rx-search-icon\">search</i>\r\n </div>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length != 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li *ngFor=\"\r\n let route of filterRouteItems(routeData, routeDataFilter)\r\n \" (click)=\"selectRoutesearcValue(route)\" [class]=\"{\r\n heighlight:\r\n route['routeName'] == commonServices.routeSearchValue\r\n }\">\r\n {{ route[\"routeName\"] }}\r\n </li>\r\n </ul>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length == 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li>no data</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Pro Re Nata Prescription:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.rxPRN\"\r\n (ngModelChange)=\"PRNChange(commonServices.rxPRN)\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Pro\r\n Re Nata\r\n Prescription</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Prescribe As:</p>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx_radio_overall\">\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"PrescribeAs\" [value]=\"'Private'\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'private'\" (click)=\"private()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Private</span></label>\r\n\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'PBS'\"\r\n [disabled]=\"prescribeAS_PBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'pbs'\" (click)=\"PBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_PBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">PBS</span>\r\n </label>\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'RPBS'\"\r\n [disabled]=\"prescribeAS_RPBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'rpbs'\" (click)=\"RPBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_RPBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">RPBS</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pbsType!=undefined && commonServices.selectedFormulation.pbsType!=null &&\r\n commonServices.selectedFormulation.pbsType.toLowerCase() === 'non pbs' &&\r\n commonServices.patientDetails.dvaNumber != null &&\r\n commonServices.patientDetails.dvaNumber != '' && isNonPbsFlag == false && !isPrescribeAsPrivateOnly\r\n \">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox\" class=\"check_box\"\r\n [checked]=\"commonServices.unlistedRA\" (click)=\"unlistedRA()\"\r\n [(ngModel)]=\"commonServices.unlistedRA\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" />\r\n <span class=\"mdl-checkbox__label check_box_label\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">\r\n Unlisted RA\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n M_CTG_box_hide: !(\r\n commonServices.patientDetails &&\r\n commonServices.patientDetails.patientCtgFlag == 0 &&\r\n commonServices.patientDetails.patientCtgCoPayment == 0 &&\r\n commonServices.PrescribeAS.toLowerCase() == 'pbs'\r\n )\r\n }\">\r\n <!-- <p class=\"new_rx_popup_label\">CTG/PBS Co Payment:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.CTGCoPayment\"\r\n [checked]=\"commonServices.CTGCoPayment == true\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">CTG/PBS\r\n Co Payment</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Script Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n id=\"RxScriptDate\" placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.scriptDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Start Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxStartDate\"\r\n placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.startDate\" (ngModelChange)=\"commonServices.rxEndDateCalculater()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">End Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxEndDate\"\r\n placeholder=\"../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.endDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Days Between Repeats:</p>\r\n <input autocomplete=\"off\" (paste)=\"$event.preventDefault()\" placeholder=\"Enter Days Between Repeats\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true||commonServices.isMedicineRestrict}\"\r\n class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"number\" id=\"Daybetweenrepeats\" [min]=\"0\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription||commonServices.isMedicineRestrict\"\r\n [(ngModel)]=\"commonServices.daysBtnRepeatsVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"dayschange()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <div>\r\n <p class=\"new_rx_popup_label\">Purpose:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedPurpose:\"\r\n placeholder=\"Select Purpose\" readOnly [(ngModel)]=\"commonServices.purposeSearchValue\"\r\n (click)=\"purposeDropdown()\" />\r\n <div #PurposeDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_purpose_box h-160p\"\r\n [class]=\"{ M_list_box_show: selectPurposeDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectPurposeValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let purpose of purposeData\" (click)=\"selectPurposeValue(purpose)\" [class]=\"{\r\n heighlight:\r\n purpose['lookupText'] ==\r\n commonServices.purposeSearchValue\r\n }\">\r\n {{ purpose[\"lookupText\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.isBrandName != true }\">\r\n <!-- <p class=\"new_rx_popup_label\">Substitution:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true || commonServices.isBrandName == false\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.BrandSubstitutesNotAllow\"\r\n (change)=\"this.brandSubstitutesNotAllow(commonServices.BrandSubstitutesNotAllow)\" [checked]=\"\r\n commonServices.BrandSubstitutesNotAllow\r\n ? commonServices.BrandSubstitutesNotAllow\r\n : false\r\n \" /><span class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Brand\r\n Substitution\r\n Not Permitted</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide_brand: commonServices.lemi == true }\" id=\"brandnametooltip\"\r\n (mouseleave)=\"hideToolTip()\" (mouseenter)=\"showtooltip(commonServices.lemi,brandtooltip)\">\r\n <!-- <p class=\"new_rx_popup_label\">Brand Name:</p> -->\r\n <ng-template #brandtooltip><span class=\"include_brand_tooltip\">The selected product is LEMI\r\n identified. Therefore it may be\r\n prescribed by the brand name only.</span></ng-template>\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\" [class]=\"{\r\n M_CTG_box_hide_brand_name: commonServices.lemi == true || commonServices.isFetching == true || commonServices.editPrescribedPrescription === true\r\n }\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [checked]=\"commonServices.isBrandName\"\r\n [(ngModel)]=\"commonServices.isBrandName\"\r\n (change)=\"this.isChangeBrandName(commonServices.isBrandName)\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">Include Brand\r\n Name</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Regulation 24:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.regulation24\"\r\n [checked]=\"commonServices.regulation24\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Regulation\r\n 24</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">DO NOT send to MySL:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.mySLConsent\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">DO\r\n NOT send to MySL</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n <!-- Pharmacy: -->\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.sendToPharmacy\" (change)=\"sendToPharmacyChange()\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Send\r\n to Pharmacy</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\" readonly\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Value\"\r\n [(ngModel)]=\"commonServices.sendToPharmacyValue\" (click)=\"stpValueDropdown()\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.sendToPharmacy != true }\" />\r\n <div #stpDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_stp_box h-93p\"\r\n [class]=\"{ M_list_box_show: selectstpDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectStpValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let sendtopharmacy of sendtopharmacyData\" (click)=\"selectStpValue(sendtopharmacy)\">\r\n {{ sendtopharmacy.name }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Emergency Supply:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.emergencySupply\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Emergency\r\n Supply</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 2\" class=\"new_rx_popup_tab_2\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px; opacity: 1\">\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div style=\"width: 100%; padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\">RX</p>\r\n <p class=\"new_rx_popup_label_p\">\r\n <b [innerHTML]=\"commonServices.rxDisplayName\"></b>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\" style=\"margin: 0px\">Quantity: <span\r\n style=\"color: rgb(45, 45, 45); font-weight: 600\">{{ commonServices.quantityVal }}\r\n </span> Repeats: <span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default Quantity:{{getDefaultQuantity()}}\r\n Default Repeats:\r\n {{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?commonServices.selectedFormulation.repeats:\"\"\r\n }}\r\n </p>\r\n <p *ngIf=\"commonServices.doseSearchValue != '' ||commonServices.freqSearchValue != ''\"\r\n class=\"new_rx_popup_label_p\">\r\n <span>{{ commonServices.doseSearchValue }} </span><span>{{ commonServices.freqSearchValue\r\n }}</span>\r\n </p>\r\n <p *ngIf=\"commonServices.foodSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.foodSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n {{InstructionDescription !=\"\" && InstructionDescription!=null?\r\n InstructionDescription:commonServices.InstructionSearchValue!=\"\" &&\r\n commonServices.InstructionSearchValue!=null?commonServices.InstructionSearchValue:\"\"}}\r\n </p>\r\n <p *ngIf=\"commonServices.routeSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.routeSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n P.R.N :\r\n <i *ngIf=\"commonServices.rxPRN\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.rxPRN\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Days Between Repeats:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">{{commonServices.daysBtnRepeatsVal}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Unusual Dose:\r\n <i *ngIf=\"commonServices.unUsualDoseFlag\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.unUsualDoseFlag\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Script Date:\r\n <span>{{this.commonServices.scriptDate|date:'dd-MM-yyyy'}}</span>\r\n\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Start Date:\r\n <span>{{this.commonServices.startDate|date:'dd-MM-yyyy'}}</span>, End Date:\r\n {{this.commonServices.endDate|date:'dd-MM-yyyy'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Prescribe As:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">{{commonServices.PrescribeAS}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Purpose:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">{{commonServices.purposeSearchValue}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Include Brand Name:\r\n <i *ngIf=\"commonServices.isBrandName\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.isBrandName\">-</span>,\r\n Brand Substitution Not Permitted:\r\n <i *ngIf=\"commonServices.BrandSubstitutesNotAllow\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.BrandSubstitutesNotAllow\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Regulation 24:\r\n <i *ngIf=\"commonServices.regulation24\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.regulation24\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n CTG/PBS Co Payment:\r\n <i *ngIf=\"commonServices.CTGCoPayment\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.CTGCoPayment\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n DO NOT send to MySL:\r\n <i *ngIf=\"commonServices.mySLConsent\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.mySLConsent\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Send to Pharmacy:\r\n <i *ngIf=\"commonServices.sendToPharmacy\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.sendToPharmacy\">-</span>, Send to Pharmacy Value:\r\n {{!commonServices.IsNullOrEmpty(commonServices.sendToPharmacyValue)?commonServices.sendToPharmacyValue:'-'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Emergency Supply:\r\n <i *ngIf=\"commonServices.emergencySupply\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.emergencySupply\">-</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Note To Pharmacy:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.doctorNotes\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Annotation:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.annotation\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Reason For Prescription:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.prescriptionReason\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\" style=\"text-transform: capitalize;\">\r\n {{this.getStateAuthorityLabel(commonServices.patientDetails.state)}}\r\n </p>\r\n\r\n <p style=\"margin: 0px;margin-top: -8px;margin-bottom: 10px;\">\r\n <span class=\"state-txt-color new_rx_popup_label_p\">(Relevant to\r\n {{ commonServices.patientDetails.state }})</span>\r\n </p>\r\n\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.StateAuthorityNumber\" maxlength=\"25\"\r\n (keypress)=\"authorityNoValidation($event)\" (ngModelChange)=\"authorityNoChange($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n 'new_rx_no_authority':!showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',commonServices.PrescribeAS,commonServices.rxAuthority,commonServices.unlistedRA)\r\n }\">\r\n <div *ngIf=\"\r\n showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \">\r\n <div style=\"padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--8-col mdl-cell--6-col-tablet mdl-cell--4-col-phone\">\r\n <span class=\"new_rx_popup_label_New\">HOTLINE: <span\r\n class=\"new_rx_popup_label_span\">{{commonServices.PrescribeAS ==\r\n 'RPBS'?'1800552580':'1800888333'}}</span></span>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--4-col mdl-cell--2-col-tablet mdl-cell--4-col-phone\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Name:<span>{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Number:<span>{{\r\n commonServices.physicianDetails.prescriberNumber\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Patient Medicare Number:<span>{{\r\n commonServices.patientDetails.medicareNumber\r\n ? commonServices.patientDetails.medicareNumber\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Authority Form No:\r\n <span>{{\r\n commonServices.authorityFormNo\r\n ? commonServices.authorityFormNo\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Authority Item:</p>\r\n <p class=\"authority_item_text\" [innerHTML]=\"commonServices.rxDisplayName\"></p>\r\n\r\n <p class=\"new_rx_popup_label_p new_rx_popup_tab_smallBoxes\" style=\"margin: 0px\">\r\n Quantity:<span style=\"color: rgb(45, 45, 45); font-weight: 600\"> {{ commonServices.quantityVal\r\n }}</span> Repeats:<span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default\r\n Quantity:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.maxQtyUnits!=null?(commonServices.quantityWithUnitFlag?\"1\r\n x \":\"\")+commonServices.selectedFormulation.maxQtyUnits:\"\"}}\r\n Default\r\n Repeats:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?\r\n commonServices.selectedFormulation.repeats:\"\"}}\r\n </p>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listed Indication Authority:\r\n </p>\r\n <div class=\"w-100 new_rx_popup_tab_textarea\"\r\n style=\"min-height: 70px; max-height: 150px; overflow: auto\">\r\n <ul style=\"margin: 0px; padding-left: 15px;list-style: none;padding: 0px;\" *ngIf=\"\r\n this.isShowRestrictions == true &&\r\n commonServices.selectedFormulation.Restrictions !=\r\n null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li style=\"font-size: 12px;padding: 0px 10px;margin-bottom: 10px;\"\r\n class=\"new_rx_pop_aut_int cursor\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions;\r\n index as i\r\n \" [class]=\"{\r\n new_rx_pop_aut_ins_select:\r\n commonServices.pbsListInstructionsId == i\r\n }\">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length < 80\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span></span>\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length > 80\"><b (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">{{\r\n restriction.restrictionType }}</b> -\r\n <span (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \" [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 80)\r\n \"></span>...\r\n <span>\r\n </span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\"\r\n style=\"padding: 0px\">\r\n <!-- <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">PBS Notes:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsNotes\"></textarea>\r\n </div> -->\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Indication For This Authority:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsListInstructions\" (ngModelChange)=\"onInputChange($event)\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-100\"></textarea>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n {{\r\n getAuthorityLabel(commonServices.patientDetails.state)\r\n }}\r\n </p>\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.approvalNo\" (ngModelChange)=\"onInputchangeApprovalNo($event)\"\r\n (keypress)=\"authorityNoValidation($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"\r\n !showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \" style=\"width: 100%;\">\r\n <div style=\"text-align: right\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n <div class=\"No_Authority_box\">\r\n <p>No Authority Required</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rx_footer\">\r\n <div class=\"rx_footer_brand\">\r\n <p class=\"ml-10\"><span>Hola Consult | 1.0 <span *ngIf=\"commonServices.sandbox\">| <span\r\n class=\"rx_staging\">This is a sandbox environment</span></span></span></p>\r\n <p class=\"mt-15p\">\r\n <span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v\r\n 1.1.3 |\r\n <a href=\"https://hola.health/consult-terms\" target=\"_blank\">Terms</a> |\r\n <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> |\r\n <a href=\"mailto:support@hola.health\" target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["@charset \"UTF-8\";.loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #020202;width:30px;height:30px;animation:spin 1s linear infinite;margin-left:18px;margin-top:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m-v4{margin-left:4vh}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.drp-icon{color:#fff;font-size:19px;margin-left:5px}.select-action-btn{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}.select-action-ul{width:80%}.new_rx_popup_mims .React__Overlay_Open_Popup{position:fixed;inset:0;background-color:#00000080!important}.new_rx_popup_mims .new_rx_mims_Overlay_Open_Popup{z-index:9999999!important}.new_rx_popup_mims .ReactModal__Overlay{overflow-y:auto!important}.new_rx_popup_mims .ReactModal_popup{width:100%;padding:0;margin:20px 0 0}.new_rx_popup_mims .ReactModal__Content{margin:auto}.edit-disable-data{pointer-events:none;opacity:.6}.new_rx_popup_btns{position:relative;display:flex;justify-content:flex-end;align-items:center}@media only screen and (max-width: 1023px){.rx_ipad_header_box_1{width:calc(35% - 16px)}.rx_ipad_header_box_2{width:calc(65% - 16px)}.rx_ipad_header_box_3{width:calc(100% - 16px)}.new_mobile_rx_popup_header_text{display:block;text-align:center}}@media screen and (max-width: 767px){.new_rx_popup_btns,.new_mobile_rx_popup_header_text{display:block;text-align:center}.new_mobile_rx_top_bottom_0{margin-top:0;margin-bottom:0}.new_mobile_rx_btn{margin-bottom:5px}}.favourites-toggle-link{color:#0077b6!important;text-decoration:underline;cursor:pointer!important;font-size:14px;font-weight:400;line-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;outline:none!important;-webkit-tap-highlight-color:transparent}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: SplashscreenComponent, selector: "app-splashscreen", inputs: ["height"] }, { kind: "pipe", type: i3.DatePipe, name: "date" }] });
|
|
6338
6351
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: RxComponent, decorators: [{
|
|
6339
6352
|
type: Component,
|
|
6340
|
-
args: [{ selector: 'app-rx', template: "<ng-template #rxwidgets> </ng-template>\r\n<div class=\"new_rx_popup_mims\">\r\n <div\r\n class=\"ReactModal__Overlay ReactModal__Overlay--after-open React__Overlay_Open_Popup new_rx_mims_Overlay_Open_Popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open React__Content new_rx_mims_React__Content\">\r\n <div class=\"popup new_rx_mims_ReactModal_popup\">\r\n <div>\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-rx-spin'\"> </app-splashscreen>\r\n <div class=\"page-content\" *ngIf=\"!PopupScreenLoader\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col-tablet mdl-cell--3-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_1\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--2-col':'mdl-cell--3-col'\"\r\n style=\"align-self: center\">\r\n <h3 class=\"new_rx_popup_header_box_text\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-hola-health-logo-1.png\" alt=\"hola_health\"\r\n style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-header-logo.png\" alt=\"\" />\r\n {{commonServices.editPrescription === true ? 'Edit Script' : 'New Script'}}\r\n </h3>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_desktop_title new_rx_mobile_fullwidth\"\r\n style=\"align-self: center;\">\r\n <p class=\"new_rx_popup_header_box_text\" style=\"justify-content: center;\">\r\n <span style=\"font-weight: 600;\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span style=\"width: 100px;\">{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col-tablet mdl-cell--4-col-phone new_rx_popup_header_box_col new_rx_mobile_fullwidth rx_ipad_header_box_2 new_mobile_rx_top_bottom_0\"\r\n style=\"position: relative\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--6-col':'mdl-cell--5-col'\">\r\n <div class=\"new_rx_popup_btns\">\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Close\r\n </button>\r\n <div style=\"display: inline-block;position: relative\"\r\n *ngIf=\"commonServices.rxid != null && commonServices.rxid !=''\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton select-action-btn new_mobile_rx_btn\"\r\n style=\"position: relative;width: 140px;display: flex;flex-direction: row;align-items: center;justify-content: center;padding: 10px !important\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"selectActionDropdownopen()\">\r\n <ng-container *ngIf=\"selectionbtnLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!selectionbtnLoader\">\r\n Select Action <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #selectActionDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box select-action-ul\"\r\n *ngIf=\"selectActionBtnDropdown == true\"\r\n [class]=\"{ M_list_box_show: selectActionBtnDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li\r\n (click)=\"commonServices.rxDetails.status.toLowerCase() == 'draft'?cancelDraft():cancelPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,4)?'':'edit-disable-data'\">\r\n Cancel</li>\r\n <li (click)=\"printPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,1)?'':'edit-disable-data'\">\r\n Print</li>\r\n <li (click)=\"reissuePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,3)?'':'edit-disable-data'\">\r\n Re-Issue</li>\r\n <li (click)=\"ceasePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2)?'':'edit-disable-data'\">\r\n Cease</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <button *ngIf=\"page != 1\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n (click)=\"back()\" [disabled]=\"this.commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Back\r\n </button>\r\n <button *ngIf=\"page == 1\" (click)=\"pageNumberOneToNext()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Next\r\n </button>\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored new_mobile_rx_btn\"\r\n [class]=\"abortdisable?'nextButton':'abortbutton'\" *ngIf=\"abortBtnFlag\" [disabled]=\"abortdisable\"\r\n (click)=\"prescripeAbort()\"><span *ngIf=\"abortdisable\" class=\"rx_loader\">\r\n <p class=\"rx_loader_button m-v4 rx_btn_spin\">\r\n </p>\r\n </span><span *ngIf=\"!abortdisable\">Abort</span></button>\r\n <div style=\"display: inline-block\" *ngIf=\"page == 2\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n style=\"position: relative;width: 135px;display: flex;flex-direction: row;align-items: center;justify-content: center\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"includeRtpmModal()\">\r\n <ng-container *ngIf=\"commonServices.prescribeMedLoader \">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Prescribe <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #PrescribeDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box\"\r\n *ngIf=\"selectPBTNDropdown == true\" [class]=\"{ M_list_box_show: selectPBTNDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(1)}\"\r\n (click)=\"MprescribeMed(1)\">E-Prescribe (Draft)</li>\r\n <li [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(1)\" *ngIf=\"!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && commonServices.enableSendEScriptInMail\">E-Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(2)\">E-Prescribe and Print</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"MprescribeMed(2)\">Prescribe (Draft)</li>\r\n <li *ngIf=\"commonServices.enableSendPaperScriptInMail\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"PaperprescripeSend(1)\"> Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase() == 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft') || (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"prescripePrint()\">\r\n Prescribe and Print</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_3 new_rx_mobile_title\"\r\n style=\"align-self: center\">\r\n <p class=\"new_rx_popup_header_box_text new_mobile_rx_popup_header_text\">\r\n <span style=\"font-weight: 600\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span>{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 1\" class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div #MedicineDropdown style=\"position: relative\">\r\n <div style=\"position: relative\">\r\n <input autocomplete=\"off\" type=\"text\" name=\"medicine search\" placeholder=\"Search Medicines\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_1_input\"\r\n value=\"{{ mediSearchValue }}\" (input)=\"searchHandler($event)\"\r\n (click)=\"MedicineDropdownList()\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search\">search</i>\r\n <!-- <mat-icon class=\"new_rx_popup_tab_1_input_search\"></mat-icon> -->\r\n </div>\r\n <div class=\"new_rx_popup_tab_1_list_box\" [class]=\"{\r\n M_list_box_show: selectedMedicineDropdown === true\r\n }\">\r\n <div *ngIf=\"searchMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!searchMedicineLoader\" style=\"margin-bottom: 10px;\">\r\n <ul class=\"new_rx_popup_tab_1_list\">\r\n <li *ngFor=\"let medicineList of searchedMedicineList\" [class]=\"getcurrentid(medicineList)\"\r\n (click)=\"\r\n getProductListByName(\r\n medicineList['prodHiddenValue'],\r\n medicineList['prodDisplayValue'],\r\n medicineList['searchBase']\r\n )\r\n \" [innerHTML]=\"medicineList['prodDisplayValue']\"></li>\r\n <li *ngIf=\"searchedMedicineList.length == 0\">No Data</li>\r\n </ul>\r\n </div>\r\n <div *ngIf=\"PrimarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxOnlyPBS\"\r\n (change)=\"onCheckboxChange(1)\" value=\"PBS/RPBS\" [disabled]=\"this.isNonPbsFlag\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">PBS/RPBS</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange(1)\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div>\r\n <!-- <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange()\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div> -->\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--6-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" style=\"margin-left: 8px;\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <span class=\"favourites-toggle-link\" (click)=\"$event.stopPropagation(); showFavourties()\">\r\n {{ showFavouriteMed ? 'Hide favourites' : 'Show favourites' }}\r\n </span>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--7-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"new_rx_popup_table_box\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"padding: 5px 10px; margin: 0px\">\r\n Available Formulations:\r\n </p>\r\n <div *ngIf=\"!showFavouriteMed\">\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.selectedMedicineList == null ||\r\n commonServices.selectedMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Data</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.selectedMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForMed(med)\"\r\n (click)=\"selectFormulation(med, i)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.pbsType!=undefined && med.pbsType!=null && med.pbsType.toLowerCase() == \"non pbs\"\r\n ? med.numberOfPack + \"x\" + med.unitPerPack\r\n : med.maxQtyUnits\r\n }}</span><span><b>Rpts:</b> {{ med.repeats }}</span><span\r\n *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.Restrictions!=undefined &&\r\n med.Restrictions != null && med.Restrictions != \"\"\r\n ? med.pbsType +\r\n \" (\" +\r\n getRestrictions(med.Restrictions) +\r\n \") \"\r\n : (med.pbsType!=undefined&&med.pbsType!=null?med.pbsType:\"\")\r\n }} </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showFavouriteMed\">\r\n\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.favouriteMedicineList == null ||\r\n commonServices.favouriteMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Favourites</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.favouriteMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForFavouriteMed(med)\"\r\n (click)=\"favouriteMedicineLoading(med)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.quantity}}\r\n </span><span><b>Rpts:</b> {{ med.repeats }}</span>\r\n <span *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.restriction}}\r\n </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"favMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!favMedicineLoader\"\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid new_rx_popup_tab_1_box\"\r\n *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"margin-bottom: 5px\"\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.productName!=undefined && commonServices.selectedFormulation.productName!=null? commonServices.selectedFormulation.productName: ''\">\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col\">\r\n <p class=\"new_rx_popup_label\">\r\n Generic Name:<span\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.genericName!=undefined && commonServices.selectedFormulation.genericName!=null? commonServices.selectedFormulation.genericName : ''\"></span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\" *ngIf=\"commonServices.isBrandName\">\r\n Brand Name:<span [innerHTML]=\"\r\n getBrandName(commonServices.selectedFormulation)\r\n \">\r\n </span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n Schedule:<span>{{\r\n commonServices.selectedFormulation != null &&\r\n commonServices.selectedFormulation.poisonClassification !=\r\n undefined && commonServices.selectedFormulation.poisonClassification!=null &&\r\n commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=undefined && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=null && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses.length>0\r\n ? commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses[0]\r\n : \"No Scheduled Information Available\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listing:<span>{{commonServices.selectedFormulation.pbsType!=undefined &&\r\n commonServices.selectedFormulation.pbsType!=null? commonServices.selectedFormulation.pbsType :\r\n '' }}\r\n {{\r\n commonServices.selectedFormulation.pbsCode!=undefined &&\r\n commonServices.selectedFormulation.pbsCode!=null\r\n ? \" (\" +\r\n commonServices.selectedFormulation.pbsCode +\r\n \")\"\r\n : \"\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n <span style=\"margin:0px ;\">\r\n Max Quantity =\r\n {{getMaxQuantity()}}\r\n and Repeats =\r\n {{commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats\r\n :\"\"}}</span>\r\n </p>\r\n\r\n <p class=\"new_rx_popup_label\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pregnancyCategory!=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory != null && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=undefined && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=null\r\n \">\r\n Pregnancy Category:<span>{{\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode\r\n }}\r\n </span>\r\n <span *ngIf=\"commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote !=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != null &&\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != ''\r\n \">\r\n AdditionalNote:\r\n <span *ngFor=\"\r\n let item of commonServices.selectedFormulation\r\n .pregnancyCategory.additionalNote\r\n \" [innerHTML]=\"item\">\r\n </span>\r\n </span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" *ngIf=\"\r\n this.isShowRestrictions == true && commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <p class=\"new_rx_popup_label\">Restrictions:</p>\r\n <ol style=\"margin: 0px; padding-left: 15px\" *ngIf=\"commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li class=\"new_rx_pop_aut_int\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions\r\n \">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length < 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span>\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length > 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 60)\r\n \"></span>...\r\n <span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ol>\r\n </div>\r\n </div>\r\n\r\n <div class=\"new_rx_popup_tab_3_small_box\" [style.display]=\"isCurrentMedicineInFavourites() ? 'inline-flex' : null\"\r\n [style.width]=\"isCurrentMedicineInFavourites() ? 'max-content' : null\" *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div style=\"display: inline-block;margin-right: 10px;\" class=\"new_rx_popup_header_box_col\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <button *ngIf=\"commonServices.selectedFormulation != null\" (click)=\"addToFavourites()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored\"\r\n [class.nextButton]=\"!isCurrentMedicineInFavourites()\"\r\n [class.rmfavbutton]=\"isCurrentMedicineInFavourites()\">\r\n <span *ngIf=\"isCurrentMedicineInFavourites(); else addText\">\r\n Remove from favourites\r\n </span>\r\n <ng-template #addText>+ Add to favourites</ng-template>\r\n </button>\r\n </div>\r\n <div style=\"display: inline-block; margin-right: 10px\">\r\n <span class=\"new_rx_popup_label\">Quantity: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" name=\"qty\"\r\n placeholder=\"\" class=\"new_rx_popup_tab_input\" step=\"1\" [min]=\"0\"\r\n [(ngModel)]=\"commonServices.quantityVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"quantityChange()\" (paste)=\"$event.preventDefault()\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" />\r\n </div>\r\n <div style=\"display: inline-block\">\r\n <span class=\"new_rx_popup_label\">Repeats: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true || commonServices.isMedicineRestrict}\"\r\n name=\"rpts\" placeholder=\"\" [min]=\"0\" (input)=\"repeatsChange()\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.repeatsVal\" (paste)=\"$event.preventDefault()\"\r\n (keypress)=\"checkMobile($event)\"\r\n [disabled]=\"commonServices.editPrescribedPrescription || commonServices.isMedicineRestrict\" />\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\"></div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n Dose:\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n id=\"checkbox1\" class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.unUsualDoseFlag\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Unusual\r\n Dose</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Dose\"\r\n [(ngModel)]=\"commonServices.doseSearchValue\" (click)=\"doseDropdown()\" />\r\n <div #DoseDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectDoseDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectDoseValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let dose of doseData\" (click)=\"selectDoseValue(dose)\" [class]=\"{\r\n heighlight: dose['text'] == commonServices.doseSearchValue\r\n }\">\r\n {{ dose[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Frequency:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Frequency\" readOnly [(ngModel)]=\"commonServices.freqSearchValue\"\r\n (click)=\"freqDropdown()\" />\r\n <div #FreqDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFreqDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFrequencyValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let frequency of frequencyData\" (click)=\"selectFrequencyValue(frequency)\" [class]=\"{\r\n heighlight:\r\n frequency['text'] == commonServices.freqSearchValue\r\n }\">\r\n {{ frequency[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Food:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Food\" readOnly [(ngModel)]=\"commonServices.foodSearchValue\"\r\n (click)=\"foodDropdown()\" />\r\n <div #FoodDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFoodDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFoodValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let food of foodData\" (click)=\"selectFoodValue(food)\" [class]=\"{\r\n heighlight: food['text'] == commonServices.foodSearchValue\r\n }\">\r\n {{ food[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Instruction:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"Instruction\"\r\n placeholder=\"Select Instruction\" [(ngModel)]=\"commonServices.InstructionSearchValue\"\r\n (click)=\"instructionDropdown()\" (change)=\"instructionOnChange()\"\r\n (keypress)=\"alphaRestriction($event)\" />\r\n <div #InstructionDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{M_list_box_show: selectInstructionDropdown === true}\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <ng-container *ngIf=\"selectInstructionDropdownList\">\r\n <li (click)=\"ChangeInstruction(null)\" class=\"p-12\"> </li>\r\n <li\r\n [class]=\"item.id == commonServices.complexId && item.text == commonServices.InstructionSearchValue ? 'heighlight' : ''\"\r\n *ngFor=\"let item of instructionData; index as i\" (click)=\"ChangeInstruction(item)\">\r\n {{ item.text }}\r\n <span *ngIf=\"item.userid !== 0\" class=\"span_icon\" style=\"float: right\">\r\n <i class=\"material-icons\" style=\"padding: 5px\"\r\n (click)=\"editInstruction(item.id, item)\">create</i><i class=\"material-icons\"\r\n style=\"margin-left: 10px; padding: 5px\"\r\n (click)=\"deleteInstruction(item.id)\">clear</i></span>\r\n </li>\r\n <li class=\"RX_ADD_dropdown_btn\" (click)=\"addNewInstruction()\">\r\n + Add Complex Instructions\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectInstructionDropdownList == false\">\r\n <div class=\"complex_instruction_box\">\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction:\r\n </p>\r\n <input autocomplete=\"off\"\r\n class=\"instruction_field_clr mdl-textfield__input new_rx_popup_tab_input \" type=\"text\"\r\n id=\"Instruction\" [(ngModel)]=\"commonServices.Instructiontiltle\"\r\n placeholder=\"Enter Complex Instruction\" />\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction Description:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxLength=\"500\"\r\n [(ngModel)]=\"tempInstructionDescription\" placeholder=\"Enter Complex Instruction Description\"\r\n class=\"instruction_field_clr w-100 new_rx_popup_tab_textarea\"></textarea>\r\n <div class=\"RX_ADD_dropdown_btn_1\">\r\n <button (click)=\"clearInstruction()\" class=\"rx-instruction-btn\">Cancel</button>\r\n <button (click)=\"saveInstruction()\" class=\"rx-instruction-btn\">Save</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Route:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedRoute:\"\r\n placeholder=\"Select Route\" [(ngModel)]=\"commonServices.routeSearchValue\" maxlength=\"50\"\r\n (click)=\"routeDropdown()\" (keypress)=\"alphaRestriction($event)\" />\r\n <div #RouteDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectRouteDropdown === true }\">\r\n <div style=\"padding: 10px; position: relative\">\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_route__input\" type=\"text\"\r\n placeholder=\"Search...\" [value]=\"routeDataFilter ? routeDataFilter : ''\"\r\n (keyup)=\"routeFilter($event)\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search rx-search-icon\">search</i>\r\n </div>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length != 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li *ngFor=\"\r\n let route of filterRouteItems(routeData, routeDataFilter)\r\n \" (click)=\"selectRoutesearcValue(route)\" [class]=\"{\r\n heighlight:\r\n route['routeName'] == commonServices.routeSearchValue\r\n }\">\r\n {{ route[\"routeName\"] }}\r\n </li>\r\n </ul>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length == 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li>no data</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Pro Re Nata Prescription:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.rxPRN\"\r\n (ngModelChange)=\"PRNChange(commonServices.rxPRN)\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Pro\r\n Re Nata\r\n Prescription</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Prescribe As:</p>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx_radio_overall\">\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"PrescribeAs\" [value]=\"'Private'\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'private'\" (click)=\"private()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Private</span></label>\r\n\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'PBS'\"\r\n [disabled]=\"prescribeAS_PBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'pbs'\" (click)=\"PBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_PBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">PBS</span>\r\n </label>\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'RPBS'\"\r\n [disabled]=\"prescribeAS_RPBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'rpbs'\" (click)=\"RPBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_RPBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">RPBS</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pbsType!=undefined && commonServices.selectedFormulation.pbsType!=null &&\r\n commonServices.selectedFormulation.pbsType.toLowerCase() === 'non pbs' &&\r\n commonServices.patientDetails.dvaNumber != null &&\r\n commonServices.patientDetails.dvaNumber != '' && isNonPbsFlag == false && !isPrescribeAsPrivateOnly\r\n \">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox\" class=\"check_box\"\r\n [checked]=\"commonServices.unlistedRA\" (click)=\"unlistedRA()\"\r\n [(ngModel)]=\"commonServices.unlistedRA\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" />\r\n <span class=\"mdl-checkbox__label check_box_label\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">\r\n Unlisted RA\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n M_CTG_box_hide: !(\r\n commonServices.patientDetails &&\r\n commonServices.patientDetails.patientCtgFlag == 0 &&\r\n commonServices.patientDetails.patientCtgCoPayment == 0 &&\r\n commonServices.PrescribeAS.toLowerCase() == 'pbs'\r\n )\r\n }\">\r\n <!-- <p class=\"new_rx_popup_label\">CTG/PBS Co Payment:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.CTGCoPayment\"\r\n [checked]=\"commonServices.CTGCoPayment == true\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">CTG/PBS\r\n Co Payment</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Script Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n id=\"RxScriptDate\" placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.scriptDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Start Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxStartDate\"\r\n placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.startDate\" (ngModelChange)=\"commonServices.rxEndDateCalculater()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">End Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxEndDate\"\r\n placeholder=\"../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.endDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Days Between Repeats:</p>\r\n <input autocomplete=\"off\" (paste)=\"$event.preventDefault()\" placeholder=\"Enter Days Between Repeats\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true||commonServices.isMedicineRestrict}\"\r\n class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"number\" id=\"Daybetweenrepeats\" [min]=\"0\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription||commonServices.isMedicineRestrict\"\r\n [(ngModel)]=\"commonServices.daysBtnRepeatsVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"dayschange()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <div>\r\n <p class=\"new_rx_popup_label\">Purpose:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedPurpose:\"\r\n placeholder=\"Select Purpose\" readOnly [(ngModel)]=\"commonServices.purposeSearchValue\"\r\n (click)=\"purposeDropdown()\" />\r\n <div #PurposeDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_purpose_box h-160p\"\r\n [class]=\"{ M_list_box_show: selectPurposeDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectPurposeValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let purpose of purposeData\" (click)=\"selectPurposeValue(purpose)\" [class]=\"{\r\n heighlight:\r\n purpose['lookupText'] ==\r\n commonServices.purposeSearchValue\r\n }\">\r\n {{ purpose[\"lookupText\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.isBrandName != true }\">\r\n <!-- <p class=\"new_rx_popup_label\">Substitution:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true || commonServices.isBrandName == false\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.BrandSubstitutesNotAllow\"\r\n (change)=\"this.brandSubstitutesNotAllow(commonServices.BrandSubstitutesNotAllow)\" [checked]=\"\r\n commonServices.BrandSubstitutesNotAllow\r\n ? commonServices.BrandSubstitutesNotAllow\r\n : false\r\n \" /><span class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Brand\r\n Substitution\r\n Not Permitted</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide_brand: commonServices.lemi == true }\" id=\"brandnametooltip\"\r\n (mouseleave)=\"hideToolTip()\" (mouseenter)=\"showtooltip(commonServices.lemi,brandtooltip)\">\r\n <!-- <p class=\"new_rx_popup_label\">Brand Name:</p> -->\r\n <ng-template #brandtooltip><span class=\"include_brand_tooltip\">The selected product is LEMI\r\n identified. Therefore it may be\r\n prescribed by the brand name only.</span></ng-template>\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\" [class]=\"{\r\n M_CTG_box_hide_brand_name: commonServices.lemi == true || commonServices.isFetching == true || commonServices.editPrescribedPrescription === true\r\n }\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [checked]=\"commonServices.isBrandName\"\r\n [(ngModel)]=\"commonServices.isBrandName\"\r\n (change)=\"this.isChangeBrandName(commonServices.isBrandName)\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">Include Brand\r\n Name</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Regulation 24:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.regulation24\"\r\n [checked]=\"commonServices.regulation24\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Regulation\r\n 24</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">DO NOT send to MySL:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.mySLConsent\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">DO\r\n NOT send to MySL</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n <!-- Pharmacy: -->\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.sendToPharmacy\" (change)=\"sendToPharmacyChange()\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Send\r\n to Pharmacy</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\" readonly\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Value\"\r\n [(ngModel)]=\"commonServices.sendToPharmacyValue\" (click)=\"stpValueDropdown()\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.sendToPharmacy != true }\" />\r\n <div #stpDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_stp_box h-93p\"\r\n [class]=\"{ M_list_box_show: selectstpDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectStpValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let sendtopharmacy of sendtopharmacyData\" (click)=\"selectStpValue(sendtopharmacy)\">\r\n {{ sendtopharmacy.name }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Emergency Supply:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.emergencySupply\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Emergency\r\n Supply</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 2\" class=\"new_rx_popup_tab_2\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px; opacity: 1\">\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div style=\"width: 100%; padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\">RX</p>\r\n <p class=\"new_rx_popup_label_p\">\r\n <b [innerHTML]=\"commonServices.rxDisplayName\"></b>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\" style=\"margin: 0px\">Quantity: <span\r\n style=\"color: rgb(45, 45, 45); font-weight: 600\">{{ commonServices.quantityVal }}\r\n </span> Repeats: <span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default Quantity:{{getDefaultQuantity()}}\r\n Default Repeats:\r\n {{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?commonServices.selectedFormulation.repeats:\"\"\r\n }}\r\n </p>\r\n <p *ngIf=\"commonServices.doseSearchValue != '' ||commonServices.freqSearchValue != ''\"\r\n class=\"new_rx_popup_label_p\">\r\n <span>{{ commonServices.doseSearchValue }} </span><span>{{ commonServices.freqSearchValue\r\n }}</span>\r\n </p>\r\n <p *ngIf=\"commonServices.foodSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.foodSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n {{InstructionDescription !=\"\" && InstructionDescription!=null?\r\n InstructionDescription:commonServices.InstructionSearchValue!=\"\" &&\r\n commonServices.InstructionSearchValue!=null?commonServices.InstructionSearchValue:\"\"}}\r\n </p>\r\n <p *ngIf=\"commonServices.routeSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.routeSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n P.R.N :\r\n <i *ngIf=\"commonServices.rxPRN\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.rxPRN\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Days Between Repeats:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">{{commonServices.daysBtnRepeatsVal}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Unusual Dose:\r\n <i *ngIf=\"commonServices.unUsualDoseFlag\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.unUsualDoseFlag\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Script Date:\r\n <span>{{this.commonServices.scriptDate|date:'dd-MM-yyyy'}}</span>\r\n\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Start Date:\r\n <span>{{this.commonServices.startDate|date:'dd-MM-yyyy'}}</span>, End Date:\r\n {{this.commonServices.endDate|date:'dd-MM-yyyy'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Prescribe As:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">{{commonServices.PrescribeAS}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Purpose:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">{{commonServices.purposeSearchValue}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Include Brand Name:\r\n <i *ngIf=\"commonServices.isBrandName\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.isBrandName\">-</span>,\r\n Brand Substitution Not Permitted:\r\n <i *ngIf=\"commonServices.BrandSubstitutesNotAllow\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.BrandSubstitutesNotAllow\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Regulation 24:\r\n <i *ngIf=\"commonServices.regulation24\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.regulation24\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n CTG/PBS Co Payment:\r\n <i *ngIf=\"commonServices.CTGCoPayment\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.CTGCoPayment\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n DO NOT send to MySL:\r\n <i *ngIf=\"commonServices.mySLConsent\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.mySLConsent\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Send to Pharmacy:\r\n <i *ngIf=\"commonServices.sendToPharmacy\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.sendToPharmacy\">-</span>, Send to Pharmacy Value:\r\n {{!commonServices.IsNullOrEmpty(commonServices.sendToPharmacyValue)?commonServices.sendToPharmacyValue:'-'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Emergency Supply:\r\n <i *ngIf=\"commonServices.emergencySupply\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.emergencySupply\">-</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Note To Pharmacy:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.doctorNotes\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Annotation:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.annotation\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Reason For Prescription:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.prescriptionReason\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\" style=\"text-transform: capitalize;\">\r\n {{this.getStateAuthorityLabel(commonServices.patientDetails.state)}}\r\n </p>\r\n\r\n <p style=\"margin: 0px;margin-top: -8px;margin-bottom: 10px;\">\r\n <span class=\"state-txt-color new_rx_popup_label_p\">(Relevant to\r\n {{ commonServices.patientDetails.state }})</span>\r\n </p>\r\n\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.StateAuthorityNumber\" maxlength=\"25\"\r\n (keypress)=\"authorityNoValidation($event)\" (ngModelChange)=\"authorityNoChange($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n 'new_rx_no_authority':!showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',commonServices.PrescribeAS,commonServices.rxAuthority,commonServices.unlistedRA)\r\n }\">\r\n <div *ngIf=\"\r\n showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \">\r\n <div style=\"padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--8-col mdl-cell--6-col-tablet mdl-cell--4-col-phone\">\r\n <span class=\"new_rx_popup_label_New\">HOTLINE: <span\r\n class=\"new_rx_popup_label_span\">{{commonServices.PrescribeAS ==\r\n 'RPBS'?'1800552580':'1800888333'}}</span></span>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--4-col mdl-cell--2-col-tablet mdl-cell--4-col-phone\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Name:<span>{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Number:<span>{{\r\n commonServices.physicianDetails.prescriberNumber\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Patient Medicare Number:<span>{{\r\n commonServices.patientDetails.medicareNumber\r\n ? commonServices.patientDetails.medicareNumber\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Authority Form No:\r\n <span>{{\r\n commonServices.authorityFormNo\r\n ? commonServices.authorityFormNo\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Authority Item:</p>\r\n <p class=\"authority_item_text\" [innerHTML]=\"commonServices.rxDisplayName\"></p>\r\n\r\n <p class=\"new_rx_popup_label_p new_rx_popup_tab_smallBoxes\" style=\"margin: 0px\">\r\n Quantity:<span style=\"color: rgb(45, 45, 45); font-weight: 600\"> {{ commonServices.quantityVal\r\n }}</span> Repeats:<span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default\r\n Quantity:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.maxQtyUnits!=null?(commonServices.quantityWithUnitFlag?\"1\r\n x \":\"\")+commonServices.selectedFormulation.maxQtyUnits:\"\"}}\r\n Default\r\n Repeats:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?\r\n commonServices.selectedFormulation.repeats:\"\"}}\r\n </p>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listed Indication Authority:\r\n </p>\r\n <div class=\"w-100 new_rx_popup_tab_textarea\"\r\n style=\"min-height: 70px; max-height: 150px; overflow: auto\">\r\n <ul style=\"margin: 0px; padding-left: 15px;list-style: none;padding: 0px;\" *ngIf=\"\r\n this.isShowRestrictions == true &&\r\n commonServices.selectedFormulation.Restrictions !=\r\n null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li style=\"font-size: 12px;padding: 0px 10px;margin-bottom: 10px;\"\r\n class=\"new_rx_pop_aut_int cursor\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions;\r\n index as i\r\n \" [class]=\"{\r\n new_rx_pop_aut_ins_select:\r\n commonServices.pbsListInstructionsId == i\r\n }\">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length < 80\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span></span>\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length > 80\"><b (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">{{\r\n restriction.restrictionType }}</b> -\r\n <span (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \" [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 80)\r\n \"></span>...\r\n <span>\r\n </span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\"\r\n style=\"padding: 0px\">\r\n <!-- <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">PBS Notes:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsNotes\"></textarea>\r\n </div> -->\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Indication For This Authority:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsListInstructions\" (ngModelChange)=\"onInputChange($event)\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-100\"></textarea>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n {{\r\n getAuthorityLabel(commonServices.patientDetails.state)\r\n }}\r\n </p>\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.approvalNo\" (ngModelChange)=\"onInputchangeApprovalNo($event)\"\r\n (keypress)=\"authorityNoValidation($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"\r\n !showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \" style=\"width: 100%;\">\r\n <div style=\"text-align: right\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n <div class=\"No_Authority_box\">\r\n <p>No Authority Required</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rx_footer\">\r\n <div class=\"rx_footer_brand\">\r\n <p class=\"ml-10\"><span>Hola Consult | 1.0 <span *ngIf=\"commonServices.sandbox\">| <span\r\n class=\"rx_staging\">This is a sandbox environment</span></span></span></p>\r\n <p class=\"mt-15p\">\r\n <span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v\r\n 1.1.3 |\r\n <a href=\"https://hola.health/consult-terms\" target=\"_blank\">Terms</a> |\r\n <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> |\r\n <a href=\"mailto:support@hola.health\" target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["@charset \"UTF-8\";.loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #020202;width:30px;height:30px;animation:spin 1s linear infinite;margin-left:18px;margin-top:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m-v4{margin-left:4vh}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.drp-icon{color:#fff;font-size:19px;margin-left:5px}.select-action-btn{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}.select-action-ul{width:80%}.new_rx_popup_mims .React__Overlay_Open_Popup{position:fixed;inset:0;background-color:#00000080!important}.new_rx_popup_mims .new_rx_mims_Overlay_Open_Popup{z-index:9999999!important}.new_rx_popup_mims .ReactModal__Overlay{overflow-y:auto!important}.new_rx_popup_mims .ReactModal_popup{width:100%;padding:0;margin:20px 0 0}.new_rx_popup_mims .ReactModal__Content{margin:auto}.edit-disable-data{pointer-events:none;opacity:.6}.new_rx_popup_btns{position:relative;display:flex;justify-content:flex-end;align-items:center}@media only screen and (max-width: 1023px){.rx_ipad_header_box_1{width:calc(35% - 16px)}.rx_ipad_header_box_2{width:calc(65% - 16px)}.rx_ipad_header_box_3{width:calc(100% - 16px)}.new_mobile_rx_popup_header_text{display:block;text-align:center}}@media screen and (max-width: 767px){.new_rx_popup_btns,.new_mobile_rx_popup_header_text{display:block;text-align:center}.new_mobile_rx_top_bottom_0{margin-top:0;margin-bottom:0}.new_mobile_rx_btn{margin-bottom:5px}}.favourites-toggle-link{color:#0077b6!important;text-decoration:underline;cursor:pointer!important;font-size:14px;font-weight:400;line-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;outline:none!important;-webkit-tap-highlight-color:transparent}\n"] }]
|
|
6353
|
+
args: [{ selector: 'app-rx', template: "<ng-template #rxwidgets> </ng-template>\r\n<div class=\"new_rx_popup_mims\">\r\n <div\r\n class=\"ReactModal__Overlay ReactModal__Overlay--after-open React__Overlay_Open_Popup new_rx_mims_Overlay_Open_Popup\">\r\n <div class=\"ReactModal__Content ReactModal__Content--after-open React__Content new_rx_mims_React__Content\">\r\n <div class=\"popup new_rx_mims_ReactModal_popup\">\r\n <div>\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-rx-spin'\"> </app-splashscreen>\r\n <div class=\"page-content\" *ngIf=\"!PopupScreenLoader\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col-tablet mdl-cell--3-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_1\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--2-col':'mdl-cell--3-col'\"\r\n style=\"align-self: center\">\r\n <h3 class=\"new_rx_popup_header_box_text\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-hola-health-logo-1.png\" alt=\"hola_health\"\r\n style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-header-logo.png\" alt=\"\" />\r\n {{commonServices.editPrescription === true ? 'Edit Script' : 'New Script'}}\r\n </h3>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_desktop_title new_rx_mobile_fullwidth\"\r\n style=\"align-self: center;\">\r\n <p class=\"new_rx_popup_header_box_text\" style=\"justify-content: center;\">\r\n <span style=\"font-weight: 600;\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span style=\"width: 100px;\">{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col-tablet mdl-cell--4-col-phone new_rx_popup_header_box_col new_rx_mobile_fullwidth rx_ipad_header_box_2 new_mobile_rx_top_bottom_0\"\r\n style=\"position: relative\"\r\n [class]=\"commonServices.rxid != null && commonServices.rxid !=''?'mdl-cell--6-col':'mdl-cell--5-col'\">\r\n <div class=\"new_rx_popup_btns\">\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Close\r\n </button>\r\n <div style=\"display: inline-block;position: relative\"\r\n *ngIf=\"commonServices.rxid != null && commonServices.rxid !=''\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton select-action-btn new_mobile_rx_btn\"\r\n style=\"position: relative;width: 140px;display: flex;flex-direction: row;align-items: center;justify-content: center;padding: 10px !important\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"selectActionDropdownopen()\">\r\n <ng-container *ngIf=\"selectionbtnLoader\">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!selectionbtnLoader\">\r\n Select Action <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #selectActionDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box select-action-ul\"\r\n *ngIf=\"selectActionBtnDropdown == true\"\r\n [class]=\"{ M_list_box_show: selectActionBtnDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li\r\n (click)=\"commonServices.rxDetails.status.toLowerCase() == 'draft'?cancelDraft():cancelPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,4)?'':'edit-disable-data'\">\r\n Cancel</li>\r\n <li (click)=\"printPrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,1)?'':'edit-disable-data'\">\r\n Print</li>\r\n <li (click)=\"reissuePrescribeMed(1)\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,3)?'':'edit-disable-data'\">\r\n Re-Issue</li>\r\n <li (click)=\"ceasePrescribeMed()\"\r\n [class]=\"checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2)?'':'edit-disable-data'\">\r\n Cease</li>\r\n <li (click)=\"reissuePrescribeMed(2)\"\r\n [class]=\"commonServices.enableSendPaperScriptInMail && !checkStatusAndScripttype(this.commonServices.rxDetails.scriptType,this.commonServices.rxDetails.status,2) ?'':'edit-disable-data'\">\r\n Resend</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <button *ngIf=\"page != 1\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton new_mobile_rx_btn\"\r\n (click)=\"back()\" [disabled]=\"this.commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Back\r\n </button>\r\n <button *ngIf=\"page == 1\" (click)=\"pageNumberOneToNext()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\">\r\n Next\r\n </button>\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored new_mobile_rx_btn\"\r\n [class]=\"abortdisable?'nextButton':'abortbutton'\" *ngIf=\"abortBtnFlag\" [disabled]=\"abortdisable\"\r\n (click)=\"prescripeAbort()\"><span *ngIf=\"abortdisable\" class=\"rx_loader\">\r\n <p class=\"rx_loader_button m-v4 rx_btn_spin\">\r\n </p>\r\n </span><span *ngIf=\"!abortdisable\">Abort</span></button>\r\n <div style=\"display: inline-block\" *ngIf=\"page == 2\">\r\n <button\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton new_mobile_rx_btn\"\r\n style=\"position: relative;width: 135px;display: flex;flex-direction: row;align-items: center;justify-content: center\"\r\n [disabled]=\"commonServices.prescribeMedLoader || selectionbtnLoader\"\r\n (click)=\"includeRtpmModal()\">\r\n <ng-container *ngIf=\"commonServices.prescribeMedLoader \">\r\n <p class=\"rx_loader_button m-v4\"\r\n style=\"width: 20px;height: 20px;margin: 0px !important;margin-right: 0px !important;margin-left: 0px !important;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Prescribe <i class=\"material-icons drp-icon\">expand_more</i>\r\n </ng-container>\r\n </button>\r\n <div #PrescribeDropdown class=\"new_rx_Prescribe_btn_dropdown_list_box\"\r\n *ngIf=\"selectPBTNDropdown == true\" [class]=\"{ M_list_box_show: selectPBTNDropdown === true }\">\r\n <ul class=\"new_rx_Prescribe_btn_dropdown_list_ul\">\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(1)}\"\r\n (click)=\"MprescribeMed(1)\">E-Prescribe (Draft)</li>\r\n <li [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(1)\" *ngIf=\"!this.commonServices.sendToPharmacy && !this.commonServices.emergencySupply && commonServices.enableSendEScriptInMail\">E-Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enableEScript\" [class]=\"{'edit-disable-data': ePrescriptionValidation(2)}\" (click)=\"EprescripeSend(2)\">E-Prescribe and Print</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"MprescribeMed(2)\">Prescribe (Draft)</li>\r\n <li *ngIf=\"commonServices.enableSendPaperScriptInMail\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft')|| (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"PaperprescripeSend(1)\"> Prescribe and Send</li>\r\n <li *ngIf=\"commonServices.enablePaperScript\" [class]=\"{'edit-disable-data': (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase() == 'M'&& this.commonServices.rxDetails.status.toLowerCase() != 'draft') || (commonServices.editPrescription === true && commonServices.rxDetails.scriptType.toUpperCase()== 'E')}\"\r\n (click)=\"prescripePrint()\">\r\n Prescribe and Print</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth rx_ipad_header_box_3 new_rx_mobile_title\"\r\n style=\"align-self: center\">\r\n <p class=\"new_rx_popup_header_box_text new_mobile_rx_popup_header_text\">\r\n <span style=\"font-weight: 600\">{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>/<span>{{\r\n this.datePipe.transform(\r\n commonServices.patientDetails.dob,\r\n \"dd-MM-yyyy\"\r\n )\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 1\" class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div #MedicineDropdown style=\"position: relative\">\r\n <div style=\"position: relative\">\r\n <input autocomplete=\"off\" type=\"text\" name=\"medicine search\" placeholder=\"Search Medicines\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_1_input\"\r\n value=\"{{ mediSearchValue }}\" (input)=\"searchHandler($event)\"\r\n (click)=\"MedicineDropdownList()\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search\">search</i>\r\n <!-- <mat-icon class=\"new_rx_popup_tab_1_input_search\"></mat-icon> -->\r\n </div>\r\n <div class=\"new_rx_popup_tab_1_list_box\" [class]=\"{\r\n M_list_box_show: selectedMedicineDropdown === true\r\n }\">\r\n <div *ngIf=\"searchMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!searchMedicineLoader\" style=\"margin-bottom: 10px;\">\r\n <ul class=\"new_rx_popup_tab_1_list\">\r\n <li *ngFor=\"let medicineList of searchedMedicineList\" [class]=\"getcurrentid(medicineList)\"\r\n (click)=\"\r\n getProductListByName(\r\n medicineList['prodHiddenValue'],\r\n medicineList['prodDisplayValue'],\r\n medicineList['searchBase']\r\n )\r\n \" [innerHTML]=\"medicineList['prodDisplayValue']\"></li>\r\n <li *ngIf=\"searchedMedicineList.length == 0\">No Data</li>\r\n </ul>\r\n </div>\r\n <div *ngIf=\"PrimarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxOnlyPBS\"\r\n (change)=\"onCheckboxChange(1)\" value=\"PBS/RPBS\" [disabled]=\"this.isNonPbsFlag\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">PBS/RPBS</span></label>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange(1)\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div>\r\n <!-- <div\r\n class=\"mdl-cell mdl-cell--2-col mdl-cell--2-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\"\r\n [class]=\"{'disabledRxContent':this.isNonPbsFlag||(commonServices.rxDetails!=null && commonServices.rxDetails!='' && commonServices.rxDetails.status!=null && commonServices.rxDetails.status!='' && commonServices.rxDetails.status.toLowerCase()!='draft')}\">\r\n <div class=\"rx_new_popup_checkbox new_mobile_rx_top_bottom_0\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"rxPrivate\"\r\n (change)=\"onCheckboxChange()\" value=\"Private\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\">Private</span></label>\r\n </div>\r\n </div> -->\r\n <div\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--6-col-phone new_rx_mobile_fullwidth new_mobile_rx_top_bottom_0\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" style=\"margin-left: 8px;\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <span class=\"favourites-toggle-link\" (click)=\"$event.stopPropagation(); showFavourties()\">\r\n {{ showFavouriteMed ? 'Hide favourites' : 'Show favourites' }}\r\n </span>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--7-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"new_rx_popup_table_box\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"padding: 5px 10px; margin: 0px\">\r\n Available Formulations:\r\n </p>\r\n <div *ngIf=\"!showFavouriteMed\">\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.selectedMedicineList == null ||\r\n commonServices.selectedMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Data</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.selectedMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForMed(med)\"\r\n (click)=\"selectFormulation(med, i)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.pbsType!=undefined && med.pbsType!=null && med.pbsType.toLowerCase() == \"non pbs\"\r\n ? med.numberOfPack + \"x\" + med.unitPerPack\r\n : med.maxQtyUnits\r\n }}</span><span><b>Rpts:</b> {{ med.repeats }}</span><span\r\n *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.Restrictions!=undefined &&\r\n med.Restrictions != null && med.Restrictions != \"\"\r\n ? med.pbsType +\r\n \" (\" +\r\n getRestrictions(med.Restrictions) +\r\n \") \"\r\n : (med.pbsType!=undefined&&med.pbsType!=null?med.pbsType:\"\")\r\n }} </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showFavouriteMed\">\r\n\r\n <div *ngIf=\"onclickMedicineLoader\" class=\"loader m-v4\"></div>\r\n <div *ngIf=\"!onclickMedicineLoader\">\r\n <div *ngIf=\"\r\n commonServices.favouriteMedicineList == null ||\r\n commonServices.favouriteMedicineList.length == 0\r\n \" class=\"noDataPrescribe\">\r\n <span>No Favourites</span>\r\n </div>\r\n <div class=\"new_rx_popup_box_container\" *ngFor=\"\r\n let med of commonServices.favouriteMedicineList;\r\n index as i\r\n \">\r\n\r\n <div class=\"mdl-grid new_rx_popup_box\" [class]=\"getClassForFavouriteMed(med)\"\r\n (click)=\"favouriteMedicineLoading(med)\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_box_header\" [innerHTML]=\"med.productName\"></p>\r\n <p class=\"new_rx_popup_box_text\">\r\n <span><b>Quantity:</b>\r\n {{med.quantity}}\r\n </span><span><b>Rpts:</b> {{ med.repeats }}</span>\r\n <span *ngIf=\"!commonServices.isMedicineRestrict\"><b>Restriction:</b>\r\n {{med.restriction}}\r\n </span><span><b>Generic Name: </b>\r\n <span [innerHTML]=\"med.genericName\"></span></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"SecondarySearchSpinner\" class=\"loader ml-load-45\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"favMedicineLoader\" class=\"loader\"></div>\r\n <div *ngIf=\"!favMedicineLoader\"\r\n class=\"mdl-cell mdl-cell--5-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid new_rx_popup_tab_1_box\"\r\n *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_tab_title\" style=\"margin-bottom: 5px\"\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.productName!=undefined && commonServices.selectedFormulation.productName!=null? commonServices.selectedFormulation.productName: ''\">\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col\">\r\n <p class=\"new_rx_popup_label\">\r\n Generic Name:<span\r\n [innerHTML]=\"commonServices.selectedFormulation != null&&commonServices.selectedFormulation.genericName!=undefined && commonServices.selectedFormulation.genericName!=null? commonServices.selectedFormulation.genericName : ''\"></span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\" *ngIf=\"commonServices.isBrandName\">\r\n Brand Name:<span [innerHTML]=\"\r\n getBrandName(commonServices.selectedFormulation)\r\n \">\r\n </span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n Schedule:<span>{{\r\n commonServices.selectedFormulation != null &&\r\n commonServices.selectedFormulation.poisonClassification !=\r\n undefined && commonServices.selectedFormulation.poisonClassification!=null &&\r\n commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=undefined && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses!=null && commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses.length>0\r\n ? commonServices.selectedFormulation.poisonClassification\r\n .poisonClasses[0]\r\n : \"No Scheduled Information Available\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listing:<span>{{commonServices.selectedFormulation.pbsType!=undefined &&\r\n commonServices.selectedFormulation.pbsType!=null? commonServices.selectedFormulation.pbsType :\r\n '' }}\r\n {{\r\n commonServices.selectedFormulation.pbsCode!=undefined &&\r\n commonServices.selectedFormulation.pbsCode!=null\r\n ? \" (\" +\r\n commonServices.selectedFormulation.pbsCode +\r\n \")\"\r\n : \"\"\r\n }}</span>\r\n </p>\r\n <p class=\"new_rx_popup_label\">\r\n <span style=\"margin:0px ;\">\r\n Max Quantity =\r\n {{getMaxQuantity()}}\r\n and Repeats =\r\n {{commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats\r\n :\"\"}}</span>\r\n </p>\r\n\r\n <p class=\"new_rx_popup_label\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pregnancyCategory!=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory != null && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=undefined && commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode!=null\r\n \">\r\n Pregnancy Category:<span>{{\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .categoryCode\r\n }}\r\n </span>\r\n <span *ngIf=\"commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote !=undefined && \r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != null &&\r\n commonServices.selectedFormulation.pregnancyCategory\r\n .additionalNote != ''\r\n \">\r\n AdditionalNote:\r\n <span *ngFor=\"\r\n let item of commonServices.selectedFormulation\r\n .pregnancyCategory.additionalNote\r\n \" [innerHTML]=\"item\">\r\n </span>\r\n </span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col\" *ngIf=\"\r\n this.isShowRestrictions == true && commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <p class=\"new_rx_popup_label\">Restrictions:</p>\r\n <ol style=\"margin: 0px; padding-left: 15px\" *ngIf=\"commonServices.selectedFormulation.Restrictions!=undefined && \r\n commonServices.selectedFormulation.Restrictions != null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li class=\"new_rx_pop_aut_int\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions\r\n \">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length < 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span>\r\n <span class=\"rx_restrictionText\" *ngIf=\"restriction.restrictionText.length > 60\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n this.htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 60)\r\n \"></span>...\r\n <span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ol>\r\n </div>\r\n </div>\r\n\r\n <div class=\"new_rx_popup_tab_3_small_box\" [style.display]=\"isCurrentMedicineInFavourites() ? 'inline-flex' : null\"\r\n [style.width]=\"isCurrentMedicineInFavourites() ? 'max-content' : null\" *ngIf=\"commonServices.selectedFormulation != null\">\r\n <div style=\"display: inline-block;margin-right: 10px;\" class=\"new_rx_popup_header_box_col\" *ngIf=\"!commonServices.editPrescribedPrescription\">\r\n <button *ngIf=\"commonServices.selectedFormulation != null\" (click)=\"addToFavourites()\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored\"\r\n [class.nextButton]=\"!isCurrentMedicineInFavourites()\"\r\n [class.rmfavbutton]=\"isCurrentMedicineInFavourites()\">\r\n <span *ngIf=\"isCurrentMedicineInFavourites(); else addText\">\r\n Remove from favourites\r\n </span>\r\n <ng-template #addText>+ Add to favourites</ng-template>\r\n </button>\r\n </div>\r\n <div style=\"display: inline-block; margin-right: 10px\">\r\n <span class=\"new_rx_popup_label\">Quantity: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" name=\"qty\"\r\n placeholder=\"\" class=\"new_rx_popup_tab_input\" step=\"1\" [min]=\"0\"\r\n [(ngModel)]=\"commonServices.quantityVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"quantityChange()\" (paste)=\"$event.preventDefault()\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" />\r\n </div>\r\n <div style=\"display: inline-block\">\r\n <span class=\"new_rx_popup_label\">Repeats: </span><input autocomplete=\"off\" type=\"number\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true || commonServices.isMedicineRestrict}\"\r\n name=\"rpts\" placeholder=\"\" [min]=\"0\" (input)=\"repeatsChange()\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.repeatsVal\" (paste)=\"$event.preventDefault()\"\r\n (keypress)=\"checkMobile($event)\"\r\n [disabled]=\"commonServices.editPrescribedPrescription || commonServices.isMedicineRestrict\" />\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\"></div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n Dose:\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n id=\"checkbox1\" class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.unUsualDoseFlag\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Unusual\r\n Dose</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Dose\"\r\n [(ngModel)]=\"commonServices.doseSearchValue\" (click)=\"doseDropdown()\" />\r\n <div #DoseDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectDoseDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectDoseValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let dose of doseData\" (click)=\"selectDoseValue(dose)\" [class]=\"{\r\n heighlight: dose['text'] == commonServices.doseSearchValue\r\n }\">\r\n {{ dose[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Frequency:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Frequency\" readOnly [(ngModel)]=\"commonServices.freqSearchValue\"\r\n (click)=\"freqDropdown()\" />\r\n <div #FreqDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFreqDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFrequencyValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let frequency of frequencyData\" (click)=\"selectFrequencyValue(frequency)\" [class]=\"{\r\n heighlight:\r\n frequency['text'] == commonServices.freqSearchValue\r\n }\">\r\n {{ frequency[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Food:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedFrequency:\"\r\n placeholder=\"Select Food\" readOnly [(ngModel)]=\"commonServices.foodSearchValue\"\r\n (click)=\"foodDropdown()\" />\r\n <div #FoodDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectFoodDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectFoodValue(null)\" class=\"p-12\"> </li>\r\n <li *ngFor=\"let food of foodData\" (click)=\"selectFoodValue(food)\" [class]=\"{\r\n heighlight: food['text'] == commonServices.foodSearchValue\r\n }\">\r\n {{ food[\"text\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Instruction:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"Instruction\"\r\n placeholder=\"Select Instruction\" [(ngModel)]=\"commonServices.InstructionSearchValue\"\r\n (click)=\"instructionDropdown()\" (change)=\"instructionOnChange()\"\r\n (keypress)=\"alphaRestriction($event)\" />\r\n <div #InstructionDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{M_list_box_show: selectInstructionDropdown === true}\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <ng-container *ngIf=\"selectInstructionDropdownList\">\r\n <li (click)=\"ChangeInstruction(null)\" class=\"p-12\"> </li>\r\n <li\r\n [class]=\"item.id == commonServices.complexId && item.text == commonServices.InstructionSearchValue ? 'heighlight' : ''\"\r\n *ngFor=\"let item of instructionData; index as i\" (click)=\"ChangeInstruction(item)\">\r\n {{ item.text }}\r\n <span *ngIf=\"item.userid !== 0\" class=\"span_icon\" style=\"float: right\">\r\n <i class=\"material-icons\" style=\"padding: 5px\"\r\n (click)=\"editInstruction(item.id, item)\">create</i><i class=\"material-icons\"\r\n style=\"margin-left: 10px; padding: 5px\"\r\n (click)=\"deleteInstruction(item.id)\">clear</i></span>\r\n </li>\r\n <li class=\"RX_ADD_dropdown_btn\" (click)=\"addNewInstruction()\">\r\n + Add Complex Instructions\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectInstructionDropdownList == false\">\r\n <div class=\"complex_instruction_box\">\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction:\r\n </p>\r\n <input autocomplete=\"off\"\r\n class=\"instruction_field_clr mdl-textfield__input new_rx_popup_tab_input \" type=\"text\"\r\n id=\"Instruction\" [(ngModel)]=\"commonServices.Instructiontiltle\"\r\n placeholder=\"Enter Complex Instruction\" />\r\n <p class=\"new_rx_popup_label\" style=\"font-size: 12px; margin: 0\">\r\n Complex Instruction Description:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxLength=\"500\"\r\n [(ngModel)]=\"tempInstructionDescription\" placeholder=\"Enter Complex Instruction Description\"\r\n class=\"instruction_field_clr w-100 new_rx_popup_tab_textarea\"></textarea>\r\n <div class=\"RX_ADD_dropdown_btn_1\">\r\n <button (click)=\"clearInstruction()\" class=\"rx-instruction-btn\">Cancel</button>\r\n <button (click)=\"saveInstruction()\" class=\"rx-instruction-btn\">Save</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">Route:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedRoute:\"\r\n placeholder=\"Select Route\" [(ngModel)]=\"commonServices.routeSearchValue\" maxlength=\"50\"\r\n (click)=\"routeDropdown()\" (keypress)=\"alphaRestriction($event)\" />\r\n <div #RouteDropdown class=\"new_rx_popup_tab_dropdown_list_box\"\r\n [class]=\"{ M_list_box_show: selectRouteDropdown === true }\">\r\n <div style=\"padding: 10px; position: relative\">\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_route__input\" type=\"text\"\r\n placeholder=\"Search...\" [value]=\"routeDataFilter ? routeDataFilter : ''\"\r\n (keyup)=\"routeFilter($event)\" />\r\n <i class=\"material-icons md-24 new_rx_popup_tab_1_input_search rx-search-icon\">search</i>\r\n </div>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length != 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li *ngFor=\"\r\n let route of filterRouteItems(routeData, routeDataFilter)\r\n \" (click)=\"selectRoutesearcValue(route)\" [class]=\"{\r\n heighlight:\r\n route['routeName'] == commonServices.routeSearchValue\r\n }\">\r\n {{ route[\"routeName\"] }}\r\n </li>\r\n </ul>\r\n <ul *ngIf=\"filterRouteItems(routeData, routeDataFilter).length == 0\"\r\n class=\"new_rx_popup_tab_1_list rx_dropdown rx_dropdown_route\">\r\n <li>no data</li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Pro Re Nata Prescription:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.rxPRN\"\r\n (ngModelChange)=\"PRNChange(commonServices.rxPRN)\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Pro\r\n Re Nata\r\n Prescription</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Prescribe As:</p>\r\n <div class=\"rx_new_popup_checkbox\">\r\n <div class=\"rx_new_radiobox_button rx_radio_overall\">\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" class=\"mdl-radio__button custom-radio-button\"\r\n name=\"PrescribeAs\" [value]=\"'Private'\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'private'\" (click)=\"private()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Private</span></label>\r\n\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'PBS'\"\r\n [disabled]=\"prescribeAS_PBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'pbs'\" (click)=\"PBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_PBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">PBS</span>\r\n </label>\r\n <label class=\"rx_radio_label\">\r\n <input autocomplete=\"off\" type=\"radio\" checked=\"\"\r\n class=\"mdl-radio__button d-inline radio custom-radio-button\" name=\"PrescribeAs\"\r\n [value]=\"'RPBS'\"\r\n [disabled]=\"prescribeAS_RPBS || commonServices.isFetching || commonServices.editPrescribedPrescription === true\"\r\n [checked]=\"commonServices.PrescribeAS.toLowerCase() === 'rpbs'\" (click)=\"RPBS()\"\r\n [(ngModel)]=\"commonServices.PrescribeAS\" /><span class=\"mdl-radio__label radio_txt\"\r\n [class]=\"{ 'disabled-style': prescribeAS_RPBS == true|| commonServices.isFetching || commonServices.editPrescribedPrescription === true}\">RPBS</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class=\"rx_new_popup_checkbox\" *ngIf=\"\r\n commonServices.selectedFormulation != null && commonServices.selectedFormulation.pbsType!=undefined && commonServices.selectedFormulation.pbsType!=null &&\r\n commonServices.selectedFormulation.pbsType.toLowerCase() === 'non pbs' &&\r\n commonServices.patientDetails.dvaNumber != null &&\r\n commonServices.patientDetails.dvaNumber != '' && isNonPbsFlag == false && !isPrescribeAsPrivateOnly\r\n \">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox\" class=\"check_box\"\r\n [checked]=\"commonServices.unlistedRA\" (click)=\"unlistedRA()\"\r\n [(ngModel)]=\"commonServices.unlistedRA\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" />\r\n <span class=\"mdl-checkbox__label check_box_label\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">\r\n Unlisted RA\r\n </span>\r\n </label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n M_CTG_box_hide: !(\r\n commonServices.patientDetails &&\r\n commonServices.patientDetails.patientCtgFlag == 0 &&\r\n commonServices.patientDetails.patientCtgCoPayment == 0 &&\r\n commonServices.PrescribeAS.toLowerCase() == 'pbs'\r\n )\r\n }\">\r\n <!-- <p class=\"new_rx_popup_label\">CTG/PBS Co Payment:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.CTGCoPayment\"\r\n [checked]=\"commonServices.CTGCoPayment == true\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">CTG/PBS\r\n Co Payment</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Script Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n id=\"RxScriptDate\" placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.scriptDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Start Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxStartDate\"\r\n placeholder=\" ../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.startDate\" (ngModelChange)=\"commonServices.rxEndDateCalculater()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">End Date:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"date\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\" id=\"RxEndDate\"\r\n placeholder=\"../../....\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.endDate\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Days Between Repeats:</p>\r\n <input autocomplete=\"off\" (paste)=\"$event.preventDefault()\" placeholder=\"Enter Days Between Repeats\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true||commonServices.isMedicineRestrict}\"\r\n class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"number\" id=\"Daybetweenrepeats\" [min]=\"0\"\r\n [disabled]=\"commonServices.isFetching || commonServices.editPrescribedPrescription||commonServices.isMedicineRestrict\"\r\n [(ngModel)]=\"commonServices.daysBtnRepeatsVal\" (keypress)=\"checkMobile($event)\"\r\n (input)=\"dayschange()\" />\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <div>\r\n <p class=\"new_rx_popup_label\">Purpose:</p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selectedPurpose:\"\r\n placeholder=\"Select Purpose\" readOnly [(ngModel)]=\"commonServices.purposeSearchValue\"\r\n (click)=\"purposeDropdown()\" />\r\n <div #PurposeDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_purpose_box h-160p\"\r\n [class]=\"{ M_list_box_show: selectPurposeDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\">\r\n <li (click)=\"selectPurposeValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let purpose of purposeData\" (click)=\"selectPurposeValue(purpose)\" [class]=\"{\r\n heighlight:\r\n purpose['lookupText'] ==\r\n commonServices.purposeSearchValue\r\n }\">\r\n {{ purpose[\"lookupText\"] }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.isBrandName != true }\">\r\n <!-- <p class=\"new_rx_popup_label\">Substitution:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox1\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true || commonServices.isBrandName == false\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.BrandSubstitutesNotAllow\"\r\n (change)=\"this.brandSubstitutesNotAllow(commonServices.BrandSubstitutesNotAllow)\" [checked]=\"\r\n commonServices.BrandSubstitutesNotAllow\r\n ? commonServices.BrandSubstitutesNotAllow\r\n : false\r\n \" /><span class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Brand\r\n Substitution\r\n Not Permitted</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{ M_CTG_box_hide_brand: commonServices.lemi == true }\" id=\"brandnametooltip\"\r\n (mouseleave)=\"hideToolTip()\" (mouseenter)=\"showtooltip(commonServices.lemi,brandtooltip)\">\r\n <!-- <p class=\"new_rx_popup_label\">Brand Name:</p> -->\r\n <ng-template #brandtooltip><span class=\"include_brand_tooltip\">The selected product is LEMI\r\n identified. Therefore it may be\r\n prescribed by the brand name only.</span></ng-template>\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\" [class]=\"{\r\n M_CTG_box_hide_brand_name: commonServices.lemi == true || commonServices.isFetching == true || commonServices.editPrescribedPrescription === true\r\n }\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [checked]=\"commonServices.isBrandName\"\r\n [(ngModel)]=\"commonServices.isBrandName\"\r\n (change)=\"this.isChangeBrandName(commonServices.isBrandName)\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400; font-size: 16px\">Include Brand\r\n Name</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Regulation 24:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\" [(ngModel)]=\"commonServices.regulation24\"\r\n [checked]=\"commonServices.regulation24\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Regulation\r\n 24</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\"\r\n [class]=\"{ disabledRxContent: commonServices.isFetching}\">\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">DO NOT send to MySL:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.mySLConsent\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">DO\r\n NOT send to MySL</span></label>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n style=\"position: relative\">\r\n <p class=\"new_rx_popup_label\">\r\n <!-- Pharmacy: -->\r\n <span>\r\n <div class=\"rx_new_popup_checkbox\" style=\"margin-top: 0px\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\"><input autocomplete=\"off\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\" type=\"checkbox\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.sendToPharmacy\" (change)=\"sendToPharmacyChange()\" /><span\r\n class=\"mdl-checkbox__label\" style=\"font-weight: 400;font-size: 16px;margin-top: -7px;\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Send\r\n to Pharmacy</span></label>\r\n </div>\r\n </span>\r\n </p>\r\n <input autocomplete=\"off\" class=\"mdl-textfield__input new_rx_popup_tab_input\" type=\"text\" readonly\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" id=\"selecteddose\" placeholder=\"Select Value\"\r\n [(ngModel)]=\"commonServices.sendToPharmacyValue\" (click)=\"stpValueDropdown()\"\r\n [class]=\"{ M_CTG_box_hide: commonServices.sendToPharmacy != true }\" />\r\n <div #stpDropdown class=\"new_rx_popup_tab_dropdown_list_box new_rx_popup_tab_stp_box h-93p\"\r\n [class]=\"{ M_list_box_show: selectstpDropdown === true }\">\r\n <ul class=\"new_rx_popup_tab_1_list rx_dropdown\" style=\"margin-bottom: 0px\">\r\n <li (click)=\"selectStpValue(null)\" class=\"p-12\"></li>\r\n <li *ngFor=\"let sendtopharmacy of sendtopharmacyData\" (click)=\"selectStpValue(sendtopharmacy)\">\r\n {{ sendtopharmacy.name }}\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--3-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <!-- <p class=\"new_rx_popup_label\">Emergency Supply:</p> -->\r\n <div class=\"rx_new_popup_checkbox m-t-36\">\r\n <label class=\"mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect\">\r\n <input autocomplete=\"off\" type=\"checkbox\" id=\"checkbox2\"\r\n [disabled]=\"commonServices.editPrescribedPrescription === true\"\r\n class=\"mdl-checkbox__input rx_new_group_checkbox\"\r\n [(ngModel)]=\"commonServices.emergencySupply\" /><span class=\"mdl-checkbox__label\"\r\n style=\"font-weight: 400; font-size: 16px\"\r\n [class]=\"{'disabled-style': commonServices.isFetching == true || commonServices.editPrescribedPrescription === true}\">Emergency\r\n Supply</span></label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"page == 2\" class=\"new_rx_popup_tab_2\">\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px; opacity: 1\">\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <div style=\"width: 100%; padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <div class=\"mdl-grid new_rx_popup_tab_1_grid\">\r\n <div class=\"mdl-cell mdl-cell--12-col\">\r\n <p class=\"new_rx_popup_label\">RX</p>\r\n <p class=\"new_rx_popup_label_p\">\r\n <b [innerHTML]=\"commonServices.rxDisplayName\"></b>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\" style=\"margin: 0px\">Quantity: <span\r\n style=\"color: rgb(45, 45, 45); font-weight: 600\">{{ commonServices.quantityVal }}\r\n </span> Repeats: <span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default Quantity:{{getDefaultQuantity()}}\r\n Default Repeats:\r\n {{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?commonServices.selectedFormulation.repeats:\"\"\r\n }}\r\n </p>\r\n <p *ngIf=\"commonServices.doseSearchValue != '' ||commonServices.freqSearchValue != ''\"\r\n class=\"new_rx_popup_label_p\">\r\n <span>{{ commonServices.doseSearchValue }} </span><span>{{ commonServices.freqSearchValue\r\n }}</span>\r\n </p>\r\n <p *ngIf=\"commonServices.foodSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.foodSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n {{InstructionDescription !=\"\" && InstructionDescription!=null?\r\n InstructionDescription:commonServices.InstructionSearchValue!=\"\" &&\r\n commonServices.InstructionSearchValue!=null?commonServices.InstructionSearchValue:\"\"}}\r\n </p>\r\n <p *ngIf=\"commonServices.routeSearchValue != ''\" class=\"new_rx_popup_label_p\">\r\n {{ commonServices.routeSearchValue }}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n P.R.N :\r\n <i *ngIf=\"commonServices.rxPRN\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.rxPRN\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Days Between Repeats:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">{{commonServices.daysBtnRepeatsVal}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.daysBtnRepeatsVal)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Unusual Dose:\r\n <i *ngIf=\"commonServices.unUsualDoseFlag\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.unUsualDoseFlag\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Script Date:\r\n <span>{{this.commonServices.scriptDate|date:'dd-MM-yyyy'}}</span>\r\n\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Start Date:\r\n <span>{{this.commonServices.startDate|date:'dd-MM-yyyy'}}</span>, End Date:\r\n {{this.commonServices.endDate|date:'dd-MM-yyyy'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Prescribe As:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">{{commonServices.PrescribeAS}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.PrescribeAS)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">Purpose:\r\n <span\r\n *ngIf=\"!commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">{{commonServices.purposeSearchValue}}</span>\r\n <span *ngIf=\"commonServices.IsNullOrEmpty(commonServices.purposeSearchValue)\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Include Brand Name:\r\n <i *ngIf=\"commonServices.isBrandName\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.isBrandName\">-</span>,\r\n Brand Substitution Not Permitted:\r\n <i *ngIf=\"commonServices.BrandSubstitutesNotAllow\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.BrandSubstitutesNotAllow\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Regulation 24:\r\n <i *ngIf=\"commonServices.regulation24\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.regulation24\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n CTG/PBS Co Payment:\r\n <i *ngIf=\"commonServices.CTGCoPayment\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.CTGCoPayment\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n DO NOT send to MySL:\r\n <i *ngIf=\"commonServices.mySLConsent\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.mySLConsent\">-</span>\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Send to Pharmacy:\r\n <i *ngIf=\"commonServices.sendToPharmacy\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.sendToPharmacy\">-</span>, Send to Pharmacy Value:\r\n {{!commonServices.IsNullOrEmpty(commonServices.sendToPharmacyValue)?commonServices.sendToPharmacyValue:'-'}}\r\n </p>\r\n <p class=\"new_rx_popup_label_p\">\r\n Emergency Supply:\r\n <i *ngIf=\"commonServices.emergencySupply\" class=\"material-icons icon-done\"\r\n style=\"color: #0077b6\">check</i>\r\n <span *ngIf=\"!commonServices.emergencySupply\">-</span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Note To Pharmacy:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.doctorNotes\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Annotation:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.annotation\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">Reason For Prescription:</p>\r\n\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"3\" maxlength=\"50\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"this.commonServices.prescriptionReason\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-535p\"></textarea>\r\n </div>\r\n\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\" style=\"text-transform: capitalize;\">\r\n {{this.getStateAuthorityLabel(commonServices.patientDetails.state)}}\r\n </p>\r\n\r\n <p style=\"margin: 0px;margin-top: -8px;margin-bottom: 10px;\">\r\n <span class=\"state-txt-color new_rx_popup_label_p\">(Relevant to\r\n {{ commonServices.patientDetails.state }})</span>\r\n </p>\r\n\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.StateAuthorityNumber\" maxlength=\"25\"\r\n (keypress)=\"authorityNoValidation($event)\" (ngModelChange)=\"authorityNoChange($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\"\r\n [class]=\"{\r\n 'new_rx_no_authority':!showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',commonServices.PrescribeAS,commonServices.rxAuthority,commonServices.unlistedRA)\r\n }\">\r\n <div *ngIf=\"\r\n showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \">\r\n <div style=\"padding: 0px\" class=\"mdl-grid\">\r\n <div class=\"mdl-cell mdl-cell--8-col mdl-cell--6-col-tablet mdl-cell--4-col-phone\">\r\n <span class=\"new_rx_popup_label_New\">HOTLINE: <span\r\n class=\"new_rx_popup_label_span\">{{commonServices.PrescribeAS ==\r\n 'RPBS'?'1800552580':'1800888333'}}</span></span>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--4-col mdl-cell--2-col-tablet mdl-cell--4-col-phone\">\r\n <div style=\"text-align: right\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Name:<span>{{\r\n commonServices.patientDetails.firstName +\r\n \" \" +\r\n commonServices.patientDetails.lastName\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Prescriber Number:<span>{{\r\n commonServices.physicianDetails.prescriberNumber\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Patient Medicare Number:<span>{{\r\n commonServices.patientDetails.medicareNumber\r\n ? commonServices.patientDetails.medicareNumber\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--6-col mdl-cell--4-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Authority Form No:\r\n <span>{{\r\n commonServices.authorityFormNo\r\n ? commonServices.authorityFormNo\r\n : \"\"\r\n }}</span>\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"width: 100%; padding: 0px\">\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone new_rx_mobile_fullwidth\">\r\n <p class=\"new_rx_popup_label\">Authority Item:</p>\r\n <p class=\"authority_item_text\" [innerHTML]=\"commonServices.rxDisplayName\"></p>\r\n\r\n <p class=\"new_rx_popup_label_p new_rx_popup_tab_smallBoxes\" style=\"margin: 0px\">\r\n Quantity:<span style=\"color: rgb(45, 45, 45); font-weight: 600\"> {{ commonServices.quantityVal\r\n }}</span> Repeats:<span style=\"color: rgb(45, 45, 45); font-weight: 600\">\r\n {{ commonServices.repeatsVal }}</span> Default\r\n Quantity:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.maxQtyUnits!=null?(commonServices.quantityWithUnitFlag?\"1\r\n x \":\"\")+commonServices.selectedFormulation.maxQtyUnits:\"\"}}\r\n Default\r\n Repeats:{{commonServices.selectedFormulation!=null&&commonServices.selectedFormulation.repeats!=null?\r\n commonServices.selectedFormulation.repeats:\"\"}}\r\n </p>\r\n\r\n </div>\r\n </div>\r\n <div class=\"mdl-grid\" style=\"padding: 0px\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n PBS Listed Indication Authority:\r\n </p>\r\n <div class=\"w-100 new_rx_popup_tab_textarea\"\r\n style=\"min-height: 70px; max-height: 150px; overflow: auto\">\r\n <ul style=\"margin: 0px; padding-left: 15px;list-style: none;padding: 0px;\" *ngIf=\"\r\n this.isShowRestrictions == true &&\r\n commonServices.selectedFormulation.Restrictions !=\r\n null &&\r\n commonServices.selectedFormulation.Restrictions != ''\r\n \">\r\n <li style=\"font-size: 12px;padding: 0px 10px;margin-bottom: 10px;\"\r\n class=\"new_rx_pop_aut_int cursor\" *ngFor=\"\r\n let restriction of commonServices.selectedFormulation\r\n .Restrictions;\r\n index as i\r\n \" [class]=\"{\r\n new_rx_pop_aut_ins_select:\r\n commonServices.pbsListInstructionsId == i\r\n }\">\r\n <p style=\"\r\n margin: 0px;\r\n display: flex;\r\n align-content: center;\r\n margin-bottom: 10px;\r\n \" *ngIf=\"\r\n restriction.restrictionPreview != null &&\r\n restriction.restrictionPreview != '' &&\r\n restriction.restrictionText != null &&\r\n restriction.restrictionText != ''\r\n \">\r\n <span\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length < 80\"><b>{{\r\n restriction.restrictionType }}</b> -\r\n <span [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n )\r\n \"></span></span></span>\r\n <span class=\"rx_restrictionText\" style=\"font-size: 12px;\"\r\n *ngIf=\"restriction.restrictionText.length > 80\"><b (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \">{{\r\n restriction.restrictionType }}</b> -\r\n <span (click)=\"\r\n indicationAuthority(\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.maxQtyUnits:'',\r\n commonServices.quantityVal,\r\n commonServices.selectedFormulation!=null?commonServices.selectedFormulation.repeats:'',\r\n commonServices.repeatsVal,\r\n i,\r\n restriction\r\n )\r\n \" [innerHTML]=\"\r\n htmlToFormattedText(\r\n restriction.restrictionPreview\r\n ).substring(0, 80)\r\n \"></span>...\r\n <span>\r\n </span>\r\n <a style=\"cursor: pointer; color: #ff9978\" id=\"show-tooltip-id\">Show\r\n More</a></span>\r\n <ng-template #tooltipdemo>\r\n <p class=\"rx_tooltip_inner_box\" [innerHTML]=\"restriction.restrictionText\"></p>\r\n </ng-template>\r\n </p>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\"\r\n style=\"padding: 0px\">\r\n <!-- <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">PBS Notes:</p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" maxlength=\"500\" placeholder=\"\"\r\n [class]=\"{'edit-disable-data': commonServices.editPrescribedPrescription === true}\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsNotes\"></textarea>\r\n </div> -->\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n Indication For This Authority:\r\n </p>\r\n <textarea autocomplete=\"off\" name=\"\" id=\"\" rows=\"2\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\"\r\n [(ngModel)]=\"commonServices.pbsListInstructions\" (ngModelChange)=\"onInputChange($event)\"\r\n class=\"w-100 new_rx_popup_tab_textarea rx-m-w-100\"></textarea>\r\n </div>\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"new_rx_popup_label\">\r\n {{\r\n getAuthorityLabel(commonServices.patientDetails.state)\r\n }}\r\n </p>\r\n <input autocomplete=\"off\" type=\"text\" name=\"approval\" placeholder=\"\"\r\n [class]=\"{'edit-dsable-data': commonServices.editPrescribedPrescription === true}\"\r\n [disabled]=\"commonServices.editPrescribedPrescription\" class=\"new_rx_popup_tab_input\"\r\n [(ngModel)]=\"commonServices.approvalNo\" (ngModelChange)=\"onInputchangeApprovalNo($event)\"\r\n (keypress)=\"authorityNoValidation($event)\" />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"\r\n !showAuthorityBox(\r\n commonServices.selectedFormulation!=null? commonServices.selectedFormulation.Restrictions:'',\r\n commonServices.PrescribeAS,\r\n commonServices.rxAuthority,\r\n commonServices.unlistedRA\r\n )\r\n \" style=\"width: 100%;\">\r\n <div style=\"text-align: right\" *ngIf=\"!commonServices.isMedicineRestrict\">\r\n <img src=\"https://passets.hola.health/rx-widgets/rx-mims.png\" alt=\"MIMS logo\"\r\n style=\"width: 80px; height: auto\" />\r\n </div>\r\n <div class=\"No_Authority_box\">\r\n <p>No Authority Required</p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"rx_footer\">\r\n <div class=\"rx_footer_brand\">\r\n <p class=\"ml-10\"><span>Hola Consult | 1.0 <span *ngIf=\"commonServices.sandbox\">| <span\r\n class=\"rx_staging\">This is a sandbox environment</span></span></span></p>\r\n <p class=\"mt-15p\">\r\n <span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v\r\n 1.1.3 |\r\n <a href=\"https://hola.health/consult-terms\" target=\"_blank\">Terms</a> |\r\n <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> |\r\n <a href=\"mailto:support@hola.health\" target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: ["@charset \"UTF-8\";.loader{border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #020202;width:30px;height:30px;animation:spin 1s linear infinite;margin-left:18px;margin-top:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.m-v4{margin-left:4vh}.rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.drp-icon{color:#fff;font-size:19px;margin-left:5px}.select-action-btn{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;justify-content:center;align-items:center}.select-action-ul{width:80%}.new_rx_popup_mims .React__Overlay_Open_Popup{position:fixed;inset:0;background-color:#00000080!important}.new_rx_popup_mims .new_rx_mims_Overlay_Open_Popup{z-index:9999999!important}.new_rx_popup_mims .ReactModal__Overlay{overflow-y:auto!important}.new_rx_popup_mims .ReactModal_popup{width:100%;padding:0;margin:20px 0 0}.new_rx_popup_mims .ReactModal__Content{margin:auto}.edit-disable-data{pointer-events:none;opacity:.6}.new_rx_popup_btns{position:relative;display:flex;justify-content:flex-end;align-items:center}@media only screen and (max-width: 1023px){.rx_ipad_header_box_1{width:calc(35% - 16px)}.rx_ipad_header_box_2{width:calc(65% - 16px)}.rx_ipad_header_box_3{width:calc(100% - 16px)}.new_mobile_rx_popup_header_text{display:block;text-align:center}}@media screen and (max-width: 767px){.new_rx_popup_btns,.new_mobile_rx_popup_header_text{display:block;text-align:center}.new_mobile_rx_top_bottom_0{margin-top:0;margin-bottom:0}.new_mobile_rx_btn{margin-bottom:5px}}.favourites-toggle-link{color:#0077b6!important;text-decoration:underline;cursor:pointer!important;font-size:14px;font-weight:400;line-height:20px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;outline:none!important;-webkit-tap-highlight-color:transparent}\n"] }]
|
|
6341
6354
|
}], ctorParameters: function () { return [{ type: ApiService }, { type: CommonServices }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i3.DatePipe }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { wrapperRef: [{
|
|
6342
6355
|
type: ViewChild,
|
|
6343
6356
|
args: ['MedicineDropdown', { static: false }]
|
|
@@ -7477,6 +7490,10 @@ class HolaRx {
|
|
|
7477
7490
|
}
|
|
7478
7491
|
}
|
|
7479
7492
|
this.commonservice.createPatientResponse = res;
|
|
7493
|
+
this.commonservice.enablePaperScript = res.isEnableScript;
|
|
7494
|
+
this.commonservice.enableSendPaperScriptInMail = res.isEnableScriptMail;
|
|
7495
|
+
this.commonservice.enableSendEScriptInMail = res.isEnableEscriptMail;
|
|
7496
|
+
this.commonservice.enableEScript = res.isEnableEscript;
|
|
7480
7497
|
if (!this.IsNullOrEmpty(this.commonservice.physicianDetails) && !this.IsNullOrEmpty(this.commonservice.physicianDetails.ePrescriptionAllowed) && this.commonservice.physicianDetails.ePrescriptionAllowed == 0)
|
|
7481
7498
|
this.HIvalidation(res);
|
|
7482
7499
|
return this.commonservice.openRxWidget(this.content);
|