采购代码调整,退费代码增加

This commit is contained in:
Zhang.WH
2025-03-19 09:22:15 +08:00
parent 615810461f
commit 2d0decb7e9
39 changed files with 615 additions and 233 deletions

View File

@@ -0,0 +1,50 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.enums;
/**
* 采番前缀枚举
*
* @author zxy
* @date 2025-02-24
*/
public enum AssignSeqEnum {
/**
* 患者编号
*/
PATIENT_NUM("1", "患者编号", "PN"),
/**
* 采购单据号
*/
PURCHASE_NUM("2", "采购单据号", "SIN"),
/**
* 就诊编号
*/
ENCOUNTER_NUM("3", "就诊编号", "EN");
private final String code;
private final String info;
private final String prefix;
AssignSeqEnum(String code, String info, String prefix) {
this.code = code;
this.info = info;
this.prefix = prefix;
}
public String getCode() {
return code;
}
public String getInfo() {
return info;
}
public String getPrefix() {
return prefix;
}
}

View File

@@ -0,0 +1,86 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.enums;
/**
* 收费项目
*
* @author zxy
* @date 2025-02-24
*/
public enum ChargeItemEnum {
/**
* 床位费
*/
BED_FEE(1, "床位费"),
/**
* 诊察费
*/
DIAGNOSTIC_FEE(2, "诊察费"),
/**
* 检查费
*/
CHECK_FEE(3, "检查费"),
/**
* 化验费
*/
DIAGNOSTIC_TEST_FEE(4, "化验费"),
/**
* 治疗费
*/
MEDICAL_EXPENSE_FEE(5, "治疗费"),
/**
* 手术费
*/
OPERATION_FEE(6, "手术费"),
/**
* 护理费
*/
NURSING_FEE(7, "护理费"),
/**
* 卫生材料费
*/
SANITARY_MATERIALS_FEE(8, "卫生材料费"),
/**
* 西药费
*/
WEST_MEDICINE(9, "西药费"),
/**
* 中药饮片费
*/
CHINESE_MEDICINE_SLICES_FEE(10, "中药饮片费"),
/**
* 中成药费
*/
CHINESE_MEDICINE_FEE(11, "中成药费"),
/**
* 一般诊疗费
*/
GENERAL_CONSULTATION_FEE(12, "一般诊疗费"),
/**
* 挂号费
*/
REGISTRATION_FEE(13, "挂号费"),
/**
* 其他费
*/
OTHER_FEE(14, "其他费");
private final Integer code;
private final String info;
ChargeItemEnum(Integer code, String info) {
this.code = code;
this.info = info;
}
public Integer getCode() {
return code;
}
public String getInfo() {
return info;
}
}

View File

@@ -23,9 +23,9 @@ public enum ItemType implements HisEnumInterface {
MEDICINE(1, "1", "中药"),
/**
* 西药
* 耗材
*/
DEVICE(2, "2", "西药"),
DEVICE(2, "2", "耗材"),
/**
* 医疗活动

View File

@@ -9,26 +9,21 @@ import lombok.Getter;
@AllArgsConstructor
public enum LocationForm implements HisEnumInterface {
SITE(1, "si", "集合点A collection of buildings or other locations such as a site or a campus."),
BUILDING(2, "bu",
"建筑Any Building or structure. This may contain rooms, corridors, wings, etc. It might not have walls, or a roof, but is considered a defined/allocated space."),
WING(3, "wi", "连廊A Wing within a Building, this often contains levels, rooms and corridors."),
WARD(4, "wa", "病区A Ward is a section of a medical facility that may contain rooms and other types of location."),
LEVEL(5, "lvl", "楼层A Level in a multi-level Building/Structure."),
CORRIDOR(6, "co", "走廊Any corridor within a Building, that may connect rooms."),
ROOM(7, "ro", "诊室A space that is allocated as a room, it may have walls/roof etc., but does not require these."),
BED(8, "bd",
"床A space that is allocated for sleeping/laying on. This is not the physical bed/trolley that may be moved about, but the space it may occupy."),
VEHICLE(9, "ve", "运输工具A means of transportation."),
HOUSE(10, "ho", "病房A residential dwelling. Usually used to reference a location that a person/patient may reside."),
CABINET(11, "ca", "库房A container that can store goods, equipment, medications or other items."),
ROAD(12, "rd", "路A defined path to travel between 2 points that has a known name."),
AREA(13, "area", "区域A defined physical boundary of something, such as a flood risk zone, region, postcode"),
JURISDICTION(14, "jdn",
"适用范围A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy), not just an physical boundary"),
VIRTUAL(15, "vi", "虚拟A location that is virtual in nature, such as a conference call or virtual meeting space");
// PHARMACY(16, "ph", "药房"),
SITE(1, "si", "集合点"),
BUILDING(2, "bu", "建筑"),
WING(3, "wi", "连廊"),
WARD(4, "wa", "病区"),
LEVEL(5, "lvl", "楼层"),
CORRIDOR(6, "co", "走廊"),
ROOM(7, "ro", "诊室"),
BED(8, "bd", ""),
VEHICLE(9, "ve", "运输工具"),
HOUSE(10, "ho", "病房"),
CABINET(11, "ca", "库房"),
ROAD(12, "rd", ""),
AREA(13, "area", "区域"),
VIRTUAL(15, "vi", "虚拟"),
PHARMACY(16, "ph", "药房");
// PHARMACY_WINDOW(17, "phw", "发药窗口"),
// PHARMACY_TABLE(18, "dt", "摆药台"),
// NURSE_STATION(19, "ns", "护士站"),