SMLLC00600_외래채혈실핵의학검체조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLLC00600" position="absolute 0 0 1206 761" titletext="핵의학 검체 조회" oninit="SMLLC00600_oninit" onload="SMLLC00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="핵의학 검체 조회" class="tit_1" position="absolute 0 0 136 25" anchor="left top"/>
  8. <Button id="btn_reset" taborder="1" text="초기화" class="btn4" position="absolute 1133 66 1201 88" onclick="btn_reset_onclick" anchor="top right"/>
  9. <Static id="caption1" text="핵의학 검체 List" class="tit_2" position="absolute 1 70 124 86" anchor="left top"/>
  10. <Grid id="grd_nspclist" taborder="2" binddataset="ds_grd_nspclist" useinputpanel="false" position="absolute 0 90 1202 757" anchor="all" cellsizingtype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="28"/>
  15. <Column size="80"/>
  16. <Column size="70"/>
  17. <Column size="60"/>
  18. <Column size="222"/>
  19. <Column size="80"/>
  20. <Column size="60"/>
  21. <Column size="150"/>
  22. <Column size="160"/>
  23. <Column size="160"/>
  24. <Column size="160"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="24" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell/>
  32. <Cell col="1" text="검체번호"/>
  33. <Cell col="2" text="등록번호"/>
  34. <Cell col="3" text="성명"/>
  35. <Cell col="4" text="검사명"/>
  36. <Cell col="5" text="검체명"/>
  37. <Cell col="6" text="검체상태"/>
  38. <Cell col="7" text="채혈정보"/>
  39. <Cell col="8" text="가접수정보"/>
  40. <Cell col="9" text="접수정보"/>
  41. <Cell col="10" text="취소정보"/>
  42. </Band>
  43. <Band id="body">
  44. <Cell celltype="head" expr="expr:currow + 1"/>
  45. <Cell col="1" text="bind:bcno"/>
  46. <Cell col="2" text="bind:pid"/>
  47. <Cell col="3" text="bind:hngnm"/>
  48. <Cell col="4" style="align:left middle;" text="bind:tclsnm"/>
  49. <Cell col="5" text="bind:spcnm"/>
  50. <Cell col="6" text="bind:spcstat"/>
  51. <Cell col="7" style="align:left middle;" text="bind:bcoll"/>
  52. <Cell col="8" style="align:left middle;" text="bind:spcpseuacpt"/>
  53. <Cell col="9" style="align:left middle;" text="bind:spcacpt"/>
  54. <Cell col="10" text="bind:spccncl"/>
  55. </Band>
  56. </Format>
  57. </Formats>
  58. </Grid>
  59. <Div id="group2" taborder="3" position="absolute 0 25 1201 60" anchor="left top right" class="div_SA">
  60. <Layouts>
  61. <Layout>
  62. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="left top"/>
  63. <Button id="btn_Ref" taborder="13" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="left top" onclick="group2_btn_Ref_onclick"/>
  64. <Combo id="cmb_refgbn" taborder="14" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 755 10 845 29" anchor="left top">
  65. <Dataset id="innerdataset">
  66. <ColumnInfo>
  67. <Column id="codecolumn"/>
  68. <Column id="datacolumn"/>
  69. </ColumnInfo>
  70. <Rows>
  71. <Row>
  72. <Col id="codecolumn">1</Col>
  73. <Col id="datacolumn">환자번호</Col>
  74. </Row>
  75. <Row>
  76. <Col id="codecolumn">2</Col>
  77. <Col id="datacolumn">검체번호</Col>
  78. </Row>
  79. </Rows>
  80. </Dataset>
  81. </Combo>
  82. <Edit id="ipt_text" taborder="15" class="input_button" position="absolute 850 10 950 29" anchor="left top" onkeydown="group2_ipt_text_onkeydown"/>
  83. <Static id="caption4" text="조회기간 :" class="search_name" position="absolute 48 11 138 28" anchor="left top"/>
  84. <Calendar id="ipt_fromdd" taborder="16" class="input_s_essential" position="absolute 142 10 248 29" anchor="left top"/>
  85. <Static id="caption5" text="~" class="search_no_b" position="absolute 250 11 265 28" anchor="left top"/>
  86. <Calendar id="ipt_todd" taborder="17" class="input_s_essential" position="absolute 265 10 371 29" anchor="left top"/>
  87. <Static id="caption2" text="조회구분 :" class="search_name" position="absolute 665 10 755 27" anchor="left top"/>
  88. <Static id="caption3" text="검체상태 :" class="search_name" position="absolute 425 10 515 27" anchor="left top"/>
  89. <Combo id="cmb_spcflag" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 515 10 605 29" anchor="left top">
  90. <Dataset id="innerdataset">
  91. <ColumnInfo>
  92. <Column id="codecolumn"/>
  93. <Column id="datacolumn"/>
  94. </ColumnInfo>
  95. <Rows>
  96. <Row>
  97. <Col id="codecolumn">00</Col>
  98. <Col id="datacolumn">-전체-</Col>
  99. </Row>
  100. <Row>
  101. <Col id="codecolumn">0</Col>
  102. <Col id="datacolumn">취소</Col>
  103. </Row>
  104. <Row>
  105. <Col id="codecolumn">2</Col>
  106. <Col id="datacolumn">채혈</Col>
  107. </Row>
  108. <Row>
  109. <Col id="codecolumn">3</Col>
  110. <Col id="datacolumn">가접수</Col>
  111. </Row>
  112. <Row>
  113. <Col id="codecolumn">4</Col>
  114. <Col id="datacolumn">접수</Col>
  115. </Row>
  116. </Rows>
  117. </Dataset>
  118. </Combo>
  119. </Layout>
  120. </Layouts>
  121. </Div>
  122. </Layout>
  123. </Layouts>
  124. <Objects>
  125. <Dataset id="ds_grd_nspclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  126. <ColumnInfo>
  127. <Column id="bcno" type="STRING"/>
  128. <Column id="pid" type="STRING"/>
  129. <Column id="hngnm" type="STRING"/>
  130. <Column id="tclsnm" type="STRING"/>
  131. <Column id="spcnm" type="STRING"/>
  132. <Column id="spcstat" type="STRING"/>
  133. <Column id="bcoll" type="STRING"/>
  134. <Column id="spcpseuacpt" type="STRING"/>
  135. <Column id="spcacpt" type="STRING"/>
  136. <Column id="spccncl" type="STRING"/>
  137. <Column id="Column0" type="STRING" size="256"/>
  138. </ColumnInfo>
  139. </Dataset>
  140. <Dataset id="ds_cmb_spcflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="label" type="STRING" size="256"/>
  143. <Column id="value" type="STRING" size="256"/>
  144. </ColumnInfo>
  145. <Rows>
  146. <Row>
  147. <Col id="label">-전체-</Col>
  148. <Col id="value">00</Col>
  149. </Row>
  150. <Row>
  151. <Col id="label">취소</Col>
  152. <Col id="value">0</Col>
  153. </Row>
  154. <Row>
  155. <Col id="label">채혈</Col>
  156. <Col id="value">2</Col>
  157. </Row>
  158. <Row>
  159. <Col id="label">가접수</Col>
  160. <Col id="value">3</Col>
  161. </Row>
  162. <Row>
  163. <Col id="label">접수</Col>
  164. <Col id="value">4</Col>
  165. </Row>
  166. </Rows>
  167. </Dataset>
  168. <Dataset id="ds_cmb_refgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  169. <ColumnInfo>
  170. <Column id="label" type="STRING" size="256"/>
  171. <Column id="value" type="STRING" size="256"/>
  172. </ColumnInfo>
  173. <Rows>
  174. <Row>
  175. <Col id="label">환자번호</Col>
  176. <Col id="value">1</Col>
  177. </Row>
  178. <Row>
  179. <Col id="label">검체번호</Col>
  180. <Col id="value">2</Col>
  181. </Row>
  182. </Rows>
  183. </Dataset>
  184. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="refflag" type="STRING" size="256"/>
  187. <Column id="reftext" type="STRING" size="256"/>
  188. <Column id="fromdd" type="STRING" size="256"/>
  189. <Column id="todd" type="STRING" size="256"/>
  190. <Column id="spcflag" type="STRING" size="256"/>
  191. </ColumnInfo>
  192. <Rows>
  193. <Row>
  194. <Col id="refflag">1</Col>
  195. <Col id="spcflag">00</Col>
  196. </Row>
  197. </Rows>
  198. </Dataset>
  199. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="refflag" type="STRING" size="256"/>
  202. <Column id="reftext" type="STRING" size="256"/>
  203. <Column id="fromdd" type="STRING" size="256"/>
  204. <Column id="todd" type="STRING" size="256"/>
  205. <Column id="spcflag" type="STRING" size="256"/>
  206. </ColumnInfo>
  207. <Rows>
  208. <Row/>
  209. </Rows>
  210. </Dataset>
  211. </Objects>
  212. <Bind>
  213. <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  214. <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  215. <BindItem id="item2" compid="group2.ipt_text" propid="value" datasetid="ds_send" columnid="reftext"/>
  216. </Bind>
  217. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  218. * System Name :
  219. * Job Name :
  220. * Creator :
  221. * Make Date : 2015-11-09
  222. * Description :
  223. *---------------------------------------------------------------------------------------
  224. * Modify Date Modifier Modify Description
  225. *---------------------------------------------------------------------------------------
  226. * 2015-11-09 Live Converter TF->XP
  227. *
  228. *---------------------------------------------------------------------------------------
  229. ****************************************************************************************/
  230. include "com_commonxp::comm_main.xjs";
  231. include "lis_commonxp::LLZ001.xjs";
  232. function cf_TRLLC00601(strSvcID, nErrorCode, strErrorMag)
  233. {
  234. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  235. }
  236. function SMLLC00600_oninit(obj:Form, e:InitEventInfo)
  237. {
  238. //폼 초기화 함수
  239. frmf_initForm(obj);
  240. }
  241. function SMLLC00600_onload(obj:Form, e:LoadEventInfo)
  242. {
  243. grdf_initGrid(grd_nspclist);
  244. group2.ipt_fromdd.value = utlf_getCurrentDate();
  245. group2.ipt_todd.value = utlf_getCurrentDate();
  246. group2.cmb_spcflag.value = '00';
  247. group2.cmb_refgbn.value= '1';
  248. ds_send.setColumn(0, "fromdd", ds_send.getColumn(0, "fromdd"));
  249. ds_send.setColumn(0, "todd", ds_send.getColumn(0, "todd"));
  250. }
  251. //조회
  252. function fGetNSpcList()
  253. {
  254. ds_send.setColumn(0, "spcflag", group2.cmb_spcflag.value);
  255. ds_send.setColumn(0, "refflag", group2.cmb_refgbn.value);
  256. var oParam = {};
  257. oParam.id = "TRLLC00601";
  258. oParam.service = "bcollmngtapp.BCollMngt";
  259. oParam.method = "reqGetNSpcList";
  260. oParam.inds = "cond=ds_send";
  261. oParam.outds = "ds_grd_nspclist=nspclist";
  262. oParam.async = false;
  263. oParam.callback = "cf_TRLLC00601";
  264. tranf_submit(oParam);
  265. }
  266. //조회
  267. function group2_btn_Ref_onclick(obj:Button, e:ClickEventInfo)
  268. {
  269. fGetNSpcList();
  270. }
  271. //초기화
  272. function btn_reset_onclick(obj:Button, e:ClickEventInfo)
  273. {
  274. this.reload();
  275. }
  276. //키검색
  277. function group2_ipt_text_onkeydown(obj:Edit, e:KeyEventInfo)
  278. {
  279. if(e.keycode == 13)
  280. {
  281. if( !utlf_isNull(group2.ipt_text.value))
  282. {
  283. ds_send.setColumn(0, "reftext", (group2.ipt_text.text).toUpperCase());
  284. fGetNSpcList();
  285. }
  286. else
  287. {
  288. alert("검색어를 입력하십시오");
  289. }
  290. ds_grd_nspclist.rowposition = 0;
  291. }
  292. }
  293. ]]></Script>
  294. </Form>
  295. </FDL>