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

Method group

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

Source from the content-addressed store, hash-verified

10
11public class PT1 {
12 public static String group(MedicalRecord record){
13 String[] adrg_zd={"P05.001","P05.102","P07.100","P07.101","P07.200","P07.200x011","P07.200x021","P07.300","P07.300x001","P07.300x011","P07.300x021"};
14 String[] adrg_zd1={};
15 String[] adrg_ss={};
16 String[] adrg_ss1={};
17
18 if (true && Base.contains(adrg_zd,record.zdList[0]) && record.weight>0 && record.weight>=1500 && record.weight<2500 && record.ageDay<=28){
19 Base.groupMessages.putMessage(record.Index,"符合PT1入组条件,匹配规则:主诊断匹配、体重1500至2500克、新生儿");
20
21 if (MDCP_DRG.PT11_group(record)){
22 return "PT11";
23 }
24
25 if (MDCP_DRG.PT13_group(record)){
26 return "PT13";
27 }
28
29 if (MDCP_DRG.PT15_group(record)){
30 return "PT15";
31 }
32
33 return "PT1";
34 }else{
35 return "";
36 }
37 }
38}
39

Callers 1

groupMethod · 0.95

Calls 5

containsMethod · 0.95
PT11_groupMethod · 0.95
PT13_groupMethod · 0.95
PT15_groupMethod · 0.95
putMessageMethod · 0.45

Tested by

no test coverage detected