SMAHA04097_직원검진결과조회.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA04097" inheritanceid="" oninit="SMAHA04097_oninit" onload="SMAHA04097_onload" position="absolute 0 0 1202 782" titletext="">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="직원검진결과내역조회" class="tit_1" position="absolute 0 0 180 25"/>
  8. <Div id="group2" taborder="1" class="div_SA" position="absolute 0 25 1194 60" anchor="left top right">
  9. <Layouts>
  10. <Layout width="1194" height="35">
  11. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1123 9 1179 31" anchor="top right" onclick="group2_btn_search_onclick"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  13. <Edit id="srchpid" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 433 8 513 27" onkeyup="group2_srch_pid_onkeyup" anchor="default"/>
  14. <Static id="caption21" text="기준일자 :" class="search_name" position="absolute 6 9 92 26" anchor="default"/>
  15. <Calendar id="ipt_fromdd" taborder="0" autoselect="true" autoskip="true" class="input_search" position="absolute 87 8 187 27" anchor="default" dateformat="yyyy-MM-dd " value="null"/>
  16. <Calendar id="ipt_todd" taborder="1" autoselect="true" autoskip="true" class="input_search" position="absolute 208 8 308 27" anchor="default" dateformat="yyyy-MM-dd "/>
  17. <Static id="caption16" text="~" position="absolute 193 8 202 27" anchor="default"/>
  18. <Static id="caption17" text="등록번호 :" class="search_name" position="absolute 345 9 431 26" anchor="default"/>
  19. <Button id="btn_srchpat" taborder="3" class="icon_search" position="absolute 520 9 533 25" onclick="group2_btn_srchpat_onclick" anchor="default"/>
  20. <Edit id="ipt_srchpnm" taborder="4" class="input_search" enable="false" position="absolute 540 8 670 27" anchor="default" onkeyup="group2_ipt_pnm_onkeydown"/>
  21. <Edit id="ipt_instcd" taborder="7" position="absolute 708 8 812 24" visible="false"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Static id="caption20" text="직원검진 결과 리스트" class="tit_2" position="absolute 0 74 162 90"/>
  26. <Shape id="line8" class="line_10" position="absolute 0 92 1194 98" anchor="left top right"/>
  27. <Button id="btn_excel" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 68 1194 90" anchor="top right" onclick="group2_btn_excel_onclick"/>
  28. <Grid id="grd_dtlist" taborder="10" binddataset="ds_main_detlinfo_item" useinputpanel="false" cellsizingtype="col" autofittype="none" position="absolute 0 106 1194 755" anchor="all" readonly="false" autoenter="select" cellclickbound="cell">
  29. <Formats>
  30. <Format id="default">
  31. <Columns>
  32. <Column size="35" band="left"/>
  33. <Column size="100" band="left"/>
  34. <Column size="70" band="left"/>
  35. <Column size="100" band="left"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. <Column size="100"/>
  47. <Column size="100"/>
  48. <Column size="100"/>
  49. <Column size="100"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="100"/>
  53. <Column size="100"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="100"/>
  57. <Column size="100"/>
  58. <Column size="100"/>
  59. <Column size="100"/>
  60. <Column size="100"/>
  61. <Column size="100"/>
  62. <Column size="100"/>
  63. <Column size="100"/>
  64. <Column size="100"/>
  65. <Column size="100"/>
  66. <Column size="100"/>
  67. <Column size="100"/>
  68. <Column size="100"/>
  69. <Column size="100"/>
  70. <Column size="100"/>
  71. <Column size="100"/>
  72. <Column size="100"/>
  73. <Column size="100"/>
  74. </Columns>
  75. <Rows>
  76. <Row size="24" band="head"/>
  77. <Row size="24"/>
  78. </Rows>
  79. <Band id="head">
  80. <Cell/>
  81. <Cell col="1" text="등록번호"/>
  82. <Cell col="2" text="사번"/>
  83. <Cell col="3" text="수검자명"/>
  84. <Cell col="4" text="주민등록번호"/>
  85. <Cell col="5" text="검진일자"/>
  86. <Cell col="6" text="과거병력"/>
  87. <Cell col="7" text="약물치료"/>
  88. <Cell col="8" text="정상A"/>
  89. <Cell col="9" text="정상B"/>
  90. <Cell col="10" text="일반질환r1"/>
  91. <Cell col="11" text="일반질환r2"/>
  92. <Cell col="12" text="유질환자"/>
  93. <Cell col="13" text="의심질환(소견)"/>
  94. <Cell col="14" text="유질환(소견)"/>
  95. <Cell col="15" text="생활습관(소견)"/>
  96. <Cell col="16" text="기타(소견)"/>
  97. <Cell col="17" text="흡연조절"/>
  98. <Cell col="18" text="음주조절"/>
  99. <Cell col="19" text="운동조절"/>
  100. <Cell col="20" text="체중조절"/>
  101. <Cell col="21" text="신장"/>
  102. <Cell col="22" text="체중"/>
  103. <Cell col="23" text="허리"/>
  104. <Cell col="24" text="bmi"/>
  105. <Cell col="25" text="시력"/>
  106. <Cell col="26" text="청력"/>
  107. <Cell col="27" text="혈압"/>
  108. <Cell col="28" text="요단백"/>
  109. <Cell col="29" text="혈색소"/>
  110. <Cell col="30" text="혈당"/>
  111. <Cell col="31" text="콜레스테롤"/>
  112. <Cell col="32" text="HDL"/>
  113. <Cell col="33" text="트리그리셀라이드"/>
  114. <Cell col="34" text="LDL"/>
  115. <Cell col="35" text="혈청크레아틴"/>
  116. <Cell col="36" text="eGFR"/>
  117. <Cell col="37" text="SGOT"/>
  118. <Cell col="38" text="SGPT"/>
  119. <Cell col="39" text="GGT"/>
  120. <Cell col="40" text="흉부방사선"/>
  121. <Cell col="41" text="방사선비고"/>
  122. </Band>
  123. <Band id="body">
  124. <Cell celltype="head" expr="currow+1"/>
  125. <Cell col="1" text="bind:pid"/>
  126. <Cell col="2" text="bind:userid"/>
  127. <Cell col="3" text="bind:hngnm"/>
  128. <Cell col="4" text="bind:rrgstno"/>
  129. <Cell col="5" text="bind:orddd"/>
  130. <Cell col="6" text="bind:sickhis"/>
  131. <Cell col="7" text="bind:drughis"/>
  132. <Cell col="8" text="bind:ajudge"/>
  133. <Cell col="9" text="bind:bjudge"/>
  134. <Cell col="10" text="bind:doubtr1"/>
  135. <Cell col="11" text="bind:doubtr2"/>
  136. <Cell col="12" text="bind:sickperson"/>
  137. <Cell col="13" text="bind:doubtop"/>
  138. <Cell col="14" text="bind:sickop"/>
  139. <Cell col="15" text="bind:lifeop"/>
  140. <Cell col="16" text="bind:etcop"/>
  141. <Cell col="17" text="bind:smoke"/>
  142. <Cell col="18" text="bind:archol"/>
  143. <Cell col="19" text="bind:exercise"/>
  144. <Cell col="20" text="bind:weight"/>
  145. <Cell col="21" text="bind:hgt"/>
  146. <Cell col="22" text="bind:wgt"/>
  147. <Cell col="23" text="bind:belt"/>
  148. <Cell col="24" text="bind:bmi"/>
  149. <Cell col="25" text="bind:eye"/>
  150. <Cell col="26" text="bind:ear"/>
  151. <Cell col="27" text="bind:blood"/>
  152. <Cell col="28" text="bind:protein"/>
  153. <Cell col="29" text="bind:bloodcolor"/>
  154. <Cell col="30" text="bind:bloodsugar"/>
  155. <Cell col="31" text="bind:cholestero"/>
  156. <Cell col="32" text="bind:hdl"/>
  157. <Cell col="33" text="bind:tri"/>
  158. <Cell col="34" text="bind:ldl"/>
  159. <Cell col="35" text="bind:serum"/>
  160. <Cell col="36" text="bind:egfr"/>
  161. <Cell col="37" text="bind:sgot"/>
  162. <Cell col="38" text="bind:sgpt"/>
  163. <Cell col="39" text="bind:ggt"/>
  164. <Cell col="40" text="bind:brradiation"/>
  165. <Cell col="41" text="bind:radiationetc"/>
  166. </Band>
  167. </Format>
  168. </Formats>
  169. </Grid>
  170. </Layout>
  171. </Layouts>
  172. <Objects>
  173. <Dataset id="ds_main_detlinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  174. <ColumnInfo>
  175. <Column id="pid" type="STRING" size="256"/>
  176. <Column id="hngnm" type="STRING" size="256"/>
  177. <Column id="rrgstno" type="STRING" size="256"/>
  178. <Column id="orddd" type="STRING" size="256"/>
  179. <Column id="sickhis" type="STRING" size="256"/>
  180. <Column id="drughis" type="STRING" size="256"/>
  181. <Column id="ajudge" type="STRING" size="256"/>
  182. <Column id="bjudge" type="STRING" size="256"/>
  183. <Column id="doubtr1" type="STRING" size="256"/>
  184. <Column id="doubtr2" type="STRING" size="256"/>
  185. <Column id="sickperson" type="STRING" size="256"/>
  186. <Column id="doubtop" type="STRING" size="256"/>
  187. <Column id="sickop" type="STRING" size="256"/>
  188. <Column id="lifeop" type="STRING" size="256"/>
  189. <Column id="etcop" type="STRING" size="256"/>
  190. <Column id="smoke" type="STRING" size="256"/>
  191. <Column id="archol" type="STRING" size="256"/>
  192. <Column id="exercise" type="STRING" size="256"/>
  193. <Column id="weight" type="STRING" size="256"/>
  194. <Column id="hgt" type="STRING" size="256"/>
  195. <Column id="wgt" type="STRING" size="256"/>
  196. <Column id="belt" type="STRING" size="256"/>
  197. <Column id="bmi" type="STRING" size="256"/>
  198. <Column id="eye" type="STRING" size="256"/>
  199. <Column id="ear" type="STRING" size="256"/>
  200. <Column id="blood" type="STRING" size="256"/>
  201. <Column id="protein" type="STRING" size="256"/>
  202. <Column id="bloodcolor" type="STRING" size="256"/>
  203. <Column id="bloodsugar" type="STRING" size="256"/>
  204. <Column id="cholestero" type="STRING" size="256"/>
  205. <Column id="hdl" type="STRING" size="256"/>
  206. <Column id="tri" type="STRING" size="256"/>
  207. <Column id="ldl" type="STRING" size="256"/>
  208. <Column id="serum" type="STRING" size="256"/>
  209. <Column id="egfr" type="STRING" size="256"/>
  210. <Column id="sgot" type="STRING" size="256"/>
  211. <Column id="sgpt" type="STRING" size="256"/>
  212. <Column id="ggt" type="STRING" size="256"/>
  213. <Column id="brradiation" type="STRING" size="256"/>
  214. <Column id="radiationetc" type="STRING" size="256"/>
  215. <Column id="userid" type="STRING" size="256"/>
  216. </ColumnInfo>
  217. </Dataset>
  218. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  219. <ColumnInfo>
  220. <Column id="instcd" type="STRING" size="256"/>
  221. <Column id="srchpid" type="STRING" size="256"/>
  222. <Column id="fromdd" type="STRING" size="256"/>
  223. <Column id="todd" type="STRING" size="256"/>
  224. </ColumnInfo>
  225. <Rows>
  226. <Row>
  227. <Col id="instcd"/>
  228. <Col id="srchpid"/>
  229. <Col id="fromdd"/>
  230. <Col id="todd"/>
  231. </Row>
  232. </Rows>
  233. </Dataset>
  234. </Objects>
  235. <Bind>
  236. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send_search" columnid="fromdd"/>
  237. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send_search" columnid="todd"/>
  238. <BindItem id="item2" compid="group2.srchpid" propid="value" datasetid="ds_send_search" columnid="srchpid"/>
  239. <BindItem id="item3" compid="group2.ipt_srchpnm" propid="value" datasetid="ds_send_search" columnid="srchpnm"/>
  240. <BindItem id="item4" compid="group2.ipt_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
  241. </Bind>
  242. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  243. * System Name :
  244. * Job Name :
  245. * Creator :
  246. * Make Date : 2019-08-02
  247. * Description : 직원검진자료 조회
  248. *---------------------------------------------------------------------------------------
  249. * Modify Date Modifier Modify Description
  250. *---------------------------------------------------------------------------------------
  251. *
  252. *
  253. *---------------------------------------------------------------------------------------
  254. ****************************************************************************************/
  255. include "com_commonxp::comm_main.xjs";
  256. include "pam_pamcomnxp::PAM.xjs";
  257. //include "ast_healthexambasexp::healcombolist.xjs";
  258. include "ast_healthexamrsrvacptxp::AHA.xjs";
  259. function SMAHA04097_oninit(obj:Form, e:InitEventInfo)
  260. {
  261. frmf_initForm(obj);
  262. }
  263. function SMAHA04097_onload(obj:Form, e:LoadEventInfo)
  264. {
  265. grdf_initGrid(grd_dtlist);
  266. pamGetDeptCDDrIDList();
  267. var curDD = utlf_getCurrentDate();
  268. ds_send_search.setColumn(0, "fromdd", curDD);
  269. ds_send_search.setColumn(0, "todd", curDD);
  270. }
  271. //환자검색
  272. function group2_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  273. {
  274. fSearchPatInfo("SMAHA00600", "pid", group2.srchpid.value, "N", "ds_send_search", "srchpid", "srchpnm");
  275. }
  276. //조회버튼 클릭
  277. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  278. {
  279. if (utlf_isNull(ds_send_search.getColumn(0, "fromdd")) || utlf_isNull(ds_send_search.getColumn(0, "todd"))
  280. ||(group2.ipt_fromdd.value > group2.ipt_todd.value ))
  281. {
  282. sysf_messageBox("날짜를 확인하세요.", "E999", "");
  283. return false;
  284. }
  285. if(sysf_getUserInfo("dutplceinstcd") == "031")
  286. {
  287. group2.ipt_instcd.value ="031";
  288. }
  289. if(sysf_getUserInfo("dutplceinstcd") == "032")
  290. {
  291. group2.ipt_instcd.value ="032";
  292. }
  293. var oParam = {};
  294. oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
  295. oParam.method = "reqGetEmpList";
  296. oParam.inds = "req=ds_send_search";
  297. oParam.outds = "ds_main_detlinfo_item=item";
  298. oParam.async = false;
  299. tranf_submit(oParam);
  300. //trace(ds_main_detlinfo_item);
  301. //ds_main_datalist.keystring = "G:orddd";
  302. }
  303. function group2_btn_excel_onclick(obj: Button, e: ClickEventInfo)
  304. {
  305. grdf_exportExcel(grd_dtlist, "직원검진결과내역조회", "Sheet1", true, "", 'user', true);
  306. }
  307. ]]></Script>
  308. </Form>
  309. </FDL>