@james_jayaraj/test-npm 1.3.1 → 1.3.2
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.
|
@@ -6370,12 +6370,14 @@ class RxComponent {
|
|
|
6370
6370
|
else {
|
|
6371
6371
|
this.favMedicineLoader = false;
|
|
6372
6372
|
var selecteddata = null;
|
|
6373
|
+
this.commonServices.favouriteEncryptedId = rxList.encryptedId;
|
|
6373
6374
|
if (!this.commonServices.IsNullOrEmpty(rxList === null || rxList === void 0 ? void 0 : rxList.productId)) {
|
|
6374
6375
|
selecteddata = this.commonServices.selectedMedicineList.filter((x) => x.productId == Number(rxList.productId));
|
|
6375
6376
|
// selecteddata = this.commonServices.selectedMedicineList.splice(index, 1);
|
|
6376
6377
|
}
|
|
6377
6378
|
this.commonServices.selectedFormulation = selecteddata[0];
|
|
6378
6379
|
this.commonServices.clearMedicalPrescriptionDataOnchangeofMedicine(selecteddata[0]);
|
|
6380
|
+
this.assignCombinations(rxList);
|
|
6379
6381
|
this.changedetect.detectChanges();
|
|
6380
6382
|
this.commonServices.isFetching = false;
|
|
6381
6383
|
this.isRtpmNext = true;
|
|
@@ -6400,7 +6402,9 @@ class RxComponent {
|
|
|
6400
6402
|
var _a;
|
|
6401
6403
|
return favMed.productId.toString() === this.commonServices.selectedFormulation.productId.toString() &&
|
|
6402
6404
|
(!this.commonServices.IsNullOrEmpty(favMed.pbsCode) ? favMed.pbsCode : "") === (!this.commonServices.IsNullOrEmpty((_a = this.commonServices.selectedFormulation) === null || _a === void 0 ? void 0 : _a.pbsCode) ? this.commonServices.selectedFormulation.pbsCode : "") &&
|
|
6403
|
-
favMed.productName === this.commonServices.selectedFormulation.productName
|
|
6405
|
+
favMed.productName === this.commonServices.selectedFormulation.productName && favMed.quantity === this.commonServices.quantityVal && favMed.repeats === this.commonServices.repeatsVal &&
|
|
6406
|
+
favMed.dose === this.commonServices.doseSearchValue && favMed.frequency === this.commonServices.freqSearchValue && favMed.food === this.commonServices.foodSearchValue &&
|
|
6407
|
+
favMed.instruction === this.commonServices.InstructionSearchValue && favMed.route === this.commonServices.routeSearchValue;
|
|
6404
6408
|
});
|
|
6405
6409
|
}
|
|
6406
6410
|
isPbsTypeMatch(itemPbsType, pbsTypeFilter) {
|