@james_jayaraj/test-npm 1.4.1 → 1.4.3

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.
@@ -517,10 +517,10 @@ class ReferralRxComponent {
517
517
  }
518
518
  }
519
519
  ReferralRxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReferralRxComponent, deps: [{ token: i0.ElementRef }, { token: ApiService }, { token: CommonServices }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
520
- ReferralRxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReferralRxComponent, selector: "lib-referral-rx", outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"overlay\">\r\n <div class=\"popup_referal_pathology\">\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-referral-spin'\"> </app-splashscreen>\r\n <div *ngIf=\"!PopupScreenLoader\" class=\"page-content\" id=\"qwer\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid pathology_header\">\r\n <div>\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\" style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n Pathology Referral Form\r\n </h3>\r\n </div>\r\n <div>\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\">\r\n Close\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"font_f\"><span class=\"new_rx_popup_label\">Send to:\r\n </span>{{commonServices.patientDetails.email}}</p>\r\n <p class=\"new_rx_popup_label\">Tests to Be Conducted<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"testsToBeConducted\" name=\"\" id=\"\" rows=\"4\" maxlength=\"500\"\r\n placeholder=\"Tests to Be Conducted (500 characters maximum)\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"></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\">Clinical Notes<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"clinicalNotes\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\"\r\n placeholder=\"Clinical Notes\" class=\"w-100 new_rx_popup_tab_textarea\"></textarea>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--12-col-tablet mdl-cell--12-col-phone new_rx_popup_header_box_col new_rx_popup_header_box_col_padding\">\r\n <!-- <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\" (click)=\"Submit()\">\r\n Send Referral\r\n </button> -->\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\"\r\n style=\"position: relative;padding: 0;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"Submit()\">\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: 45%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Send Referral\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 class=\"rx_footer\">\r\n <p class=\"mt-15p\"><span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v 1.1.4 | <a href=\"https://hola.health/consult-terms\"\r\n target=\"_blank\">Terms</a> | <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> | <a href=\"mailto:support@hola.health\"\r\n target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template #rxwidgets> </ng-template>\r\n", styles: [".rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.backButton{font-family:Roboto Medium!important;font-weight:500;color:gray!important;text-transform:none!important;border:1.5px solid #808080!important;background-color:transparent!important;box-shadow:none!important;font-size:14px;height:unset!important;border-radius:2px!important;cursor:pointer;margin-left:10px;margin-right:0!important;padding:10px 20px!important}.backButton:hover{background-color:#00000008!important;opacity:.8!important}\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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { 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"] }] });
520
+ ReferralRxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ReferralRxComponent, selector: "lib-referral-rx", outputs: { closeEvent: "closeEvent", submitEvent: "submitEvent" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["rxwidgets"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"overlay\">\r\n <div class=\"popup_referal_pathology\">\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-referral-spin'\"> </app-splashscreen>\r\n <div *ngIf=\"!PopupScreenLoader\" class=\"page-content\" id=\"qwer\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid pathology_header\">\r\n <div>\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\" style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n Pathology Referral Form\r\n </h3>\r\n </div>\r\n <div>\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\">\r\n Close\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"font_f\"><span class=\"new_rx_popup_label\">Send to:\r\n </span>{{commonServices.patientDetails.email}}</p>\r\n <p class=\"new_rx_popup_label\">Tests to Be Conducted<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"testsToBeConducted\" name=\"\" id=\"\" rows=\"4\" maxlength=\"500\"\r\n placeholder=\"Tests to Be Conducted (500 characters maximum)\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"></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\">Clinical Notes<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"clinicalNotes\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\"\r\n placeholder=\"Clinical Notes\" class=\"w-100 new_rx_popup_tab_textarea\"></textarea>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--12-col-tablet mdl-cell--12-col-phone new_rx_popup_header_box_col new_rx_popup_header_box_col_padding\">\r\n <!-- <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\" (click)=\"Submit()\">\r\n Send Referral\r\n </button> -->\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\"\r\n style=\"position: relative;padding: 0;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"Submit()\">\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: 45%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Send Referral\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 class=\"rx_footer\">\r\n <p class=\"mt-15p\"><span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v 1.1.5 | <a href=\"https://hola.health/consult-terms\"\r\n target=\"_blank\">Terms</a> | <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> | <a href=\"mailto:support@hola.health\"\r\n target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template #rxwidgets> </ng-template>\r\n", styles: [".rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.backButton{font-family:Roboto Medium!important;font-weight:500;color:gray!important;text-transform:none!important;border:1.5px solid #808080!important;background-color:transparent!important;box-shadow:none!important;font-size:14px;height:unset!important;border-radius:2px!important;cursor:pointer;margin-left:10px;margin-right:0!important;padding:10px 20px!important}.backButton:hover{background-color:#00000008!important;opacity:.8!important}\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.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { 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"] }] });
521
521
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ReferralRxComponent, decorators: [{
522
522
  type: Component,
523
- args: [{ selector: 'lib-referral-rx', template: "<div class=\"overlay\">\r\n <div class=\"popup_referal_pathology\">\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-referral-spin'\"> </app-splashscreen>\r\n <div *ngIf=\"!PopupScreenLoader\" class=\"page-content\" id=\"qwer\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid pathology_header\">\r\n <div>\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\" style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n Pathology Referral Form\r\n </h3>\r\n </div>\r\n <div>\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\">\r\n Close\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"font_f\"><span class=\"new_rx_popup_label\">Send to:\r\n </span>{{commonServices.patientDetails.email}}</p>\r\n <p class=\"new_rx_popup_label\">Tests to Be Conducted<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"testsToBeConducted\" name=\"\" id=\"\" rows=\"4\" maxlength=\"500\"\r\n placeholder=\"Tests to Be Conducted (500 characters maximum)\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"></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\">Clinical Notes<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"clinicalNotes\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\"\r\n placeholder=\"Clinical Notes\" class=\"w-100 new_rx_popup_tab_textarea\"></textarea>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--12-col-tablet mdl-cell--12-col-phone new_rx_popup_header_box_col new_rx_popup_header_box_col_padding\">\r\n <!-- <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\" (click)=\"Submit()\">\r\n Send Referral\r\n </button> -->\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\"\r\n style=\"position: relative;padding: 0;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"Submit()\">\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: 45%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Send Referral\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 class=\"rx_footer\">\r\n <p class=\"mt-15p\"><span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v 1.1.4 | <a href=\"https://hola.health/consult-terms\"\r\n target=\"_blank\">Terms</a> | <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> | <a href=\"mailto:support@hola.health\"\r\n target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template #rxwidgets> </ng-template>\r\n", styles: [".rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.backButton{font-family:Roboto Medium!important;font-weight:500;color:gray!important;text-transform:none!important;border:1.5px solid #808080!important;background-color:transparent!important;box-shadow:none!important;font-size:14px;height:unset!important;border-radius:2px!important;cursor:pointer;margin-left:10px;margin-right:0!important;padding:10px 20px!important}.backButton:hover{background-color:#00000008!important;opacity:.8!important}\n"] }]
523
+ args: [{ selector: 'lib-referral-rx', template: "<div class=\"overlay\">\r\n <div class=\"popup_referal_pathology\">\r\n <app-splashscreen *ngIf=\"PopupScreenLoader\" [height]=\"'height-referral-spin'\"> </app-splashscreen>\r\n <div *ngIf=\"!PopupScreenLoader\" class=\"page-content\" id=\"qwer\">\r\n <div class=\"new_rx_popup_header_box\">\r\n <div class=\"mdl-grid pathology_header\">\r\n <div>\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\" style=\"width: auto;height: 37px;border-radius: 5px;\">\r\n Pathology Referral Form\r\n </h3>\r\n </div>\r\n <div>\r\n <button (click)=\"close(null)\"\r\n class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored backButton\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\">\r\n Close\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"new_rx_popup_tab_1\">\r\n <div class=\"mdl-cell mdl-cell--12-col mdl-cell--8-col-tablet mdl-cell--4-col-phone\">\r\n <p class=\"font_f\"><span class=\"new_rx_popup_label\">Send to:\r\n </span>{{commonServices.patientDetails.email}}</p>\r\n <p class=\"new_rx_popup_label\">Tests to Be Conducted<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"testsToBeConducted\" name=\"\" id=\"\" rows=\"4\" maxlength=\"500\"\r\n placeholder=\"Tests to Be Conducted (500 characters maximum)\"\r\n class=\"w-100 new_rx_popup_tab_textarea\"></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\">Clinical Notes<span style=\"color: red !important;\">*</span></p>\r\n <textarea autocomplete=\"off\" [(ngModel)]=\"clinicalNotes\" name=\"\" id=\"\" rows=\"3\" maxlength=\"500\"\r\n placeholder=\"Clinical Notes\" class=\"w-100 new_rx_popup_tab_textarea\"></textarea>\r\n </div>\r\n <div\r\n class=\"mdl-cell mdl-cell--12-col mdl-cell--12-col-tablet mdl-cell--12-col-phone new_rx_popup_header_box_col new_rx_popup_header_box_col_padding\">\r\n <!-- <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\" (click)=\"Submit()\">\r\n Send Referral\r\n </button> -->\r\n <button class=\"mdl-button mdl-js-button mdl-button--raised mdl-button--colored nextButton\"\r\n style=\"position: relative;padding: 0;\"\r\n [disabled]=\"this.commonServices.prescribeMedLoader\" (click)=\"Submit()\">\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: 45%;width: 20px; height: 20px;\">\r\n </p>\r\n </ng-container>\r\n <ng-container *ngIf=\"!this.commonServices.prescribeMedLoader\">\r\n Send Referral\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 class=\"rx_footer\">\r\n <p class=\"mt-15p\"><span class=\"rx_popup_footer_text\">\u00A9 2026 Hola Health, a brand of Packapill Pty Ltd | v 1.1.5 | <a href=\"https://hola.health/consult-terms\"\r\n target=\"_blank\">Terms</a> | <a href=\"https://hola.health/consult-privacy-policy\" target=\"_blank\">Privacy Policy</a> | <a href=\"mailto:support@hola.health\"\r\n target=\"_blank\">Help</a></span>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<ng-template #rxwidgets> </ng-template>\r\n", styles: [".rx_loader_button{border:2px solid #f3f3f3;border-radius:50%;border-top:4px solid #005760;width:30px;height:30px;animation:spin 1s linear infinite}.backButton{font-family:Roboto Medium!important;font-weight:500;color:gray!important;text-transform:none!important;border:1.5px solid #808080!important;background-color:transparent!important;box-shadow:none!important;font-size:14px;height:unset!important;border-radius:2px!important;cursor:pointer;margin-left:10px;margin-right:0!important;padding:10px 20px!important}.backButton:hover{background-color:#00000008!important;opacity:.8!important}\n"] }]
524
524
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ApiService }, { type: CommonServices }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { closeEvent: [{
525
525
  type: Output
526
526
  }], submitEvent: [{
@@ -909,7 +909,6 @@ class ConfirmPatientContactDetailsComponent {
909
909
  this.Email = this.commonServices.isScriptToPharmacy == 1 && this.commonServices.scriptType?.toLocaleLowerCase() !== 'm' && this.commonServices.pharmacyEmail != null && this.commonServices.pharmacyEmail != "" ? this.commonServices.pharmacyEmail : this.commonServices.patientDetails.email;
910
910
  this.commonServices.isScriptToPharmacy == 1 ? this.AddressSendToAddType = "Email" : this.AddressSendToAddType = "SMS";
911
911
  this.scriptType = this.commonServices.scriptType?.toLocaleLowerCase();
912
- this.AddressSendToAddType = this.commonServices.scriptType.toLocaleLowerCase() == 'e' ? 'SMS' : 'email';
913
912
  }
914
913
  ngOnInit() {
915
914
  try {
@@ -7448,8 +7447,8 @@ class HolaRx {
7448
7447
  RxDetails.type = "1";
7449
7448
  RxDetails.clientId = this.commonservice.getCredetial();
7450
7449
  this.tempRxDetails = RxDetails;
7450
+ this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7451
7451
  if (!this.IsNullOrEmpty(this.commonservice.HolaRxToken)) {
7452
- this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7453
7452
  if (!this.IsNullOrEmpty(RxDetails.appointmentid)) {
7454
7453
  this.appointmentValidation(RxDetails, 1);
7455
7454
  }
@@ -7549,8 +7548,8 @@ class HolaRx {
7549
7548
  RxDetails.type = "1";
7550
7549
  RxDetails.clientId = this.commonservice.getCredetial();
7551
7550
  this.tempRxDetails = RxDetails;
7551
+ this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7552
7552
  if (!this.IsNullOrEmpty(this.commonservice.HolaRxToken)) {
7553
- this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7554
7553
  if (!this.IsNullOrEmpty(RxDetails.appointmentid)) {
7555
7554
  this.appointmentValidation(RxDetails, 2);
7556
7555
  }
@@ -7660,8 +7659,8 @@ class HolaRx {
7660
7659
  RxDetails.type = "2";
7661
7660
  RxDetails.clientId = this.commonservice.getCredetial();
7662
7661
  this.tempRxDetails = RxDetails;
7662
+ this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7663
7663
  if (!this.IsNullOrEmpty(this.commonservice.HolaRxToken)) {
7664
- this.auditlog(JSON.stringify(RxDetails), config.CREATE_CONSULTATION);
7665
7664
  this.validation(RxDetails, 3);
7666
7665
  if (this.message != "") {
7667
7666
  this.commonLoaderServices.addLoaderElement(false);
@@ -7753,8 +7752,8 @@ class HolaRx {
7753
7752
  type: "0",
7754
7753
  clientId: clientId
7755
7754
  };
7755
+ this.auditlog(JSON.stringify(payload), config.PHYSICIAN.RX_PRINT + RxID + "&type=0&clientId=" + clientId);
7756
7756
  if (!this.IsNullOrEmpty(this.commonservice.HolaRxToken)) {
7757
- this.auditlog(JSON.stringify(payload), config.PHYSICIAN.RX_PRINT + RxID + "&type=0&clientId=" + clientId);
7758
7757
  if (this.IsNullOrEmpty(RxID)) {
7759
7758
  this.commonservice.toastopen(errorconfig.error_46.message, "error", errorconfig.error_46.code);
7760
7759
  return this.errorResponse(errorconfig.error_46.code, errorconfig.error_46.message);
@@ -7828,8 +7827,8 @@ class HolaRx {
7828
7827
  request_type: "parameter",
7829
7828
  referralId: ReferralID
7830
7829
  };
7830
+ this.auditlog(JSON.stringify(payload), config.PHYSICIAN.REFERRAL_PRINT + ReferralID);
7831
7831
  if (!this.IsNullOrEmpty(this.commonservice.HolaRxToken)) {
7832
- this.auditlog(JSON.stringify(payload), config.PHYSICIAN.REFERRAL_PRINT + ReferralID);
7833
7832
  if (this.IsNullOrEmpty(ReferralID)) {
7834
7833
  this.commonservice.toastopen(errorconfig.error_43.message, "error", errorconfig.error_43.code);
7835
7834
  return this.errorResponse(errorconfig.error_43.code, errorconfig.error_43.message);