|
@@ -6169,6 +6169,23 @@ function checkYpInfo(code, serial, groupNo, needNotice, orderNo) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * 药品与项目自费信息提示
|
|
|
+ * @param res
|
|
|
+ * @param projectDesc
|
|
|
+ */
|
|
|
+function hintProjectSelfPayInfo(selfpayProp,projectDesc) {
|
|
|
+ if (selfpayProp != null) {
|
|
|
+ selfpayProp = Number(selfpayProp);
|
|
|
+ if (selfpayProp > 0) {
|
|
|
+ var titile = "当前项目含自费"+projectDesc+",请与患者提前确认是否继续使用,并签署自费承诺书!";
|
|
|
+ if (selfpayProp < 1) {
|
|
|
+ titile = "当前项目含部分自费"+projectDesc+",请与患者提前确认是否继续使用,并签署自费承诺书!";
|
|
|
+ }
|
|
|
+ warningMesageSimaple(titile);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
/**
|
|
|
* 按照药品的编码 和药品拆零规格查询药品信息 中药
|
|
@@ -6195,6 +6212,7 @@ function checkZyInfo(code, serial, async) {
|
|
|
}
|
|
|
if (res.code == 0) {
|
|
|
if (res.data != null) {
|
|
|
+ hintProjectSelfPayInfo(res.data.selfpayProp,"药品");
|
|
|
//如果
|
|
|
if ($("#zyTab").find("li") == null || $("#zyTab").find("li").length == 0) {
|
|
|
initNavTabs(1);
|
|
@@ -6470,6 +6488,7 @@ function loadZlItemList(event) {
|
|
|
};
|
|
|
},
|
|
|
onClickRow: function (row, $element) {
|
|
|
+ hintProjectSelfPayInfo(row.selfpayProp,"诊疗");
|
|
|
$('#zlItem').webuiPopover('hide');
|
|
|
$("#zlExecUnit").selectpicker('val', row.execUnit);//默认不选中
|
|
|
$("#zlExecUnit").selectpicker('refresh');
|
|
@@ -6501,7 +6520,7 @@ function loadZlItemList(event) {
|
|
|
* 诊疗与医技选中
|
|
|
* @param code
|
|
|
* @param name 回写的时候可以设置null
|
|
|
- * @param type 1 检验 2 检查 3 诊疗
|
|
|
+ * @param type 1 检验 2 检查
|
|
|
* @param async 当用户操作的时候 true 异步, 范文和处方回写的时候false同步 因为需要等数据加载完才能设置对应的值
|
|
|
*/
|
|
|
//function checkJcJyItemInfo(code, name, type) {
|
|
@@ -6526,6 +6545,7 @@ function checkJcJyItemInfo(code, name, type, async) {
|
|
|
}
|
|
|
if (res.code == 0) {
|
|
|
if (res.data != null) {
|
|
|
+ hintProjectSelfPayInfo(res.selfpayProp,type==1?"检验":"辅助检查");
|
|
|
//如果
|
|
|
if ($("#jcjyTab").find("li") == null || $("#jcjyTab").find("li").length == 0) {
|
|
|
initNavTabs(2);
|
|
@@ -7035,6 +7055,7 @@ function autoAddGroupId(res) {
|
|
|
* @param groupNo
|
|
|
*/
|
|
|
function fitWesternMedicine(res, groupNo) {
|
|
|
+ hintProjectSelfPayInfo(res.data.selfpayProp,"药品");
|
|
|
autoAddGroupId(res);
|
|
|
$("#categoriesFlag").val(res.data.categoriesFlag);
|
|
|
//prevCategoriesFlag = res.data.categoriesFlag;
|
|
@@ -7111,12 +7132,6 @@ function fitWesternMedicine(res, groupNo) {
|
|
|
}
|
|
|
$("#manufactoryName").val(res.data.manufactoryName);
|
|
|
$("#specification").val(res.data.specification);
|
|
|
- // if (groupNo == "91") {
|
|
|
- // //医材
|
|
|
- // $("#gross").removeAttr("readonly")
|
|
|
- // } else {
|
|
|
- // $("#gross").attr("readonly", "readonly");
|
|
|
- // }
|
|
|
calculate();
|
|
|
$("#western_medicine_name").focus();
|
|
|
}
|
|
@@ -8918,11 +8933,12 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
//LODOP.SET_PRINT_STYLE("FontSize", 8); //字体大小
|
|
|
var strStyle = "<style>table{width: 96%;} table,td,th {}</style>";
|
|
|
var mzPatientMi = res.mzPatientMi;
|
|
|
+ var deptName=res.deptName;
|
|
|
$("#patientNamePrescription").text(mzPatientMi.name);
|
|
|
$("#patientGenderPrescription").text(mzPatientMi.gender);
|
|
|
$("#patientAgePrescription").text(mzPatientMi.ageString);
|
|
|
$("#patientIdPrescription").text(mzPatientMi.patientId);
|
|
|
- $("#deptPrescription").text(res.deptName);
|
|
|
+ $("#deptPrescription").text(deptName);
|
|
|
$("#doctorPrescription").text(res.doctorName);
|
|
|
$("#cfTime").text(res.opDate);
|
|
|
$("#socialNo").text(mzPatientMi.socialNo);
|
|
@@ -9228,6 +9244,12 @@ function printPrescription(patientId, times, clnicId, payMark, printType) {
|
|
|
if (res.code == 0) {
|
|
|
var selfPayList=res.selfPayList;
|
|
|
if(selfPayList!=null && selfPayList.length>0){
|
|
|
+ $("#patientNameSelfPay").text(mzPatientMi.name);
|
|
|
+ $("#patientGenderSelfPay").text(mzPatientMi.gender);
|
|
|
+ $("#patientAgeSelfPay").text(mzPatientMi.ageString);
|
|
|
+ $("#patientIdSelfPay").text(mzPatientMi.patientId);
|
|
|
+ $("#deptSelfPay").text(deptName);
|
|
|
+ $("#zdSelfPay").text(res.icdText);
|
|
|
var selfPayListHtml="";
|
|
|
for(var i=1;i<=selfPayList.length;i++){
|
|
|
selfPayListHtml+="<tr><td>";
|
|
@@ -11134,6 +11156,7 @@ function printNoThirdParty() {
|
|
|
* @param printType 打印模式 1 预览打印 2 打印设置
|
|
|
*/
|
|
|
function printNoThirdPartyCommon(printType) {
|
|
|
+ warningMesageSimaple("请提醒患者至医保窗口审核,审核通过方能报销!");
|
|
|
var title = "外伤无第三方责任承诺书";
|
|
|
setPrint();
|
|
|
LODOP = getLodop();
|