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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class JA2 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={};
14 String[] adrg_zd1={};
15 String[] adrg_ss={"40.2200","40.5000","40.5100","40.5101","85.4300x003","85.4301","85.4302","85.4303","85.4401","85.4402","85.4403","85.4500x001","85.4500x003","85.4501","85.4600","85.4700","85.4800"};
16 String[] adrg_ss1={};
17
18 if (true && record.ssList!=null && record.ssList.length>0 && Base.intersect(record.ssList,adrg_ss)){
19 Base.groupMessages.putMessage(record.Index,"符合JA2入组条件,匹配规则:某一手术匹配");
20
21 if (MDCJ_DRG.JA21_group(record)){
22 return "JA21";
23 }
24
25 if (MDCJ_DRG.JA23_group(record)){
26 return "JA23";
27 }
28
29 if (MDCJ_DRG.JA25_group(record)){
30 return "JA25";
31 }
32
33 return "JA2";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 5

intersectMethod · 0.95
JA21_groupMethod · 0.95
JA23_groupMethod · 0.95
JA25_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected