医生站-诊断

This commit is contained in:
Wang.Huan
2025-03-11 19:10:40 +08:00
parent 4e60af7db2
commit a96b47b41f
16 changed files with 341 additions and 85 deletions

View File

@@ -84,4 +84,20 @@ public class CommonConstants {
String BusNo = "bus_no";
}
/**
* 业务常量
*/
public interface BusinessName {
/**
* 西医诊断
*/
String WESTERN_MEDICINE_DIAGNOSIS = "西医诊断";
/**
* 中医诊断
*/
String TCM_DIAGNOSIS = "中医诊断";
}
}

View File

@@ -1,18 +1,27 @@
package com.openhis.common.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 验证状态
*/
@Getter
@AllArgsConstructor
public enum ConditionVerificationStatus {
UNCONFIRMED(1, "UNCONFIRMED", "未确诊The disease status is unconfirmed."),
PROVISIONAL(2, "PROVISIONAL", "疑似诊断The disease status is provisional."),
DIFFERENTIAL(3, "DIFFERENTIAL", "多个诊断选项之一The diagnosis is one of several possibilities."),
CONFIRMED(4, "CONFIRMED", "已确诊The disease status has been confirmed."),
REFUTED(5, "REFUTED", "已排除The disease status has been refuted."),
ENTERED_IN_ERROR(6, "ENTERED_IN_ERROR", "The disease status was entered in error.");
public enum ConditionVerificationStatus implements HisEnumInterface {
UNCONFIRMED(1, "UNCONFIRMED", "未确诊"),
PROVISIONAL(2, "PROVISIONAL", "疑似"),
DIFFERENTIAL(3, "DIFFERENTIAL", "有差异"),
CONFIRMED(4, "CONFIRMED", "已确诊"),
REFUTED(5, "REFUTED", "已排除"),
ENTERED_IN_ERROR(6, "ENTERED_IN_ERROR", "未知");
@EnumValue
private final Integer value;