@james_jayaraj/test-npm 1.2.9 → 1.3.1
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.
|
@@ -5007,7 +5007,8 @@ class RxComponent {
|
|
|
5007
5007
|
amtCodeSystem: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtCodeSystem) ? this.commonServices.selectedFormulation.amtCodeSystem : "",
|
|
5008
5008
|
amtVersion: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtVersion) ? this.commonServices.selectedFormulation.amtVersion : "",
|
|
5009
5009
|
quantityWithUnit: this.commonServices.quantityWithUnitFlag && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.maxQtyUnits) ? this.commonServices.selectedFormulation.maxQtyUnits : "",
|
|
5010
|
-
clientId: this.clientId
|
|
5010
|
+
clientId: this.clientId,
|
|
5011
|
+
productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
|
|
5011
5012
|
};
|
|
5012
5013
|
this.commonServices.removeErrToast();
|
|
5013
5014
|
this.changedetect.detectChanges();
|
|
@@ -5314,7 +5315,8 @@ class RxComponent {
|
|
|
5314
5315
|
amtCodeSystem: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtCodeSystem) ? this.commonServices.selectedFormulation.amtCodeSystem : "",
|
|
5315
5316
|
amtVersion: !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.amtVersion) ? this.commonServices.selectedFormulation.amtVersion : "",
|
|
5316
5317
|
quantityWithUnit: this.commonServices.quantityWithUnitFlag && !this.commonServices.IsNullOrEmpty(this.commonServices.selectedFormulation?.maxQtyUnits) ? this.commonServices.selectedFormulation.maxQtyUnits : "",
|
|
5317
|
-
clientId: this.clientId
|
|
5318
|
+
clientId: this.clientId,
|
|
5319
|
+
productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
|
|
5318
5320
|
};
|
|
5319
5321
|
this.commonServices.prescribeMedLoader = true;
|
|
5320
5322
|
this.commonServices.removeErrToast();
|
|
@@ -5440,9 +5442,10 @@ class RxComponent {
|
|
|
5440
5442
|
request_type: "parameter",
|
|
5441
5443
|
productId: rxList.productId,
|
|
5442
5444
|
pbsCode: rxList.pbsItemCodeCode,
|
|
5443
|
-
rxId: this.commonServices.rxid
|
|
5445
|
+
rxId: this.commonServices.rxid,
|
|
5446
|
+
productPackId: rxList.productPackId ? rxList.productPackId : '',
|
|
5444
5447
|
};
|
|
5445
|
-
this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" +
|
|
5448
|
+
this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + rxList.pbsItemCodeCode + "&rxId=" + this.commonServices.rxid + "&productPackId=" + (rxList.productPackId ? rxList.productPackId : '')).subscribe((res) => {
|
|
5446
5449
|
try {
|
|
5447
5450
|
if (this.commonServices.IsNullOrEmpty(res)) {
|
|
5448
5451
|
this.PopupScreenLoader = false;
|
|
@@ -6174,6 +6177,7 @@ class RxComponent {
|
|
|
6174
6177
|
instruction: this.commonServices.InstructionSearchValue,
|
|
6175
6178
|
route: this.commonServices.routeSearchValue,
|
|
6176
6179
|
...(!isAdding && { encryptedId: this.commonServices.favouriteEncryptedId }),
|
|
6180
|
+
productPackId: this.commonServices.selectedFormulation?.productPackId ? this.commonServices.selectedFormulation.productPackId : '',
|
|
6177
6181
|
};
|
|
6178
6182
|
this.apiService.Post(body, config.PHYSICIAN.ADD_FAVOURITE_MEDICINE).subscribe((res) => {
|
|
6179
6183
|
try {
|
|
@@ -6208,8 +6212,6 @@ class RxComponent {
|
|
|
6208
6212
|
this.commonServices.setlogvalue(false, res.response_message, res.response_message, "RxComponent", "AddFavourites", body);
|
|
6209
6213
|
this.commonServices.toastopen(res.response_message, 'error', res.error_code);
|
|
6210
6214
|
this.commonServices.errorResponse(res.error_code, res.response_message);
|
|
6211
|
-
this.selectInstructionDropdownList = false;
|
|
6212
|
-
this.selectInstructionDropdown = true;
|
|
6213
6215
|
}
|
|
6214
6216
|
this.changedetect.detectChanges();
|
|
6215
6217
|
}
|
|
@@ -6309,12 +6311,13 @@ class RxComponent {
|
|
|
6309
6311
|
request_type: "parameter",
|
|
6310
6312
|
productId: rxList.productId,
|
|
6311
6313
|
pbsCode: rxList.pbsCode,
|
|
6312
|
-
rxId: 0
|
|
6314
|
+
rxId: 0,
|
|
6315
|
+
productPackId: rxList.productPackId ? rxList.productPackId : '',
|
|
6313
6316
|
};
|
|
6314
6317
|
this.favMedicineLoader = true;
|
|
6315
6318
|
this.commonServices.favouriteEncryptedId = rxList.encryptedId;
|
|
6316
6319
|
this.changedetect.detectChanges();
|
|
6317
|
-
this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" +
|
|
6320
|
+
this.apiService.Get(config.PHYSICIAN.GET_MED_DET_BY_ID + "?productId=" + rxList.productId + "&pbsCode=" + rxList.pbsCode + "&rxId=" + 0 + "&productPackId=" + (rxList.productPackId ? rxList.productPackId : '')).subscribe((res) => {
|
|
6318
6321
|
try {
|
|
6319
6322
|
if (this.commonServices.IsNullOrEmpty(res)) {
|
|
6320
6323
|
this.favMedicineLoader = false;
|