|
|
@@ -2434,6 +2434,12 @@ function fitZyReqContent(zyReqPrescription, contentId, titleId, checkBox) {
|
|
|
if (zyReqPrescription.admissStatus != null && zyReqPrescription.admissStatus != "") {
|
|
|
zyReqHtml += zyReqPrescription.admissStatus;
|
|
|
}
|
|
|
+ if (zyReqPrescription.conditionCode != null && zyReqPrescription.conditionCode != "") {
|
|
|
+ zyReqHtml += " "+zyReqPrescription.conditionCode;
|
|
|
+ }
|
|
|
+ if (zyReqPrescription.routeOfAdmission != null && zyReqPrescription.routeOfAdmission != "") {
|
|
|
+ zyReqHtml += " "+zyReqPrescription.routeOfAdmission;
|
|
|
+ }
|
|
|
zyReqHtml += " 侯床";
|
|
|
if (checkBox) {
|
|
|
zyReqHtml += "</span>";
|
|
|
@@ -3041,6 +3047,10 @@ function editPrescription(jsonData, type) {
|
|
|
initSmallDeptByDept();
|
|
|
$("#admissStatus").selectpicker('val', mzZyReq.admissStatus);
|
|
|
$('#admissStatus').selectpicker('refresh');
|
|
|
+ $("#conditionCode").selectpicker('val', mzZyReq.conditionCode);
|
|
|
+ $('#conditionCode').selectpicker('refresh');
|
|
|
+ $("#routeOfAdmission").selectpicker('val', mzZyReq.routeOfAdmission);
|
|
|
+ $('#routeOfAdmission').selectpicker('refresh');
|
|
|
setTimeout(function () {
|
|
|
$("#smallWardBeHospitalized").selectpicker('val', mzZyReq.smallDept);
|
|
|
$('#smallWardBeHospitalized').selectpicker('refresh');
|
|
|
@@ -3304,6 +3314,16 @@ function initGenderSelect() {
|
|
|
$('#operationType').html(operationType);
|
|
|
$('#operationType').selectpicker('refresh');
|
|
|
|
|
|
+ //入院病情
|
|
|
+ var conditionCode = '<option value="1">有</option><option value="2">临床未确定</option><option value="3">情况不明</option><option value="4">无</option>';
|
|
|
+ $('#conditionCode').html(conditionCode);
|
|
|
+ $('#conditionCode').selectpicker('refresh');
|
|
|
+
|
|
|
+ //入院途径
|
|
|
+ var routeOfAdmission = '<option value="1">急诊</option><option value="2">门诊</option><option value="3">其他医疗机构转入</option><option value="9">其他</option>';
|
|
|
+ $('#routeOfAdmission').html(routeOfAdmission);
|
|
|
+ $('#routeOfAdmission').selectpicker('refresh');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -4825,6 +4845,23 @@ function saveZyReq(messageFlag) {
|
|
|
var smallWardText = $('#smallWardBeHospitalized option:selected').text();
|
|
|
//入院状态名称
|
|
|
var admissStatusText = $('#admissStatus option:selected').text();
|
|
|
+ //入院病情代码
|
|
|
+ var conditionCode = $("#conditionCode").val();
|
|
|
+ //入院途径代码
|
|
|
+ var routeOfAdmission = $("#routeOfAdmission").val();
|
|
|
+
|
|
|
+ //入院病情代码
|
|
|
+ var conditionCodeText = $('#conditionCode option:selected').text();
|
|
|
+ //入院途径代码
|
|
|
+ var routeOfAdmissionText = $('#routeOfAdmission option:selected').text();
|
|
|
+ if (admissStatusText == null || admissStatusText == '') {
|
|
|
+ errorMesageSimaple("未选择入院状态!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (conditionCode == null || conditionCode == '') {
|
|
|
+ errorMesageSimaple("未选择入院病情!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (inpatientWardBeHospitalized == null || inpatientWardBeHospitalized == '') {
|
|
|
errorMesageSimaple("未选择入院病区!");
|
|
|
return;
|
|
|
@@ -4853,18 +4890,28 @@ function saveZyReq(messageFlag) {
|
|
|
if (smallWardText != null) {
|
|
|
html += " (" + smallWardText + ") ";
|
|
|
}
|
|
|
+
|
|
|
if (inpatientWardText != null) {
|
|
|
- html += "] ";
|
|
|
+ html += "]";
|
|
|
}
|
|
|
if (admissStatusText != null) {
|
|
|
- html += admissStatusText;
|
|
|
+ html += " "+admissStatusText;
|
|
|
}
|
|
|
+ if (conditionCodeText != null) {
|
|
|
+ html += " "+conditionCodeText;
|
|
|
+ }
|
|
|
+ if (routeOfAdmissionText != null) {
|
|
|
+ html += " "+routeOfAdmissionText;
|
|
|
+ }
|
|
|
+
|
|
|
html += ' 侯床';
|
|
|
//html += ' <i class="fa fa-long-arrow-left" style="cursor: pointer;height: 20px;line-height: 20px;width: 20px;font-size: 20px;" onclick="editJyJcItem(this)"></i>';
|
|
|
html += '<i class="fa fa-remove" style="cursor: pointer;height: 20px;line-height: 20px;width: 20px;font-size: 20px;margin-left: 10px;" onclick="removeYpOrProject(3,this)"></i>';
|
|
|
html += '<input type="hidden" class="temporary_inpatient_ward" value="' + inpatientWardBeHospitalized + '"/>';
|
|
|
html += '<input type="hidden" class="temporary_items_small_ward" value="' + smallWardBeHospitalized + '"/>';
|
|
|
html += '<input type="hidden" class="temporary_items_admiss_status" value="' + admissStatus + '"/>';
|
|
|
+ html += '<input type="hidden" class="temporary_items_condition_code" value="' + conditionCode + '"/>';
|
|
|
+ html += '<input type="hidden" class="temporary_items_route_of_admission" value="' + routeOfAdmission + '"/>';
|
|
|
html += '</div>';
|
|
|
$(tableId).find("div:eq(0)").html(html);
|
|
|
clearZyReq();
|
|
|
@@ -5229,6 +5276,10 @@ function clearZyReq() {
|
|
|
$('#smallWardBeHospitalized').selectpicker('refresh');
|
|
|
$("#admissStatus").selectpicker('val', null);
|
|
|
$('#admissStatus').selectpicker('refresh');
|
|
|
+ $("#conditionCode").selectpicker('val', null);
|
|
|
+ $('#conditionCode').selectpicker('refresh');
|
|
|
+ $("#routeOfAdmission").selectpicker('val', null);
|
|
|
+ $('#routeOfAdmission').selectpicker('refresh');
|
|
|
$("#totalBedNum").val(null);
|
|
|
$("#freeBedNum").val(null);
|
|
|
$("#occupationBedNum").val(null);
|
|
|
@@ -8159,7 +8210,7 @@ function getParamsForpPrescription(type) {
|
|
|
'"prescriptionDetail":""},' +
|
|
|
'"mzChargeDetailList": [],' +
|
|
|
'"mzYjReqList": [],' +
|
|
|
- '"mzZyReq": {"reqDept": "","smallDept": "","admissStatus": ""},' +
|
|
|
+ '"mzZyReq": {"reqDept": "","smallDept": "","admissStatus": "","conditionCode": "","routeOfAdmission": ""},' +
|
|
|
'"zgmztczf":"",' +
|
|
|
'"grzhzf":"",' +
|
|
|
'"readCardResult":"",' +
|
|
|
@@ -8343,6 +8394,8 @@ function getParamsForpPrescription(type) {
|
|
|
jsonData.mzZyReq.reqDept = $(zyReqTabContents[0]).find("input.temporary_inpatient_ward").val();
|
|
|
jsonData.mzZyReq.smallDept = $(zyReqTabContents[0]).find("input.temporary_items_small_ward").val();
|
|
|
jsonData.mzZyReq.admissStatus = $(zyReqTabContents[0]).find("input.temporary_items_admiss_status").val();
|
|
|
+ jsonData.mzZyReq.conditionCode = $(zyReqTabContents[0]).find("input.temporary_items_condition_code").val();
|
|
|
+ jsonData.mzZyReq.routeOfAdmission = $(zyReqTabContents[0]).find("input.temporary_items_route_of_admission").val();
|
|
|
}
|
|
|
//设置诊断名称
|
|
|
var icdText = null;
|