primarycare-binder 1.1.19 → 1.1.20

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/dist/index.cjs.js CHANGED
@@ -11022,6 +11022,7 @@ var APPOINTMENT_UPDATE_READ = createAsyncThunk("appointmentReducer/upsertReadApp
11022
11022
  };
11023
11023
  healthCareId = (data === null || data === void 0 ? void 0 : data.HealthCareServiceID) || [];
11024
11024
  info = {
11025
+ locationId: "",
11025
11026
  clinicId: 0,
11026
11027
  id: 0,
11027
11028
  subtext: "",
@@ -11056,6 +11057,7 @@ var APPOINTMENT_UPDATE_READ = createAsyncThunk("appointmentReducer/upsertReadApp
11056
11057
 
11057
11058
  if (Array.isArray(practData)) {
11058
11059
  if (isClinic) {
11060
+ info["locationId"] = id[0];
11059
11061
  info["name"] = ((_practData$2 = practData[0]) === null || _practData$2 === void 0 ? void 0 : _practData$2.shortdesc) || "";
11060
11062
  info["hospitalName"] = ((_practData$3 = practData[0]) === null || _practData$3 === void 0 ? void 0 : (_practData$3$Organiza = _practData$3.Organization) === null || _practData$3$Organiza === void 0 ? void 0 : (_practData$3$Organiza2 = _practData$3$Organiza[0]) === null || _practData$3$Organiza2 === void 0 ? void 0 : _practData$3$Organiza2.name) || "";
11061
11063
  info["hospitalLocation"] = ((_practData$4 = practData[0]) === null || _practData$4 === void 0 ? void 0 : (_practData$4$Organiza = _practData$4.Organization) === null || _practData$4$Organiza === void 0 ? void 0 : (_practData$4$Organiza2 = _practData$4$Organiza.address) === null || _practData$4$Organiza2 === void 0 ? void 0 : (_practData$4$Organiza3 = _practData$4$Organiza2[0]) === null || _practData$4$Organiza3 === void 0 ? void 0 : _practData$4$Organiza3.line) || "";
@@ -13864,6 +13866,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13864
13866
  clinicId: (restData === null || restData === void 0 ? void 0 : (_restData$locationID = restData.locationID) === null || _restData$locationID === void 0 ? void 0 : _restData$locationID.id) || 0,
13865
13867
  id: id,
13866
13868
  subtext: "",
13869
+ locationId: "",
13867
13870
  name: "",
13868
13871
  title: "",
13869
13872
  price: "",
@@ -13896,7 +13899,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13896
13899
  };
13897
13900
 
13898
13901
  if (isClinic) {
13899
- var _restData$clinics5, _restData$clinics5$, _s$Type, _restData$locationID2, _restData$address2, _restData$address2$, _restData$address3, _restData$address3$, _restData$Practitione, _restData$address4, _restData$address4$, _restData$locationID3, _restData$locationID4, _restData$locationID5;
13902
+ var _restData$clinics5, _restData$clinics5$, _s$Type, _restData$locationID2, _restData$locationID3, _restData$address2, _restData$address2$, _restData$address3, _restData$address3$, _restData$Practitione, _restData$address4, _restData$address4$, _restData$locationID4, _restData$locationID5, _restData$locationID6;
13900
13903
 
13901
13904
  var s = restData === null || restData === void 0 ? void 0 : (_restData$clinics5 = restData.clinics) === null || _restData$clinics5 === void 0 ? void 0 : (_restData$clinics5$ = _restData$clinics5[0]) === null || _restData$clinics5$ === void 0 ? void 0 : _restData$clinics5$.Specialties;
13902
13905
 
@@ -13915,7 +13918,8 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13915
13918
  });
13916
13919
  }
13917
13920
 
13918
- info["name"] = (restData === null || restData === void 0 ? void 0 : (_restData$locationID2 = restData.locationID) === null || _restData$locationID2 === void 0 ? void 0 : _restData$locationID2.shortdesc) || "";
13921
+ info["locationId"] = restData === null || restData === void 0 ? void 0 : (_restData$locationID2 = restData.locationID) === null || _restData$locationID2 === void 0 ? void 0 : _restData$locationID2._id;
13922
+ info["name"] = (restData === null || restData === void 0 ? void 0 : (_restData$locationID3 = restData.locationID) === null || _restData$locationID3 === void 0 ? void 0 : _restData$locationID3.shortdesc) || "";
13919
13923
  info["hospitalName"] = (restData === null || restData === void 0 ? void 0 : restData.name) || "";
13920
13924
  info["hospitalLocation"] = (restData === null || restData === void 0 ? void 0 : (_restData$address2 = restData.address) === null || _restData$address2 === void 0 ? void 0 : (_restData$address2$ = _restData$address2[0]) === null || _restData$address2$ === void 0 ? void 0 : _restData$address2$.line) || "";
13921
13925
  info["title"] = (restData === null || restData === void 0 ? void 0 : (_restData$address3 = restData.address) === null || _restData$address3 === void 0 ? void 0 : (_restData$address3$ = _restData$address3[0]) === null || _restData$address3$ === void 0 ? void 0 : _restData$address3$.line) || "";
@@ -13932,7 +13936,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13932
13936
  });
13933
13937
  info["kms"] = (restData === null || restData === void 0 ? void 0 : (_restData$address4 = restData.address) === null || _restData$address4 === void 0 ? void 0 : (_restData$address4$ = _restData$address4[0]) === null || _restData$address4$ === void 0 ? void 0 : _restData$address4$.distance) ? "".concat(restData.address[0].distance) : "0";
13934
13938
  info["key"] = restData === null || restData === void 0 ? void 0 : restData._key;
13935
- info["img"] = getImgUrl(restData === null || restData === void 0 ? void 0 : (_restData$locationID3 = restData.locationID) === null || _restData$locationID3 === void 0 ? void 0 : (_restData$locationID4 = _restData$locationID3.photo) === null || _restData$locationID4 === void 0 ? void 0 : (_restData$locationID5 = _restData$locationID4[0]) === null || _restData$locationID5 === void 0 ? void 0 : _restData$locationID5.fileid);
13939
+ info["img"] = getImgUrl(restData === null || restData === void 0 ? void 0 : (_restData$locationID4 = restData.locationID) === null || _restData$locationID4 === void 0 ? void 0 : (_restData$locationID5 = _restData$locationID4.photo) === null || _restData$locationID5 === void 0 ? void 0 : (_restData$locationID6 = _restData$locationID5[0]) === null || _restData$locationID6 === void 0 ? void 0 : _restData$locationID6.fileid);
13936
13940
  } else {
13937
13941
  var _restData$gender, _restData$gender$codi, _restData$gender$codi2, _restData$Specialties, _restData$communicati, _restData$hospital6, _restData$qualificati, _restData$qualificati2, _restData$qualificati3, _restData$hospital7, _restData$address5, _restData$address5$, _restData$name, _restData$photo, _restData$photo$, _restData$address6, _restData$address6$;
13938
13942
 
@@ -37067,7 +37071,7 @@ var clinicQuery = {
37067
37071
  return {
37068
37072
  db_name: dbName,
37069
37073
  entity: "LocationMaster,LocationMaster_CodeableConceptMaster_E,CodeableConceptMaster_CodingMaster_E,LocationMaster_LocationRoleType_E,LocationMaster_Organization_E,Organization_CodeableConceptMaster_E,LocationMaster_ContactPointMaster_E,LocationMaster_AddressMaster_E,LocationMaster_AttachmentMaster_E",
37070
- filter: "LocationMaster.activestatus==true && LocationMaster.managingOrgID=='".concat(key, "'"),
37074
+ filter: "LocationMaster.activestatus==true && LocationMaster._id=='".concat(key, "'"),
37071
37075
  isTraversal: "true",
37072
37076
  return_fields: "{vertices:v,orginatedata:LocationMaster}"
37073
37077
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primarycare-binder",
3
- "version": "1.1.19",
3
+ "version": "1.1.20",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",