SMLBP02800_자가헌혈자조회.xfdl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBP02800" position="absolute 0 0 1256 805" titletext="Untitle" oninit="model1_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="헌혈자조회" class="tit_1" position="absolute 0 3 98 23"/>
  8. <Div id="group2" taborder="2" style="align:center top;" position="absolute 0 25 1256 67" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 0 2 1256 37" anchor="left top right"/>
  12. <Static id="caption2" text="실시일자" class="search_name" position="absolute 8 10 82 30" anchor="default"/>
  13. <Button id="button1" taborder="2" text="조회" onclick="button1_onclick" class="btn1" position="absolute 1120 10 1176 30" anchor="top right"/>
  14. <Combo id="combo2" taborder="5" class="combo_search" position="absolute 632 10 719 30" anchor="default" innerdataset="@ds_cond_searchgbn" codecolumn="value" datacolumn="label" index="0" value="1" text="등록번호"/>
  15. <Static id="caption5" text="검색구분" class="search_name" position="absolute 558 10 632 30" anchor="default"/>
  16. <Edit id="iptSearch" taborder="6" class="input_s_button" position="absolute 722 10 847 30" anchor="default" onkeydown="group2_iptSearch_onkeydown"/>
  17. <Radio id="radio1" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 396 10 534 30" anchor="default" value="1" index="0">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn" size="256"/>
  21. <Column id="datacolumn" size="256"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">자가</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">자가이외</Col>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Radio>
  35. <Static id="caption4" text="조회구분" class="search_name" position="absolute 322 10 396 30" anchor="default"/>
  36. <Calendar id="ipt_startdd" taborder="8" dateformat="yyyy-MM-dd" class="input_search" position="absolute 86 10 186 30"/>
  37. <Static id="caption8" text="~" position="absolute 186 10 202 30" style="align:center;"/>
  38. <Calendar id="ipt_enddd" taborder="9" dateformat="yyyy-MM-dd" class="input_search" position="absolute 202 10 302 30"/>
  39. <Button id="button5" taborder="10" text="초기화" onclick="button5_onclick" class="btn4" position="absolute 1179 10 1248 30" anchor="right bottom"/>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Static id="caption1" text="헌혈자조회리스트" class="tit_2" position="absolute 0 77 131 97"/>
  44. <Grid id="grd_transfusiontext" taborder="3" useinputpanel="false" position="absolute 0 97 1256 805" anchor="all" binddataset="ds_grid_grd_transfusiontext">
  45. <Formats>
  46. <Format id="default">
  47. <Columns>
  48. <Column size="30"/>
  49. <Column size="125"/>
  50. <Column size="70"/>
  51. <Column size="70"/>
  52. <Column size="70"/>
  53. <Column size="110"/>
  54. <Column size="80"/>
  55. <Column size="95"/>
  56. <Column size="75"/>
  57. <Column size="45"/>
  58. <Column size="115"/>
  59. <Column size="280"/>
  60. <Column size="60"/>
  61. <Column size="60"/>
  62. <Column size="65"/>
  63. <Column size="65"/>
  64. <Column size="65"/>
  65. <Column size="65"/>
  66. <Column size="65"/>
  67. <Column size="65"/>
  68. <Column size="65"/>
  69. <Column size="65"/>
  70. <Column size="65"/>
  71. <Column size="90"/>
  72. <Column size="90"/>
  73. <Column size="90"/>
  74. <Column size="90"/>
  75. <Column size="90"/>
  76. <Column size="120"/>
  77. <Column size="125"/>
  78. </Columns>
  79. <Rows>
  80. <Row size="22" band="head"/>
  81. <Row size="22" band="head"/>
  82. <Row size="20"/>
  83. </Rows>
  84. <Band id="head">
  85. <Cell rowspan="2" text="No."/>
  86. <Cell col="1" rowspan="2" text="등록일시"/>
  87. <Cell col="2" rowspan="2" text="등록번호"/>
  88. <Cell col="3" rowspan="2" text="성명"/>
  89. <Cell col="4" rowspan="2" text="공여자"/>
  90. <Cell col="5" rowspan="2" text="진료과/병실"/>
  91. <Cell col="6" rowspan="2" text="혈액제제종류"/>
  92. <Cell col="7" rowspan="2" text=" 헌혈증서번호 혈액번호"/>
  93. <Cell col="8" rowspan="2" text="헌혈일"/>
  94. <Cell col="9" rowspan="2" text="직업"/>
  95. <Cell col="10" rowspan="2" text="주민등록번호"/>
  96. <Cell col="11" rowspan="2" text="주소"/>
  97. <Cell col="12" rowspan="2" text="용량"/>
  98. <Cell col="13" rowspan="2" text="혈액형"/>
  99. <Cell col="14" colspan="14" text="검사결과"/>
  100. <Cell col="28" rowspan="2" text="폐기사유"/>
  101. <Cell col="29" rowspan="2" text="폐기일시"/>
  102. <Cell row="1" col="14" text="AST"/>
  103. <Cell row="1" col="15" text="ALT"/>
  104. <Cell row="1" col="16" text="WBC"/>
  105. <Cell row="1" col="17" text="RBC"/>
  106. <Cell row="1" col="18" text="Hb"/>
  107. <Cell row="1" col="19" text="PLT"/>
  108. <Cell row="1" col="20" text="Malaria"/>
  109. <Cell row="1" col="21" text="HBs Ag"/>
  110. <Cell row="1" col="22" text="HBs Ab"/>
  111. <Cell row="1" col="23" text="Anti-HCV"/>
  112. <Cell row="1" col="24" text="HIV Ag/Ab"/>
  113. <Cell row="1" col="25" text="NAT HCV"/>
  114. <Cell row="1" col="26" text="NAT HIV"/>
  115. <Cell row="1" col="27" text="HTLV"/>
  116. </Band>
  117. <Band id="body">
  118. <Cell expr="expr:currow+1"/>
  119. <Cell col="1" style="align:center middle;" text="bind:execdt" mask="expr:execdt==null?'':'####-##-## ##:##:##'"/>
  120. <Cell col="2" style="align:center middle;" text="bind:tnsrpid"/>
  121. <Cell col="3" style="align:center middle;" text="bind:tnsrpatnm"/>
  122. <Cell col="4" style="align:center middle;" text="bind:dnornm"/>
  123. <Cell col="5" style="align:center middle;" text="bind:deptroom"/>
  124. <Cell col="6" style="align:center middle;" text="bind:blodbarcd"/>
  125. <Cell col="7" style="align:center middle;" text="bind:brgstno"/>
  126. <Cell col="8" style="align:center middle;" text="bind:execdd" mask="expr:execdd==null?'':'####-##-##'"/>
  127. <Cell col="9" style="align:center middle;" text="bind:jobnm"/>
  128. <Cell col="10" style="align:center middle;" text="bind:rrgstno"/>
  129. <Cell col="11" style="align:left middle;" text="bind:addr"/>
  130. <Cell col="12" style="align:center middle;" text="bind:donvol"/>
  131. <Cell col="13" style="align:center middle;" text="bind:btype"/>
  132. <Cell col="14" style="align:center middle;" text="bind:rslt1"/>
  133. <Cell col="15" style="align:center middle;" text="bind:rslt2"/>
  134. <Cell col="16" style="align:center middle;" text="bind:rslt3"/>
  135. <Cell col="17" style="align:center middle;" text="bind:rslt4"/>
  136. <Cell col="18" style="align:center middle;" text="bind:rslt5"/>
  137. <Cell col="19" style="align:center middle;" text="bind:rslt6"/>
  138. <Cell col="20" style="align:center middle;" text="bind:rslt7"/>
  139. <Cell col="21" style="align:center middle;" text="bind:rslt8"/>
  140. <Cell col="22" style="align:center middle;" text="bind:rslt9"/>
  141. <Cell col="23" style="align:center middle;" text="bind:rslt10"/>
  142. <Cell col="24" style="align:center middle;" text="bind:rslt11"/>
  143. <Cell col="25" style="align:center middle;" text="bind:rslt12"/>
  144. <Cell col="26" style="align:center middle;" text="bind:rslt13"/>
  145. <Cell col="27" style="align:center middle;" text="bind:rslt14"/>
  146. <Cell col="28" style="align:center middle;" text="bind:resndesc"/>
  147. <Cell col="29" style="align:center middle;" text="bind:rtndd" mask="expr:rtndd==null?'':'####-##-## ##:##:##'"/>
  148. </Band>
  149. </Format>
  150. </Formats>
  151. </Grid>
  152. </Layout>
  153. </Layouts>
  154. <Objects>
  155. <Dataset id="ds_grid_grd_transfusiontext" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_grid_grd_rslt_onrowposchanged">
  156. <ColumnInfo>
  157. <column id="execdt" type="STRING" size="256"/>
  158. <column id="tnsrpid" type="STRING" size="256"/>
  159. <column id="tnsrpatnm" type="STRING" size="256"/>
  160. <column id="dnornm" type="STRING" size="256"/>
  161. <column id="deptroom" type="STRING" size="256"/>
  162. <column id="blodbarcd" type="STRING" size="256"/>
  163. <column id="brgstno" type="STRING" size="256"/>
  164. <column id="execdd" type="STRING" size="256"/>
  165. <column id="jobnm" type="STRING" size="256"/>
  166. <column id="rrgstno" type="STRING" size="256"/>
  167. <column id="addr" type="STRING" size="256"/>
  168. <column id="donvol" type="STRING" size="256"/>
  169. <column id="btype" type="STRING" size="256"/>
  170. <column id="rslt1" type="STRING" size="256"/>
  171. <column id="rslt2" type="STRING" size="256"/>
  172. <column id="rslt3" type="STRING" size="256"/>
  173. <column id="rslt4" type="STRING" size="256"/>
  174. <column id="rslt5" type="STRING" size="256"/>
  175. <column id="rslt6" type="STRING" size="256"/>
  176. <column id="rslt7" type="STRING" size="256"/>
  177. <column id="rslt8" type="STRING" size="256"/>
  178. <column id="rslt9" type="STRING" size="256"/>
  179. <column id="rslt10" type="STRING" size="256"/>
  180. <column id="rslt11" type="STRING" size="256"/>
  181. <column id="rslt12" type="STRING" size="256"/>
  182. <column id="rslt13" type="STRING" size="256"/>
  183. <column id="rslt14" type="STRING" size="256"/>
  184. <column id="resndesc" type="STRING" size="256"/>
  185. <column id="rtndd" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. </Dataset>
  188. <Dataset id="ds_cond_searchgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="label" type="STRING" size="256"/>
  191. <Column id="value" type="STRING" size="256"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="label">등록번호</Col>
  196. <Col id="value">1</Col>
  197. </Row>
  198. <Row>
  199. <Col id="label">환자성명</Col>
  200. <Col id="value">2</Col>
  201. </Row>
  202. </Rows>
  203. </Dataset>
  204. </Objects>
  205. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  206. * System Name :
  207. * Job Name :
  208. * Creator :
  209. * Make Date : 2015-05-01
  210. * Description :
  211. *---------------------------------------------------------------------------------------
  212. * Modify Date Modifier Modify Description
  213. *---------------------------------------------------------------------------------------
  214. * 2015-05-01 Live Converter TF->XP
  215. *
  216. *---------------------------------------------------------------------------------------
  217. ****************************************************************************************/
  218. include "com_commonxp::comm_main.xjs";
  219. include "lis_commonxp::LZZ001.xjs";
  220. include "lis_commonxp::LLZ001.xjs";
  221. function lf_setInit() {
  222. var Today = utlf_getCurrentDate();
  223. var BfDay = utlf_addDate(Today, -30);
  224. group2.ipt_startdd.value = BfDay;
  225. group2.ipt_enddd.value = Today;
  226. }
  227. function lf_getBlodDonationList() {
  228. var startdd = group2.ipt_startdd.value;
  229. var enddd = group2.ipt_enddd.value;
  230. var searchgbn = group2.combo2.value;
  231. var searchtext = group2.iptSearch.value;
  232. var donagbn = group2.radio1.value;
  233. var sInDsName = dsf_createDsRow("ds_temp_search"
  234. , [{col: "startdd", val:startdd }
  235. , {col: "enddd", val:enddd }
  236. , {col: "searchgbn", val:searchgbn }
  237. , {col: "searchtext", val:searchtext }
  238. , {col: "donagbn", val:donagbn }
  239. ]);
  240. var oParam = {};
  241. oParam.id = "TRLBP02801";
  242. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  243. oParam.method = "reqGetBlodDonationList";
  244. oParam.inds = "cond="+sInDsName;
  245. oParam.outds = "ds_grid_grd_transfusiontext=getBlodDonationList";
  246. oParam.async = false;
  247. oParam.callback = "cbf_SMLBP02800";
  248. tranf_submit(oParam);
  249. }
  250. // callback 함수
  251. function cbf_SMLBP02800(strSvcID, nErrorCode, strErrorMag) {
  252. if(nErrorCode != 0) {
  253. sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
  254. }else{
  255. switch(strSvcID) {
  256. case "TRLBP02801":
  257. break;
  258. default:
  259. break;
  260. }
  261. }
  262. }
  263. function model1_oninit(obj:Form, e:InitEventInfo)
  264. {
  265. //폼 초기화 함수
  266. frmf_initForm(obj);
  267. lf_setInit();
  268. }
  269. function button1_onclick(obj:Button, e:ClickEventInfo)
  270. {
  271. lf_getBlodDonationList();
  272. }
  273. function group2_iptSearch_onkeydown(obj:Edit, e:KeyEventInfo)
  274. {
  275. if(e.keycode == 13) {
  276. if(group2.combo2.value == "1") {
  277. fSetInputNodeCurPidObj(group2.iptSearch, 9); //등록번호 9자리로 변경
  278. }
  279. lf_getBlodDonationList();
  280. }
  281. }
  282. function button5_onclick(obj:Button, e:ClickEventInfo)
  283. {
  284. lf_setInit();
  285. }
  286. ]]></Script>
  287. </Form>
  288. </FDL>