primarycare-binder 1.1.17 → 1.1.21

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.
Files changed (2) hide show
  1. package/dist/index.cjs.js +439 -118
  2. package/package.json +1 -1
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) || "";
@@ -11540,6 +11542,8 @@ var GENERAL_INSTRUCTION = createAsyncThunk("appointmentReducer/generalInstructio
11540
11542
  var payload,
11541
11543
  _ref23,
11542
11544
  rejectWithValue,
11545
+ _data$result2,
11546
+ _data$result2$,
11543
11547
  _payload$org_id,
11544
11548
  org_id,
11545
11549
  body,
@@ -11559,7 +11563,7 @@ var GENERAL_INSTRUCTION = createAsyncThunk("appointmentReducer/generalInstructio
11559
11563
  db_name: dbName,
11560
11564
  entity: "ResourcebyApptType",
11561
11565
  filter: "ResourcebyApptType.organization_id=='".concat(org_id, "' AND lower(document(ResourcebyApptType.ApptTypeCode).display)=='consultation' AND ResourcebyApptType.status==true AND ResourcebyApptType.activestatus==true"),
11562
- return_fields: "{generalInstruction:(FOR gn IN TO_ARRAY(ResourcebyApptType.generalInstruction) RETURN MERGE(gn,{fcode:DOCUMENT(gn.fcode)})),appointmentInstruction:(FOR ai IN TO_ARRAY(ResourcebyApptType.ApptInstructions) RETURN MERGE(ai,{AppInstructionCriteria:DOCUMENT(ai.AppInstructionCriteria)}))}"
11566
+ return_fields: "{orgContact: (let orgInfo = Document(ResourcebyApptType.organization_id) let contact = orgInfo.contact[0] return Document(contact.telecom)[0].value)[0], generalInstruction:(FOR gn IN TO_ARRAY(ResourcebyApptType.generalInstruction) RETURN MERGE(gn,{fcode:DOCUMENT(gn.fcode)})),appointmentInstruction:(FOR ai IN TO_ARRAY(ResourcebyApptType.ApptInstructions) RETURN MERGE(ai,{AppInstructionCriteria:DOCUMENT(ai.AppInstructionCriteria)}))}"
11563
11567
  };
11564
11568
  _context11.next = 7;
11565
11569
  return fetchData$3({
@@ -11592,7 +11596,8 @@ var GENERAL_INSTRUCTION = createAsyncThunk("appointmentReducer/generalInstructio
11592
11596
  return _context11.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
11593
11597
  data: {
11594
11598
  appointmentInstruction: _toConsumableArray(returnData.appointmentInstruction),
11595
- generalInstruction: _toConsumableArray(returnData.generalInstruction)
11599
+ generalInstruction: _toConsumableArray(returnData.generalInstruction),
11600
+ orgContact: data === null || data === void 0 ? void 0 : (_data$result2 = data.result) === null || _data$result2 === void 0 ? void 0 : (_data$result2$ = _data$result2[0]) === null || _data$result2$ === void 0 ? void 0 : _data$result2$.orgContact
11596
11601
  }
11597
11602
  }));
11598
11603
 
@@ -12052,7 +12057,7 @@ var REASON_FOR_APPT_CANCEL_MODIFY = createAsyncThunk("appointmentReducer/reasonF
12052
12057
  body,
12053
12058
  data,
12054
12059
  returnData,
12055
- _data$result2,
12060
+ _data$result3,
12056
12061
  _args16 = arguments;
12057
12062
 
12058
12063
  return regeneratorRuntime.wrap(function _callee16$(_context16) {
@@ -12078,7 +12083,7 @@ var REASON_FOR_APPT_CANCEL_MODIFY = createAsyncThunk("appointmentReducer/reasonF
12078
12083
  returnData = [];
12079
12084
 
12080
12085
  if (Array.isArray(data === null || data === void 0 ? void 0 : data.result)) {
12081
- data === null || data === void 0 ? void 0 : (_data$result2 = data.result) === null || _data$result2 === void 0 ? void 0 : _data$result2.map(function (_) {
12086
+ data === null || data === void 0 ? void 0 : (_data$result3 = data.result) === null || _data$result3 === void 0 ? void 0 : _data$result3.map(function (_) {
12082
12087
  returnData.push({
12083
12088
  title: _ === null || _ === void 0 ? void 0 : _.display,
12084
12089
  value: _ === null || _ === void 0 ? void 0 : _.id,
@@ -13861,6 +13866,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13861
13866
  clinicId: (restData === null || restData === void 0 ? void 0 : (_restData$locationID = restData.locationID) === null || _restData$locationID === void 0 ? void 0 : _restData$locationID.id) || 0,
13862
13867
  id: id,
13863
13868
  subtext: "",
13869
+ locationId: "",
13864
13870
  name: "",
13865
13871
  title: "",
13866
13872
  price: "",
@@ -13893,7 +13899,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13893
13899
  };
13894
13900
 
13895
13901
  if (isClinic) {
13896
- 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;
13897
13903
 
13898
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;
13899
13905
 
@@ -13912,7 +13918,8 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13912
13918
  });
13913
13919
  }
13914
13920
 
13915
- 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) || "";
13916
13923
  info["hospitalName"] = (restData === null || restData === void 0 ? void 0 : restData.name) || "";
13917
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) || "";
13918
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) || "";
@@ -13929,7 +13936,7 @@ var DOCTER_LISTING = createAsyncThunk("docterListingReducer/docterListing", /*#_
13929
13936
  });
13930
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";
13931
13938
  info["key"] = restData === null || restData === void 0 ? void 0 : restData._key;
13932
- 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);
13933
13940
  } else {
13934
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$;
13935
13942
 
@@ -14604,12 +14611,10 @@ var GET_ALL_SPECIALITY = createAsyncThunk("searhcApiSlice/getAllSpeciality", /*#
14604
14611
  }
14605
14612
  }, _callee7, null, [[2, 12]]);
14606
14613
  })));
14607
- var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
14614
+ var GET_ALL_SPECIALITY_2 = createAsyncThunk("searhcApiSlice/getAllSpeciality_2", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
14608
14615
  var payload,
14609
14616
  _ref16,
14610
14617
  rejectWithValue,
14611
- _payload$type,
14612
- type,
14613
14618
  body,
14614
14619
  data,
14615
14620
  returnData,
@@ -14622,30 +14627,32 @@ var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*
14622
14627
  payload = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
14623
14628
  _ref16 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref16.rejectWithValue;
14624
14629
  _context8.prev = 2;
14625
- _payload$type = payload.type, type = _payload$type === void 0 ? [] : _payload$type;
14626
14630
  body = {
14627
14631
  db_name: dbName,
14628
- queryid: query_ids["searhcApiSlice/masterSearch"],
14629
- filter: {
14630
- type: type
14631
- }
14632
+ queryid: query_ids["searhcApiSlice/getAllSpeciality"]
14632
14633
  };
14633
- _context8.next = 7;
14634
+ _context8.next = 6;
14634
14635
  return fetchData$3({
14635
14636
  body: JSON.stringify(body)
14636
14637
  });
14637
14638
 
14638
- case 7:
14639
+ case 6:
14639
14640
  data = _context8.sent;
14640
- returnData = {};
14641
+ returnData = [];
14641
14642
 
14642
14643
  if (Array.isArray(data)) {
14643
14644
  data.forEach(function (spec) {
14644
- if (!(spec.Type in returnData)) {
14645
- returnData[spec.Type] = [];
14646
- }
14645
+ var _spec$coding5, _spec$coding5$;
14647
14646
 
14648
- returnData[spec.Type].push(spec);
14647
+ if (spec === null || spec === void 0 ? void 0 : (_spec$coding5 = spec.coding) === null || _spec$coding5 === void 0 ? void 0 : (_spec$coding5$ = _spec$coding5[0]) === null || _spec$coding5$ === void 0 ? void 0 : _spec$coding5$.display) {
14648
+ var _spec$coding6, _spec$coding6$;
14649
+
14650
+ returnData.push({
14651
+ value: spec.id,
14652
+ label: spec === null || spec === void 0 ? void 0 : (_spec$coding6 = spec.coding) === null || _spec$coding6 === void 0 ? void 0 : (_spec$coding6$ = _spec$coding6[0]) === null || _spec$coding6$ === void 0 ? void 0 : _spec$coding6$.display,
14653
+ type: 'Speciality'
14654
+ });
14655
+ }
14649
14656
  });
14650
14657
  }
14651
14658
 
@@ -14653,27 +14660,38 @@ var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*
14653
14660
  data: returnData
14654
14661
  }));
14655
14662
 
14656
- case 13:
14657
- _context8.prev = 13;
14663
+ case 12:
14664
+ _context8.prev = 12;
14658
14665
  _context8.t0 = _context8["catch"](2);
14659
14666
  return _context8.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14660
14667
  message: _context8.t0.message
14661
14668
  })));
14662
14669
 
14663
- case 16:
14670
+ case 15:
14664
14671
  case "end":
14665
14672
  return _context8.stop();
14666
14673
  }
14667
14674
  }
14668
- }, _callee8, null, [[2, 13]]);
14675
+ }, _callee8, null, [[2, 12]]);
14669
14676
  })));
14670
- var GET_RELATIONSHIPS = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
14677
+ var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
14671
14678
  var payload,
14672
14679
  _ref18,
14673
14680
  rejectWithValue,
14681
+ _payload$type,
14682
+ type,
14683
+ newType,
14684
+ fetchEncounter,
14674
14685
  body,
14686
+ encounterQuery,
14687
+ promArr,
14688
+ _yield$Promise$all,
14689
+ _yield$Promise$all2,
14675
14690
  data,
14691
+ _yield$Promise$all2$,
14692
+ encounterData,
14676
14693
  returnData,
14694
+ encounterRes,
14677
14695
  _args9 = arguments;
14678
14696
 
14679
14697
  return regeneratorRuntime.wrap(function _callee9$(_context9) {
@@ -14683,52 +14701,96 @@ var GET_RELATIONSHIPS = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PUR
14683
14701
  payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
14684
14702
  _ref18 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref18.rejectWithValue;
14685
14703
  _context9.prev = 2;
14704
+ _payload$type = payload.type, type = _payload$type === void 0 ? [] : _payload$type;
14705
+ newType = type;
14706
+ fetchEncounter = false;
14707
+
14708
+ if (type.includes('ENCOUNTERTYPE')) {
14709
+ newType = newType.filter(function (item) {
14710
+ return item !== 'ENCOUNTERTYPE';
14711
+ });
14712
+ fetchEncounter = true;
14713
+ }
14714
+
14686
14715
  body = {
14687
14716
  db_name: dbName,
14688
14717
  queryid: query_ids["searhcApiSlice/masterSearch"],
14689
14718
  filter: {
14690
- type: ["Relation"]
14719
+ type: newType
14691
14720
  }
14692
14721
  };
14693
- _context9.next = 6;
14694
- return fetchData$3({
14722
+ encounterQuery = {
14723
+ db_name: dbName,
14724
+ entity: "AMPatientClass",
14725
+ filter: "AMPatientClass.activestatus==true and AMPatientClass.status==true",
14726
+ return_fields: "merge(AMPatientClass,{encType:document(AMPatientClass.encType).code},{encTypeDesc:document(AMPatientClass.encTypeDesc).display},{encClsType:document(AMPatientClass.encClsType).code},{encClsDesc:document(AMPatientClass.encClsDesc).display})",
14727
+ sort: "document(AMPatientClass.encTypeDesc).display"
14728
+ };
14729
+ promArr = [fetchData$3({
14695
14730
  body: JSON.stringify(body)
14696
- });
14731
+ })];
14697
14732
 
14698
- case 6:
14699
- data = _context9.sent;
14700
- returnData = [];
14733
+ if (fetchEncounter) {
14734
+ promArr.push(fetchData$3({
14735
+ body: JSON.stringify(encounterQuery)
14736
+ }, __readDocumentUrl__));
14737
+ }
14738
+
14739
+ _context9.next = 13;
14740
+ return es6Promise.Promise.all(promArr);
14741
+
14742
+ case 13:
14743
+ _yield$Promise$all = _context9.sent;
14744
+ _yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
14745
+ data = _yield$Promise$all2[0];
14746
+ _yield$Promise$all2$ = _yield$Promise$all2[1];
14747
+ encounterData = _yield$Promise$all2$ === void 0 ? {
14748
+ result: []
14749
+ } : _yield$Promise$all2$;
14750
+ returnData = {};
14701
14751
 
14702
14752
  if (Array.isArray(data)) {
14703
14753
  data.forEach(function (spec) {
14704
- var _spec$coding5;
14754
+ if (!(spec.Type in returnData)) {
14755
+ returnData[spec.Type] = [];
14756
+ }
14705
14757
 
14706
- returnData.push({
14707
- label: (_spec$coding5 = spec.coding) === null || _spec$coding5 === void 0 ? void 0 : _spec$coding5.display,
14708
- value: spec._id
14709
- });
14758
+ returnData[spec.Type].push(spec);
14759
+ });
14760
+ }
14761
+
14762
+ if (fetchEncounter) {
14763
+ encounterRes = encounterData.result.map(function (enc) {
14764
+ return {
14765
+ data: enc,
14766
+ coding: {
14767
+ _id: enc._id,
14768
+ display: enc.encClsDesc
14769
+ }
14770
+ };
14710
14771
  });
14772
+ returnData['ENCOUNTERTYPE'] = encounterRes;
14711
14773
  }
14712
14774
 
14713
14775
  return _context9.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
14714
14776
  data: returnData
14715
14777
  }));
14716
14778
 
14717
- case 12:
14718
- _context9.prev = 12;
14779
+ case 24:
14780
+ _context9.prev = 24;
14719
14781
  _context9.t0 = _context9["catch"](2);
14720
14782
  return _context9.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14721
14783
  message: _context9.t0.message
14722
14784
  })));
14723
14785
 
14724
- case 15:
14786
+ case 27:
14725
14787
  case "end":
14726
14788
  return _context9.stop();
14727
14789
  }
14728
14790
  }
14729
- }, _callee9, null, [[2, 12]]);
14791
+ }, _callee9, null, [[2, 24]]);
14730
14792
  })));
14731
- var SPECIALITY_AGAINST_PRACTITIONER = createAsyncThunk("searhcApiSlice/specialityAgainstPractitioner", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
14793
+ var GET_RELATIONSHIPS = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
14732
14794
  var payload,
14733
14795
  _ref20,
14734
14796
  rejectWithValue,
@@ -14744,18 +14806,79 @@ var SPECIALITY_AGAINST_PRACTITIONER = createAsyncThunk("searhcApiSlice/specialit
14744
14806
  payload = _args10.length > 0 && _args10[0] !== undefined ? _args10[0] : {};
14745
14807
  _ref20 = _args10.length > 1 ? _args10[1] : undefined, rejectWithValue = _ref20.rejectWithValue;
14746
14808
  _context10.prev = 2;
14809
+ body = {
14810
+ db_name: dbName,
14811
+ queryid: query_ids["searhcApiSlice/masterSearch"],
14812
+ filter: {
14813
+ type: ["Relation"]
14814
+ }
14815
+ };
14816
+ _context10.next = 6;
14817
+ return fetchData$3({
14818
+ body: JSON.stringify(body)
14819
+ });
14820
+
14821
+ case 6:
14822
+ data = _context10.sent;
14823
+ returnData = [];
14824
+
14825
+ if (Array.isArray(data)) {
14826
+ data.forEach(function (spec) {
14827
+ var _spec$coding7;
14828
+
14829
+ returnData.push({
14830
+ label: (_spec$coding7 = spec.coding) === null || _spec$coding7 === void 0 ? void 0 : _spec$coding7.display,
14831
+ value: spec._id
14832
+ });
14833
+ });
14834
+ }
14835
+
14836
+ return _context10.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
14837
+ data: returnData
14838
+ }));
14839
+
14840
+ case 12:
14841
+ _context10.prev = 12;
14842
+ _context10.t0 = _context10["catch"](2);
14843
+ return _context10.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14844
+ message: _context10.t0.message
14845
+ })));
14846
+
14847
+ case 15:
14848
+ case "end":
14849
+ return _context10.stop();
14850
+ }
14851
+ }
14852
+ }, _callee10, null, [[2, 12]]);
14853
+ })));
14854
+ var SPECIALITY_AGAINST_PRACTITIONER = createAsyncThunk("searhcApiSlice/specialityAgainstPractitioner", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
14855
+ var payload,
14856
+ _ref22,
14857
+ rejectWithValue,
14858
+ body,
14859
+ data,
14860
+ returnData,
14861
+ _args11 = arguments;
14862
+
14863
+ return regeneratorRuntime.wrap(function _callee11$(_context11) {
14864
+ while (1) {
14865
+ switch (_context11.prev = _context11.next) {
14866
+ case 0:
14867
+ payload = _args11.length > 0 && _args11[0] !== undefined ? _args11[0] : {};
14868
+ _ref22 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref22.rejectWithValue;
14869
+ _context11.prev = 2;
14747
14870
  body = {
14748
14871
  db_name: dbName,
14749
14872
  entity: "Practitioner",
14750
14873
  return_fields: "MERGE(Practitioner,{name:(FOR cod IN TO_ARRAY(Practitioner.name) RETURN DOCUMENT(cod)),SPECIALTY:(FOR spec IN TO_ARRAY(Practitioner.practitioner_role) FOR speccod IN TO_ARRAY( DOCUMENT(spec).SpecialtyID) RETURN MERGE(DOCUMENT(speccod),{coding:(FOR cod IN DOCUMENT(speccod).coding RETURN DOCUMENT(cod))})) })"
14751
14874
  };
14752
- _context10.next = 6;
14875
+ _context11.next = 6;
14753
14876
  return fetchData$3({
14754
14877
  body: JSON.stringify(body)
14755
14878
  }, __readDocumentUrl__);
14756
14879
 
14757
14880
  case 6:
14758
- data = _context10.sent;
14881
+ data = _context11.sent;
14759
14882
  returnData = [];
14760
14883
 
14761
14884
  if (Array.isArray(data === null || data === void 0 ? void 0 : data.result)) {
@@ -14771,70 +14894,70 @@ var SPECIALITY_AGAINST_PRACTITIONER = createAsyncThunk("searhcApiSlice/specialit
14771
14894
  });
14772
14895
  }
14773
14896
 
14774
- return _context10.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
14897
+ return _context11.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
14775
14898
  data: returnData
14776
14899
  }));
14777
14900
 
14778
14901
  case 12:
14779
- _context10.prev = 12;
14780
- _context10.t0 = _context10["catch"](2);
14781
- return _context10.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14782
- message: _context10.t0.message
14902
+ _context11.prev = 12;
14903
+ _context11.t0 = _context11["catch"](2);
14904
+ return _context11.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14905
+ message: _context11.t0.message
14783
14906
  })));
14784
14907
 
14785
14908
  case 15:
14786
14909
  case "end":
14787
- return _context10.stop();
14910
+ return _context11.stop();
14788
14911
  }
14789
14912
  }
14790
- }, _callee10, null, [[2, 12]]);
14913
+ }, _callee11, null, [[2, 12]]);
14791
14914
  })));
14792
14915
 
14793
14916
  var getLocationInfo = /*#__PURE__*/function () {
14794
- var _ref21 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11() {
14917
+ var _ref23 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
14795
14918
  var _hospInfo$address3, _hospInfo$address3$, _hospInfo$address3$$c;
14796
14919
 
14797
14920
  var hospInfo,
14798
14921
  obj,
14799
14922
  city,
14800
14923
  info,
14801
- _args11 = arguments;
14802
- return regeneratorRuntime.wrap(function _callee11$(_context11) {
14924
+ _args12 = arguments;
14925
+ return regeneratorRuntime.wrap(function _callee12$(_context12) {
14803
14926
  while (1) {
14804
- switch (_context11.prev = _context11.next) {
14927
+ switch (_context12.prev = _context12.next) {
14805
14928
  case 0:
14806
- hospInfo = _args11.length > 0 && _args11[0] !== undefined ? _args11[0] : {};
14807
- obj = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
14929
+ hospInfo = _args12.length > 0 && _args12[0] !== undefined ? _args12[0] : {};
14930
+ obj = _args12.length > 1 && _args12[1] !== undefined ? _args12[1] : {};
14808
14931
  city = hospInfo === null || hospInfo === void 0 ? void 0 : (_hospInfo$address3 = hospInfo.address) === null || _hospInfo$address3 === void 0 ? void 0 : (_hospInfo$address3$ = _hospInfo$address3[0]) === null || _hospInfo$address3$ === void 0 ? void 0 : (_hospInfo$address3$$c = _hospInfo$address3$.city) === null || _hospInfo$address3$$c === void 0 ? void 0 : _hospInfo$address3$$c.geogLevelName;
14809
14932
 
14810
14933
  if (obj[city]) {
14811
- _context11.next = 8;
14934
+ _context12.next = 8;
14812
14935
  break;
14813
14936
  }
14814
14937
 
14815
- _context11.next = 6;
14938
+ _context12.next = 6;
14816
14939
  return getLatLong(city);
14817
14940
 
14818
14941
  case 6:
14819
- info = _context11.sent;
14942
+ info = _context12.sent;
14820
14943
  obj[city] = info;
14821
14944
 
14822
14945
  case 8:
14823
14946
  case "end":
14824
- return _context11.stop();
14947
+ return _context12.stop();
14825
14948
  }
14826
14949
  }
14827
- }, _callee11);
14950
+ }, _callee12);
14828
14951
  }));
14829
14952
 
14830
14953
  return function getLocationInfo() {
14831
- return _ref21.apply(this, arguments);
14954
+ return _ref23.apply(this, arguments);
14832
14955
  };
14833
14956
  }();
14834
14957
 
14835
- var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practitionerAgainstOrganization", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee12() {
14958
+ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practitionerAgainstOrganization", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee13() {
14836
14959
  var payload,
14837
- _ref23,
14960
+ _ref25,
14838
14961
  rejectWithValue,
14839
14962
  _payload$practitioner,
14840
14963
  practitionerId,
@@ -14848,21 +14971,21 @@ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practit
14848
14971
  _data$result2,
14849
14972
  cityMap,
14850
14973
  promArr,
14851
- _args12 = arguments;
14974
+ _args13 = arguments;
14852
14975
 
14853
- return regeneratorRuntime.wrap(function _callee12$(_context12) {
14976
+ return regeneratorRuntime.wrap(function _callee13$(_context13) {
14854
14977
  while (1) {
14855
- switch (_context12.prev = _context12.next) {
14978
+ switch (_context13.prev = _context13.next) {
14856
14979
  case 0:
14857
- payload = _args12.length > 0 && _args12[0] !== undefined ? _args12[0] : {};
14858
- _ref23 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref23.rejectWithValue;
14859
- _context12.prev = 2;
14980
+ payload = _args13.length > 0 && _args13[0] !== undefined ? _args13[0] : {};
14981
+ _ref25 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref25.rejectWithValue;
14982
+ _context13.prev = 2;
14860
14983
  _payload$practitioner = payload.practitionerId, practitionerId = _payload$practitioner === void 0 ? "" : _payload$practitioner;
14861
- _context12.next = 6;
14984
+ _context13.next = 6;
14862
14985
  return getCurrentPosition();
14863
14986
 
14864
14987
  case 6:
14865
- _yield$getCurrentPosi2 = _context12.sent;
14988
+ _yield$getCurrentPosi2 = _context13.sent;
14866
14989
  myLat = _yield$getCurrentPosi2.lat;
14867
14990
  myLong = _yield$getCurrentPosi2["long"];
14868
14991
  body = {
@@ -14874,17 +14997,17 @@ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practit
14874
14997
  },
14875
14998
  return_fields: "{address: (let add = Document(Organization.address[0]) return merge(add, { city: Document(add.city) })), OrganizationName:Organization.name, OrgID:Organization.id}"
14876
14999
  };
14877
- _context12.next = 12;
15000
+ _context13.next = 12;
14878
15001
  return fetchData$3({
14879
15002
  body: JSON.stringify(body)
14880
15003
  }, __readDocumentUrl__);
14881
15004
 
14882
15005
  case 12:
14883
- data = _context12.sent;
15006
+ data = _context13.sent;
14884
15007
  returnData = [];
14885
15008
 
14886
15009
  if (!Array.isArray(data === null || data === void 0 ? void 0 : data.result)) {
14887
- _context12.next = 20;
15010
+ _context13.next = 20;
14888
15011
  break;
14889
15012
  }
14890
15013
 
@@ -14892,7 +15015,7 @@ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practit
14892
15015
  promArr = data === null || data === void 0 ? void 0 : (_data$result = data.result) === null || _data$result === void 0 ? void 0 : _data$result.map(function (hospInfo) {
14893
15016
  return getLocationInfo(hospInfo, cityMap);
14894
15017
  });
14895
- _context12.next = 19;
15018
+ _context13.next = 19;
14896
15019
  return es6Promise.Promise.all(promArr);
14897
15020
 
14898
15021
  case 19:
@@ -14901,9 +15024,9 @@ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practit
14901
15024
 
14902
15025
  var city = hospInfo === null || hospInfo === void 0 ? void 0 : (_hospInfo$address4 = hospInfo.address) === null || _hospInfo$address4 === void 0 ? void 0 : (_hospInfo$address4$ = _hospInfo$address4[0]) === null || _hospInfo$address4$ === void 0 ? void 0 : (_hospInfo$address4$$c = _hospInfo$address4$.city) === null || _hospInfo$address4$$c === void 0 ? void 0 : _hospInfo$address4$$c.geogLevelName;
14903
15026
 
14904
- var _ref24 = cityMap[city] || {},
14905
- lat = _ref24.lat,
14906
- _long2 = _ref24["long"];
15027
+ var _ref26 = cityMap[city] || {},
15028
+ lat = _ref26.lat,
15029
+ _long2 = _ref26["long"];
14907
15030
 
14908
15031
  var distance = "";
14909
15032
 
@@ -14921,23 +15044,23 @@ var PRACTITIONER_AGAINST_ORGANIZATION = createAsyncThunk("searhcApiSlice/practit
14921
15044
  });
14922
15045
 
14923
15046
  case 20:
14924
- return _context12.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.Info), {}, {
15047
+ return _context13.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.Info), {}, {
14925
15048
  data: returnData
14926
15049
  }));
14927
15050
 
14928
15051
  case 23:
14929
- _context12.prev = 23;
14930
- _context12.t0 = _context12["catch"](2);
14931
- return _context12.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
14932
- message: _context12.t0.message
15052
+ _context13.prev = 23;
15053
+ _context13.t0 = _context13["catch"](2);
15054
+ return _context13.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
15055
+ message: _context13.t0.message
14933
15056
  })));
14934
15057
 
14935
15058
  case 26:
14936
15059
  case "end":
14937
- return _context12.stop();
15060
+ return _context13.stop();
14938
15061
  }
14939
15062
  }
14940
- }, _callee12, null, [[2, 23]]);
15063
+ }, _callee13, null, [[2, 23]]);
14941
15064
  })));
14942
15065
  var searhcApiSlice = createSlice({
14943
15066
  name: "searhcApiSlice",
@@ -14947,6 +15070,7 @@ var searhcApiSlice = createSlice({
14947
15070
  hospitals: _objectSpread2({}, defaultState.List),
14948
15071
  symptoms: _objectSpread2({}, defaultState.List),
14949
15072
  speciality: _objectSpread2({}, defaultState.List),
15073
+ allSpeciality: _objectSpread2({}, defaultState.List),
14950
15074
  masterSearch: _objectSpread2({}, defaultState.Info),
14951
15075
  getRelationships: _objectSpread2({}, defaultState.Info),
14952
15076
  getSpecialityAgainstPractitioner: _objectSpread2({}, defaultState.Info),
@@ -15012,56 +15136,66 @@ var searhcApiSlice = createSlice({
15012
15136
  var _action$payload12;
15013
15137
 
15014
15138
  state.speciality = (_action$payload12 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload12 !== void 0 ? _action$payload12 : {};
15015
- }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY.fulfilled, function (state, action) {
15139
+ }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY_2.fulfilled, function (state, action) {
15016
15140
  var _action$payload13;
15017
15141
 
15018
- state.speciality = (_action$payload13 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload13 !== void 0 ? _action$payload13 : {};
15142
+ state.allSpeciality = (_action$payload13 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload13 !== void 0 ? _action$payload13 : {};
15143
+ }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY_2.pending, function (state, action) {
15144
+ state.allSpeciality.loading = true;
15145
+ }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY_2.rejected, function (state, action) {
15146
+ var _action$payload14;
15147
+
15148
+ state.allSpeciality = (_action$payload14 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload14 !== void 0 ? _action$payload14 : {};
15149
+ }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY.fulfilled, function (state, action) {
15150
+ var _action$payload15;
15151
+
15152
+ state.speciality = (_action$payload15 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload15 !== void 0 ? _action$payload15 : {};
15019
15153
  }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY.pending, function (state, action) {
15020
15154
  state.speciality.loading = true;
15021
15155
  }), _defineProperty(_extraReducers$w, GET_ALL_SPECIALITY.rejected, function (state, action) {
15022
- var _action$payload14;
15156
+ var _action$payload16;
15023
15157
 
15024
- state.speciality = (_action$payload14 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload14 !== void 0 ? _action$payload14 : {};
15158
+ state.speciality = (_action$payload16 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload16 !== void 0 ? _action$payload16 : {};
15025
15159
  }), _defineProperty(_extraReducers$w, MASTER_SEARCH.fulfilled, function (state, action) {
15026
- var _action$payload15;
15160
+ var _action$payload17;
15027
15161
 
15028
- state.masterSearch = (_action$payload15 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload15 !== void 0 ? _action$payload15 : {};
15162
+ state.masterSearch = (_action$payload17 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload17 !== void 0 ? _action$payload17 : {};
15029
15163
  }), _defineProperty(_extraReducers$w, MASTER_SEARCH.pending, function (state, action) {
15030
15164
  state.masterSearch.loading = true;
15031
15165
  }), _defineProperty(_extraReducers$w, MASTER_SEARCH.rejected, function (state, action) {
15032
- var _action$payload16;
15166
+ var _action$payload18;
15033
15167
 
15034
- state.masterSearch = (_action$payload16 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload16 !== void 0 ? _action$payload16 : {};
15168
+ state.masterSearch = (_action$payload18 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload18 !== void 0 ? _action$payload18 : {};
15035
15169
  }), _defineProperty(_extraReducers$w, GET_RELATIONSHIPS.fulfilled, function (state, action) {
15036
- var _action$payload17;
15170
+ var _action$payload19;
15037
15171
 
15038
- state.getRelationships = (_action$payload17 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload17 !== void 0 ? _action$payload17 : [];
15172
+ state.getRelationships = (_action$payload19 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload19 !== void 0 ? _action$payload19 : [];
15039
15173
  }), _defineProperty(_extraReducers$w, GET_RELATIONSHIPS.pending, function (state, action) {
15040
15174
  state.getRelationships.loading = true;
15041
15175
  }), _defineProperty(_extraReducers$w, GET_RELATIONSHIPS.rejected, function (state, action) {
15042
- var _action$payload18;
15176
+ var _action$payload20;
15043
15177
 
15044
- state.getRelationships = (_action$payload18 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload18 !== void 0 ? _action$payload18 : [];
15178
+ state.getRelationships = (_action$payload20 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload20 !== void 0 ? _action$payload20 : [];
15045
15179
  }), _defineProperty(_extraReducers$w, SPECIALITY_AGAINST_PRACTITIONER.fulfilled, function (state, action) {
15046
- var _action$payload19;
15180
+ var _action$payload21;
15047
15181
 
15048
- state.getSpecialityAgainstPractitioner = (_action$payload19 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload19 !== void 0 ? _action$payload19 : [];
15182
+ state.getSpecialityAgainstPractitioner = (_action$payload21 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload21 !== void 0 ? _action$payload21 : [];
15049
15183
  }), _defineProperty(_extraReducers$w, SPECIALITY_AGAINST_PRACTITIONER.pending, function (state, action) {
15050
15184
  state.getSpecialityAgainstPractitioner.loading = true;
15051
15185
  }), _defineProperty(_extraReducers$w, SPECIALITY_AGAINST_PRACTITIONER.rejected, function (state, action) {
15052
- var _action$payload20;
15186
+ var _action$payload22;
15053
15187
 
15054
- state.getSpecialityAgainstPractitioner = (_action$payload20 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload20 !== void 0 ? _action$payload20 : [];
15188
+ state.getSpecialityAgainstPractitioner = (_action$payload22 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload22 !== void 0 ? _action$payload22 : [];
15055
15189
  }), _defineProperty(_extraReducers$w, PRACTITIONER_AGAINST_ORGANIZATION.fulfilled, function (state, action) {
15056
- var _action$payload21;
15190
+ var _action$payload23;
15057
15191
 
15058
- state.getPractitionerAgainstOrganization = (_action$payload21 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload21 !== void 0 ? _action$payload21 : [];
15192
+ state.getPractitionerAgainstOrganization = (_action$payload23 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload23 !== void 0 ? _action$payload23 : [];
15059
15193
  }), _defineProperty(_extraReducers$w, PRACTITIONER_AGAINST_ORGANIZATION.pending, function (state, action) {
15060
15194
  state.getPractitionerAgainstOrganization.loading = true;
15061
15195
  }), _defineProperty(_extraReducers$w, PRACTITIONER_AGAINST_ORGANIZATION.rejected, function (state, action) {
15062
- var _action$payload22;
15196
+ var _action$payload24;
15063
15197
 
15064
- state.getPractitionerAgainstOrganization = (_action$payload22 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload22 !== void 0 ? _action$payload22 : [];
15198
+ state.getPractitionerAgainstOrganization = (_action$payload24 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload24 !== void 0 ? _action$payload24 : [];
15065
15199
  }), _extraReducers$w)
15066
15200
  });
15067
15201
  var searchApiActions = {
@@ -15075,7 +15209,8 @@ var searchApiActions = {
15075
15209
  MASTER_SEARCH: MASTER_SEARCH,
15076
15210
  GET_RELATIONSHIPS: GET_RELATIONSHIPS,
15077
15211
  SPECIALITY_AGAINST_PRACTITIONER: SPECIALITY_AGAINST_PRACTITIONER,
15078
- PRACTITIONER_AGAINST_ORGANIZATION: PRACTITIONER_AGAINST_ORGANIZATION
15212
+ PRACTITIONER_AGAINST_ORGANIZATION: PRACTITIONER_AGAINST_ORGANIZATION,
15213
+ GET_ALL_SPECIALITY_2: GET_ALL_SPECIALITY_2
15079
15214
  };
15080
15215
  var searhcApiSlice$1 = searhcApiSlice.reducer;
15081
15216
 
@@ -37064,7 +37199,7 @@ var clinicQuery = {
37064
37199
  return {
37065
37200
  db_name: dbName,
37066
37201
  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",
37067
- filter: "LocationMaster.activestatus==true && LocationMaster.managingOrgID=='".concat(key, "'"),
37202
+ filter: "LocationMaster.activestatus==true && LocationMaster._id=='".concat(key, "'"),
37068
37203
  isTraversal: "true",
37069
37204
  return_fields: "{vertices:v,orginatedata:LocationMaster}"
37070
37205
  };
@@ -40083,7 +40218,33 @@ var query$3 = {
40083
40218
  // }`
40084
40219
  // }
40085
40220
  avc_login: function avc_login(id) {
40086
- return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"Appointment\",\n \"filter\": \"Appointment._key == '").concat(id, "' && Appointment.activestatus==true\",\n \"return_fields\": \"merge(Appointment,{orgid:document(Appointment.orgid)},{resourcecode:(for pt in Practitioner filter pt._id == Appointment.resourcecode return merge(pt,{name:document(pt.name)}))},{practitionerID:(for pract in Practitioner filter pract.id in Appointment.practitionerID return merge(pract,{name:(for hm in HumanNameMaster filter hm._id in pract.name return merge(hm,{use:(for cod in CodeableConceptMaster filter cod._id== hm.use return document(cod.coding)),prefix:(for cod in CodeableConceptMaster filter cod._id == hm.prefix return document(cod.coding)),suffix:(for cod in CodeableConceptMaster filter cod._id == hm.suffix return document(cod.coding))}))},{practitioner_role:(for prid in PractitionerRole filter prid._id in pract.practitioner_role return merge(prid,{role:(for rol in CodeableConceptMaster filter rol._id == prid.role return merge(rol,{coding:document(rol.coding)}))}))},{practitioner_type:(for typ in CodeableConceptMaster filter typ._id == pract.practitioner_type return merge(typ,{coding:document(typ.coding)}))},{photo:document(pract.photo)},{gender:document(pract.gender)}))},{PersonID:(for pat in Patient filter pat.personID in Appointment.PersonID return merge(pat,{name:(for hm in HumanNameMaster filter hm._id in pat.name return merge(hm,{use:(for cod in CodeableConceptMaster filter cod._id== hm.use return document(cod.coding)),prefix:(for cod in CodeableConceptMaster filter cod._id == hm.prefix return document(cod.coding)),suffix:(for cod in CodeableConceptMaster filter cod._id == hm.suffix return document(cod.coding))})),photo:document(pat.photo),age_type:document(pat.age_type)},{telecom:document(pat.telecom)},{gender:document(pat.gender)}))})\"\n }");
40221
+ return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"Appointment\",\n \"filter\": \"Appointment._key == '").concat(id, "' && Appointment.activestatus==true\",\n \"return_fields\": \"merge(Appointment,{orgid:document(Appointment.orgid)},{resourcecode:(for pt in Practitioner filter pt._id == Appointment.resourcecode return merge(pt,{name:document(pt.name)}))},{practitionerID:(for pract in Practitioner filter pract.id in Appointment.practitionerID return merge(pract,{name:(for hm in HumanNameMaster filter hm._id in pract.name return merge(hm,{use:(for cod in CodeableConceptMaster filter cod._id== hm.use return document(cod.coding)),prefix:(for cod in CodeableConceptMaster filter cod._id == hm.prefix return document(cod.coding)),suffix:(for cod in CodeableConceptMaster filter cod._id == hm.suffix return document(cod.coding))}))},{practitioner_role:(for prid in PractitionerRole filter prid._id in pract.practitioner_role return merge(prid,{role:(for rol in CodeableConceptMaster filter rol._id == prid.role return merge(rol,{coding:document(rol.coding)}))}))},{practitioner_type:(for typ in CodeableConceptMaster filter typ._id == pract.practitioner_type return merge(typ,{coding:document(typ.coding)}))},{photo:document(pract.photo)},{gender:document(pract.gender)}))},{PersonID:(for pid in Person filter pid.Id in Appointment.PersonID return merge(pid,{name:(for hm in HumanNameMaster filter hm._id in pid.name return merge(hm,{use:document(hm.use),prefix:document(hm.prefix),suffix:document(hm.suffix)})),photo:document(pid.photo),age_type:document(pid.age_type)},{telecom:document(pid.telecom)},{gender:document(pid.gender)},{personID:(for psid in Person filter psid.Id == pid.personID return merge(psid,{name:document(psid.name)}))}))},{PatientID:(for pat in Patient filter pat.personID in Appointment.PersonID return merge(pat,{name:(for hm in HumanNameMaster filter hm._id in pat.name return merge(hm,{use:document(hm.use),prefix:document(hm.prefix),suffix:document(hm.suffix)})),photo:document(pat.photo),age_type:document(pat.age_type)},{telecom:document(pat.telecom)},{gender:document(pat.gender)},{personID:(for psid in Person filter psid.Id == pat.personID return merge(psid,{name:document(psid.name)}))}))})\"\n }");
40222
+ },
40223
+ avc_participant_joined_qu: function avc_participant_joined_qu(id) {
40224
+ return "{\n \"db_name\": \"".concat(dbName, "\",\n }");
40225
+ }
40226
+ };
40227
+
40228
+ var generateJson = {
40229
+ insert_json: function insert_json(data, appInfo) {
40230
+ var _appInfo$dataJson, _appInfo$dataJson$Per, _appInfo$dataJson2, _appInfo$dataJson2$re;
40231
+
40232
+ debugger;
40233
+ return [{
40234
+ db_name: dbName,
40235
+ entity: "ConsentTrx",
40236
+ is_metadata: true,
40237
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
40238
+ doc: {
40239
+ id: 0,
40240
+ formid: data === null || data === void 0 ? void 0 : data.formId,
40241
+ patientid: appInfo === null || appInfo === void 0 ? void 0 : (_appInfo$dataJson = appInfo.dataJson) === null || _appInfo$dataJson === void 0 ? void 0 : (_appInfo$dataJson$Per = _appInfo$dataJson.PersonID[0]) === null || _appInfo$dataJson$Per === void 0 ? void 0 : _appInfo$dataJson$Per._id,
40242
+ practitionerid: appInfo === null || appInfo === void 0 ? void 0 : (_appInfo$dataJson2 = appInfo.dataJson) === null || _appInfo$dataJson2 === void 0 ? void 0 : (_appInfo$dataJson2$re = _appInfo$dataJson2.resourcecode[0]) === null || _appInfo$dataJson2$re === void 0 ? void 0 : _appInfo$dataJson2$re.practitioner_id,
40243
+ terms: true,
40244
+ sysinfo: data === null || data === void 0 ? void 0 : data.answer,
40245
+ appnum: appInfo === null || appInfo === void 0 ? void 0 : appInfo.app_id
40246
+ }
40247
+ }];
40087
40248
  }
40088
40249
  };
40089
40250
 
@@ -40114,6 +40275,41 @@ var AVC_LOGIN = createAsyncThunk("avcMeetApiSlice/avc_info", /*#__PURE__*/_async
40114
40275
  _data$resourcerole,
40115
40276
  _data$orgid$name,
40116
40277
  _data$orgid,
40278
+ _data$PatientID,
40279
+ _data$PatientID$,
40280
+ _data$PatientID$$name,
40281
+ _data$PatientID$$name2,
40282
+ _data$PatientID2,
40283
+ _data$PatientID2$,
40284
+ _data$PatientID2$$nam,
40285
+ _data$PatientID2$$nam2,
40286
+ _data$PatientID3,
40287
+ _data$PatientID3$,
40288
+ _data$PatientID3$$nam,
40289
+ _data$PatientID3$$nam2,
40290
+ _data$PatientID4,
40291
+ _data$PatientID4$,
40292
+ _data$PatientID4$$nam,
40293
+ _data$PatientID4$$nam2,
40294
+ _data$PatientID5,
40295
+ _data$PatientID5$,
40296
+ _data$PatientID6,
40297
+ _data$PatientID6$,
40298
+ _data$PatientID7,
40299
+ _data$PatientID7$,
40300
+ _data$PatientID7$$age,
40301
+ _data$PatientID$0$gen,
40302
+ _data$PatientID8,
40303
+ _data$PatientID8$,
40304
+ _data$PatientID8$$gen,
40305
+ _data$PatientID$0$ali,
40306
+ _data$PatientID9,
40307
+ _data$PatientID9$,
40308
+ _data$PatientID$0$tel,
40309
+ _data$PatientID10,
40310
+ _data$PatientID10$,
40311
+ _data$PatientID10$$te,
40312
+ _data$PatientID10$$te2,
40117
40313
  _data$PersonID,
40118
40314
  _data$PersonID$,
40119
40315
  _data$PersonID$$name,
@@ -40172,6 +40368,7 @@ var AVC_LOGIN = createAsyncThunk("avcMeetApiSlice/avc_info", /*#__PURE__*/_async
40172
40368
  case 6:
40173
40369
  resp = _context.sent;
40174
40370
  data = (resp === null || resp === void 0 ? void 0 : (_resp$result = resp.result) === null || _resp$result === void 0 ? void 0 : _resp$result[0]) || [];
40371
+ debugger;
40175
40372
  res_data = {
40176
40373
  date: (_data$start = data === null || data === void 0 ? void 0 : data.start) !== null && _data$start !== void 0 ? _data$start : "",
40177
40374
  app_id: (_data$appno = data === null || data === void 0 ? void 0 : data.appno) !== null && _data$appno !== void 0 ? _data$appno : "",
@@ -40186,6 +40383,13 @@ var AVC_LOGIN = createAsyncThunk("avcMeetApiSlice/avc_info", /*#__PURE__*/_async
40186
40383
  org_name: (_data$orgid$name = data === null || data === void 0 ? void 0 : (_data$orgid = data.orgid) === null || _data$orgid === void 0 ? void 0 : _data$orgid.name) !== null && _data$orgid$name !== void 0 ? _data$orgid$name : ""
40187
40384
  },
40188
40385
  patient: {
40386
+ name: (data === null || data === void 0 ? void 0 : (_data$PatientID = data.PatientID) === null || _data$PatientID === void 0 ? void 0 : (_data$PatientID$ = _data$PatientID[0]) === null || _data$PatientID$ === void 0 ? void 0 : (_data$PatientID$$name = _data$PatientID$.name) === null || _data$PatientID$$name === void 0 ? void 0 : (_data$PatientID$$name2 = _data$PatientID$$name[0]) === null || _data$PatientID$$name2 === void 0 ? void 0 : _data$PatientID$$name2.text) ? (data === null || data === void 0 ? void 0 : (_data$PatientID2 = data.PatientID) === null || _data$PatientID2 === void 0 ? void 0 : (_data$PatientID2$ = _data$PatientID2[0]) === null || _data$PatientID2$ === void 0 ? void 0 : (_data$PatientID2$$nam = _data$PatientID2$.name) === null || _data$PatientID2$$nam === void 0 ? void 0 : (_data$PatientID2$$nam2 = _data$PatientID2$$nam[0]) === null || _data$PatientID2$$nam2 === void 0 ? void 0 : _data$PatientID2$$nam2.text) + " " + (data === null || data === void 0 ? void 0 : (_data$PatientID3 = data.PatientID) === null || _data$PatientID3 === void 0 ? void 0 : (_data$PatientID3$ = _data$PatientID3[0]) === null || _data$PatientID3$ === void 0 ? void 0 : (_data$PatientID3$$nam = _data$PatientID3$.name) === null || _data$PatientID3$$nam === void 0 ? void 0 : (_data$PatientID3$$nam2 = _data$PatientID3$$nam[0]) === null || _data$PatientID3$$nam2 === void 0 ? void 0 : _data$PatientID3$$nam2.given) + " " + (data === null || data === void 0 ? void 0 : (_data$PatientID4 = data.PatientID) === null || _data$PatientID4 === void 0 ? void 0 : (_data$PatientID4$ = _data$PatientID4[0]) === null || _data$PatientID4$ === void 0 ? void 0 : (_data$PatientID4$$nam = _data$PatientID4$.name) === null || _data$PatientID4$$nam === void 0 ? void 0 : (_data$PatientID4$$nam2 = _data$PatientID4$$nam[0]) === null || _data$PatientID4$$nam2 === void 0 ? void 0 : _data$PatientID4$$nam2.family) : "",
40387
+ age: (data === null || data === void 0 ? void 0 : (_data$PatientID5 = data.PatientID) === null || _data$PatientID5 === void 0 ? void 0 : (_data$PatientID5$ = _data$PatientID5[0]) === null || _data$PatientID5$ === void 0 ? void 0 : _data$PatientID5$.age) ? (data === null || data === void 0 ? void 0 : (_data$PatientID6 = data.PatientID) === null || _data$PatientID6 === void 0 ? void 0 : (_data$PatientID6$ = _data$PatientID6[0]) === null || _data$PatientID6$ === void 0 ? void 0 : _data$PatientID6$.age) + " " + (data === null || data === void 0 ? void 0 : (_data$PatientID7 = data.PatientID) === null || _data$PatientID7 === void 0 ? void 0 : (_data$PatientID7$ = _data$PatientID7[0]) === null || _data$PatientID7$ === void 0 ? void 0 : (_data$PatientID7$$age = _data$PatientID7$.age_type) === null || _data$PatientID7$$age === void 0 ? void 0 : _data$PatientID7$$age.code) : "",
40388
+ gander: (_data$PatientID$0$gen = data === null || data === void 0 ? void 0 : (_data$PatientID8 = data.PatientID) === null || _data$PatientID8 === void 0 ? void 0 : (_data$PatientID8$ = _data$PatientID8[0]) === null || _data$PatientID8$ === void 0 ? void 0 : (_data$PatientID8$$gen = _data$PatientID8$.gender) === null || _data$PatientID8$$gen === void 0 ? void 0 : _data$PatientID8$$gen.display) !== null && _data$PatientID$0$gen !== void 0 ? _data$PatientID$0$gen : "",
40389
+ id: (_data$PatientID$0$ali = data === null || data === void 0 ? void 0 : (_data$PatientID9 = data.PatientID) === null || _data$PatientID9 === void 0 ? void 0 : (_data$PatientID9$ = _data$PatientID9[0]) === null || _data$PatientID9$ === void 0 ? void 0 : _data$PatientID9$.alias) !== null && _data$PatientID$0$ali !== void 0 ? _data$PatientID$0$ali : "",
40390
+ mobile: (_data$PatientID$0$tel = data === null || data === void 0 ? void 0 : (_data$PatientID10 = data.PatientID) === null || _data$PatientID10 === void 0 ? void 0 : (_data$PatientID10$ = _data$PatientID10[0]) === null || _data$PatientID10$ === void 0 ? void 0 : (_data$PatientID10$$te = _data$PatientID10$.telecom) === null || _data$PatientID10$$te === void 0 ? void 0 : (_data$PatientID10$$te2 = _data$PatientID10$$te[0]) === null || _data$PatientID10$$te2 === void 0 ? void 0 : _data$PatientID10$$te2.value) !== null && _data$PatientID$0$tel !== void 0 ? _data$PatientID$0$tel : ""
40391
+ },
40392
+ personID: {
40189
40393
  name: (data === null || data === void 0 ? void 0 : (_data$PersonID = data.PersonID) === null || _data$PersonID === void 0 ? void 0 : (_data$PersonID$ = _data$PersonID[0]) === null || _data$PersonID$ === void 0 ? void 0 : (_data$PersonID$$name = _data$PersonID$.name) === null || _data$PersonID$$name === void 0 ? void 0 : (_data$PersonID$$name$ = _data$PersonID$$name[0]) === null || _data$PersonID$$name$ === void 0 ? void 0 : _data$PersonID$$name$.text) ? (data === null || data === void 0 ? void 0 : (_data$PersonID2 = data.PersonID) === null || _data$PersonID2 === void 0 ? void 0 : (_data$PersonID2$ = _data$PersonID2[0]) === null || _data$PersonID2$ === void 0 ? void 0 : (_data$PersonID2$$name = _data$PersonID2$.name) === null || _data$PersonID2$$name === void 0 ? void 0 : (_data$PersonID2$$name2 = _data$PersonID2$$name[0]) === null || _data$PersonID2$$name2 === void 0 ? void 0 : _data$PersonID2$$name2.text) + " " + (data === null || data === void 0 ? void 0 : (_data$PersonID3 = data.PersonID) === null || _data$PersonID3 === void 0 ? void 0 : (_data$PersonID3$ = _data$PersonID3[0]) === null || _data$PersonID3$ === void 0 ? void 0 : (_data$PersonID3$$name = _data$PersonID3$.name) === null || _data$PersonID3$$name === void 0 ? void 0 : (_data$PersonID3$$name2 = _data$PersonID3$$name[0]) === null || _data$PersonID3$$name2 === void 0 ? void 0 : _data$PersonID3$$name2.given) + " " + (data === null || data === void 0 ? void 0 : (_data$PersonID4 = data.PersonID) === null || _data$PersonID4 === void 0 ? void 0 : (_data$PersonID4$ = _data$PersonID4[0]) === null || _data$PersonID4$ === void 0 ? void 0 : (_data$PersonID4$$name = _data$PersonID4$.name) === null || _data$PersonID4$$name === void 0 ? void 0 : (_data$PersonID4$$name2 = _data$PersonID4$$name[0]) === null || _data$PersonID4$$name2 === void 0 ? void 0 : _data$PersonID4$$name2.family) : "-",
40190
40394
  age: (data === null || data === void 0 ? void 0 : (_data$PersonID5 = data.PersonID) === null || _data$PersonID5 === void 0 ? void 0 : (_data$PersonID5$ = _data$PersonID5[0]) === null || _data$PersonID5$ === void 0 ? void 0 : _data$PersonID5$.age) ? (data === null || data === void 0 ? void 0 : (_data$PersonID6 = data.PersonID) === null || _data$PersonID6 === void 0 ? void 0 : (_data$PersonID6$ = _data$PersonID6[0]) === null || _data$PersonID6$ === void 0 ? void 0 : _data$PersonID6$.age) + " " + (data === null || data === void 0 ? void 0 : (_data$PersonID7 = data.PersonID) === null || _data$PersonID7 === void 0 ? void 0 : (_data$PersonID7$ = _data$PersonID7[0]) === null || _data$PersonID7$ === void 0 ? void 0 : (_data$PersonID7$$age_ = _data$PersonID7$.age_type) === null || _data$PersonID7$$age_ === void 0 ? void 0 : _data$PersonID7$$age_.code) : "",
40191
40395
  gander: (_data$PersonID$0$gend = data === null || data === void 0 ? void 0 : (_data$PersonID8 = data.PersonID) === null || _data$PersonID8 === void 0 ? void 0 : (_data$PersonID8$ = _data$PersonID8[0]) === null || _data$PersonID8$ === void 0 ? void 0 : (_data$PersonID8$$gend = _data$PersonID8$.gender) === null || _data$PersonID8$$gend === void 0 ? void 0 : _data$PersonID8$$gend.display) !== null && _data$PersonID$0$gend !== void 0 ? _data$PersonID$0$gend : "",
@@ -40198,24 +40402,119 @@ var AVC_LOGIN = createAsyncThunk("avcMeetApiSlice/avc_info", /*#__PURE__*/_async
40198
40402
  data: res_data
40199
40403
  }));
40200
40404
 
40201
- case 12:
40202
- _context.prev = 12;
40405
+ case 13:
40406
+ _context.prev = 13;
40203
40407
  _context.t0 = _context["catch"](2);
40204
40408
  return _context.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
40205
40409
  message: _context.t0.message
40206
40410
  })));
40207
40411
 
40208
- case 15:
40412
+ case 16:
40209
40413
  case "end":
40210
40414
  return _context.stop();
40211
40415
  }
40212
40416
  }
40213
- }, _callee, null, [[2, 12]]);
40417
+ }, _callee, null, [[2, 13]]);
40418
+ })));
40419
+ var AVC_FORM_INSERT = createAsyncThunk("avcMeetApiSlice/avc_form", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
40420
+ var payload,
40421
+ _ref4,
40422
+ rejectWithValue,
40423
+ data,
40424
+ appInfo,
40425
+ queriesjson,
40426
+ dataResult,
40427
+ result,
40428
+ _args2 = arguments;
40429
+
40430
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
40431
+ while (1) {
40432
+ switch (_context2.prev = _context2.next) {
40433
+ case 0:
40434
+ payload = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
40435
+ _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
40436
+ _context2.prev = 2;
40437
+ data = payload.data, appInfo = payload.appInfo;
40438
+ queriesjson = generateJson.insert_json(data, appInfo);
40439
+ _context2.next = 7;
40440
+ return fetchData$3({
40441
+ body: JSON.stringify(queriesjson)
40442
+ }, __uspsertUrl__);
40443
+
40444
+ case 7:
40445
+ dataResult = _context2.sent;
40446
+ result = [];
40447
+ return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
40448
+ data: result
40449
+ }));
40450
+
40451
+ case 12:
40452
+ _context2.prev = 12;
40453
+ _context2.t0 = _context2["catch"](2);
40454
+ return _context2.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
40455
+ message: _context2.t0.message
40456
+ })));
40457
+
40458
+ case 15:
40459
+ case "end":
40460
+ return _context2.stop();
40461
+ }
40462
+ }
40463
+ }, _callee2, null, [[2, 12]]);
40464
+ })));
40465
+ var AVC_PARTICIPANT_JOINED = createAsyncThunk("avcMeetApiSlice/avc_participant_joined", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
40466
+ var payload,
40467
+ _ref6,
40468
+ rejectWithValue,
40469
+ _resp$result2,
40470
+ _payload$id2,
40471
+ id,
40472
+ resp,
40473
+ data,
40474
+ res_data,
40475
+ _args3 = arguments;
40476
+
40477
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
40478
+ while (1) {
40479
+ switch (_context3.prev = _context3.next) {
40480
+ case 0:
40481
+ payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
40482
+ _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
40483
+ _context3.prev = 2;
40484
+ _payload$id2 = payload.id, id = _payload$id2 === void 0 ? "" : _payload$id2;
40485
+ _context3.next = 6;
40486
+ return fetchData$3({
40487
+ body: query$3.avc_participant_joined_qu(id)
40488
+ }, __readDocumentUrl__);
40489
+
40490
+ case 6:
40491
+ resp = _context3.sent;
40492
+ data = (resp === null || resp === void 0 ? void 0 : (_resp$result2 = resp.result) === null || _resp$result2 === void 0 ? void 0 : _resp$result2[0]) || [];
40493
+ res_data = {};
40494
+ return _context3.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
40495
+ data: res_data
40496
+ }));
40497
+
40498
+ case 12:
40499
+ _context3.prev = 12;
40500
+ _context3.t0 = _context3["catch"](2);
40501
+ return _context3.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
40502
+ message: _context3.t0.message
40503
+ })));
40504
+
40505
+ case 15:
40506
+ case "end":
40507
+ return _context3.stop();
40508
+ }
40509
+ }
40510
+ }, _callee3, null, [[2, 12]]);
40214
40511
  })));
40215
40512
  var avcMeetApiSlice = createSlice({
40216
40513
  name: "avcMeetApiSlice",
40217
40514
  initialState: {
40218
- avc_info: _objectSpread2({}, defaultState.Info)
40515
+ avc_info: _objectSpread2({}, defaultState.Info),
40516
+ avc_form: _objectSpread2({}, defaultState.Info),
40517
+ avc_participant_joined: _objectSpread2({}, defaultState.Info)
40219
40518
  },
40220
40519
  extraReducers: (_extraReducers$3 = {}, _defineProperty(_extraReducers$3, AVC_LOGIN.fulfilled, function (state, action) {
40221
40520
  var _action$payload;
@@ -40227,10 +40526,32 @@ var avcMeetApiSlice = createSlice({
40227
40526
  var _action$payload2;
40228
40527
 
40229
40528
  state.avc_info = (_action$payload2 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : [];
40529
+ }), _defineProperty(_extraReducers$3, AVC_FORM_INSERT.fulfilled, function (state, action) {
40530
+ var _action$payload3;
40531
+
40532
+ state.avc_form = (_action$payload3 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload3 !== void 0 ? _action$payload3 : [];
40533
+ }), _defineProperty(_extraReducers$3, AVC_FORM_INSERT.pending, function (state, action) {
40534
+ state.avc_form.loading = true;
40535
+ }), _defineProperty(_extraReducers$3, AVC_FORM_INSERT.rejected, function (state, action) {
40536
+ var _action$payload4;
40537
+
40538
+ state.avc_form = (_action$payload4 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload4 !== void 0 ? _action$payload4 : [];
40539
+ }), _defineProperty(_extraReducers$3, AVC_PARTICIPANT_JOINED.fulfilled, function (state, action) {
40540
+ var _action$payload5;
40541
+
40542
+ state.avc_participant_joined = (_action$payload5 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload5 !== void 0 ? _action$payload5 : [];
40543
+ }), _defineProperty(_extraReducers$3, AVC_PARTICIPANT_JOINED.pending, function (state, action) {
40544
+ state.avc_participant_joined.loading = true;
40545
+ }), _defineProperty(_extraReducers$3, AVC_PARTICIPANT_JOINED.rejected, function (state, action) {
40546
+ var _action$payload6;
40547
+
40548
+ state.avc_participant_joined = (_action$payload6 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload6 !== void 0 ? _action$payload6 : [];
40230
40549
  }), _extraReducers$3)
40231
40550
  });
40232
40551
  var avcMeetApiActions = {
40233
- AVC_LOGIN: AVC_LOGIN
40552
+ AVC_LOGIN: AVC_LOGIN,
40553
+ AVC_FORM_INSERT: AVC_FORM_INSERT,
40554
+ AVC_PARTICIPANT_JOINED: AVC_PARTICIPANT_JOINED
40234
40555
  };
40235
40556
  var avcMeetApiSlice$1 = avcMeetApiSlice.reducer;
40236
40557
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primarycare-binder",
3
- "version": "1.1.17",
3
+ "version": "1.1.21",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",