Jelajahi Sumber

核酸增加简易门诊分诊状态改变

hurugang 2 tahun lalu
induk
melakukan
342c2192ec

+ 8 - 0
src/main/java/cn/hnthyy/thmz/controller/api/MedicalViewApiController.java

@@ -1733,6 +1733,14 @@ public class MedicalViewApiController {
                     removeList.add(map);
                     continue;
                 }
+                //核酸需要简易门诊开始
+                if (Constants.JY_EXEC_CODE.equals(unitCode)) {
+                    List<Map<String, Object>> tempList = mzyRequestService.queryRequestByDateAndDeptAndDoctor(requestDayD, ampms, unitCode, doctorCode);
+                    if(tempList!=null && tempList.size()>0){
+                        map.put("mzyRequestId", tempList.get(0).get("mzyRequestId"));
+                    }
+                }
+                //核酸需要简易门诊结束
                 Employee employee = employeeService.queryByUserCode(doctorCode);
                 if (employee == null) {
                     continue;

+ 1 - 1
src/main/java/cn/hnthyy/thmz/controller/mz/ClinicController.java

@@ -133,7 +133,7 @@ public class ClinicController {
             }
             //未接诊的需要变更接诊状态
             if (serialNo != null && StringUtils.isNotBlank(serialNo)) {
-                int num = clinicService.inClinic(patientId, serialNo, turnToConsultationId,deptNo, tokenUser);
+                int num = clinicService.inClinic(patientId, serialNo, turnToConsultationId,deptNo, tokenUser.getUserIdCode());
                 if (num > 0) {
                     haiCiAdapterService.notify(serialNo, 2);
                 }

+ 2 - 0
src/main/java/cn/hnthyy/thmz/entity/his/zd/ZdUnitCode.java

@@ -67,6 +67,8 @@ public class ZdUnitCode {
     private List<ZdUnitCode> children;
     // 是否住院科室  1 住院科室  0 非住院科室
     private Integer inpatientFlag;
+    //挂号最小切片号数
+    private Integer unitNum;
     public ZdUnitCode(String code, String name) {
         this.code = code;
         this.name = name;

+ 10 - 0
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzfzPatientOrderMapper.java

@@ -241,6 +241,16 @@ public interface MzfzPatientOrderMapper {
     @Select("select rtrim(patient_id) patient_id,times,name,dept_code,room_code,doctor_code,gh_no,visit_date,slow_flag,serial_no,req_type,req_order,ampm,fz_no,status_flag,call_time,fz_flag FROM mzfz_patient_order WITH(NOLOCK) where serial_no=#{serialNo}")
     MzfzPatientOrder selectBySerialNo(@Param("serialNo") String serialNo);
 
+
+    /**
+     * 根据患者id查询最近的未接诊的简易门诊分诊信息
+     *
+     * @param patientId
+     * @return
+     */
+    @Select("select top 1 rtrim(patient_id) patient_id,times,name,dept_code,room_code,doctor_code,gh_no,visit_date,slow_flag,serial_no,req_type,req_order,ampm,fz_no,status_flag,call_time,fz_flag FROM mzfz_patient_order WITH(NOLOCK) where patient_id=#{patientId} and req_type = 10 and  status_flag= 0 order by visit_date desc")
+    MzfzPatientOrder selectLastByPatientId(@Param("patientId") String patientId);
+
     /**
      * 修改分诊信息
      *

+ 13 - 10
src/main/java/cn/hnthyy/thmz/mapper/his/zd/ZdUnitCodeMapper.java

@@ -19,7 +19,7 @@ public interface ZdUnitCodeMapper {
      */
     @Select({"<script>",
             "SELECT top ${pageSize} code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,",
-            "supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag FROM (SELECT ROW_NUMBER() OVER (ORDER BY zd_unit_code_page.${orderByCase} asc) ",
+            "supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num FROM (SELECT ROW_NUMBER() OVER (ORDER BY zd_unit_code_page.${orderByCase} asc) ",
             "AS RowNumber,* from dbo.zd_unit_code zd_unit_code_page WITH(NOLOCK)   where 1=1 ",
             "<when test='zdUnitCode.delFlag!=null'>",
             " and del_flag =#{zdUnitCode.delFlag,jdbcType=VARCHAR}",
@@ -150,10 +150,10 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Insert("INSERT INTO dbo.zd_unit_code(code,name,class_code,py_code,d_code,mz_flag,del_flag,n_code,yj_flag,mzrc_flag,parent_code," +
-            "gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag )VALUES(#{code,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR}" +
+            "gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num )VALUES(#{code,jdbcType=VARCHAR},#{name,jdbcType=VARCHAR}" +
             ",#{classCode,jdbcType=VARCHAR},#{pyCode,jdbcType=VARCHAR},#{wbCode,jdbcType=VARCHAR},#{mzFlag,jdbcType=CHAR},#{delFlag,jdbcType=CHAR},#{ynCode,jdbcType=VARCHAR},#{yjFlag,jdbcType=CHAR}" +
             ",#{mzrcFlag,jdbcType=CHAR},#{parentCode,jdbcType=CHAR},#{ghChargeFlag,jdbcType=CHAR},#{officePos,jdbcType=VARCHAR},#{supplyFlag,jdbcType=CHAR},#{xnhDeptCode,jdbcType=VARCHAR}" +
-            ",#{xnhDeptName,jdbcType=VARCHAR},#{ghjzFlag,jdbcType=CHAR},#{mzClass,jdbcType=VARCHAR},#{sortCode,jdbcType=VARCHAR},#{opId,jdbcType=VARCHAR},#{opDate,jdbcType=TIMESTAMP},#{inpatientFlag}) ")
+            ",#{xnhDeptName,jdbcType=VARCHAR},#{ghjzFlag,jdbcType=CHAR},#{mzClass,jdbcType=VARCHAR},#{sortCode,jdbcType=VARCHAR},#{opId,jdbcType=VARCHAR},#{opDate,jdbcType=TIMESTAMP},#{inpatientFlag},#{unitNum}) ")
     int insertZdUnitCode(ZdUnitCode zdUnitCode);
 
     /**
@@ -231,6 +231,9 @@ public interface ZdUnitCodeMapper {
             "<when test='inpatientFlag!=null'>",
             " ,inpatient_flag =#{inpatientFlag}",
             "</when>",
+            "<when test='unitNum!=null'>",
+            " ,unit_num =#{unitNum}",
+            "</when>",
             "</trim>",
             "</script>"})
     int updateZdUnitCode(ZdUnitCode zdUnitCode);
@@ -242,7 +245,7 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code," +
-            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from dbo.zd_unit_code  WITH(NOLOCK)  where code=#{code,jdbcType=VARCHAR}")
+            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from dbo.zd_unit_code  WITH(NOLOCK)  where code=#{code,jdbcType=VARCHAR}")
     ZdUnitCode selectByCode(@Param("code") String code);
 
     /**
@@ -250,7 +253,7 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code," +
-            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from dbo.zd_unit_code WITH(NOLOCK)  ")
+            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from dbo.zd_unit_code WITH(NOLOCK)  ")
     List<ZdUnitCode> selectAll();
 
 
@@ -264,7 +267,7 @@ public interface ZdUnitCodeMapper {
      */
     @Select({"<script>",
             "SELECT code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,",
-            "supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag FROM  dbo.zd_unit_code WITH(NOLOCK)   where 1=1 ",
+            "supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num FROM  dbo.zd_unit_code WITH(NOLOCK)   where 1=1 ",
             "<when test='zdUnitCode.delFlag!=null'>",
             " and del_flag =#{zdUnitCode.delFlag,jdbcType=VARCHAR}",
             "</when>",
@@ -314,7 +317,7 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code," +
-            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from dbo.zd_unit_code  WITH(NOLOCK)  where del_flag=0 and mz_flag =1 and parent_code=#{parentCode}")
+            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from dbo.zd_unit_code  WITH(NOLOCK)  where del_flag=0 and mz_flag =1 and parent_code=#{parentCode}")
     List<ZdUnitCode> selectChildren(@Param("parentCode") String parentCode);
 
 
@@ -323,7 +326,7 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code," +
-            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from dbo.zd_unit_code WITH(NOLOCK)   where del_flag=0 and mz_flag =1")
+            "xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from dbo.zd_unit_code WITH(NOLOCK)   where del_flag=0 and mz_flag =1")
     List<ZdUnitCode> selectAllMzZdUnitCode();
 
     /**
@@ -340,7 +343,7 @@ public interface ZdUnitCodeMapper {
      * @return
      */
     @Select({"<script>",
-                "select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from dbo.zd_unit_code WITH(NOLOCK)   ",
+                "select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from dbo.zd_unit_code WITH(NOLOCK)   ",
             "<when test='codes!=null'>" +
                     " where code in" +
                     "<foreach item='item' index='index' collection='codes' open='(' separator=',' close=')'>" +
@@ -356,7 +359,7 @@ public interface ZdUnitCodeMapper {
      * 查询所有的病区
      * @return
      */
-    @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag from zd_unit_code  WITH(NOLOCK)  where code like '8%'")
+    @Select("select code,name,class_code,py_code,d_code wbCode,mz_flag,del_flag,n_code ynCode,yj_flag,mzrc_flag,parent_code,gh_charge_flag,office_pos,supply_flag,xnh_dept_code,xnh_dept_name,ghjz_flag,mz_class,sort_code,op_id,op_date,inpatient_flag,unit_num from zd_unit_code  WITH(NOLOCK)  where code like '8%'")
     List<ZdUnitCode> selectAllInpatientWard();
 
     /**

+ 8 - 0
src/main/java/cn/hnthyy/thmz/service/impl/his/mz/MzChargeDetailServiceImpl.java

@@ -32,6 +32,7 @@ import cn.hnthyy.thmz.service.his.yp.YpConfigService;
 import cn.hnthyy.thmz.service.his.yp.YpZdDictService;
 import cn.hnthyy.thmz.service.his.yp.YpZdManufactoryService;
 import cn.hnthyy.thmz.service.his.zd.*;
+import cn.hnthyy.thmz.service.thmz.ClinicService;
 import cn.hnthyy.thmz.service.thmz.DiscountService;
 import cn.hnthyy.thmz.service.thmz.OrderStatusChangeService;
 import cn.hnthyy.thmz.service.thmz.TsmzService;
@@ -108,6 +109,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
     private MzyZdChargeTypeService mzyZdChargeTypeService;
     @Autowired
     private MzfzPatientOrderService mzfzPatientOrderService;
+    @Autowired
+    private ClinicService clinicService;
     @SuppressWarnings("all")
     @Autowired
     private MzDepositFileMapper mzDepositFileMapper;
@@ -2559,7 +2562,12 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
 
 
     @Override
+    @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, timeout = 36000, rollbackFor = Exception.class)
     public Clinic nucleicAcidApplication(String patientId, String opId) throws MzException {
+        MzfzPatientOrder mzfzPatientOrder= mzfzPatientOrderMapper.selectLastByPatientId(patientId);
+        if(mzfzPatientOrder!=null){
+            clinicService.inClinic(patientId,mzfzPatientOrder.getSerialNo().toString(),null,Constants.ZZBM,opId);
+        }
         return getNucleicAcidApplication(patientId, opId, Constants.NUCLEIC_ORDER_CODE);
     }
 

+ 7 - 7
src/main/java/cn/hnthyy/thmz/service/impl/thmz/ClinicServiceImpl.java

@@ -122,7 +122,7 @@ public class ClinicServiceImpl implements ClinicService {
 
     @Override
     @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, timeout = 36000, rollbackFor = Exception.class)
-    public int inClinic(String patientId, String serialNo,Long turnToConsultationId,String deptNo, User tokenUser) throws MzException {
+    public int inClinic(String patientId, String serialNo,Long turnToConsultationId,String deptNo, String userIdCode) throws MzException {
         MzfzPatientOrder mzfzPatientOrder = mzfzPatientOrderMapper.selectBySerialNo(serialNo);
         if (mzfzPatientOrder == null) {
             throw new MzException("当前接诊患者的分诊记录不存在");
@@ -130,7 +130,7 @@ public class ClinicServiceImpl implements ClinicService {
         //此时已经时接诊中,无需改变状态
         if (MzfzStatusEnum.IN_CLINIC.code.equals(mzfzPatientOrder.getStatusFlag()) || MzfzStatusEnum.CLINIC.code.equals(mzfzPatientOrder.getStatusFlag())) {
             if(turnToConsultationId!=null && turnToConsultationId>0L){
-                turnToConsultationMapper.updateTargetDoctorNo(tokenUser.getUserIdCode(),turnToConsultationId);
+                turnToConsultationMapper.updateTargetDoctorNo(userIdCode,turnToConsultationId);
             }
             return 0;
         }
@@ -139,14 +139,14 @@ public class ClinicServiceImpl implements ClinicService {
             throw new MzException("当前接诊患者的就诊记录不存在");
         }
         if(mzfzPatientOrder.getFzFlag()==null || YesNoEnum.NO.code.equals(mzfzPatientOrder.getFzFlag())){
-            mzfzPatientOrder.setDoctorCode(tokenUser.getUserIdCode());
+            mzfzPatientOrder.setDoctorCode(userIdCode);
             MzyReqrec updateMzyReqrec = new MzyReqrec();
             updateMzyReqrec.setPatientId(patientId);
             updateMzyReqrec.setTimes(mzfzPatientOrder.getTimes());
             updateMzyReqrec.setVisitedMark(YesNoEnum.YES.code);
             updateMzyReqrec.setVisitDate(new Date());
             updateMzyReqrec.setVisitDept(mzfzPatientOrder.getDeptCode());
-            updateMzyReqrec.setVisitDoctor(tokenUser.getUserIdCode());
+            updateMzyReqrec.setVisitDoctor(userIdCode);
             mzyReqrecMapper.updateMzyReqrec(updateMzyReqrec);
             Clinic clinic = new Clinic();
             clinic.setPatientId(patientId);
@@ -157,7 +157,7 @@ public class ClinicServiceImpl implements ClinicService {
         MzfzPatientOrder updateMzfzPatientOrder = new MzfzPatientOrder();
         updateMzfzPatientOrder.setSerialNo(Integer.valueOf(serialNo));
         updateMzfzPatientOrder.setStatusFlag(MzfzStatusEnum.IN_CLINIC.code);
-        updateMzfzPatientOrder.setDoctorCode(tokenUser.getUserIdCode());
+        updateMzfzPatientOrder.setDoctorCode(userIdCode);
         if(StringUtils.isNotBlank(deptNo)){
             updateMzfzPatientOrder.setDeptCode(deptNo);
         }
@@ -166,11 +166,11 @@ public class ClinicServiceImpl implements ClinicService {
             if(StringUtils.isBlank(deptNo)){
                 String requestDay=DateUtil.paseToString(DateUtil.getFirstSecond(),"yyyy-MM-dd");
                 List<String> ampms = mzZdWorkTimeService.getNotUsedWorkTimes(requestDay);
-                List<String> requestDepts=mzyRequestMapper.selectUnitCodeByRequestDayAndDoctor(requestDay,tokenUser.getUserIdCode(),ampms);
+                List<String> requestDepts=mzyRequestMapper.selectUnitCodeByRequestDayAndDoctor(requestDay,userIdCode,ampms);
                 if(requestDepts!=null && requestDepts.size()>0){
                     updateMzfzPatientOrder.setDeptCode(requestDepts.get(0));
                 }else {
-                    List<String> deptNos=userDeptRelationMapper.selectAllByUserIdCode(tokenUser.getUserIdCode());
+                    List<String> deptNos=userDeptRelationMapper.selectAllByUserIdCode(userIdCode);
                     if(deptNos!=null && deptNos.size()>0){
                         updateMzfzPatientOrder.setDeptCode(deptNos.get(0));
                     }

+ 2 - 2
src/main/java/cn/hnthyy/thmz/service/thmz/ClinicService.java

@@ -98,10 +98,10 @@ public interface ClinicService {
      * @param serialNo 分诊流水号
      * @param turnToConsultationId 会诊记录id
      * @param deptNo 接诊科室
-     * @param tokenUser 当前操作人
+     * @param userIdCode 当前操作人编码
      * @return
      */
-    int inClinic(String patientId,String serialNo,Long turnToConsultationId,String deptNo, User tokenUser) throws MzException;
+    int inClinic(String patientId,String serialNo,Long turnToConsultationId,String deptNo, String userIdCode) throws MzException;
 
     /**
      * 取消接诊

+ 36 - 12
src/main/resources/static/js/mz/unit_code.js

@@ -118,6 +118,22 @@ var TableInit = function () {
                         }
                         return "否";
                     }
+                }, {
+                    field: 'ghChargeFlag',
+                    title: '收取挂号费',
+                    align: "center",
+                    valign: 'middle',
+                    formatter: function (value, row, index) {
+                        if (value == '1') {
+                            return "是";
+                        }
+                        return "否";
+                    }
+                }, {
+                    field: 'unitNum',
+                    title: '单元号数',
+                    align: "center",
+                    valign: 'middle'
                 }, {
                     field: 'yjFlag',
                     title: '医技上线',
@@ -146,17 +162,6 @@ var TableInit = function () {
                     title: '父科室',
                     align: "center",
                     valign: 'middle',
-                }, {
-                    field: 'ghChargeFlag',
-                    title: '收取挂号费',
-                    align: "center",
-                    valign: 'middle',
-                    formatter: function (value, row, index) {
-                        if (value == '1') {
-                            return "是";
-                        }
-                        return "否";
-                    }
                 }, {
                     field: 'supplyFlag',
                     title: '用药方式执行科室',
@@ -478,6 +483,7 @@ function clearModel() {
     // $("#xnhDeptNamePlus").val(null);
     $("#officePosPlus").val(null);
     $("#sortCodePlus").val(null);
+    $("#unitNumPlus").val(null);
     $("#classTypePlus").selectpicker('val', null);//默认不选中
     $("#classTypePlus").selectpicker('refresh');
     $("#ynCodePlus").selectpicker('val', null);//默认不选中
@@ -523,6 +529,7 @@ function fillModel(code) {
                 // $("#wbCodePlus").val(res.data.wbCode);
                 // $("#xnhDeptCodePlus").val(res.data.xnhDeptCode);
                 // $("#xnhDeptNamePlus").val(res.data.xnhDeptName);
+                $("#unitNumPlus").val(res.data.unitNum);
                 $("#officePosPlus").val(res.data.officePos);
                 $("#sortCodePlus").val(res.data.sortCode);
                 $("#classTypePlus").selectpicker('val', res.data.classCode);
@@ -608,7 +615,8 @@ $(function () {
             "ghChargeFlag": $("#ghChargeFlagPlus").val(),
             "yjFlag": $("#yjFlagPlus").val(),
             "supplyFlag": $("#supplyFlagPlus").val(),
-            "inpatientFlag": $("#inpatientFlagPlus").val()
+            "inpatientFlag": $("#inpatientFlagPlus").val(),
+            "unitNum": $("#unitNumPlus").val()
         };
         var originalCode = $("#originalCode").val();
         if (originalCode != null && originalCode != '') {
@@ -669,4 +677,20 @@ function initDeptSelect() {
             $('#deptNoParam').selectpicker('refresh');
         }
     });
+}
+
+/**
+ * 是否门诊开放事件
+ */
+function mzFlagChange() {
+    var mzFlag = $("#mzFlagPlus").val();
+    if(mzFlag=="1"){
+        $("#ghjzFlagPlusDiv").removeClass("hide").addClass("in");
+        $("#ghChargeFlagPlusDiv").removeClass("hide").addClass("in");
+        $("#unitNumPlusDiv").removeClass("hide").addClass("in");
+    }else {
+        $("#ghjzFlagPlusDiv").removeClass("in").addClass("hide");
+        $("#ghChargeFlagPlusDiv").removeClass("in").addClass("hide");
+        $("#unitNumPlusDiv").removeClass("in").addClass("hide");
+    }
 }

+ 11 - 3
src/main/resources/templates/mz/unit_code.html

@@ -180,11 +180,11 @@
                                         class="required">*</span>
                                 </label>
                                 <div class="col-md-6 col-sm-6 col-xs-12">
-                                    <select class="form-control selectpicker show-tick" required="required"
+                                    <select class="form-control selectpicker show-tick" required="required" onchange="mzFlagChange()"
                                             id="mzFlagPlus" title="请选择"></select>
                                 </div>
                             </div>
-                            <div class="item form-group">
+                            <div class="item form-group" id="ghjzFlagPlusDiv">
                                 <label class="control-label col-md-3 col-sm-3 col-xs-12" for="ghjzFlagPlus">门诊挂号就诊 <span
                                         class="required">*</span>
                                 </label>
@@ -193,7 +193,7 @@
                                             id="ghjzFlagPlus" title="请选择"></select>
                                 </div>
                             </div>
-                            <div class="item form-group">
+                            <div class="item form-group" id="ghChargeFlagPlusDiv">
                                 <label class="control-label col-md-3 col-sm-3 col-xs-12" for="ghChargeFlagPlus">收取挂号费
                                 </label>
                                 <div class="col-md-6 col-sm-6 col-xs-12">
@@ -201,6 +201,14 @@
                                             title="请选择"></select>
                                 </div>
                             </div>
+                            <div class="item form-group" id="unitNumPlusDiv">
+                                <label class="control-label col-md-3 col-sm-3 col-xs-12" for="unitNumPlus">单元号数
+                                </label>
+                                <div class="col-md-6 col-sm-6 col-xs-12">
+                                    <input type="text" id="unitNumPlus" data-validate-length-range="1,3"
+                                           class="form-control col-md-7 col-xs-12">
+                                </div>
+                            </div>
                             <div class="item form-group">
                                 <label class="control-label col-md-3 col-sm-3 col-xs-12" for="yjFlagPlus">医技上线
                                 </label>