primary_care_admin_binder 0.1.45 → 0.1.49
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 +14 -16
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8913,7 +8913,7 @@ var practitionerActions$1 = {
|
|
|
8913
8913
|
var practitionerSlice$1 = practitionerSlice.reducer;
|
|
8914
8914
|
|
|
8915
8915
|
var masterQuery$7 = {
|
|
8916
|
-
"id_type": "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='ALTERNATEIDTYPE'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
8916
|
+
"id_type": "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='ALTERNATEIDTYPE' && CodeableConceptMaster.status == true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
8917
8917
|
"id_number": "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='RELATIONSHIP'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
8918
8918
|
"prefix": "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='NAMEPREFIX'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
8919
8919
|
"suffix": "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='NAMESUFFIX'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
@@ -12550,19 +12550,21 @@ var generateJSON = function generateJSON(data, _key) {
|
|
|
12550
12550
|
|
|
12551
12551
|
if (data.working_days_yes_no === "Yes") {
|
|
12552
12552
|
workingDayArr = [{
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
daysOfWeek: []
|
|
12553
|
+
effFrmDate: 0,
|
|
12554
|
+
effToDate: 0,
|
|
12555
|
+
workDaysOfWeek: []
|
|
12557
12556
|
}];
|
|
12558
12557
|
} else if (data.working_days_yes_no === "No") {
|
|
12559
12558
|
data.workingday_daySlots.map(function (val, i) {
|
|
12560
12559
|
var day_obj = {
|
|
12561
|
-
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12560
|
+
effFrmDate: 0,
|
|
12561
|
+
effToDate: 0,
|
|
12562
|
+
workDaysOfWeek: workday_timeslot(val.timeSlots) // allday: false,
|
|
12563
|
+
// //year: data.workingday_year,
|
|
12564
|
+
// year: parseInt(data.workingday_year),
|
|
12565
|
+
// day: val.day,
|
|
12566
|
+
// daysOfWeek: workday_timeslot(val.timeSlots),
|
|
12567
|
+
|
|
12566
12568
|
};
|
|
12567
12569
|
workingDayArr.push(day_obj);
|
|
12568
12570
|
});
|
|
@@ -12660,11 +12662,7 @@ var generateJSON = function generateJSON(data, _key) {
|
|
|
12660
12662
|
objectid: data.photo[0].objectid
|
|
12661
12663
|
}],
|
|
12662
12664
|
pharmacy: [{
|
|
12663
|
-
|
|
12664
|
-
returnAllowed: data.returnAllowed,
|
|
12665
|
-
maxdaysforRtn: parseInt(data.maxDaysForReturn),
|
|
12666
|
-
exRxAllowed: data.externalRxAllowed,
|
|
12667
|
-
otcAllowed: data.otcAllowed
|
|
12665
|
+
maxdaysforRtn: parseInt(data.maxDaysForReturn)
|
|
12668
12666
|
}]
|
|
12669
12667
|
}
|
|
12670
12668
|
})];
|
|
@@ -22708,7 +22706,7 @@ var queries$c = {
|
|
|
22708
22706
|
db_name: dbName$1,
|
|
22709
22707
|
entity: "SMGeographicMaster",
|
|
22710
22708
|
sort: "SMGeographicMaster.geogLevelName",
|
|
22711
|
-
filter: "Lower(DOCUMENT(SMGeographicMaster.geogLevelType).display)=='country' && SMGeographicMaster.activestatus == true",
|
|
22709
|
+
filter: "Lower(DOCUMENT(SMGeographicMaster.geogLevelType).display)=='country' && SMGeographicMaster.activestatus == true && SMGeographicMaster.active == true",
|
|
22712
22710
|
return_fields: "{_id:SMGeographicMaster._id,id:SMGeographicMaster.id,geogLevelName:SMGeographicMaster.geogLevelName,parentGeogLevelType:SMGeographicMaster.parentGeogLevelType,parentGeogLevelCode:SMGeographicMaster.parentGeogLevelCode,GeoLocationISDCode:SMGeographicMaster.GeoLocationISDCode}"
|
|
22713
22711
|
};
|
|
22714
22712
|
},
|