|
@@ -187,6 +187,7 @@ $(function () {
|
|
|
$("#western_medicine_name").webuiPopover('hide');
|
|
|
$("#chinese_medicine_name").webuiPopover('hide');
|
|
|
$("#jcJyItem").webuiPopover('hide');
|
|
|
+ $("#zlItem").webuiPopover('hide');
|
|
|
$("#saveapidAcceptsModal").modal("show");
|
|
|
});
|
|
|
|
|
@@ -1785,8 +1786,10 @@ function medicalModelModal(id) {
|
|
|
if (emrProcess.indexOf("西药治疗:") >= 0) {
|
|
|
if (emrProcess.indexOf("中药治疗:") >= 0) {
|
|
|
xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("中药治疗:"));
|
|
|
- } else if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
- xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("医技与诊疗:"));
|
|
|
+ } else if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
+ xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("辅助检查、检验:"));
|
|
|
+ }else if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("诊疗:"));
|
|
|
} else {
|
|
|
xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5);
|
|
|
}
|
|
@@ -1808,9 +1811,11 @@ function medicalModelModal(id) {
|
|
|
}
|
|
|
var zy = null;
|
|
|
if (emrProcess.indexOf("中药治疗:") >= 0) {
|
|
|
- if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
- zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("医技与诊疗:"));
|
|
|
- } else {
|
|
|
+ if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
+ zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("辅助检查、检验:"));
|
|
|
+ }else if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("诊疗:"));
|
|
|
+ }else {
|
|
|
zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5);
|
|
|
}
|
|
|
var zyArr = zy.split("_");
|
|
@@ -1838,17 +1843,22 @@ function medicalModelModal(id) {
|
|
|
} else {
|
|
|
$("#zyzlTitle").removeClass("in").addClass("hide");
|
|
|
}
|
|
|
- if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
- var zlyj = emrProcess.substring(emrProcess.indexOf("医技与诊疗:") + 6);
|
|
|
- var zlyjArr = zlyj.split("_");
|
|
|
- if (zlyjArr != null && zlyjArr.length > 0) {
|
|
|
- var zlyjhtml = "";
|
|
|
- for (var i = 0; i < zlyjArr.length; i++) {
|
|
|
- zlyjhtml += "<div>";
|
|
|
- zlyjhtml += zlyjArr[i];
|
|
|
- zlyjhtml += "</div>";
|
|
|
+ var jcjy = null;
|
|
|
+ if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
+ if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ jcjy = emrProcess.substring(emrProcess.indexOf("辅助检查、检验:") + 8, emrProcess.indexOf("诊疗:"));
|
|
|
+ }else {
|
|
|
+ jcjy = emrProcess.substring(emrProcess.indexOf("辅助检查、检验:") + 8);
|
|
|
+ }
|
|
|
+ var jcjyArr = jcjy.split("_");
|
|
|
+ if (jcjyArr != null && jcjyArr.length > 0) {
|
|
|
+ var jcjyhtml = "";
|
|
|
+ for (var i = 0; i < jcjyArr.length; i++) {
|
|
|
+ jcjyhtml += "<div>";
|
|
|
+ jcjyhtml += jcjyArr[i];
|
|
|
+ jcjyhtml += "</div>";
|
|
|
}
|
|
|
- $("#zlyjContent").html(zlyjhtml);
|
|
|
+ $("#zlyjContent").html(jcjyhtml);
|
|
|
$("#zlyjTitle").removeClass("hide").addClass("in");
|
|
|
} else {
|
|
|
$("#zlyjTitle").removeClass("in").addClass("hide");
|
|
@@ -1856,6 +1866,24 @@ function medicalModelModal(id) {
|
|
|
} else {
|
|
|
$("#zlyjTitle").removeClass("in").addClass("hide");
|
|
|
}
|
|
|
+ if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ var zl = emrProcess.substring(emrProcess.indexOf("诊疗:") + 3);
|
|
|
+ var zlArr = zl.split("_");
|
|
|
+ if (zlArr != null && zlArr.length > 0) {
|
|
|
+ var zlhtml = "";
|
|
|
+ for (var i = 0; i < zlArr.length; i++) {
|
|
|
+ zlhtml += "<div>";
|
|
|
+ zlhtml += zlArr[i];
|
|
|
+ zlhtml += "</div>";
|
|
|
+ }
|
|
|
+ $("#zlContent").html(zlhtml);
|
|
|
+ $("#zlTitle").removeClass("hide").addClass("in");
|
|
|
+ } else {
|
|
|
+ $("#zlTitle").removeClass("in").addClass("hide");
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ $("#zlTitle").removeClass("in").addClass("hide");
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
errorMesage(res);
|
|
@@ -3427,7 +3455,7 @@ function removeYpOrProject(index, obj) {
|
|
|
//中成药
|
|
|
tabId = "zyTab";
|
|
|
} else if (index == 2) {
|
|
|
- //医技与诊疗
|
|
|
+ //辅助检查、检验
|
|
|
tabId = "zlTab";
|
|
|
} else if (index == 3) {
|
|
|
//入院
|
|
@@ -4948,7 +4976,7 @@ function checkZyInfo(code, serial, async) {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * 加载医技与诊疗列表
|
|
|
+ * 加载辅助检查、检验列表
|
|
|
* @param index
|
|
|
*/
|
|
|
function loadjcJyItemList(event) {
|
|
@@ -5328,7 +5356,7 @@ function verifyRepeat(code, serial, chargeUnitCode, index) {
|
|
|
//中成药
|
|
|
tabId = "zyTab";
|
|
|
} else if (index == 2) {
|
|
|
- //医技与诊疗
|
|
|
+ //辅助检查、检验
|
|
|
tabId = "zlTab";
|
|
|
} else if (index == 3) {
|
|
|
//入院
|
|
@@ -5400,7 +5428,7 @@ function initNavTabs(index) {
|
|
|
tabId = "zlTab";
|
|
|
tabContentId = "zlTabContent";
|
|
|
paneId = "zlcf_" + getUID();
|
|
|
- cfdesc = '医技与诊疗';
|
|
|
+ cfdesc = '辅助检查、检验';
|
|
|
} else if (index == 3) {
|
|
|
//医技
|
|
|
tabId = "zyReqTab";
|
|
@@ -5545,7 +5573,7 @@ function refreshNavTabs(index, groupNo) {
|
|
|
tabId = "zlTab";
|
|
|
tabContentId = "zlTabContent";
|
|
|
paneIdPrfix = "zlcf_";
|
|
|
- cfdesc = '医技与诊疗';
|
|
|
+ cfdesc = '辅助检查、检验';
|
|
|
} else if (index == 3) {
|
|
|
//入院
|
|
|
tabId = "zyReqTab";
|
|
@@ -6382,7 +6410,7 @@ function savePrescription() {
|
|
|
$("#western_medicine_name").webuiPopover('hide');
|
|
|
$("#chinese_medicine_name").webuiPopover('hide');
|
|
|
$("#jcJyItem").webuiPopover('hide');
|
|
|
-
|
|
|
+ $("#zlItem").webuiPopover('hide');
|
|
|
$("#messageModal").modal();
|
|
|
$("#messageContent").html("确认保存处方吗?");
|
|
|
$("#messageButton").off("click").on("click", function (t) {
|
|
@@ -6903,9 +6931,11 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
if (emrProcess.indexOf("西药治疗:") >= 0) {
|
|
|
if (emrProcess.indexOf("中药治疗:") >= 0) {
|
|
|
xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("中药治疗:"));
|
|
|
- } else if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
- xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("医技与诊疗:"));
|
|
|
- } else if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
+ } else if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
+ xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("辅助检查、检验:"));
|
|
|
+ } else if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("诊疗:"));
|
|
|
+ }else if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5, emrProcess.indexOf("入院处理:"));
|
|
|
} else {
|
|
|
xy = emrProcess.substring(emrProcess.indexOf("西药治疗:") + 5);
|
|
@@ -6928,9 +6958,11 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
}
|
|
|
var zy = null;
|
|
|
if (emrProcess.indexOf("中药治疗:") >= 0) {
|
|
|
- if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
- zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("医技与诊疗:"));
|
|
|
- } else if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
+ if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
+ zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("辅助检查、检验:"));
|
|
|
+ } else if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("诊疗:"));
|
|
|
+ }else if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5, emrProcess.indexOf("入院处理:"));
|
|
|
} else {
|
|
|
zy = emrProcess.substring(emrProcess.indexOf("中药治疗:") + 5);
|
|
@@ -6970,12 +7002,14 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
} else {
|
|
|
$("#prescriptionDetail_zyzlTitle").removeClass("in").addClass("hide");
|
|
|
}
|
|
|
- if (emrProcess.indexOf("医技与诊疗:") >= 0) {
|
|
|
+ if (emrProcess.indexOf("辅助检查、检验:") >= 0) {
|
|
|
var zlyj = null;
|
|
|
- if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
- zlyj = emrProcess.substring(emrProcess.indexOf("医技与诊疗:") + 6, emrProcess.indexOf("入院处理:"));
|
|
|
+ if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ zlyj = emrProcess.substring(emrProcess.indexOf("辅助检查、检验:") + 8, emrProcess.indexOf("诊疗:"));
|
|
|
+ }else if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
+ zlyj = emrProcess.substring(emrProcess.indexOf("辅助检查、检验:") + 8, emrProcess.indexOf("入院处理:"));
|
|
|
} else {
|
|
|
- zlyj = emrProcess.substring(emrProcess.indexOf("医技与诊疗:") + 6);
|
|
|
+ zlyj = emrProcess.substring(emrProcess.indexOf("辅助检查、检验:") + 8);
|
|
|
}
|
|
|
var zlyjArr = zlyj.split("_");
|
|
|
if (zlyjArr != null && zlyjArr.length > 0) {
|
|
@@ -6993,6 +7027,29 @@ function prescriptionDetailCommon(patientId, times, clnicId, payMark, type) {
|
|
|
} else {
|
|
|
$("#prescriptionDetail_zlyjTitle").removeClass("in").addClass("hide");
|
|
|
}
|
|
|
+ if (emrProcess.indexOf("诊疗:") >= 0) {
|
|
|
+ var zl = null;
|
|
|
+ if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
+ zl = emrProcess.substring(emrProcess.indexOf("诊疗:") + 3, emrProcess.indexOf("入院处理:"));
|
|
|
+ } else {
|
|
|
+ zl = emrProcess.substring(emrProcess.indexOf("诊疗:") + 3);
|
|
|
+ }
|
|
|
+ var zlArr = zl.split("_");
|
|
|
+ if (zlArr != null && zlArr.length > 0) {
|
|
|
+ var zlhtml = "";
|
|
|
+ for (var i = 0; i < zlArr.length; i++) {
|
|
|
+ zlhtml += "<div style='margin-bottom: 5px;padding-left: 10px;'>";
|
|
|
+ zlhtml += zlyjArr[i];
|
|
|
+ zlhtml += "</div>";
|
|
|
+ }
|
|
|
+ $("#prescriptionDetail_zlContent").html(zlhtml);
|
|
|
+ $("#prescriptionDetail_zlTitle").removeClass("hide").addClass("in");
|
|
|
+ } else {
|
|
|
+ $("#prescriptionDetail_zlTitle").removeClass("in").addClass("hide");
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ $("#prescriptionDetail_zlyjTitle").removeClass("in").addClass("hide");
|
|
|
+ }
|
|
|
if (emrProcess.indexOf("入院处理:") >= 0) {
|
|
|
var zyReq = emrProcess.substring(emrProcess.indexOf("入院处理:") + 5);
|
|
|
if (zyReq != null && zyReq != "") {
|