SMMNI01200_예방접종이력.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNI01200" position="absolute 0 0 1256 805" titletext="예방접종이력" oninit="model1_oninit" onload="SMMNI01200_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 10 1195 754" anchor="default" positiontype="position" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout/>
  10. </Layouts>
  11. </Div>
  12. <Div id="grp_btn" position="absolute 0 757 1194 784" anchor="default" positiontype="position" scrollbars="autoboth">
  13. <Layouts>
  14. <Layout>
  15. <Shape id="line9" class="line_6" position="absolute 0 26 1194 27" anchor="default" positiontype="position" linetype="descent"/>
  16. </Layout>
  17. </Layouts>
  18. </Div>
  19. <Div id="group1" position="absolute 0 0 1256 805" anchor="all" positiontype="position" scrollbars="none">
  20. <Layouts>
  21. <Layout>
  22. <Shape id="line6" class="line_1" position="absolute 0 71 1195 71" anchor="default" linetype="horizontal" positiontype="position"/>
  23. <Static id="caption9" class="tit_2" position="absolute 0 77 157 97" style="align:left middle;" anchor="default" text="환자정보 일반" positiontype="position"/>
  24. <Div id="group2" taborder="1" style="align:center top;" position="absolute 0 114 1194 149" anchor="default" positiontype="position">
  25. <Layouts>
  26. <Layout>
  27. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1116 5 1116 27" anchor="default" positiontype="position"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. <Grid id="grd_patinfo" position="absolute 0 97 1256 805" anchor="all" positiontype="position" autofittype="col" binddataset="ds_grid_grd_patinfo" onmousemove="group1_grd_patinfo_onmousemove">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="130"/>
  36. <Column size="80"/>
  37. <Column size="120"/>
  38. <Column size="400"/>
  39. <Column size="145"/>
  40. <Column size="93"/>
  41. <Column size="100"/>
  42. <Column size="200"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell text="접종일"/>
  50. <Cell col="1" text="차수"/>
  51. <Cell col="2" text="처방코드"/>
  52. <Cell col="3" text="처방명"/>
  53. <Cell col="4" text="용량"/>
  54. <Cell col="5" text="경로"/>
  55. <Cell col="6" text="부위"/>
  56. <Cell col="7" text="백신번호(LOT No)"/>
  57. </Band>
  58. <Band id="body">
  59. <Cell displaytype="date" style="align:left;" text="bind:execdd" calendardisplaynulltype="none"/>
  60. <Cell col="1" displaytype="combo" edittype="combo" text="bind:dgno" combodataset="ds_init_combo" combocodecol="value" combodatacol="label"/>
  61. <Cell col="2" style="align:left;" text="bind:prcpcd"/>
  62. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  63. <Cell col="4" style="align:left;" text="bind:prcpvol"/>
  64. <Cell col="5" style="align:left;" text="bind:abbrnm"/>
  65. <Cell col="6" displaytype="combo" text="bind:partflag" combodataset="ds_init_partflaglist" combocodecol="partflag" combodatacol="typenm"/>
  66. <Cell col="7" text="bind:lotno"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Static id="caption6" class="tit_1" position="absolute 0 3 114 28" anchor="default" positiontype="position" text="예방접종이력"/>
  75. <Div id="grp_sea" anchor="left top right" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 28 1256 70">
  76. <Layouts>
  77. <Layout>
  78. <Static id="caption2" text="S/A" class="search_name" position="absolute 395 13 438 33" anchor="default" positiontype="position"/>
  79. <Edit id="opt_gndrage" taborder="4" readonly="true" position="absolute 438 13 483 33" anchor="default" positiontype="position" class="output"/>
  80. <Button id="button3" taborder="5" text="조회" class="btn1" position="absolute 1188 10 1244 30" anchor="right" onclick="button3_onclick" positiontype="position"/>
  81. <Static id="caption11" text="등록번호" class="search_name" position="absolute 7 12 75 31" anchor="default"/>
  82. <Edit id="ipt_pid" taborder="6" position="absolute 77 12 162 31" anchor="default" onkeyup="grp_sea_ipt_pid_onkeyup"/>
  83. <Button id="button61" taborder="7" onclick="group2_button61_onclick" class="icon_search" position="absolute 164 13 180 29" anchor="default"/>
  84. <Static id="caption4" text="환자명" class="search_name" position="absolute 211 12 264 31" anchor="default"/>
  85. <Edit id="opt_hngnm" taborder="8" readonly="true" position="absolute 266 12 351 31" anchor="default" class="output"/>
  86. </Layout>
  87. </Layouts>
  88. </Div>
  89. </Layout>
  90. </Layouts>
  91. <Objects>
  92. <Dataset id="ds_grid_grd_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="execdd" type="STRING"/>
  95. <Column id="prcpcd" type="STRING"/>
  96. <Column id="prcpnm" type="STRING"/>
  97. <Column id="prcpvol" type="STRING"/>
  98. <Column id="dgno" type="STRING"/>
  99. <Column id="partflag" type="STRING"/>
  100. <Column id="lotno" type="STRING"/>
  101. </ColumnInfo>
  102. </Dataset>
  103. <Dataset id="ds_init_combo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  104. <ColumnInfo>
  105. <Column id="label" type="STRING" size="256"/>
  106. <Column id="value" type="STRING" size="256"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row>
  110. <Col id="label">1차</Col>
  111. <Col id="value">1</Col>
  112. </Row>
  113. <Row>
  114. <Col id="label">2차</Col>
  115. <Col id="value">2</Col>
  116. </Row>
  117. <Row>
  118. <Col id="label">3차</Col>
  119. <Col id="value">3</Col>
  120. </Row>
  121. <Row>
  122. <Col id="label">4차</Col>
  123. <Col id="value">4</Col>
  124. </Row>
  125. <Row>
  126. <Col id="label">5차</Col>
  127. <Col id="value">5</Col>
  128. </Row>
  129. </Rows>
  130. </Dataset>
  131. <Dataset id="ds_init_partflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  132. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  133. <Dataset id="ds_data_rghtreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  134. <ColumnInfo>
  135. <Column id="pid" type="STRING" size="256"/>
  136. <Column id="hngnm" type="STRING" size="256"/>
  137. <Column id="gndrage" type="STRING" size="256"/>
  138. </ColumnInfo>
  139. <Rows>
  140. <Row/>
  141. </Rows>
  142. </Dataset>
  143. </Objects>
  144. <Bind>
  145. <BindItem id="item2" compid="grp_sea.opt_gndrage" propid="value" datasetid="ds_data_rghtreflist" columnid="gndrage"/>
  146. <BindItem id="item0" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_data_rghtreflist" columnid="pid"/>
  147. <BindItem id="item1" compid="grp_sea.opt_hngnm" propid="value" datasetid="ds_data_rghtreflist" columnid="hngnm"/>
  148. </Bind>
  149. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  150. * System Name : KU2.0
  151. * Job Name :
  152. * File Name : SMMNI01200_예방접종이력.xfdl
  153. * Creator :
  154. * Make Date : 2016-04-27
  155. *
  156. * Description :
  157. *---------------------------------------------------------------------------------------
  158. * Modify Date Modifier Modify Description
  159. *---------------------------------------------------------------------------------------
  160. *
  161. *---------------------------------------------------------------------------------------
  162. ****************************************************************************************/
  163. include "com_commonxp::comm_main.xjs";
  164. include "emr_injroomxp::SMMNI01200.xjs";
  165. /****************************************************************************************
  166. * Components :
  167. * Components ID : SMMNI01200
  168. * Event : onload
  169. * Argument : 01.obj : Object Event has occurred
  170. * : 02.e : Event Object
  171. * Description :
  172. ****************************************************************************************/
  173. function SMMNI01200_onload(obj:Form, e:LoadEventInfo)
  174. {
  175. frmf_initForm(obj);
  176. grdf_setToolTipBind(group1.grd_patinfo);
  177. fpartflaginfo();
  178. var param = opener.frmf_getParameter("SMMNI01200_pid");
  179. if (utlf_isNull(param)) {
  180. var sPamInfo = sysf_getGlobalVariable("paminfo");
  181. dsf_setCSVToDs("ds_paminfo",sPamInfo);
  182. var uppid = "";
  183. uppid = ds_paminfo.getColumn(0,"pid");
  184. var uphngnm = "";
  185. uphngnm = ds_paminfo.getColumn(0,"hngnm");
  186. var upgndrage = "";
  187. upgndrage = ds_paminfo.getColumn(0,"sex") + "/" + ds_paminfo.getColumn(0,"age");
  188. if(!utlf_isNull(uppid)){
  189. grp_sea.ipt_pid.value = uppid;
  190. fpidref("new");
  191. }
  192. }
  193. }
  194. /****************************************************************************************
  195. * Components :
  196. * Components ID : button3
  197. * Event : onclick
  198. * Argument : 01.obj : Object Event has occurred
  199. * : 02.e : Event Object
  200. * Description :
  201. ****************************************************************************************/
  202. function button3_onclick(obj:Button, e:ClickEventInfo)
  203. {
  204. fpatinforef();
  205. }
  206. function group2_button61_onclick(obj:Button, e:ClickEventInfo)
  207. {
  208. fPatSrch();
  209. }
  210. function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  211. {
  212. if(e.keycode == 13) {
  213. obj.updateToDataset();
  214. fpidref("new");
  215. }
  216. }
  217. ]]></Script>
  218. </Form>
  219. </FDL>