MCPcopy Create free account
hub / github.com/OpenDRG/DRG_Java / group

Method group

drg_group/guangxi_2022/ADRG/DB3.java:12–33  ·  view source on GitHub ↗
(MedicalRecord record)

Source from the content-addressed store, hash-verified

10
11public class DB3 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"27.5301","27.5302","27.5303","27.5400","27.5401","27.5700x006","27.5900x011","27.5900x017","27.5900x018","27.5900x019","27.5900x020","27.5901","27.5902","27.5903","27.5904","27.5905","27.5906","27.5907","27.5908","27.5909","27.5910","27.5911","27.5912","27.5913","27.5914","27.5915","27.6100","27.6200x002","27.6200x003","27.6201","27.6300x002","27.6301","27.6302","27.6400","27.6900x003","27.6900x004","27.6900x007","27.6900x008","27.6901","27.6902","27.6903","27.6904","27.6905","27.6906","27.6907","27.6908","27.6909","27.7100","27.7202","27.7300","27.9100x001","27.9101"};
16 String[] adrg_ss1={};
17 String[] adrg_ss2={};
18 if (true && record.ssList!=null && record.ssList.length>0 && Base.contains(adrg_ss,record.ssList[0]) && record.ssList!=null && record.ssList.length>0 && Base.intersect(record.ssList,adrg_ss)){
19 Base.groupMessages.putMessage(record.Index,"符合DB3入组条件,匹配规则:主手术匹配、某一手术匹配");
20
21 if (MDCD_DRG.DB33_group(record)){
22 return "DB33";
23 }
24
25 if (MDCD_DRG.DB35_group(record)){
26 return "DB35";
27 }
28
29 return "";
30 }else{
31 return "";
32 }
33 }
34}
35

Callers 1

groupMethod · 0.95

Calls 5

containsMethod · 0.95
intersectMethod · 0.95
DB33_groupMethod · 0.95
DB35_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected