SPMNW15200_검사실전달사항 처방조회 팝업.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNW15200" position="absolute 0 0 884 439" titletext="검사 처방 조회" oninit="SPMNW15200_oninit" onload="SPMNW15200_onload">
  5. <Layouts>
  6. <Layout>
  7. <CheckBox position="absolute 9 36 29 56" id="bool1" taborder="19"/>
  8. <Button position="absolute 820 405 876 427" id="btn_cancel" class="btn4" text="확인" onclick="btn_cancel_onclick"/>
  9. <Static text="검사 처방 조회" position="absolute 5 11 216 29" id="caption21" class="tit_2"/>
  10. <Shape position="absolute 5 27 880 35" linetype="horizontal" id="line16" class="line_10"/>
  11. <Shape position="absolute 5 428 880 434" linetype="horizontal" id="line2" class="line_3"/>
  12. <Button position="absolute 760 405 816 427" id="button1" class="btn4" text="닫기" onclick="button1_onclick"/>
  13. <Grid id="grd_examprcplist" class="datagrid2" taborder="20" binddataset="ds_main_examprcpinfo_examprcplist" useinputpanel="false" position="absolute 5 33 880 400">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="25"/>
  18. <Column size="55"/>
  19. <Column size="56"/>
  20. <Column size="57"/>
  21. <Column size="71"/>
  22. <Column size="39"/>
  23. <Column size="101"/>
  24. <Column size="97"/>
  25. <Column size="133"/>
  26. <Column size="130"/>
  27. <Column size="66"/>
  28. <Column size="100"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell displaytype="checkbox" edittype="checkbox"/>
  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="S/A"/>
  55. <Cell col="6" text="예약일자"/>
  56. <Cell col="7" text="검사실"/>
  57. <Cell col="8" text="처방명"/>
  58. <Cell col="9" text="처방전달사항"/>
  59. <Cell col="10" text="실시일자"/>
  60. <Cell col="11" text="지원부서"/>
  61. <Cell col="12"/>
  62. <Cell col="13"/>
  63. <Cell col="14"/>
  64. <Cell col="15"/>
  65. <Cell col="16"/>
  66. <Cell col="17"/>
  67. <Cell col="18"/>
  68. <Cell col="19"/>
  69. <Cell col="20"/>
  70. <Cell col="21"/>
  71. <Cell col="22"/>
  72. <Cell col="23"/>
  73. <Cell col="24"/>
  74. <Cell col="25"/>
  75. </Band>
  76. <Band id="body">
  77. <Cell displaytype="checkbox" edittype="checkbox" text="bind:check"/>
  78. <Cell col="1" text="bind:pid"/>
  79. <Cell col="2" text="bind:wardnm"/>
  80. <Cell col="3" text="bind:roomcd"/>
  81. <Cell col="4" text="bind:patnm"/>
  82. <Cell col="5" text="bind:sexage"/>
  83. <Cell col="6" displaytype="text" text="bind:rsrvdt" mask="####-##-## ##:##"/>
  84. <Cell col="7" text="bind:examroom"/>
  85. <Cell col="8" text="bind:prcpnm"/>
  86. <Cell col="9" text="bind:prcpdelivefact"/>
  87. <Cell col="10" text="bind:execdd" mask="yyyy-mm-dd"/>
  88. <Cell col="11" text="bind:prcpexecdeptnm"/>
  89. <Cell col="12" text="bind:instcd"/>
  90. <Cell col="13" text="bind:indd"/>
  91. <Cell col="14" text="bind:cretno"/>
  92. <Cell col="15" text="bind:prcpdd"/>
  93. <Cell col="16" text="bind:prcpno"/>
  94. <Cell col="17" text="bind:prcphistno"/>
  95. <Cell col="18" text="bind:prcpclscd"/>
  96. <Cell col="19" text="bind:rsrvdd"/>
  97. <Cell col="20" text="bind:rsrvtm"/>
  98. <Cell col="21" text="bind:sex"/>
  99. <Cell col="22" text="bind:age"/>
  100. <Cell col="23" text="bind:brthdd"/>
  101. <Cell col="24" text="bind:wardcd"/>
  102. <Cell col="25" text="bind:prcpexecdeptcd"/>
  103. </Band>
  104. </Format>
  105. </Formats>
  106. </Grid>
  107. </Layout>
  108. </Layouts>
  109. <Objects>
  110. <Dataset id="ds_grd_examprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  111. <ColumnInfo>
  112. <Column id="check" type="STRING"/>
  113. <Column id="pid" type="STRING"/>
  114. <Column id="wardnm" type="STRING"/>
  115. <Column id="roomcd" type="STRING"/>
  116. <Column id="patnm" type="STRING"/>
  117. <Column id="sexage" type="STRING"/>
  118. <Column id="rsrvdt" type="STRING"/>
  119. <Column id="examroom" type="STRING"/>
  120. <Column id="prcpnm" type="STRING"/>
  121. <Column id="prcpdelivefact" type="STRING"/>
  122. <Column id="execdd" type="STRING"/>
  123. <Column id="prcpexecdeptnm" type="STRING"/>
  124. <Column id="instcd" type="STRING"/>
  125. <Column id="indd" type="STRING"/>
  126. <Column id="cretno" type="STRING"/>
  127. <Column id="prcpdd" type="STRING"/>
  128. <Column id="prcpno" type="STRING"/>
  129. <Column id="prcphistno" type="STRING"/>
  130. <Column id="prcpclscd" type="STRING"/>
  131. <Column id="rsrvdd" type="STRING"/>
  132. <Column id="rsrvtm" type="STRING"/>
  133. <Column id="sex" type="STRING"/>
  134. <Column id="age" type="STRING"/>
  135. <Column id="brthdd" type="STRING"/>
  136. <Column id="wardcd" type="STRING"/>
  137. <Column id="prcpexecdeptcd" type="STRING"/>
  138. </ColumnInfo>
  139. </Dataset>
  140. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  141. <Dataset id="ds_main_examprcpinfo_examprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  142. <ColumnInfo>
  143. <Column id="check" type="STRING" size="256" sumtext="선택"/>
  144. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  145. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  146. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  147. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  148. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  149. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
  150. <Column id="examroom" type="STRING" size="256" sumtext="검사실"/>
  151. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  152. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방전달사항"/>
  153. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  154. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  155. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  156. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  157. <Column id="prcpno" type="STRING" size="256" sumtext="처방일자별 일련번호"/>
  158. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력발생할때마다생성"/>
  159. <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
  160. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  161. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  162. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  163. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  164. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  165. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  166. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
  167. <Column id="prcpexecdeptnm" type="STRING" size="256" sumtext="지원부서명"/>
  168. <Column id="execdd" type="STRING" size="256" sumtext="처방실시일자"/>
  169. </ColumnInfo>
  170. </Dataset>
  171. <Dataset id="ds_tmp_examtrnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  172. <ColumnInfo>
  173. <Column id="check" type="STRING" size="256" sumtext="선택"/>
  174. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  175. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  176. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  177. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  178. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  179. <Column id="rsrvdt" type="STRING" size="256" sumtext="예약일시"/>
  180. <Column id="examroom" type="STRING" size="256" sumtext="검사실"/>
  181. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  182. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="처방전달사항"/>
  183. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  184. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  185. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  186. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  187. <Column id="prcpno" type="STRING" size="256" sumtext="처방일자별 일련번호"/>
  188. <Column id="prcphistno" type="STRING" size="256" sumtext="처방이력발생할때마다생성"/>
  189. <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류코드"/>
  190. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  191. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  192. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  193. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  194. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  195. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  196. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
  197. <Column id="prcpexecdeptnm" type="STRING" size="256" sumtext="지원부서명"/>
  198. <Column id="execdd" type="STRING" size="256" sumtext="처방실시일자"/>
  199. </ColumnInfo>
  200. </Dataset>
  201. </Objects>
  202. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  203. * System Name :
  204. * Job Name :
  205. * Creator :
  206. * Make Date : 2016-11-17
  207. * Description :
  208. *---------------------------------------------------------------------------------------
  209. * Modify Date Modifier Modify Description
  210. *---------------------------------------------------------------------------------------
  211. * 2016-11-17 Live Converter TF->XP
  212. *
  213. *---------------------------------------------------------------------------------------
  214. ****************************************************************************************/
  215. include "com_commonxp::comm_main.xjs";
  216. function SPMNW15200_oninit(obj:Form, e:InitEventInfo)
  217. {
  218. frmf_initForm(obj); //폼 초기화
  219. }
  220. function SPMNW15200_onload(obj:Form, e:LoadEventInfo)
  221. {
  222. grdf_initGrid(grd_examprcplist);
  223. if(frmf_checkOpener() ) {
  224. pid = opener.frmf_getParameter("SMMNW15100_PARAM1");
  225. dsf_makeValue(ds_send_req, "pid", "string", pid);
  226. var oParam = {};
  227. oParam.id = "TRMNW15200";
  228. oParam.service = "wardcareapp.WardCareMngt";
  229. oParam.method = "reqGetExamPrcpList";
  230. oParam.inds = "req=ds_send_req";
  231. oParam.outds = "ds_main_examprcpinfo_examprcplist=examprcplist";
  232. oParam.async = false;
  233. //oParam.callback = "cf_TRMNW15200";
  234. tranf_submit(oParam);
  235. dsf_setFixVal(ds_main_examprcpinfo_examprcplist, "check:0");
  236. }
  237. }
  238. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  239. {
  240. var cnt = 0;
  241. var chkyn = "";
  242. for(var i=0; i < ds_main_examprcpinfo_examprcplist.rowcount; i++) {
  243. chkyn = ds_main_examprcpinfo_examprcplist.getColumn(i, "check");
  244. if(chkyn == "true" || chkyn == "1") {
  245. cnt = ds_tmp_examtrnslist.addRow();
  246. ds_tmp_examtrnslist.copyRow(cnt, ds_main_examprcpinfo_examprcplist, i);
  247. }
  248. }
  249. if(cnt == 0){
  250. sysf_messageBox("선택된 내역이 없습니다.", "I");
  251. return;
  252. }else if(cnt != 0){
  253. //model.copyNode(opener.root.tmp, root.tmp);
  254. opener.ds_tmp_examtrnslist.copyData(ds_tmp_examtrnslist);
  255. }
  256. ds_tmp_examtrnslist.clearData();
  257. this.close();
  258. }
  259. function button1_onclick(obj:Button, e:ClickEventInfo)
  260. {
  261. this.close();
  262. }
  263. ]]></Script>
  264. </Form>
  265. </FDL>