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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class KB1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"07.0000","07.0100","07.0200","07.1200","07.1200x003","07.2100","07.2102","07.2200","07.2201","07.2900x001","07.2900x003","07.2901","07.2902","07.3x00","07.3x01","07.4101","07.4102","07.4103","07.4200","07.4300","07.4400","07.4501","07.4900","07.4900x001","07.4900x002","07.4900x002","07.4900x002"};
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,"符合KB1入组条件,匹配规则:主手术匹配、某一手术匹配");
20
21 if (MDCK_DRG.KB11_group(record)){
22 return "KB11";
23 }
24
25 if (MDCK_DRG.KB13_group(record)){
26 return "KB13";
27 }
28
29 if (MDCK_DRG.KB15_group(record)){
30 return "KB15";
31 }
32
33 return "";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 6

containsMethod · 0.95
intersectMethod · 0.95
KB11_groupMethod · 0.95
KB13_groupMethod · 0.95
KB15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected