primary_care_admin_binder 0.0.94 → 0.0.95
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 +6 -6
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -30486,7 +30486,7 @@ var queries$1 = {
|
|
|
30486
30486
|
};
|
|
30487
30487
|
},
|
|
30488
30488
|
add_new_general_type: function add_new_general_type(data) {
|
|
30489
|
-
var _data$code, _data$code2, _data$long_descriptio, _data$type, _data$short_descripti, _data$addition, _data$type2;
|
|
30489
|
+
var _data$code, _data$code$trim, _data$code2, _data$long_descriptio, _data$type, _data$short_descripti, _data$addition, _data$type2;
|
|
30490
30490
|
|
|
30491
30491
|
// return [
|
|
30492
30492
|
// {
|
|
@@ -30519,7 +30519,7 @@ var queries$1 = {
|
|
|
30519
30519
|
"coding": [{
|
|
30520
30520
|
// "system": "string",
|
|
30521
30521
|
// "version": "string",
|
|
30522
|
-
"code": (_data$
|
|
30522
|
+
"code": (_data$code$trim = data === null || data === void 0 ? void 0 : (_data$code2 = data.code) === null || _data$code2 === void 0 ? void 0 : _data$code2.trim()) !== null && _data$code$trim !== void 0 ? _data$code$trim : "",
|
|
30523
30523
|
"display": (_data$long_descriptio = data === null || data === void 0 ? void 0 : data.long_description) !== null && _data$long_descriptio !== void 0 ? _data$long_descriptio : "",
|
|
30524
30524
|
// "userSelected": "boolean",
|
|
30525
30525
|
"id": 0,
|
|
@@ -30535,7 +30535,7 @@ var queries$1 = {
|
|
|
30535
30535
|
}];
|
|
30536
30536
|
},
|
|
30537
30537
|
update_general_type: function update_general_type(edit_data) {
|
|
30538
|
-
var _edit_data$_key, _edit_data$code, _edit_data$long_descr, _edit_data$short_desc, _edit_data$addition;
|
|
30538
|
+
var _edit_data$_key, _edit_data$code$trim, _edit_data$code, _edit_data$long_descr, _edit_data$short_desc, _edit_data$addition;
|
|
30539
30539
|
|
|
30540
30540
|
return [{
|
|
30541
30541
|
"db_name": dbName,
|
|
@@ -30548,7 +30548,7 @@ var queries$1 = {
|
|
|
30548
30548
|
"doc": {
|
|
30549
30549
|
// "system": "string",
|
|
30550
30550
|
// "version": "string",
|
|
30551
|
-
"code": (_edit_data$code = edit_data === null || edit_data === void 0 ? void 0 : edit_data.code) !== null && _edit_data$code !== void 0 ? _edit_data$code : "",
|
|
30551
|
+
"code": (_edit_data$code$trim = edit_data === null || edit_data === void 0 ? void 0 : (_edit_data$code = edit_data.code) === null || _edit_data$code === void 0 ? void 0 : _edit_data$code.trim()) !== null && _edit_data$code$trim !== void 0 ? _edit_data$code$trim : "",
|
|
30552
30552
|
"display": (_edit_data$long_descr = edit_data === null || edit_data === void 0 ? void 0 : edit_data.long_description) !== null && _edit_data$long_descr !== void 0 ? _edit_data$long_descr : "",
|
|
30553
30553
|
// "userSelected": "boolean",
|
|
30554
30554
|
// "id": "number",
|
|
@@ -31286,7 +31286,7 @@ var queries = {
|
|
|
31286
31286
|
}];
|
|
31287
31287
|
},
|
|
31288
31288
|
symptom_and_specialty_upsert: function symptom_and_specialty_upsert(data) {
|
|
31289
|
-
var _data$symtom_descript, _data$id, _data$status, _data$symptom_code, _data$specialities;
|
|
31289
|
+
var _data$symtom_descript, _data$id, _data$status, _data$symptom_code$tr, _data$symptom_code, _data$specialities;
|
|
31290
31290
|
|
|
31291
31291
|
var filter = {};
|
|
31292
31292
|
|
|
@@ -31308,7 +31308,7 @@ var queries = {
|
|
|
31308
31308
|
SymptomsName: (_data$symtom_descript = data === null || data === void 0 ? void 0 : data.symtom_description) !== null && _data$symtom_descript !== void 0 ? _data$symtom_descript : "",
|
|
31309
31309
|
id: (_data$id = data === null || data === void 0 ? void 0 : data.id) !== null && _data$id !== void 0 ? _data$id : 0,
|
|
31310
31310
|
status: (_data$status = data === null || data === void 0 ? void 0 : data.status) !== null && _data$status !== void 0 ? _data$status : true,
|
|
31311
|
-
symptomsCode: (_data$symptom_code = data === null || data === void 0 ? void 0 : data.symptom_code) !== null && _data$symptom_code !== void 0 ? _data$symptom_code : "",
|
|
31311
|
+
symptomsCode: (_data$symptom_code$tr = data === null || data === void 0 ? void 0 : (_data$symptom_code = data.symptom_code) === null || _data$symptom_code === void 0 ? void 0 : _data$symptom_code.trim()) !== null && _data$symptom_code$tr !== void 0 ? _data$symptom_code$tr : "",
|
|
31312
31312
|
specialty: (_data$specialities = data === null || data === void 0 ? void 0 : data.specialities) !== null && _data$specialities !== void 0 ? _data$specialities : []
|
|
31313
31313
|
}
|
|
31314
31314
|
})];
|