SMMNR01001_수혈간호기록팝업.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNR01001" position="absolute 0 0 1100 310" titletext="혈액불출 신청" oninit="SMMNR01001_oninit" onload="SMMNR01001_onload" onbeforeclose="SMMNR01001_onbeforeclose">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1080 305" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="혈액불출 신청" position="absolute 5 5 120 21" id="caption1" class="tit_2"/>
  11. <Shape position="absolute 0 22 905 28" linetype="vertical" id="line1" class="line_1"/>
  12. <Grid position="absolute 0 25 1075 295" id="grd_execpopwnddetlgruplist" binddataset="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" autoenter="select" ontextchange="group3_grd_execpopwnddetlgruplist_ontextchange">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="25"/>
  17. <Column size="0"/>
  18. <Column size="65"/>
  19. <Column size="195"/>
  20. <Column size="84"/>
  21. <Column size="55"/>
  22. <Column size="29"/>
  23. <Column size="29"/>
  24. <Column size="100"/>
  25. <Column size="55"/>
  26. <Column size="150"/>
  27. <Column size="110"/>
  28. <Column size="60"/>
  29. <Column size="100"/>
  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. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text="상태"/>
  49. <Cell col="2" text="처방코드"/>
  50. <Cell col="3" text="처방명"/>
  51. <Cell col="4" text="불출가능수량"/>
  52. <Cell col="5" text="신청수량"/>
  53. <Cell col="6" text="Irr"/>
  54. <Cell col="7" text="Fil"/>
  55. <Cell col="8" text="예약일자"/>
  56. <Cell col="9" text="예약시간"/>
  57. <Cell col="10" text="전달사항"/>
  58. <Cell col="11" text="간호사 Remark"/>
  59. <Cell col="12" text="처방의"/>
  60. <Cell col="13" text="처방일시"/>
  61. <Cell col="14" text="순번"/>
  62. <Cell col="15" text="처방번호"/>
  63. <Cell col="16" text="처방이력번호"/>
  64. <Cell col="17" text="등록번호"/>
  65. <Cell col="18" text="불출구분"/>
  66. <Cell col="19" text="prcpdd2"/>
  67. <Cell col="20" text="posinstcd"/>
  68. <Cell col="21" text="wardcd"/>
  69. <Cell col="22" text="roomcd"/>
  70. <Cell col="23" text="issdeptcd"/>
  71. <Cell col="24" text="setrsrvyn"/>
  72. </Band>
  73. <Band id="body">
  74. <Cell celltype="head" expr="expr:currow + 1"/>
  75. <Cell col="1" displaytype="combo" edittype="combo" text="bind:stat" combodataset="ds_stat" combocodecol="value" combodatacol="label"/>
  76. <Cell col="2" text="bind:prcpcd"/>
  77. <Cell col="3" style="align:left;" text="bind:prcpnm"/>
  78. <Cell col="4" displaytype="number" text="bind:delivepossno"/>
  79. <Cell col="5" displaytype="text" edittype="mask" style="align:right;" text="bind:appno" mask="##" maskchar=" " editautoselect="true" editautoskip="true"/>
  80. <Cell col="6" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:irr" enable="false"/>
  81. <Cell col="7" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:fil" enable="false"/>
  82. <Cell col="8" displaytype="date" edittype="date" text="bind:prcphopedd" calendardisplaynulltype="none"/>
  83. <Cell col="9" displaytype="normal" edittype="mask" text="bind:prcphopetm" mask="##:##" maskchar=" " editautoselect="true"/>
  84. <Cell col="10" text="bind:prcpdelivefact"/>
  85. <Cell col="11" displaytype="text" edittype="text" text="bind:nursrem"/>
  86. <Cell col="12" text="bind:usernm"/>
  87. <Cell col="13" text="bind:prcpdd"/>
  88. <Cell col="14" text="bind:num"/>
  89. <Cell col="15" text="bind:prcpno"/>
  90. <Cell col="16" text="bind:prcphistno"/>
  91. <Cell col="17" text="bind:pid"/>
  92. <Cell col="18" text="bind:execflag"/>
  93. <Cell col="19" text="bind:prcpdd2"/>
  94. <Cell col="20" text="bind:posinstcd"/>
  95. <Cell col="21" text="bind:wardcd"/>
  96. <Cell col="22" text="bind:roomcd"/>
  97. <Cell col="23" text="bind:issdeptcd"/>
  98. <Cell col="24" text="bind:setrsrvyn"/>
  99. </Band>
  100. </Format>
  101. </Formats>
  102. </Grid>
  103. <Button position="absolute 1008 3 1072 22" id="button12" class="btn2" text="신청저장" onclick="group3_button12_onclick"/>
  104. <Div position="absolute 285 80 720 240" id="grp_msg" visible="false">
  105. <Layouts>
  106. <Layout>
  107. <Static position="absolute 10 8 425 128" align="align:center middle;" id="cap_msg" class="cell_1"/>
  108. <Radio position="absolute 160 106 285 122" id="rdo_msgcnfm" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  109. <Dataset id="innerdataset">
  110. <ColumnInfo>
  111. <Column id="codecolumn"/>
  112. <Column id="datacolumn"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="codecolumn">Y</Col>
  117. <Col id="datacolumn">예</Col>
  118. </Row>
  119. <Row>
  120. <Col id="codecolumn">N</Col>
  121. <Col id="datacolumn">아니오</Col>
  122. </Row>
  123. </Rows>
  124. </Dataset>
  125. </Radio>
  126. <Button position="absolute 175 133 255 155" id="button1" class="btn1" text="확 인" onclick="group3_grp_msg_button1_onclick"/>
  127. </Layout>
  128. </Layouts>
  129. </Div>
  130. </Layout>
  131. </Layouts>
  132. </Div>
  133. </Layout>
  134. </Layouts>
  135. <Objects>
  136. <Dataset id="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged">
  137. <ColumnInfo>
  138. <Column id="stat" type="STRING"/>
  139. <Column id="prcpcd" type="STRING"/>
  140. <Column id="prcpnm" type="STRING"/>
  141. <Column id="delivepossno" type="STRING"/>
  142. <Column id="appno" type="STRING"/>
  143. <Column id="irr" type="STRING"/>
  144. <Column id="fil" type="STRING"/>
  145. <Column id="prcphopedd" type="STRING"/>
  146. <Column id="prcphopetm" type="STRING"/>
  147. <Column id="prcpdelivefact" type="STRING"/>
  148. <Column id="nursrem" type="STRING"/>
  149. <Column id="usernm" type="STRING"/>
  150. <Column id="prcpdd" type="STRING"/>
  151. <Column id="num" type="STRING"/>
  152. <Column id="prcpno" type="STRING"/>
  153. <Column id="prcphistno" type="STRING"/>
  154. <Column id="pid" type="STRING"/>
  155. <Column id="execflag" type="STRING"/>
  156. <Column id="prcpdd2" type="STRING"/>
  157. <Column id="posinstcd" type="STRING"/>
  158. <Column id="wardcd" type="STRING"/>
  159. <Column id="roomcd" type="STRING"/>
  160. <Column id="issdeptcd" type="STRING"/>
  161. <Column id="setrsrvyn" type="STRING"/>
  162. </ColumnInfo>
  163. <Rows>
  164. <Row/>
  165. </Rows>
  166. </Dataset>
  167. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="prcpddfrom" type="STRING" size="256" sumtext="시행일자시작"/>
  170. <Column id="prcpddto" type="STRING" size="256" sumtext="시행일자끝"/>
  171. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  172. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  173. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  174. <Column id="queryprcpdd" type="STRING" size="256" sumtext="선택처방일자"/>
  175. <Column id="queryprcpno" type="STRING" size="256" sumtext="선택처방번호"/>
  176. <Column id="queryprcphistno" type="STRING" size="256" sumtext="선택처방이력번호"/>
  177. <Column id="execflag" type="STRING" size="256" sumtext="신청구분"/>
  178. <Column id="ioparam" type="STRING" size="256" sumtext="외래병동구분"/>
  179. </ColumnInfo>
  180. <Rows>
  181. <Row/>
  182. </Rows>
  183. </Dataset>
  184. <Dataset id="ds_temp_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged">
  185. <ColumnInfo>
  186. <Column id="stat" type="STRING"/>
  187. <Column id="prcpcd" type="STRING"/>
  188. <Column id="prcpnm" type="STRING"/>
  189. <Column id="delivepossno" type="STRING"/>
  190. <Column id="appno" type="STRING"/>
  191. <Column id="irr" type="STRING"/>
  192. <Column id="fil" type="STRING"/>
  193. <Column id="prcphopedd" type="STRING"/>
  194. <Column id="prcphopetm" type="STRING"/>
  195. <Column id="prcpdelivefact" type="STRING"/>
  196. <Column id="nursrem" type="STRING"/>
  197. <Column id="usernm" type="STRING"/>
  198. <Column id="prcpdd" type="STRING"/>
  199. <Column id="num" type="STRING"/>
  200. <Column id="prcpno" type="STRING"/>
  201. <Column id="prcphistno" type="STRING"/>
  202. <Column id="pid" type="STRING"/>
  203. <Column id="execflag" type="STRING"/>
  204. <Column id="prcpdd2" type="STRING"/>
  205. <Column id="posinstcd" type="STRING"/>
  206. <Column id="wardcd" type="STRING"/>
  207. <Column id="roomcd" type="STRING"/>
  208. <Column id="issdeptcd" type="STRING"/>
  209. <Column id="setrsrvyn" type="STRING"/>
  210. </ColumnInfo>
  211. </Dataset>
  212. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  213. <ColumnInfo>
  214. <Column id="ocrprntyn" type="STRING" size="256"/>
  215. <Column id="ocrtargetyn" type="STRING" size="256"/>
  216. </ColumnInfo>
  217. <Rows>
  218. <Row/>
  219. </Rows>
  220. </Dataset>
  221. <Dataset id="ds_hidden_ocrprint_calcscor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="pid" type="STRING" size="256"/>
  224. <Column id="cretno" type="STRING" size="256"/>
  225. <Column id="orddd" type="STRING" size="256"/>
  226. <Column id="ordtype" type="STRING" size="256"/>
  227. <Column id="calcscorcd" type="STRING" size="256"/>
  228. <Column id="disflag" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. <Rows>
  231. <Row/>
  232. </Rows>
  233. </Dataset>
  234. <Dataset id="ds_send_detlgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  235. <ColumnInfo>
  236. <Column id="stat" type="STRING"/>
  237. <Column id="prcpcd" type="STRING"/>
  238. <Column id="prcpnm" type="STRING"/>
  239. <Column id="delivepossno" type="STRING"/>
  240. <Column id="appno" type="STRING"/>
  241. <Column id="irr" type="STRING"/>
  242. <Column id="fil" type="STRING"/>
  243. <Column id="prcphopedd" type="STRING"/>
  244. <Column id="prcphopetm" type="STRING"/>
  245. <Column id="prcpdelivefact" type="STRING"/>
  246. <Column id="nursrem" type="STRING"/>
  247. <Column id="usernm" type="STRING"/>
  248. <Column id="prcpdd" type="STRING"/>
  249. <Column id="num" type="STRING"/>
  250. <Column id="prcpno" type="STRING"/>
  251. <Column id="prcphistno" type="STRING"/>
  252. <Column id="pid" type="STRING"/>
  253. <Column id="execflag" type="STRING"/>
  254. <Column id="prcpdd2" type="STRING"/>
  255. <Column id="posinstcd" type="STRING"/>
  256. <Column id="wardcd" type="STRING"/>
  257. <Column id="roomcd" type="STRING"/>
  258. <Column id="issdeptcd" type="STRING"/>
  259. <Column id="setrsrvyn" type="STRING"/>
  260. </ColumnInfo>
  261. </Dataset>
  262. <Dataset id="ds_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  263. <ColumnInfo>
  264. <Column id="label" type="STRING" size="256"/>
  265. <Column id="value" type="STRING" size="256"/>
  266. </ColumnInfo>
  267. <Rows>
  268. <Row>
  269. <Col id="label">-</Col>
  270. <Col id="value">-</Col>
  271. </Row>
  272. <Row>
  273. <Col id="label">신규</Col>
  274. <Col id="value">I</Col>
  275. </Row>
  276. <Row>
  277. <Col id="label">수정</Col>
  278. <Col id="value">U</Col>
  279. </Row>
  280. <Row>
  281. <Col id="label">삭제</Col>
  282. <Col id="value">D</Col>
  283. </Row>
  284. </Rows>
  285. </Dataset>
  286. </Objects>
  287. <Bind>
  288. <BindItem id="item0" compid="group3.grp_msg.rdo_msgcnfm" propid="value" datasetid="ds_main_cond" columnid="ocrprntyn"/>
  289. </Bind>
  290. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  291. * System Name : 경대 의료정보시스템
  292. * Job Name : emr_carerecxp -> SMMNR01001
  293. * Creator : yjh
  294. * Make Date : 2016-05-02
  295. * Description :
  296. *---------------------------------------------------------------------------------------
  297. * Modify Date Modifier Modify Description
  298. *---------------------------------------------------------------------------------------
  299. * 2016-05-02 yjh TF->XP
  300. *
  301. *---------------------------------------------------------------------------------------
  302. ****************************************************************************************/
  303. //=======================================================================================
  304. // Lib Include
  305. //---------------------------------------------------------------------------------------
  306. include "com_commonxp::comm_main.xjs";
  307. include "emr_carerecxp::SMMNR01000.xjs";
  308. include "emr_carecomxp::CareCom.xjs";
  309. //=======================================================================================
  310. // Global Form Variable
  311. //---------------------------------------------------------------------------------------
  312. var wincloseButton = false;
  313. //=======================================================================================
  314. // Function
  315. //---------------------------------------------------------------------------------------
  316. //=======================================================================================
  317. // Event
  318. //---------------------------------------------------------------------------------------
  319. /****************************************************************************************
  320. * Components : Form
  321. * Components ID : SMMNR01001
  322. * Event : oninit
  323. * Argument : 01.obj : Object Event has occurred
  324. * : 02.e : Event Object
  325. * Description : 화면 처음 초기화시
  326. ****************************************************************************************/
  327. function SMMNR01001_oninit(obj:Form, e:InitEventInfo)
  328. {
  329. frmf_initForm(obj); //폼 초기화
  330. }
  331. /****************************************************************************************
  332. * Components : Form
  333. * Components ID : SMMNR01001
  334. * Event : onload
  335. * Argument : 01.obj : Object Event has occurred
  336. * : 02.e : Event Object
  337. * Description : 화면 로딩 완료시
  338. ****************************************************************************************/
  339. function SMMNR01001_onload(obj:Form, e:LoadEventInfo)
  340. {
  341. fPopWndInit();//팝업 로딩시 실행
  342. }
  343. /****************************************************************************************
  344. * Components : Form
  345. * Components ID : SMMNR01001
  346. * Event : onbeforeclose
  347. * Argument : 01.obj : Object Event has occurred
  348. * : 02.e : Event Object
  349. * Description : 화면 닫기전
  350. ****************************************************************************************/
  351. function SMMNR01001_onbeforeclose(obj:Form, e:CloseEventInfo)
  352. {
  353. if( !wincloseButton ){
  354. opener.frmf_setParameter("returnnull","close");
  355. } else {
  356. opener.frmf_setParameter("returnnull","confirmbutton");
  357. }
  358. }
  359. /****************************************************************************************
  360. * Components : Dataset
  361. * Components ID : ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist
  362. * Event : oncolumnchanged
  363. * Argument : 01.obj : Object Event has occurred
  364. * : 02.e : Event Object
  365. * Description : 데이터셋 값 변경시
  366. ****************************************************************************************/
  367. function ds_main_cond_execpopwnddetlgrup_execpopwnddetlgruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  368. {
  369. fChangedGridCol();
  370. }
  371. /****************************************************************************************
  372. * Components : Button
  373. * Components ID : button12
  374. * Event : onclick
  375. * Argument : 01.obj : Object Event has occurred
  376. * : 02.e : Event Object
  377. * Description : 신청저장버튼 클릭시
  378. ****************************************************************************************/
  379. function group3_button12_onclick(obj:Button, e:ClickEventInfo)
  380. {
  381. wincloseButton = true ;
  382. fPopWndSave();
  383. }
  384. /****************************************************************************************
  385. * Components : Button
  386. * Components ID : button1
  387. * Event : onclick
  388. * Argument : 01.obj : Object Event has occurred
  389. * : 02.e : Event Object
  390. * Description : 확인버튼 클릭시
  391. ****************************************************************************************/
  392. function group3_grp_msg_button1_onclick(obj:Button, e:ClickEventInfo)
  393. {
  394. fPopWndOcrCnfm();
  395. }
  396. function group3_grd_execpopwnddetlgruplist_ontextchange(obj:Grid, e:GridEditTextChangeEventInfo)
  397. {
  398. if( e.col == 9 ){
  399. grdf_validGridTime(obj, e);
  400. }
  401. }
  402. ]]></Script>
  403. </Form>
  404. </FDL>