primarycare-binder 1.1.105 → 1.1.108
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 +86 -54
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8174,8 +8174,11 @@ var queries$b = {
|
|
|
8174
8174
|
returnFields: "{AppointmentID:Appointment.id,_id:Appointment._id,status:Appointment.status,appStatus:first(for en in Encounter filter Appointment.id in en.appointmentId return document(en.status)),avc:Appointment.avc,appnumber:Appointment.appno,end:Appointment.end,start:Appointment.start,createddate:Appointment.createddate,updatedate:Appointment.updatedate, personId:Appointment.PersonID, patient:(FOR adqolcPatient IN Patient FILTER adqolcPatient.personID IN Appointment.PersonID RETURN merge(adqolcPatient,{identifier:document(adqolcPatient.identifier)},{martialStatus:document(adqolcPatient.martialStatus)},{name:document(adqolcPatient.name)},{telecom:document(adqolcPatient.telecom)},{photo:document(adqolcPatient.photo)},{personID:(for pid in Person filter pid.Id == adqolcPatient.personID return pid)},{address:document(adqolcPatient.address)},{activereason:(DOCUMENT(adqolcPatient.activereason)),deceasedreason:(DOCUMENT(adqolcPatient.deceasedreason))},{isdeceased:(for doc in CodeableConceptMaster filter doc._id==adqolcPatient.isdeceased return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod)}))})) ,Person:MERGE(Person,{name:(FOR hn IN TO_ARRAY(Person.name) RETURN DOCUMENT(hn)),telecom:(FOR tel IN TO_ARRAY(Person.telecom) RETURN DOCUMENT(tel) ),photo:document(Person.photo)})}"
|
|
8175
8175
|
},
|
|
8176
8176
|
codablemasterGetPatientname: {
|
|
8177
|
-
query: function query(
|
|
8178
|
-
|
|
8177
|
+
query: function query(_ref2) {
|
|
8178
|
+
var firstName = _ref2.firstName,
|
|
8179
|
+
secondName = _ref2.secondName,
|
|
8180
|
+
thirdName = _ref2.thirdName;
|
|
8181
|
+
return "(LIKE(DOCUMENT(Person.name)[0].text,'%".concat(firstName, "%',true) || LIKE(DOCUMENT(Person.name)[0].given,'%").concat(secondName, "%',true) || LIKE(DOCUMENT(Person.name)[0].family,'%").concat(thirdName, "%',true)) && Person.activestatus == true");
|
|
8179
8182
|
},
|
|
8180
8183
|
returnFields: "{prefix: DOCUMENT(Person.name)[*].prefix,gender: Person.gender,birthDate: Person.birthDay,suffix: DOCUMENT(Person.name)[*].suffix, nameObj: DOCUMENT(Person.name)[*], name: DOCUMENT(Person.name)[*].text, personId: Person.Id,patientDetail: (for pat in Patient FILTER pat.personID == Person.Id RETURN merge(pat,{name:(for nam in HumanNameMaster filter nam._id in pat.name return merge(nam,{use:document(nam.use),prefix:document(nam.prefix),suffix:document(nam.suffix)}))},{photo:document(pat.photo)})),telecom: Document(Person.telecom),photo:document(Person.photo)}"
|
|
8181
8184
|
},
|
|
@@ -8192,9 +8195,9 @@ var queries$b = {
|
|
|
8192
8195
|
},
|
|
8193
8196
|
returnFields: "DISTINCT {Organization:Organization.name, OrgID:Organization.id}"
|
|
8194
8197
|
},
|
|
8195
|
-
getCodableConceptMaster: function getCodableConceptMaster(
|
|
8196
|
-
var
|
|
8197
|
-
type =
|
|
8198
|
+
getCodableConceptMaster: function getCodableConceptMaster(_ref3) {
|
|
8199
|
+
var _ref3$type = _ref3.type,
|
|
8200
|
+
type = _ref3$type === void 0 ? "" : _ref3$type;
|
|
8198
8201
|
return {
|
|
8199
8202
|
db_name: dbName,
|
|
8200
8203
|
entity: "CodeableConceptMaster",
|
|
@@ -8243,9 +8246,9 @@ var queries$b = {
|
|
|
8243
8246
|
sort: "OrderType.shortdesc asc"
|
|
8244
8247
|
};
|
|
8245
8248
|
},
|
|
8246
|
-
getCaOrderLine: function getCaOrderLine(
|
|
8247
|
-
var
|
|
8248
|
-
id =
|
|
8249
|
+
getCaOrderLine: function getCaOrderLine(_ref4) {
|
|
8250
|
+
var _ref4$id = _ref4.id,
|
|
8251
|
+
id = _ref4$id === void 0 ? 0 : _ref4$id;
|
|
8249
8252
|
return {
|
|
8250
8253
|
db_name: dbName,
|
|
8251
8254
|
entity: "CA_OrderLine",
|
|
@@ -8253,9 +8256,9 @@ var queries$b = {
|
|
|
8253
8256
|
return_fields: "CA_OrderLine"
|
|
8254
8257
|
};
|
|
8255
8258
|
},
|
|
8256
|
-
getOrganization: function getOrganization(
|
|
8257
|
-
var
|
|
8258
|
-
id =
|
|
8259
|
+
getOrganization: function getOrganization(_ref5) {
|
|
8260
|
+
var _ref5$id = _ref5.id,
|
|
8261
|
+
id = _ref5$id === void 0 ? 0 : _ref5$id;
|
|
8259
8262
|
return {
|
|
8260
8263
|
db_name: dbName,
|
|
8261
8264
|
entity: "Organization",
|
|
@@ -8263,9 +8266,9 @@ var queries$b = {
|
|
|
8263
8266
|
return_fields: "{_id:Organization._id,OrgID:Organization.id,name:Organization.name}"
|
|
8264
8267
|
};
|
|
8265
8268
|
},
|
|
8266
|
-
getPractionerRole: function getPractionerRole(
|
|
8267
|
-
var
|
|
8268
|
-
id =
|
|
8269
|
+
getPractionerRole: function getPractionerRole(_ref6) {
|
|
8270
|
+
var _ref6$id = _ref6.id,
|
|
8271
|
+
id = _ref6$id === void 0 ? 0 : _ref6$id;
|
|
8269
8272
|
return {
|
|
8270
8273
|
db_name: dbName,
|
|
8271
8274
|
entity: "PractitionerRole,Organization,Practitioner",
|
|
@@ -8276,9 +8279,9 @@ var queries$b = {
|
|
|
8276
8279
|
return_fields: "DISTINCT MERGE({PractitionerRole:DOCUMENT(PractitionerRole.code)})"
|
|
8277
8280
|
};
|
|
8278
8281
|
},
|
|
8279
|
-
getPractionerName: function getPractionerName(
|
|
8280
|
-
var
|
|
8281
|
-
id =
|
|
8282
|
+
getPractionerName: function getPractionerName(_ref7) {
|
|
8283
|
+
var _ref7$id = _ref7.id,
|
|
8284
|
+
id = _ref7$id === void 0 ? 0 : _ref7$id;
|
|
8282
8285
|
return {
|
|
8283
8286
|
db_name: dbName,
|
|
8284
8287
|
entity: "PractitionerRole,Organization,Practitioner",
|
|
@@ -8289,9 +8292,9 @@ var queries$b = {
|
|
|
8289
8292
|
return_fields: "DISTINCT MERGE({PractitionerName:DOCUMENT(Practitioner.name)})"
|
|
8290
8293
|
};
|
|
8291
8294
|
},
|
|
8292
|
-
getCaDiagnosis: function getCaDiagnosis(
|
|
8293
|
-
var
|
|
8294
|
-
id =
|
|
8295
|
+
getCaDiagnosis: function getCaDiagnosis(_ref8) {
|
|
8296
|
+
var _ref8$id = _ref8.id,
|
|
8297
|
+
id = _ref8$id === void 0 ? 0 : _ref8$id;
|
|
8295
8298
|
return {
|
|
8296
8299
|
db_name: dbName,
|
|
8297
8300
|
entity: "CA_Diagnosis",
|
|
@@ -8299,9 +8302,9 @@ var queries$b = {
|
|
|
8299
8302
|
return_fields: "DOCUMENT(CA_Diagnosis.diagcode)"
|
|
8300
8303
|
};
|
|
8301
8304
|
},
|
|
8302
|
-
upsertCaOrderline: function upsertCaOrderline(
|
|
8303
|
-
var
|
|
8304
|
-
doc =
|
|
8305
|
+
upsertCaOrderline: function upsertCaOrderline(_ref9) {
|
|
8306
|
+
var _ref9$doc = _ref9.doc,
|
|
8307
|
+
doc = _ref9$doc === void 0 ? {} : _ref9$doc;
|
|
8305
8308
|
return [{
|
|
8306
8309
|
db_name: dbName,
|
|
8307
8310
|
entity: "CA_OrderLine",
|
|
@@ -8310,9 +8313,9 @@ var queries$b = {
|
|
|
8310
8313
|
doc: _objectSpread2({}, doc)
|
|
8311
8314
|
}];
|
|
8312
8315
|
},
|
|
8313
|
-
upsertCaOrderApprovalWorkqueue: function upsertCaOrderApprovalWorkqueue(
|
|
8314
|
-
var
|
|
8315
|
-
doc =
|
|
8316
|
+
upsertCaOrderApprovalWorkqueue: function upsertCaOrderApprovalWorkqueue(_ref10) {
|
|
8317
|
+
var _ref10$doc = _ref10.doc,
|
|
8318
|
+
doc = _ref10$doc === void 0 ? {} : _ref10$doc;
|
|
8316
8319
|
return [{
|
|
8317
8320
|
db_name: dbName,
|
|
8318
8321
|
entity: "CA_OrderApprovalWorkqueue",
|
|
@@ -8321,11 +8324,11 @@ var queries$b = {
|
|
|
8321
8324
|
doc: _objectSpread2({}, doc)
|
|
8322
8325
|
}];
|
|
8323
8326
|
},
|
|
8324
|
-
commonUpsertQuery: function commonUpsertQuery(
|
|
8325
|
-
var
|
|
8326
|
-
doc =
|
|
8327
|
-
|
|
8328
|
-
entity =
|
|
8327
|
+
commonUpsertQuery: function commonUpsertQuery(_ref11) {
|
|
8328
|
+
var _ref11$doc = _ref11.doc,
|
|
8329
|
+
doc = _ref11$doc === void 0 ? {} : _ref11$doc,
|
|
8330
|
+
_ref11$entity = _ref11.entity,
|
|
8331
|
+
entity = _ref11$entity === void 0 ? "" : _ref11$entity;
|
|
8329
8332
|
return [{
|
|
8330
8333
|
db_name: dbName,
|
|
8331
8334
|
entity: entity,
|
|
@@ -15577,13 +15580,20 @@ var GET_ENCOUNTER_MASTER_TYPE = createAsyncThunk('searchApiSlice/masterEncounter
|
|
|
15577
15580
|
payload = _args10.length > 0 && _args10[0] !== undefined ? _args10[0] : {};
|
|
15578
15581
|
_ref20 = _args10.length > 1 ? _args10[1] : undefined, rejectWithValue = _ref20.rejectWithValue;
|
|
15579
15582
|
_context10.prev = 2;
|
|
15580
|
-
returnData = [];
|
|
15583
|
+
returnData = []; // const encounterTypeBody = {
|
|
15584
|
+
// db_name: dbName,
|
|
15585
|
+
// entity: "CodingMaster",
|
|
15586
|
+
// filter: "CodingMaster.Type == 'ENCOUNTERTYPE' && CodingMaster.status == true && CodingMaster.activestatus==true ",
|
|
15587
|
+
// return_fields: "KEEP(CodingMaster,'_id','id','_key','Type','status','activestatus','shortdesc','display','code')",
|
|
15588
|
+
// sort: "document(AMPatientClass.encTypeDesc).display"
|
|
15589
|
+
// }
|
|
15590
|
+
|
|
15581
15591
|
encounterTypeBody = {
|
|
15582
|
-
db_name:
|
|
15583
|
-
entity: "
|
|
15584
|
-
filter: "
|
|
15585
|
-
return_fields: "
|
|
15586
|
-
sort: "
|
|
15592
|
+
"db_name": "primarycare",
|
|
15593
|
+
"entity": "AMPatientClass",
|
|
15594
|
+
"filter": "AMPatientClass.status==true && AMPatientClass.activestatus==true",
|
|
15595
|
+
"return_fields": "keep(AMPatientClass,'_id','_key','id','shortDesc','longDesc','status')",
|
|
15596
|
+
"sort": "AMPatientClass.shortDesc"
|
|
15587
15597
|
};
|
|
15588
15598
|
_context10.next = 7;
|
|
15589
15599
|
return fetchData$3({
|
|
@@ -15615,6 +15625,8 @@ var GET_ENCOUNTER_MASTER_CLASS = createAsyncThunk('searchApiSlice/masterEncounte
|
|
|
15615
15625
|
var payload,
|
|
15616
15626
|
_ref22,
|
|
15617
15627
|
rejectWithValue,
|
|
15628
|
+
_encounterClass$resul,
|
|
15629
|
+
_encounterClass$resul2,
|
|
15618
15630
|
_payload$encType,
|
|
15619
15631
|
encType,
|
|
15620
15632
|
returnData,
|
|
@@ -15630,13 +15642,19 @@ var GET_ENCOUNTER_MASTER_CLASS = createAsyncThunk('searchApiSlice/masterEncounte
|
|
|
15630
15642
|
_ref22 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref22.rejectWithValue;
|
|
15631
15643
|
_context11.prev = 2;
|
|
15632
15644
|
_payload$encType = payload.encType, encType = _payload$encType === void 0 ? "" : _payload$encType;
|
|
15633
|
-
returnData = {
|
|
15645
|
+
returnData = []; // const encounterClassBody = {
|
|
15646
|
+
// db_name: dbName,
|
|
15647
|
+
// entity: "AMPatientClass",
|
|
15648
|
+
// filter: `AMPatientClass.encType=='${encType}' && AMPatientClass.activestatus==true && AMPatientClass.status==true`,
|
|
15649
|
+
// return_fields: "merge(AMPatientClass,{encType:document(AMPatientClass.encType).code},{encTypeDesc:document(AMPatientClass.encTypeDesc).display},{encClsType:document(AMPatientClass.encClsType).code},{encClsDesc:document(AMPatientClass.encClsDesc).display})",
|
|
15650
|
+
// sort: "document(AMPatientClass.encTypeDesc).display"
|
|
15651
|
+
// }
|
|
15652
|
+
|
|
15634
15653
|
encounterClassBody = {
|
|
15635
|
-
db_name:
|
|
15636
|
-
entity: "AMPatientClass",
|
|
15637
|
-
filter: "AMPatientClass.
|
|
15638
|
-
return_fields: "
|
|
15639
|
-
sort: "document(AMPatientClass.encTypeDesc).display"
|
|
15654
|
+
"db_name": "primarycare",
|
|
15655
|
+
"entity": "AMPatientClass",
|
|
15656
|
+
"filter": "AMPatientClass._id=='".concat(encType, "' && AMPatientClass.status==true && AMPatientClass.activestatus==true"),
|
|
15657
|
+
"return_fields": "{encClsByTypes:AMPatientClass.encClsByTypes}"
|
|
15640
15658
|
};
|
|
15641
15659
|
_context11.next = 8;
|
|
15642
15660
|
return fetchData$3({
|
|
@@ -15645,7 +15663,7 @@ var GET_ENCOUNTER_MASTER_CLASS = createAsyncThunk('searchApiSlice/masterEncounte
|
|
|
15645
15663
|
|
|
15646
15664
|
case 8:
|
|
15647
15665
|
encounterClass = _context11.sent;
|
|
15648
|
-
returnData = encounterClass === null || encounterClass === void 0 ? void 0 : encounterClass.result;
|
|
15666
|
+
returnData = encounterClass === null || encounterClass === void 0 ? void 0 : (_encounterClass$resul = encounterClass.result) === null || _encounterClass$resul === void 0 ? void 0 : (_encounterClass$resul2 = _encounterClass$resul[0]) === null || _encounterClass$resul2 === void 0 ? void 0 : _encounterClass$resul2.encClsByTypes;
|
|
15649
15667
|
return _context11.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
15650
15668
|
data: returnData
|
|
15651
15669
|
}));
|
|
@@ -19281,8 +19299,14 @@ var GET_PATIENT_NAME = createAsyncThunk("OrganizationRegisterPatientApiSlice/get
|
|
|
19281
19299
|
var payload,
|
|
19282
19300
|
_ref32,
|
|
19283
19301
|
rejectWithValue,
|
|
19302
|
+
_patientName$split,
|
|
19303
|
+
_patientName$split2,
|
|
19304
|
+
_patientName$split3,
|
|
19284
19305
|
_payload$patientName,
|
|
19285
19306
|
patientName,
|
|
19307
|
+
firstName,
|
|
19308
|
+
secondName,
|
|
19309
|
+
thirdName,
|
|
19286
19310
|
body,
|
|
19287
19311
|
data,
|
|
19288
19312
|
returnData,
|
|
@@ -19296,18 +19320,26 @@ var GET_PATIENT_NAME = createAsyncThunk("OrganizationRegisterPatientApiSlice/get
|
|
|
19296
19320
|
_ref32 = _args16.length > 1 ? _args16[1] : undefined, rejectWithValue = _ref32.rejectWithValue;
|
|
19297
19321
|
_context16.prev = 2;
|
|
19298
19322
|
_payload$patientName = payload.patientName, patientName = _payload$patientName === void 0 ? "" : _payload$patientName;
|
|
19323
|
+
firstName = (_patientName$split = patientName === null || patientName === void 0 ? void 0 : patientName.split(" ", 1)) !== null && _patientName$split !== void 0 ? _patientName$split : "";
|
|
19324
|
+
secondName = (_patientName$split2 = patientName === null || patientName === void 0 ? void 0 : patientName.split(" ", 2)) !== null && _patientName$split2 !== void 0 ? _patientName$split2 : "";
|
|
19325
|
+
thirdName = (_patientName$split3 = patientName === null || patientName === void 0 ? void 0 : patientName.split(" ", 3)) !== null && _patientName$split3 !== void 0 ? _patientName$split3 : "";
|
|
19326
|
+
debugger;
|
|
19299
19327
|
body = {
|
|
19300
19328
|
db_name: dbName,
|
|
19301
19329
|
entity: "Person",
|
|
19302
|
-
filter: queries$b["codablemasterGetPatientname"].query(
|
|
19330
|
+
filter: queries$b["codablemasterGetPatientname"].query({
|
|
19331
|
+
firstName: firstName,
|
|
19332
|
+
secondName: secondName,
|
|
19333
|
+
thirdName: thirdName
|
|
19334
|
+
}),
|
|
19303
19335
|
return_fields: queries$b["codablemasterGetPatientname"].returnFields
|
|
19304
19336
|
};
|
|
19305
|
-
_context16.next =
|
|
19337
|
+
_context16.next = 11;
|
|
19306
19338
|
return fetchData$3({
|
|
19307
19339
|
body: JSON.stringify(body)
|
|
19308
19340
|
}, __readDocumentUrl__);
|
|
19309
19341
|
|
|
19310
|
-
case
|
|
19342
|
+
case 11:
|
|
19311
19343
|
data = _context16.sent;
|
|
19312
19344
|
returnData = [];
|
|
19313
19345
|
|
|
@@ -19319,19 +19351,19 @@ var GET_PATIENT_NAME = createAsyncThunk("OrganizationRegisterPatientApiSlice/get
|
|
|
19319
19351
|
data: returnData
|
|
19320
19352
|
}));
|
|
19321
19353
|
|
|
19322
|
-
case
|
|
19323
|
-
_context16.prev =
|
|
19354
|
+
case 17:
|
|
19355
|
+
_context16.prev = 17;
|
|
19324
19356
|
_context16.t0 = _context16["catch"](2);
|
|
19325
19357
|
return _context16.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
19326
19358
|
message: _context16.t0.message
|
|
19327
19359
|
})));
|
|
19328
19360
|
|
|
19329
|
-
case
|
|
19361
|
+
case 20:
|
|
19330
19362
|
case "end":
|
|
19331
19363
|
return _context16.stop();
|
|
19332
19364
|
}
|
|
19333
19365
|
}
|
|
19334
|
-
}, _callee16, null, [[2,
|
|
19366
|
+
}, _callee16, null, [[2, 17]]);
|
|
19335
19367
|
})));
|
|
19336
19368
|
var GET_PATIENT_TYPEID = createAsyncThunk("OrganizationRegisterPatientApiSlice/getpatienttypeid", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee17() {
|
|
19337
19369
|
var payload,
|
|
@@ -29046,7 +29078,7 @@ var generateResJson$3 = function generateResJson(dataList, arr) {
|
|
|
29046
29078
|
label: (_val$OrderNature = val === null || val === void 0 ? void 0 : val.OrderNature) !== null && _val$OrderNature !== void 0 ? _val$OrderNature : ""
|
|
29047
29079
|
},
|
|
29048
29080
|
dateTime: (_utcTOLocal = utcTOLocal$1(val === null || val === void 0 ? void 0 : val.orderDateTime, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal !== void 0 ? _utcTOLocal : "",
|
|
29049
|
-
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : "",
|
|
29081
|
+
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : (val === null || val === void 0 ? void 0 : val.occuranceEndDate) > 0 ? utcTOLocal$1(val === null || val === void 0 ? void 0 : val.occuranceEndDate, "YYYY-MM-DD,hh:mm A") : "",
|
|
29050
29082
|
childRecurrent: (val === null || val === void 0 ? void 0 : val.childRecurrent) ? RecurrentgenerateResJson$2(val === null || val === void 0 ? void 0 : val.childRecurrent) : null,
|
|
29051
29083
|
recurrent: false,
|
|
29052
29084
|
headerShow: true,
|
|
@@ -34378,7 +34410,7 @@ var generateResJson$2 = function generateResJson(dataList, arr) {
|
|
|
34378
34410
|
label: (_val$OrderNature = val === null || val === void 0 ? void 0 : val.OrderNature) !== null && _val$OrderNature !== void 0 ? _val$OrderNature : ""
|
|
34379
34411
|
},
|
|
34380
34412
|
dateTime: (_utcTOLocal = utcTOLocal$1(val === null || val === void 0 ? void 0 : val.orderDateTime, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal !== void 0 ? _utcTOLocal : "",
|
|
34381
|
-
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : "",
|
|
34413
|
+
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : (val === null || val === void 0 ? void 0 : val.occuranceEndDate) > 0 ? utcTOLocal$1(val === null || val === void 0 ? void 0 : val.occuranceEndDate, "YYYY-MM-DD,hh:mm A") : "",
|
|
34382
34414
|
childRecurrent: (val === null || val === void 0 ? void 0 : val.childRecurrent) ? RecurrentgenerateResJson$1(val === null || val === void 0 ? void 0 : val.childRecurrent) : null,
|
|
34383
34415
|
recurrent: false,
|
|
34384
34416
|
headerShow: true,
|
|
@@ -36300,7 +36332,7 @@ var generateResJson$1 = function generateResJson(dataList, arr) {
|
|
|
36300
36332
|
label: (_val$OrderNature = val === null || val === void 0 ? void 0 : val.OrderNature) !== null && _val$OrderNature !== void 0 ? _val$OrderNature : ""
|
|
36301
36333
|
},
|
|
36302
36334
|
dateTime: (_utcTOLocal = utcTOLocal$1(val === null || val === void 0 ? void 0 : val.orderDateTime, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal !== void 0 ? _utcTOLocal : "",
|
|
36303
|
-
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : "",
|
|
36335
|
+
endDate: (val === null || val === void 0 ? void 0 : (_val$recurrent2 = val.recurrent) === null || _val$recurrent2 === void 0 ? void 0 : (_val$recurrent2$ = _val$recurrent2[0]) === null || _val$recurrent2$ === void 0 ? void 0 : _val$recurrent2$.startes_on_occurance_date) ? (_utcTOLocal2 = utcTOLocal$1(val === null || val === void 0 ? void 0 : (_val$recurrent3 = val.recurrent) === null || _val$recurrent3 === void 0 ? void 0 : (_val$recurrent3$ = _val$recurrent3[0]) === null || _val$recurrent3$ === void 0 ? void 0 : _val$recurrent3$.startes_on_occurance_date, "YYYY-MM-DD,hh:mm A")) !== null && _utcTOLocal2 !== void 0 ? _utcTOLocal2 : "" : (val === null || val === void 0 ? void 0 : val.occuranceEndDate) > 0 ? utcTOLocal$1(val === null || val === void 0 ? void 0 : val.occuranceEndDate, "YYYY-MM-DD,hh:mm A") : "",
|
|
36304
36336
|
childRecurrent: (val === null || val === void 0 ? void 0 : val.childRecurrent) ? RecurrentgenerateResJson(val === null || val === void 0 ? void 0 : val.childRecurrent) : null,
|
|
36305
36337
|
recurrent: false,
|
|
36306
36338
|
headerShow: true,
|