소스 검색

添加备注

zhoutg 5 년 전
부모
커밋
2740516b84

+ 17 - 6
src/main/java/com/diagbot/dto/WordBillCrfDTO.java

@@ -12,16 +12,27 @@ import lombok.Data;
  */
 @Data
 public class WordBillCrfDTO {
+    // 主诉
     private ChiefLabel chiefLabel;
-    private DiagLabel diagLabel;
-    private FamilyLabel familyLabel;
-//    private LisLabel lisLabel;
-    private MaritalLabel maritalLabel;
-    private MenstrualLabel menstrualLabel;
+    // 现病史
     private PresentLabel presentLabel;
-//    private PacsLabel pacsLabel;
+    // 既往史 (如:疾病史、外伤史、传染病史、过敏史、食物过敏史、药物过敏史、输血史、手术史、预防接种史)
     private PastLabel pastLabel;
+    // 个人史(如:吸烟史、饮酒史、冶游)
     private PersonalLabel personalLabel;
+    // 家族史(如:家族遗传病)
+    private FamilyLabel familyLabel;
+    // 婚育史
+    private MaritalLabel maritalLabel;
+    // 月经史
+    private MenstrualLabel menstrualLabel;
+    // 体格
     private VitalLabel vitalLabel;
+    // 诊断
+    private DiagLabel diagLabel;
 
+    // 化验
+    // private LisLabel lisLabel;
+    // 辅检
+    // private PacsLabel pacsLabel;
 }

+ 22 - 0
src/main/java/com/diagbot/model/ai/BeHospitalizedAI.java

@@ -39,6 +39,28 @@ public class BeHospitalizedAI extends ModelAI {
     public static String entityRelationObject = "entity_relation_object";
     public static String outputs = "outputs";
 
+
+    /**
+     *
+     * 类型       模型
+     * 主诉	      主诉-现病史模型
+     * 现病史	  主诉-现病史模型
+     * 既往史	  既往家族史模型
+     * 家族史	  既往家族史模型
+     * 个人史	  个人史模型(吸烟、饮酒,冶游)
+     * 婚育史	  个人史模型
+     * 月经史	  个人史模型
+     * 体征	      体征模型
+     * 诊断	      诊断模型
+     *
+     * 化验       化验模型     已结构化,未使用
+     * 辅检	      辅检模型     已结构化,未使用
+     *
+     *
+     * @param inputInfo
+     * @param wordBillCrfDTO
+     * @param crfServiceClient
+     */
     public void medrec(IndicationPushVO inputInfo, WordBillCrfDTO wordBillCrfDTO, CRFServiceClient crfServiceClient) {
         JSONArray crfContent = new JSONArray();
         if (inputInfo != null) {

+ 6 - 0
src/main/java/com/diagbot/model/entity/Menses.java

@@ -15,10 +15,16 @@ import java.util.List;
 @Getter
 public class Menses extends General {
     private List<Clinical> clinicals;
+    // 初潮年龄
     private MenarcheAge menarcheAge;
+    // 行经天数
     private MensesDuration mensesDuration;
+    // 月经周期
     private MenstrualCycle menstrualCycle;
+    // 绝经年龄
     private MenopauseAge menopauseAge;
+    // 绝经时间
     private MenopauseTime menopauseTime;
+    // 末次月经
     private LastMenstrual lastMenstrual;
 }

+ 2 - 0
src/main/java/com/diagbot/model/label/MenstrualLabel.java

@@ -17,6 +17,8 @@ import java.util.List;
 @Setter
 @Getter
 public class MenstrualLabel extends GeneralLabel {
+    // 月经
     List<Menses> mensesList;
+    // 白带
     List<Leukorrhea> leukorrheas;
 }