| | |
| | | private Long inhospid; |
| | | /** 住院流水号 */ |
| | | private String serialnum; |
| | | /** |
| | | * 就诊编号 —— 落库到 {@code service_subtask.hospno}("对应的 outhospno、inhospno")。 |
| | | * <p> |
| | | * 出院链路的取值是 {@code pat_med_inhosp.inhospno}(门诊链路是 |
| | | * {@code pat_med_outhosp.outhospno},见 {@link OuthospSubtaskDraft})。 |
| | | * <p> |
| | | * ⚠️ 这个字段原先只存在于 {@link OuthospSubtaskDraft},而出院的 |
| | | * {@code addSubTaskByRule} 链路从不设它 → {@code service_subtask.hospno} 一直落空。 |
| | | * 现在提到父类,两条链路共用同一个载体。 |
| | | */ |
| | | private String hospno; |
| | | |
| | | // ==================== 医护(原 patMedInhosp) ==================== |
| | | /** 责任护士ID */ |
| | |
| | | private String managementDoctorCode; |
| | | |
| | | // ==================== 科室/病区(原 patMedInhosp,type 4/5 会改写) ==================== |
| | | /** 科室编码(type 1/2/3 取 leave 维度;type 4/5 取入院维度) */ |
| | | // 2026-11:service_subtask 的 deptcode/deptname 列改名为 leaveldeptcode/leaveldeptname, |
| | | // 原 sendlimit* 空闲列复用为「在院维度」的 hospitaldistrictcode/name(在院病区)、deptcode/name(在院科室)。 |
| | | /** 出院科室编码(落 service_subtask.leaveldeptcode;原字段名 deptcode) */ |
| | | private String leaveldeptcode; |
| | | /** 出院科室名称(落 service_subtask.leaveldeptname;原字段名 deptname) */ |
| | | private String leaveldeptname; |
| | | /** 在院科室编码(落 service_subtask.deptcode) */ |
| | | private String deptcode; |
| | | /** 科室名称 */ |
| | | /** 在院科室名称(落 service_subtask.deptname) */ |
| | | private String deptname; |
| | | /** 在院病区编码(落 service_subtask.hospitaldistrictcode) */ |
| | | private String hospitaldistrictcode; |
| | | /** 在院病区名称(落 service_subtask.hospitaldistrictname) */ |
| | | private String hospitaldistrictname; |
| | | /** 离院病区编码(type 4/5 取入院病区) */ |
| | | private String leavehospitaldistrictcode; |
| | | /** 离院病区名称 */ |
| | |
| | | private String leavediagname; |
| | | /** 诊断名称 */ |
| | | private String diagname; |
| | | |
| | | /** |
| | | * 重要性标记编码(2026-11 新增):来源 {@code pat_med_inhosp.importance_flag_code}, |
| | | * 落库到 {@code service_subtask.importance_flag_code}。 |
| | | * <p> |
| | | * 判断「日间」就看这个字段({@code ImportFlagEnum} 的 {@code FH0165.01} 日间手术 / |
| | | * {@code FH0165.02} 日间诊疗;现场库存的是中文描述「日间手术」「日间诊疗」,可能多值)。 |
| | | * <p> |
| | | * ⚠️ 与 {@code deptcode}/{@code leaveldeptcode} 那批不同:<b>不做维度改写</b> |
| | | * (入院宣教 type=4/5 也照样带原值),它描述的是「这次住院的重要性/日间属性」,与科室无关。 |
| | | * 门诊链路({@link OuthospSubtaskDraft})没有这个来源,恒为 {@code null}。 |
| | | */ |
| | | private String importanceFlagCode; |
| | | |
| | | /** |
| | | * 点位编码(2026-11 新增):来源 {@code service_task.point_location}, |
| | | * 落库到 {@code service_subtask.point_location}。 |
| | | * <p> |
| | | * ⚠️ 与 {@code importanceFlagCode} 的来源不同:那个取自住院登记表, |
| | | * 这一个取自<b>任务</b>(建任务时前端填的点位),所以只在"任务 → 子任务"的 |
| | | * 随访建任务链路里填值;门诊/扫码等草稿恒为 {@code null}。 |
| | | */ |
| | | private String pointLocation; |
| | | |
| | | // ==================== 模板(原 serviceTask) ==================== |
| | | /** 问卷模板ID */ |
| | |
| | | this.serialnum = serialnum; |
| | | } |
| | | |
| | | public String getHospno() { |
| | | return hospno; |
| | | } |
| | | |
| | | public void setHospno(String hospno) { |
| | | this.hospno = hospno; |
| | | } |
| | | |
| | | public String getNurseId() { |
| | | return nurseId; |
| | | } |
| | |
| | | this.managementDoctorCode = managementDoctorCode; |
| | | } |
| | | |
| | | public String getLeaveldeptcode() { |
| | | return leaveldeptcode; |
| | | } |
| | | |
| | | public void setLeaveldeptcode(String leaveldeptcode) { |
| | | this.leaveldeptcode = leaveldeptcode; |
| | | } |
| | | |
| | | public String getLeaveldeptname() { |
| | | return leaveldeptname; |
| | | } |
| | | |
| | | public void setLeaveldeptname(String leaveldeptname) { |
| | | this.leaveldeptname = leaveldeptname; |
| | | } |
| | | |
| | | public String getDeptcode() { |
| | | return deptcode; |
| | | } |
| | |
| | | |
| | | public void setDeptname(String deptname) { |
| | | this.deptname = deptname; |
| | | } |
| | | |
| | | public String getHospitaldistrictcode() { |
| | | return hospitaldistrictcode; |
| | | } |
| | | |
| | | public void setHospitaldistrictcode(String hospitaldistrictcode) { |
| | | this.hospitaldistrictcode = hospitaldistrictcode; |
| | | } |
| | | |
| | | public String getHospitaldistrictname() { |
| | | return hospitaldistrictname; |
| | | } |
| | | |
| | | public void setHospitaldistrictname(String hospitaldistrictname) { |
| | | this.hospitaldistrictname = hospitaldistrictname; |
| | | } |
| | | |
| | | public String getLeavehospitaldistrictcode() { |
| | |
| | | this.diagname = diagname; |
| | | } |
| | | |
| | | public String getImportanceFlagCode() { |
| | | return importanceFlagCode; |
| | | } |
| | | |
| | | public void setImportanceFlagCode(String importanceFlagCode) { |
| | | this.importanceFlagCode = importanceFlagCode; |
| | | } |
| | | |
| | | public String getPointLocation() { |
| | | return pointLocation; |
| | | } |
| | | |
| | | public void setPointLocation(String pointLocation) { |
| | | this.pointLocation = pointLocation; |
| | | } |
| | | |
| | | public Long getTemplateid() { |
| | | return templateid; |
| | | } |