Commit 32cc71f73072d5c6beec29c2226073d7e9fc2727

Authored by jiangjiazhi
1 parent 6f623672c7

分娩作废产检劵

Showing 1 changed file with 0 additions and 194 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java View file @ 32cc71f
... ... @@ -28,201 +28,7 @@
28 28 public class Test {
29 29  
30 30 public static void main(String[] args) {
31   - PatientsQuery patientsQuery1 = new PatientsQuery();
32   -// patientsQuery1.setHospitalId("221");
33   -// patientsQuery1.setYn(YnEnums.YES.getId());
34   -// patientsQuery1.setType(1);
35   -//
36   -// List buildType = new ArrayList();
37   -// buildType.add(0);
38   -// buildType.add(2);
39   -// patientsQuery1.setBuildTypeList(buildType);
40   -//
41   -// patientsQuery1.setQueryNo("q");
42   -//
43   -//
44   -//
45   -// PatientsQuery patientsQuery = new PatientsQuery();
46   -// patientsQuery1.setYn(YnEnums.YES.getId());
47   -//
48   -// List buildType = new ArrayList();
49   -// buildType.add(0);
50   -// buildType.add(2);
51   -// patientsQuery1.setBuildTypeList(buildType);
52   -//
53   -// //1孕妇
54   -//// patientsQuery.setType(1);
55   -// // 0未终止妊娠 1终止妊娠
56   -// patientsQuery1.setDueStatus(0);
57   -//
58   -//
59   -//
60   -//
61   -// patientsQuery1.setHospitalId("242");
62   -// patientsQuery1.setNorFactor(true);
63   -// patientsQuery1.setrLevel("315107bd-91fe-42a1-9237-752f3c046a40");
64   -// patientsQuery1.setType(1);
65   -//
66 31  
67   -// patientsQuery1.setYn(YnEnums.YES.getId());
68   -// patientsQuery1.setType(1);
69   -//
70   -//// Date end = DateUtil.addDay(new Date(), 0);
71   -//
72   -// Date start = DateUtil.addDay(new Date(), -100);
73   -//
74   -//
75   -// patientsQuery1.setLastMensesStart(start);
76   -//// patientsQuery1.setLastMensesEnd(end);
77   -//
78   -//
79   -// Date date1 = DateUtil.addYear(new Date(), -18);
80   -//// patientsQuery1.setBirthEnd(date1);
81   -// Date date2 = DateUtil.addYear(new Date(), -30);
82   -// date2 = DateUtil.addYear(date2, -1);
83   -//
84   -// patientsQuery1.setBirthStart(DateUtil.addDay(date2, 1));
85   -// List buildType = new ArrayList();
86   -// buildType.add(0);
87   -// buildType.add(2);
88   -// patientsQuery1.setBuildTypeList(buildType);
89   -//
90   -//
91   -// System.out.println(patientsQuery1.convertToQuery().convertToMongoQuery());
92   -
93   -
94   - /*
95   -
96   - {
97   - "username": "指间沙",
98   - "sex": "c23779f1-cb6e-44d0-9fc8-0a990bf6184c",
99   - "brithDay": "1989-11-03",
100   - "countryId": "0da4334f-49e7-4180-b690-5cea668f75e9",
101   - "nationId": "cc5e7b3f-0082-4df5-86c9-f84e2f732fa0",
102   - "marriageId": "d049eaaa-7265-4cdb-879f-992ab6320a3a",
103   - "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c",
104   - "certificateNum": "123456",
105   - "censusTypeId": "57624c090cf23d4631523e9f",
106   - "liveTypeId": "57624c440cf23d4631523ea1",
107   - "levelTypeId": "b4157251-2fbc-4d70-b32f-d78e1b4f9251",
108   - "professionTypeId": "5570653c-693b-4ce2-bd91-650045c03c5a",
109   - "hospitalId": "216",
110   - "age": "27",
111   - "phone": "13611111111",
112   - "workUnit": "龙源美生",
113   - "provinceId": "51aa",
114   - "cityId": "5110aa",
115   - "areaId": "511028",
116   - "streetId": "1193",
117   - "address": "东苑区",
118   - "vcCardNo": "3838438",
119   - "buildDoctor": "罗伊斯",
120   - "buildDay": "2016-11-29"
121   - }
122   - */
123   -
124   - /*
125   -
126   -
127   - {
128   - "parentId": "583cf77146a722843933530f",
129   - "premaritalUpTime": "2016-11-30",
130   - "hospitalId": 138,
131   - "certificateNum": "123456",
132   - "certificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c",
133   - "vcCardNo": "3838438",
134   -
135   - "spouseName": "依韵",
136   - "spouseCertificateTypeId": "70ae1d93-2964-46bc-83fa-bec9ff605b1c",
137   - "spouseCertificateNum": "789456",
138   - "isBloodshed": "1",
139   - "bloodshed": "兄妹",
140   - "deliverStatus": "1",
141   -
142   - "menarcheAge": "20",
143   - "menstrualCycle": "10",
144   - "menstrualAmount": "600cc",
145   - "lastMenses": "2016-01-11",
146   - "menorrhalgia": "1",
147   - "renLiu": "0",
148   -
149   - "maritalHistory": "1",
150   - "sangOu": "1",
151   - "liYi": "2",
152   - "childrenNum": "0",
153   - "nextOfKin": "1",
154   - "parents": "1",
155   - "grandparent": "2",
156   - "maternalGrandparents": "2",
157   -
158   - "jingShenZhuangTai": "1",
159   - "jingShenZhuangTaiDetails": "毛病",
160   - "yuYanNengLi": "2",
161   - "teShuMianRong": "1",
162   - "teShuMianRongDetails": "没有",
163   - "teShuTiTai": "1",
164   - "teShuTiTaiDetails": "Cbei",
165   - "height": "170",
166   - "weight": "89",
167   - "bp": "50",
168   - "piFu": "2",
169   - "maoFa": "2",
170   - "siZhi": "2",
171   - "jiZhu": "2",
172   - "shiLiZuo": "4.5",
173   - "shiLiYou": "4.9",
174   - "tingLiZuo": "5M",
175   - "tingLiYou": "5M",
176   - "bianSe": "2",
177   - "jiaZhuangXian": "2",
178   - "xiongKuo": "2",
179   - "fei": "2",
180   - "heartRate": "100",
181   - "heartRhythm": "70",
182   - "zaYin": "2",
183   - "gan": "正常",
184   - "pi": "正常",
185   -
186   - "tiTai": "2",
187   - "ruFangFaYu": "2",
188   - "yinMao": "1",
189   -
190   - "gcWaiYin": "正常",
191   - "gcFenMiWu": "无",
192   - "gcZiGong": "正常",
193   - "gcFuJian": "无",
194   - "waiYin": "正常",
195   - "yinDao": "正常",
196   - "gongJing": "正常",
197   - "ziGong": "正常",
198   - "fuJian": "无",
199   -
200   - "xueHongDanBai": "200",
201   - "baiXiBao": "180",
202   - "xueXiaoBan": "60",
203   -
204   - "niaoDanBai": "63",
205   - "niaoTang": "120",
206   - "niaoTongTi": "199",
207   - "xueXing": "B",
208   - "rhXueXing": "减",
209   - "xueTang": "147",
210   -
211   - "jianChaJieGuo": "2",
212   -
213   - "yiXueYiJian": "1",
214   - "hunJianDoctor": "张医生",
215   - }
216   -
217   - */
218   - PatientCheckTicketQuery patientCheckTicketQuery=new PatientCheckTicketQuery();
219   - patientCheckTicketQuery.setStatus(1);
220   - patientCheckTicketQuery.setCreatedStart(DateUtil.parseYMD("2016-05-10"));
221   - patientCheckTicketQuery.setCreatedEnd(DateUtil.parseYMD("2017-01-10"));
222   - patientCheckTicketQuery.setPid("58747fd60cf297bacef6db8f");
223   - String s ="1.0";
224   -
225   - System.out.print((int)Double.parseDouble(s));
226 32 }
227 33 }