MCPcopy Index your code
hub / github.com/OpenDRG/DRG_Java / has_cc

Method has_cc

drg_group/qingdao_2023/Base.java:31–49  ·  view source on GitHub ↗
(String index,String mainZd,String[] otherZd)

Source from the content-addressed store, hash-verified

29 return br.lines();
30 }
31 public static boolean has_cc(String index,String mainZd,String[] otherZd){
32 String cce="";
33 if (Base.CCE.containsKey(mainZd)){
34 cce=Base.CCE.get(mainZd);
35 Base.groupMessages.putMessage(index,String.format("主诊断%s排除表%s",mainZd,cce));
36 }
37 for (String zd:otherZd){
38 if (Base.CC.containsKey(zd)){
39 String cc=Base.CC.get(zd);
40 Base.groupMessages.putMessage(index,String.format("诊断%s属于CC,排除表%s",zd,cc));
41 if (!cce.isEmpty() && cce.equals(cc)){
42 continue;
43 }else{
44 return true;
45 }
46 }
47 }
48 return false;
49 }
50 public static boolean has_mcc(String index,String mainZd,String[] otherZd){
51 String cce="";
52 if (Base.CCE.containsKey(mainZd)){

Callers 15

OJ13_groupMethod · 0.95
OS13_groupMethod · 0.95
HC23_groupMethod · 0.95
HC33_groupMethod · 0.95
HL13_groupMethod · 0.95
HT23_groupMethod · 0.95
HU13_groupMethod · 0.95
HZ23_groupMethod · 0.95
PU13_groupMethod · 0.95
PV13_groupMethod · 0.95
NA23_groupMethod · 0.95
NF13_groupMethod · 0.95

Calls 1

putMessageMethod · 0.45

Tested by

no test coverage detected