|
@@ -4223,6 +4223,8 @@ function initSelectWithParams() {
|
|
|
});
|
|
|
//select 从后台加载数据,并保留之前选择的内容
|
|
|
dynamicSelectWithOri("editZd", '/thmz/getAllZdIcdCommonParams?commonParams=', false);
|
|
|
+ //中医诊断
|
|
|
+ dynamicSelectWithOri("editTcmZd", '/thmz/getAllTcmIcdCodeByParams?name=',false);
|
|
|
//手术名称下拉选实现
|
|
|
dynamicSelect("opName", '/thmz/getZdIcd9Cm3ListByCode?code=', false);
|
|
|
//手术部位
|
|
@@ -12878,6 +12880,12 @@ function printBlRecord(patientId, times, printType) {
|
|
|
} else {
|
|
|
$("#icdTextBlrecord").parent().css("display", "none");
|
|
|
}
|
|
|
+
|
|
|
+ if (mzBlRecord.tcmIcdText != null && mzBlRecord.tcmIcdText != "") {
|
|
|
+ $("#tcmIcdTextBlrecord").text(mzBlRecord.tcmIcdText);
|
|
|
+ } else {
|
|
|
+ $("#tcmIcdTextBlrecord").text("无");
|
|
|
+ }
|
|
|
if (mzBlRecord.emrProcess != null && mzBlRecord.emrProcess != "") {
|
|
|
$("#emrProcessBlrecord").html(mzBlRecord.emrProcess);
|
|
|
$("#emrProcessBlrecord").parent().css("display", "block");
|
|
@@ -13787,6 +13795,7 @@ function showMzBlRecordModal(patientId, times, type) {
|
|
|
$("#editObstericalHistory").val(mzBlRecord.obstericalHistory == null ? "" : mzBlRecord.obstericalHistory);
|
|
|
$("#editQtjc").val(mzBlRecord.emrPe == null ? "" : mzBlRecord.emrPe);
|
|
|
setSelectedAttr("editZd", mzBlRecord.icdCode, mzBlRecord.icdText);
|
|
|
+ setSelectedAttr("editTcmZd", mzBlRecord.tcmIcdCode, mzBlRecord.tcmIcdText);
|
|
|
var patientAllergenInfoList = res.patientAllergenInfoList;
|
|
|
if (patientAllergenInfoList != null && patientAllergenInfoList.length > 0) {
|
|
|
var zdAllergen = [];
|
|
@@ -13918,6 +13927,8 @@ function clearInput() {
|
|
|
$("#editQtjc").val(null);
|
|
|
$("#editZd").selectpicker('val', null);
|
|
|
$("#editZd").selectpicker('refresh');
|
|
|
+ $("#editTcmZd").selectpicker('val', null);
|
|
|
+ $("#editTcmZd").selectpicker('refresh');
|
|
|
$("#edittentativeDiagnosis").val(null);
|
|
|
$("#editEmrProcess").val(null);
|
|
|
$("#editEmrJkjy").val(null);
|
|
@@ -13961,6 +13972,21 @@ function sendEmrProcess() {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+//中医诊断
|
|
|
+ let tcmIcdCodes = $("#editTcmZd").val();
|
|
|
+ let tcmIcdCodeStr = null;
|
|
|
+ if (tcmIcdCodes != null && tcmIcdCodes.length > 0) {
|
|
|
+ for (let i = 0; i < tcmIcdCodes.length; i++) {
|
|
|
+ if (tcmIcdCodeStr == null) {
|
|
|
+ tcmIcdCodeStr = tcmIcdCodes[i];
|
|
|
+ } else {
|
|
|
+ tcmIcdCodeStr += "," + tcmIcdCodes[i];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
//设置过敏源
|
|
|
var patientAllergenInfoList = [];
|
|
|
var zdAllergen = $("#editZdAllergen").val();
|
|
@@ -14008,7 +14034,9 @@ function sendEmrProcess() {
|
|
|
"pressureHighLeft": $("#bl_pressure_high_left").val(),
|
|
|
"pressureFloorLeft": $("#bl_pressure_floor_left").val(),
|
|
|
"icdCode": icdCodeStr,
|
|
|
+ "tcmIcdCode": tcmIcdCodeStr,
|
|
|
"icdText": $('#editZd').next().attr("title"),
|
|
|
+ "tcmIcdText": $('#editTcmZd').next().attr("title"),
|
|
|
"tentativeDiagnosis": $("#edittentativeDiagnosis").val(),
|
|
|
"emrJkjy": $("#editEmrJkjy").val(),
|
|
|
"emrProcess": $("#editEmrProcess").val(),
|