门诊收费部分代码上传

This commit is contained in:
Zhang.WH
2025-03-14 17:53:51 +08:00
parent 8d1b7ff6ca
commit 1cd51b8c09
19 changed files with 404 additions and 14 deletions

View File

@@ -0,0 +1,44 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 账户类型
*
* @author zwh
* @date 2025-03-14
*/
@Getter
@AllArgsConstructor
public enum AccountType implements HisEnumInterface {
/**
* 自费
*/
SELF_PAY(1, "1", "自费"),
/**
* 医保
*/
MEDICAL_INSURANCE(2, "2", "医保");
private Integer value;
private String code;
private String info;
public static AccountType getByValue(Integer value) {
if (value == null) {
return null;
}
for (AccountType val : values()) {
if (val.getValue().equals(value)) {
return val;
}
}
return null;
}
}

View File

@@ -22,9 +22,19 @@ public enum ChargeItemContext {
PURCHASE(1, "采购"),
/**
* 处方
* 药品
*/
PRESCRIPTION(2, "处方");
MEDICATION(2, "药品"),
/**
* 耗材
*/
DEVICE(3, "耗材"),
/**
* 项目
*/
ACTIVITY(4, "项目");
private Integer value;
private String info;