From fce96ef468291fb9a0e6a4d34ab371315e9485d4 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期六, 03 十月 2026 00:59:44 +0800
Subject: [PATCH] ai优化
---
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/appointment/AppointmentDO.java | 130 +++++++++++++++++++++++++++++++++++++++---
1 files changed, 119 insertions(+), 11 deletions(-)
diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/appointment/AppointmentDO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/appointment/AppointmentDO.java
index 93135ec..b2bcea1 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/appointment/AppointmentDO.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/appointment/AppointmentDO.java
@@ -11,6 +11,7 @@
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
+
import com.baomidou.mybatisplus.annotation.*;
import cn.lihu.jh.framework.mybatis.core.dataobject.BaseDO;
@@ -33,7 +34,20 @@
* id
*/
@TableId
- private Integer id;
+ private Long id;
+
+ /**
+ * 鐢宠缂栧彿
+ */
+ private String applyNo;
+ /**
+ * 灏辫瘖娴佹按鍙�
+ */
+ private String episodeId;
+ /**
+ * 鎮h�呮潵婧愮被鍨� 01闂瘖 02鎬ヨ瘖 03浣忛櫌 04浣撴
+ */
+ private Integer patSrc;
/**
* 鎮h�呯紪鍙�
*/
@@ -44,14 +58,12 @@
private String patName;
/**
* 鎮h�呮�у埆
- *
- * 鏋氫妇 {@link TODO system_user_sex 瀵瑰簲鐨勭被}
*/
private Byte patGender;
/**
* 鎮h�呯敓鏃�
*/
- private LocalDateTime patBirthday;
+ private LocalDate patBirthday;
/**
* 鎮h�呮墜鏈�
*/
@@ -89,10 +101,6 @@
*/
private String patBedNo;
/**
- * 棰勭害缂栧彿
- */
- private String bookId;
- /**
* 棰勭害鏃ユ湡
*/
private LocalDate bookDate;
@@ -106,11 +114,10 @@
private LocalDateTime bookTime;
/**
* 棰勭害妫�鏌ョ被鍨�
- *
*/
private Integer bookCheckType;
/**
- * 棰勭害鏉ユ簮锛歑绯荤粺銆佹姢澹墜鍔ㄩ绾�
+ * 棰勭害鏉ユ簮锛�0 ~~ X绯荤粺銆�1 ~~ 鎶ゅ+鎵嬪姩棰勭害
*/
private Integer bookSrc;
@@ -125,5 +132,106 @@
private LocalDateTime syncTime;
+ /**
+ * 棰勭害鎺掑簭鍙枫��
+ * <p>
+ * 鏉ユ簮 HIS 鎶ユ枃 {@code actAppointment.subject.patient.id.item[]} 涓�
+ * {@code root=2.16.156.10011.2.5.1.11} 鐨勯」锛�<b>鎸� root 鍖归厤锛岄潪鎸変綅缃�</b>锛�
+ * 鏂囨。绀轰緥鏍囧湪 item[4]锛屼絾瀹為檯鎶ユ枃 item[4] 鐨� root 鏄� 2.5.1.8銆屽氨璇婃鏁般�嶏紝
+ * 鎺掑簭鍙峰疄闄呬綅浜� item[6]锛夈��
+ */
+ private Integer bookSeqNum;
-}
\ No newline at end of file
+ /**
+ * 浼樺厛绾� / 鍔犳�ユ爣璁般�傛潵婧� HIS 鎶ユ枃 {@code observationRequest.zdy.jjbz}锛歂=甯歌锛孞=鍔犳�ャ��
+ */
+ private String jjbz;
+
+ /**
+ * 妫�鏌ユ柟寮忕紪鐮併�傛潵婧� HIS 鎶ユ枃 {@code component2.observationRequest.methodCode.item[].code}銆�
+ */
+ private String methodCode;
+
+ /**
+ * 妫�鏌ラ儴浣嶇紪鐮併�傛潵婧� HIS 鎶ユ枃 {@code component2.observationRequest.targetSiteCode.item.code}銆�
+ */
+ private String targetSiteCode;
+
+ /**
+ * 鍖诲槺鍙凤紙鍖诲槺ID锛夈�傛潵婧� HIS 鎶ユ枃
+ * {@code component2.observationRequest.id.item[root=2.16.156.10011.1.28].extension}銆�
+ * <p>
+ * 渚濇嵁銆婁氦浜掓湇鍔¢�氱敤鎺ュ彛鏂囨。銆嬶細6.1 鐢宠鍗曟柊澧炴湇鍔$殑绀轰緥涓鑺傜偣娉ㄩ噴涓恒�屽尰鍢盜D銆嶏紝
+ * 6.4/6.5 妫�鏌ラ绾︾姸鎬佹湇鍔′腑娉ㄩ噴涓恒�屽尰鍢卞彿銆嶃��
+ * 瀹炴祴 S0201ECG 220 鏉°�丼0202ECG 29 鏉″潎鎼哄甫璇ュ�硷紙褰㈠ {@code 112663505}锛夈��
+ * <p>
+ * 娉ㄦ剰锛�<b>涓嶆槸</b> {@code apply_no}锛堢敵璇峰崟鍙凤紝root {@code 2.16.156.10011.1.24}锛夛紝浜岃�呬笉鍚屻��
+ */
+ private String doctorAdviceNo;
+
+ /**
+ * 妫�鏌ユ埧闂村悕绉般�傛潵婧� HIS 鎶ユ枃 {@code ZDY.roomname}锛圫050401/S050402锛夈��
+ */
+ private String roomName;
+
+ /**
+ * 娉ㄦ剰浜嬮」銆傛潵婧� HIS 鎶ユ枃 {@code ZDY.remark}锛圫050401/S050402锛夈��
+ */
+ private String remark;
+
+ private String status;
+ /**
+ * 鐧昏鏃堕棿
+ */
+ private Date registerDate;
+
+ /**
+ * 鑰愯嵂鎬э細 鏄惁澶氳��1浠h〃鏄紝0浠h〃涓嶆槸
+ * <p>
+ * 鏉ユ簮 HIS 鎶ユ枃 {@code observationRequest.zdy.ISDN}锛堣嚜瀹氫箟瀛楁鍖猴紝瀹樻柟鏂囨。鏈畾涔夛紝
+ * 瀹炴祴鐪熷疄鎶ユ枃鍖呭惈璇ュ瓧娈碉紝鍙栧�兼亽涓� 0锛夈��
+ */
+ private String tolerance;
+
+ /**
+ * 鏄惁搴婅竟锛�0鍚� 1鏄級
+ * <p>
+ * 鏉ユ簮 HIS 鎶ユ枃 {@code observationRequest.zdy.ISCB}锛堣嚜瀹氫箟瀛楁鍖猴紝瀹樻柟鏂囨。鏈畾涔夛紝
+ * 瀹炴祴鐪熷疄鎶ユ枃鍖呭惈璇ュ瓧娈碉紝鍙栧�兼亽涓� 0锛夈��
+ * <p>
+ * 涓庛�屾鏌ョ被鍨嬨�嶇殑鍖哄埆锛歿@code check_type.value=1000} 鍚嶇О鏄�"搴婅竟蹇冪數鍥�(甯歌+棰戣氨)"锛�
+ * 閭f槸**涓�涓鏌ラ」鐩�**锛涜�屾湰瀛楁琛ㄨ揪鐨勬槸**鍚屼竴椤圭洰銆佹偅鑰呴渶鍒板簥杈瑰仛**锛屼袱鑰呰涔変笉鍚屻��
+ */
+ private String isBedside;
+
+ /**
+ * 浣忛櫌鍙�
+ */
+ private String hospitalNo;
+
+ /**
+ * 鍖讳繚鍗″彿
+ */
+ private String medicalCard;
+
+ /**
+ * 闂ㄨ瘖鍙�
+ */
+ private String outpatientNo;
+
+ /**
+ * 寮�鍗曞尰鐢�
+ */
+ private String doctor;
+
+ /**
+ * 寮�鍗曞尰鐢熺紪鐮�
+ */
+ private String doctorCode;
+
+ /**
+ * 寮�鍗曟椂闂�
+ */
+ private Date doctorTime;
+
+}
--
Gitblit v1.9.3