SPMMO17300_환자수진이력.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO17300" position="absolute 0 0 800 250" titletext="환자진료정보" oninit="SPMMO17300_oninit" onload="SPMMO17300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 0 25 800 250" id="datagrid1" binddataset="ds_patordinfolist" oncelldblclick="datagrid1_oncelldblclick" cellsizingtype="col" autofittype="col">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="40"/>
  12. <Column size="70"/>
  13. <Column size="69"/>
  14. <Column size="39"/>
  15. <Column size="80"/>
  16. <Column size="40"/>
  17. <Column size="53"/>
  18. <Column size="91"/>
  19. <Column size="105"/>
  20. <Column size="70"/>
  21. <Column size="60"/>
  22. <Column size="77"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell text="구분"/>
  36. <Cell col="1" text="환자번호"/>
  37. <Cell col="2" text="이름"/>
  38. <Cell col="3" text="S/A"/>
  39. <Cell col="4" text="진료(입원)일"/>
  40. <Cell col="5" text="시간"/>
  41. <Cell col="6" text="병실"/>
  42. <Cell col="7" text="센터"/>
  43. <Cell col="8" text="진료과"/>
  44. <Cell col="9" text="진료의"/>
  45. <Cell col="10" text="예약구분"/>
  46. <Cell col="11" text="협진팀"/>
  47. <Cell col="12" text="orddeptcd"/>
  48. <Cell col="13" text="cretno"/>
  49. <Cell col="14" text="dschdd"/>
  50. <Cell col="15" text="centcd"/>
  51. <Cell col="16" text="subdeptcd"/>
  52. <Cell col="17" text="orddrid"/>
  53. </Band>
  54. <Band id="body">
  55. <Cell displaytype="combo" edittype="none" style="align:center;" text="bind:ioflag" combodataset="ds_ioflag" combocodecol="value" combodatacol="label"/>
  56. <Cell col="1" style="align:center middle;" text="bind:pid"/>
  57. <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
  58. <Cell col="3" style="align:center middle;" text="bind:sa"/>
  59. <Cell col="4" displaytype="date" style="align:center middle;" text="bind:orddd"/>
  60. <Cell col="5" text="bind:ordtm" mask="##:##"/>
  61. <Cell col="6" style="align:center middle;" text="bind:roomcd"/>
  62. <Cell col="7" style="align:left middle;" text="bind:centnm"/>
  63. <Cell col="8" style="align:left middle;" text="bind:orddeptnm"/>
  64. <Cell col="9" text="bind:orddrnm"/>
  65. <Cell col="10" style="align:center middle;" text="bind:rsrvflagnm"/>
  66. <Cell col="11" displaytype="combo" edittype="none" style="align:left middle;" text="bind:coopteamcd" combodataset="ds_M0525" combocodecol="cdid" combodatacol="cdnm"/>
  67. <Cell col="12" text="bind:orddeptcd"/>
  68. <Cell col="13" text="bind:cretno"/>
  69. <Cell col="14" text="bind:dschdd"/>
  70. <Cell col="15" text="bind:centcd"/>
  71. <Cell col="16" text="bind:subdeptcd"/>
  72. <Cell col="17" text="bind:orddrid"/>
  73. </Band>
  74. </Format>
  75. </Formats>
  76. </Grid>
  77. <Static text="환자 수진이력조회" position="absolute 3 6 146 26" id="caption1" class="tit_2"/>
  78. </Layout>
  79. </Layouts>
  80. <Objects>
  81. <Dataset id="ds_patordinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  82. <ColumnInfo>
  83. <Column id="ioflag" type="STRING"/>
  84. <Column id="pid" type="STRING"/>
  85. <Column id="hngnm" type="STRING"/>
  86. <Column id="sa" type="STRING"/>
  87. <Column id="orddd" type="STRING"/>
  88. <Column id="roomcd" type="STRING"/>
  89. <Column id="centnm" type="STRING"/>
  90. <Column id="orddeptnm" type="STRING"/>
  91. <Column id="subdeptnm" type="STRING"/>
  92. <Column id="coopteamcd" type="STRING"/>
  93. <Column id="orddrnm" type="STRING"/>
  94. <Column id="orddeptcd" type="STRING"/>
  95. <Column id="cretno" type="STRING"/>
  96. <Column id="dschdd" type="STRING"/>
  97. <Column id="centcd" type="STRING"/>
  98. <Column id="subdeptcd" type="STRING"/>
  99. <Column id="orddrid" type="STRING"/>
  100. <Column id="ordtm" type="STRING"/>
  101. <Column id="dschdd" type="STRING"/>
  102. <Column id="rsrvflagnm" type="STRING"/>
  103. </ColumnInfo>
  104. </Dataset>
  105. <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  106. <ColumnInfo>
  107. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  108. <Column id="fromdd" type="STRING" size="256" sumtext="조회시작일"/>
  109. <Column id="todd" type="STRING" size="256" sumtext="조회종료일"/>
  110. <Column id="openid" type="STRING" size="256" sumtext="호출 화면코드"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row/>
  114. </Rows>
  115. </Dataset>
  116. <Dataset id="ds_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  117. <ColumnInfo>
  118. <Column id="label" type="STRING" size="256"/>
  119. <Column id="value" type="STRING" size="256"/>
  120. </ColumnInfo>
  121. <Rows>
  122. <Row>
  123. <Col id="label">입원</Col>
  124. <Col id="value">I</Col>
  125. </Row>
  126. <Row>
  127. <Col id="label">외래</Col>
  128. <Col id="value">O</Col>
  129. </Row>
  130. <Row>
  131. <Col id="label">응급</Col>
  132. <Col id="value">E</Col>
  133. </Row>
  134. <Row>
  135. <Col id="label">건강검진</Col>
  136. <Col id="value">S</Col>
  137. </Row>
  138. <Row>
  139. <Col id="label">DSC</Col>
  140. <Col id="value">D</Col>
  141. </Row>
  142. </Rows>
  143. </Dataset>
  144. <Dataset id="ds_M0525" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  145. </Objects>
  146. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  147. * System Name :
  148. * Job Name :
  149. * Creator :
  150. * Make Date : 2014-08-29
  151. * Description :
  152. *---------------------------------------------------------------------------------------
  153. * Modify Date Modifier Modify Description
  154. *---------------------------------------------------------------------------------------
  155. * 2014-08-29 Live Converter TF->XP
  156. *
  157. *---------------------------------------------------------------------------------------
  158. ****************************************************************************************/
  159. include "com_commonxp::comm_main.xjs";
  160. include "emr_prcpmngtxp::MMO001.xjs";
  161. function SPMMO17300_oninit(obj:Form, e:InitEventInfo)
  162. {
  163. frmf_initForm(obj);
  164. }
  165. function SPMMO17300_onload(obj:Form, e:LoadEventInfo)
  166. {
  167. appf_getCodeList([{dsNm: "ds_M0525", cdGrpId: "M0525"}], true);
  168. var pid = opener.frmf_getParameter("SPMMO017300_pid");
  169. var fromdd = opener.frmf_getParameter("SPMMO017300_fromdd");
  170. var todd = opener.frmf_getParameter("SPMMO017300_todd");
  171. var openid = opener.frmf_getParameter("SPMMO017300_openid");
  172. ds_reqdata.setColumn(0, "pid", pid);
  173. ds_reqdata.setColumn(0, "fromdd", fromdd);
  174. ds_reqdata.setColumn(0, "todd", todd);
  175. ds_reqdata.setColumn(0, "openid", openid);
  176. var oParam = {};
  177. oParam.id = "TRMMO17301";
  178. oParam.service = "prcpmngtapp.ConcPatMngt";
  179. oParam.method = "reqGetPatOrdInfo";
  180. oParam.inds = "req=" + "ds_reqdata";
  181. oParam.outds = "ds_patordinfolist=patordinfolist";
  182. oParam.async = false;
  183. tranf_submit(oParam);
  184. if (ds_patordinfolist.rowcount == 1) {
  185. fSelPatInfo(0);
  186. }
  187. }
  188. function datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  189. {
  190. fSelPatInfo(e.row);
  191. }
  192. function fSelPatInfo(row) {
  193. opener.frmf_setParameter("SPMMO017300_pid" , ds_patordinfolist.getColumn(row, "pid"));
  194. opener.frmf_setParameter("SPMMO017300_hngnm" , ds_patordinfolist.getColumn(row, "hngnm"));
  195. opener.frmf_setParameter("SPMMO017300_sa" , ds_patordinfolist.getColumn(row, "sa"));
  196. opener.frmf_setParameter("SPMMO017300_cretno" , ds_patordinfolist.getColumn(row, "cretno"));
  197. opener.frmf_setParameter("SPMMO017300_orddd" , ds_patordinfolist.getColumn(row, "orddd"));
  198. opener.frmf_setParameter("SPMMO017300_cnstdeptcd", ds_patordinfolist.getColumn(row, "orddeptcd"));
  199. opener.frmf_setParameter("SPMMO017300_orddeptcd" , ds_patordinfolist.getColumn(row, "orddeptcd"));
  200. opener.frmf_setParameter("SPMMO017300_orddrid" , ds_patordinfolist.getColumn(row, "orddrid"));
  201. opener.frmf_setParameter("SPMMO017300_coopteamcd", ds_patordinfolist.getColumn(row, "coopteamcd"));
  202. opener.frmf_setParameter("SPMMO017300_orddrnm" , ds_patordinfolist.getColumn(row, "orddrnm"));
  203. opener.frmf_setParameter("SPMMO017300_ioflag" , ds_patordinfolist.getColumn(row, "ioflag"));
  204. opener.frmf_setParameter("SPMMO017300_roomcd" , ds_patordinfolist.getColumn(row, "roomcd"));
  205. opener.frmf_setParameter("SPMMO017300_ordtm" , ds_patordinfolist.getColumn(row, "ordtm"));
  206. opener.frmf_setParameter("SPMMO017300_dschdd" , ds_patordinfolist.getColumn(row, "dschdd"));
  207. close();
  208. }]]></Script>
  209. </Form>
  210. </FDL>