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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class OF2 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={"O02.002","O02.100","O02.100x002","O03.001","O03.002","O03.100x001","O03.101","O03.102","O03.200x001","O03.300","O03.300x031","O03.300x041","O03.300x061","O03.400x001","O03.501","O03.502","O03.503","O03.504","O03.600x001","O03.601","O03.602","O03.603","O03.604","O03.701","O03.702","O03.800","O03.800x031","O03.800x041","O03.800x061","O03.801","O03.802","O03.900x002","O03.901","O03.902","O03.904","O04.000x003","O04.001","O04.100x002","O04.101","O04.300","O04.300x031","O04.300x041","O04.300x081","O04.400","O04.401","O04.402","O04.500x001","O04.500x002","O04.503","O04.600x001","O04.601","O04.602","O04.700x001","O04.701","O04.800","O04.800x031","O04.800x041","O04.800x061","O04.801","O04.802","O04.900x001","O04.905","O06.301","O07.300","O07.300x001","O07.300x002","O07.401","O07.402","O07.500","O07.600","O07.700","O07.800","O07.900x001","O08.000x005","O08.000x006","O08.000x011","O08.002","O08.004","O08.005","O08.100x002","O08.101","O08.102","O08.200x001","O08.202","O08.203","O08.204","O08.300x003","O08.301","O08.400x003","O08.401","O08.600x004","O08.600x006","O08.601","O08.602","O08.603","O08.604","O08.800x007","O08.801","O08.802","O08.803","O08.805","O08.900"};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"69.0100x002","69.0101","69.0201","69.5101","69.5102","69.5103","69.5202","69.5901","73.4x00x004","73.8x00x003","96.4902"};
16 String[] adrg_ss1={};
17 String[] adrg_ss2={};
18 if (true && Base.contains(adrg_zd,record.zdList[0]) && 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,"符合OF2入组条件,匹配规则:主诊断匹配、主手术匹配、某一手术匹配");
20
21 if (MDCO_DRG.OF21_group(record)){
22 return "OF21";
23 }
24
25 if (MDCO_DRG.OF23_group(record)){
26 return "OF23";
27 }
28
29 if (MDCO_DRG.OF25_group(record)){
30 return "OF25";
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
OF21_groupMethod · 0.95
OF23_groupMethod · 0.95
OF25_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected