SMMMR02400_제증명미리보기출력리스트.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMR02400" position="absolute 0 0 1160 615" titletext="제증명미리보기출력리스트" onload="SMMMR02400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 0 115 1160 615" id="grd_proflist" class="datagrid2" binddataset="ds_main_profhist" autoenter="select" anchor="all" cellsizingtype="col" cellsizebandtype="allband" selecttype="multirow" cellclickbound="cell" suppresslevel="allcompare">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="25"/>
  12. <Column size="0"/>
  13. <Column size="40"/>
  14. <Column size="95"/>
  15. <Column size="204"/>
  16. <Column size="0"/>
  17. <Column size="62"/>
  18. <Column size="61"/>
  19. <Column size="88"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. <Column size="68"/>
  24. <Column size="63"/>
  25. <Column size="0"/>
  26. <Column size="100"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="100"/>
  33. <Column size="62"/>
  34. <Column size="100"/>
  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="90"/>
  42. </Columns>
  43. <Rows>
  44. <Row size="30" band="head"/>
  45. <Row size="24"/>
  46. </Rows>
  47. <Band id="head">
  48. <Cell/>
  49. <Cell col="1" text="일련번호"/>
  50. <Cell col="2" text="구분"/>
  51. <Cell col="3" text="연번호"/>
  52. <Cell col="4" text="제증명"/>
  53. <Cell col="5" text="일련번호"/>
  54. <Cell col="6" text="등록번호"/>
  55. <Cell col="7" text="환자명"/>
  56. <Cell col="8" text="발행용도"/>
  57. <Cell col="9" text="생성번호"/>
  58. <Cell col="10" text="내원구분"/>
  59. <Cell col="11" text="서식코드"/>
  60. <Cell col="12" text="출력종류"/>
  61. <Cell col="13" text="발급상태"/>
  62. <Cell col="14" text="출력&#10;매수"/>
  63. <Cell col="15" text="작성일시"/>
  64. <Cell col="16" text="발행부서코드"/>
  65. <Cell col="17" text="작성부서"/>
  66. <Cell col="18" text="작성자"/>
  67. <Cell col="19" text="작성자id"/>
  68. <Cell col="20" text="발행자id"/>
  69. <Cell col="21" text="출력부서"/>
  70. <Cell col="22" text="출력자"/>
  71. <Cell col="23" text="출력일시"/>
  72. <Cell col="24" text="최초등록자ID"/>
  73. <Cell col="25" text="최초등록자"/>
  74. <Cell col="26" text="최초등록일시"/>
  75. <Cell col="27" text="최종수정자ID"/>
  76. <Cell col="28" text="최종수정자"/>
  77. <Cell col="29" text="최종수정일시"/>
  78. <Cell col="30" text="출력구분"/>
  79. </Band>
  80. <Band id="body">
  81. <Cell celltype="head" expr="expr:currow + 1"/>
  82. <Cell col="1" text="bind:formrecseq" suppress="1" suppressalign="middle,over" enable="false"/>
  83. <Cell col="2" style="align:center middle;background2:transparent;" text="bind:ordtype" suppress="2" suppressalign="middle,over"/>
  84. <Cell col="3" style="background2:transparent;" text="bind:yearseqno" suppress="2" suppressalign="middle,over"/>
  85. <Cell col="4" displaytype="text" style="background2:transparent;" text="bind:formnm" wordwrap="char" suppress="1" suppressalign="middle,over"/>
  86. <Cell col="5" style="background2:transparent;" text="bind:profcertseq" suppress="2" suppressalign="middle,over"/>
  87. <Cell col="6" style="align:center middle;background2:transparent;" text="bind:pid" suppress="1" suppressalign="middle,over"/>
  88. <Cell col="7" style="align:center middle;background2:transparent;" text="bind:hngnm" suppress="1" suppressalign="middle,over"/>
  89. <Cell col="8" displaytype="combo" style="background2:transparent;" text="bind:prstusge" suppress="2" suppressalign="middle,over" combodataset="ds_hidden_issusge" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  90. <Cell col="9" style="background2:transparent;" text="bind:cretno" suppress="2" suppressalign="middle,over"/>
  91. <Cell col="10" style="background2:transparent;" text="bind:ioflag" suppress="2" suppressalign="middle,over"/>
  92. <Cell col="11" style="background2:transparent;" text="bind:formcd" suppress="2" suppressalign="middle,over"/>
  93. <Cell col="12" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:issflag" suppress="2" suppressalign="middle,over" combodataset="ds_init_issflag" combocodecol="value" combodatacol="label" enable="false"/>
  94. <Cell col="13" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:issstat" suppress="2" suppressalign="middle,over" combodataset="ds_init_issstat" combocodecol="value" combodatacol="label" enable="false"/>
  95. <Cell col="14" style="align:center middle;background2:transparent;" text="bind:prntcnt" suppress="2"/>
  96. <Cell col="15" displaytype="date" style="background2:transparent;" text="bind:issdt" mask="yyyy-MM-dd hh:mm" suppress="2" suppressalign="middle,over" calendardisplaynulltype="none"/>
  97. <Cell col="16" style="background2:transparent;" text="bind:issdeptcd" suppress="2"/>
  98. <Cell col="17" style="background2:transparent;" text="bind:issdeptnm" suppress="2"/>
  99. <Cell col="18" style="background2:transparent;" text="bind:issnm" suppress="2"/>
  100. <Cell col="19" style="background2:transparent;" text="bind:issid" suppress="2"/>
  101. <Cell col="20" style="background2:transparent;" text="bind:prntuserid" suppress="2"/>
  102. <Cell col="21" style="background2:transparent;" text="bind:prntdeptnm" suppress="2" suppressalign="middle,over"/>
  103. <Cell col="22" style="align:center middle;background2:transparent;" text="bind:prntusernm"/>
  104. <Cell col="23" displaytype="date" style="background2:transparent;" text="bind:prntdt" mask="yyyy-MM-dd hh:mm" combodataset="ds_init_issstat" combocodecol="value" combodatacol="label" calendardisplaynulltype="none"/>
  105. <Cell col="24" style="background2:transparent;" text="bind:fstrgstrid"/>
  106. <Cell col="25" style="background2:transparent;" text="bind:fstrgstrnm"/>
  107. <Cell col="26" style="background2:transparent;" text="bind:fstrgstdt"/>
  108. <Cell col="27" style="background2:transparent;" text="bind:lastupdtrid"/>
  109. <Cell col="28" style="background2:transparent;" text="bind:lastrgstrnm"/>
  110. <Cell col="29" style="background2:transparent;" text="bind:lastupdtdt"/>
  111. <Cell col="30" displaytype="combo" style="align:center middle;background2:transparent;" text="bind:prntflag" combodataset="ds_init_prntflag" combocodecol="value" combodatacol="label" enable="false"/>
  112. </Band>
  113. </Format>
  114. </Formats>
  115. </Grid>
  116. <Button position="absolute 1110 91 1160 110" id="button10" class="btn7" text="엑셀" onclick="button10_onclick" anchor="top right"/>
  117. <Shape position="absolute 0 110 1160 116" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  118. <Div id="grp" taborder="6" position="absolute 0 25 1160 88" class="div_SA" anchor="left top right">
  119. <Layouts>
  120. <Layout>
  121. <Button id="btn_profhist" taborder="1" text="조 회" class="btn1" position="absolute 1090 21 1149 43" anchor="top right" onclick="grp_btn_profhist_onclick"/>
  122. <Static id="caption1" text="~" position="absolute 198 10 210 29" anchor="default"/>
  123. <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 12 10 89 27" anchor="default"/>
  124. <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 12 35 86 52" anchor="default"/>
  125. <Radio id="radio1" taborder="2" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 412 10 606 25" anchor="default" style="textpadding:0 3 0 3;" onitemchanged="grp_radio1_onitemchanged">
  126. <Dataset id="innerdataset">
  127. <ColumnInfo>
  128. <Column id="codecolumn"/>
  129. <Column id="datacolumn"/>
  130. </ColumnInfo>
  131. <Rows>
  132. <Row>
  133. <Col id="codecolumn">-</Col>
  134. <Col id="datacolumn">전체</Col>
  135. </Row>
  136. <Row>
  137. <Col id="codecolumn">U</Col>
  138. <Col id="datacolumn">미발행</Col>
  139. </Row>
  140. <Row>
  141. <Col id="codecolumn">I</Col>
  142. <Col id="datacolumn">발행</Col>
  143. </Row>
  144. <Row>
  145. <Col id="codecolumn">R</Col>
  146. <Col id="datacolumn">반납</Col>
  147. </Row>
  148. </Rows>
  149. </Dataset>
  150. </Radio>
  151. <Calendar id="ipt_todd" taborder="3" position="absolute 212 9 312 28" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true"/>
  152. <Edit id="input1" taborder="4" class="input_search" position="absolute 92 34 192 53" anchor="default" onkeydown="grp_input1_onkeydown" autoselect="true"/>
  153. <Static id="caption7" text="제 증 명 :" class="search_name" position="absolute 620 10 708 27" anchor="default"/>
  154. <Button id="btn_usrsrch" taborder="5" class="icon_search" position="absolute 197 35 213 54" anchor="default" onclick="grp_btn_usrsrch_onclick"/>
  155. <Combo id="cmb_profformlist" taborder="6" innerdataset="@ds_main_formlist" codecolumn="formcd" datacolumn="formnm" class="combo_search" position="absolute 700 9 1065 28" anchor="default"/>
  156. <Calendar id="ipt_fromdd" taborder="7" position="absolute 92 9 192 28" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  157. <Edit id="input2" taborder="9" class="input_search" position="absolute 307 34 423 53" anchor="default" onkeydown="grp_input2_onkeydown" autoselect="true"/>
  158. <Static id="caption5" text="환 자 명 :" class="search_name" position="absolute 232 35 304 52" anchor="default"/>
  159. <Static id="caption4" text="발행구분 :" class="search_name" position="absolute 332 10 405 27" anchor="default"/>
  160. <Static id="caption10" text="구 분 :" class="search_name" position="absolute 935 35 995 52" anchor="default"/>
  161. <Combo id="combo1" taborder="14" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 991 34 1066 53" anchor="default" onitemchanged="grp_combo1_onitemchanged">
  162. <Dataset id="innerdataset">
  163. <ColumnInfo>
  164. <Column id="codecolumn"/>
  165. <Column id="datacolumn"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="codecolumn"/>
  170. <Col id="datacolumn">전체</Col>
  171. </Row>
  172. <Row>
  173. <Col id="codecolumn">D</Col>
  174. <Col id="datacolumn">DSC</Col>
  175. </Row>
  176. <Row>
  177. <Col id="codecolumn">E</Col>
  178. <Col id="datacolumn">응급</Col>
  179. </Row>
  180. <Row>
  181. <Col id="codecolumn">I</Col>
  182. <Col id="datacolumn">입원</Col>
  183. </Row>
  184. <Row>
  185. <Col id="codecolumn">O</Col>
  186. <Col id="datacolumn">외래</Col>
  187. </Row>
  188. <Row>
  189. <Col id="codecolumn">S</Col>
  190. <Col id="datacolumn">건진</Col>
  191. </Row>
  192. </Rows>
  193. </Dataset>
  194. </Combo>
  195. <Static id="caption11" text="출 력 자 :" class="search_name" position="absolute 623 35 701 52" anchor="default"/>
  196. <Edit id="ipt_prntuserid" taborder="15" class="input_search" position="absolute 703 34 788 53" anchor="default" autoselect="true"/>
  197. <Edit id="ipt_prntusernm" taborder="16" class="input_search" enable="false" position="absolute 811 34 913 53" anchor="default" autoselect="true"/>
  198. <Button id="btn_useid" taborder="17" class="icon_search" position="absolute 791 37 807 49" anchor="default" onclick="grp_btn_useid_onclick"/>
  199. <Shape id="line30" linetype="vertical" class="line_4" position="absolute 1075 13 1081 51" anchor="top right"/>
  200. </Layout>
  201. </Layouts>
  202. </Div>
  203. <Static id="caption6" text="제증명 미리보기 출력 리스트" class="tit_1" position="absolute 0 0 201 25"/>
  204. </Layout>
  205. </Layouts>
  206. <Objects>
  207. <Dataset id="ds_main_profhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  208. <ColumnInfo>
  209. <Column id="ordtype" type="STRING" size="256" sumtext="(외래,입원,응급) 구분"/>
  210. <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
  211. <Column id="profcertseq" type="STRING" size="256" sumtext="일련번호"/>
  212. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  213. <Column id="orddd" type="STRING" size="256" sumtext="제증명일련번호"/>
  214. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  215. <Column id="ioflag" type="STRING" size="256" sumtext="내원구분"/>
  216. <Column id="formrecseq" type="STRING" size="256" sumtext="일련번호"/>
  217. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  218. <Column id="issflag" type="STRING" size="256" sumtext="출력종류"/>
  219. <Column id="prntcnt" type="STRING" size="256" sumtext="출력매수"/>
  220. <Column id="freeissresn" type="STRING" size="256" sumtext="무료발급사유"/>
  221. <Column id="issid" type="STRING" size="256" sumtext="발급자ID"/>
  222. <Column id="issdeptcd" type="STRING" size="256" sumtext="발급부서코드"/>
  223. <Column id="issnm" type="STRING" size="256" sumtext="발급자"/>
  224. <Column id="issdt" type="STRING" size="256" sumtext="발급일시"/>
  225. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  226. <Column id="issstat" type="STRING" size="256" sumtext="발급상태"/>
  227. <Column id="deldt" type="STRING" size="256" sumtext="삭제일시"/>
  228. <Column id="deluserid" type="STRING" size="256" sumtext="삭제사용자ID"/>
  229. <Column id="delusernm" type="STRING" size="256" sumtext="삭제사용자"/>
  230. <Column id="profflag" type="STRING" size="256" sumtext="증명서구분값"/>
  231. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  232. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  233. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
  234. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  235. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  236. <Column id="lastrgstrnm" type="STRING" size="256" sumtext="최종수정자"/>
  237. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  238. <Column id="prstusge" type="STRING" size="256" sumtext="발행용도"/>
  239. <Column id="yearseqno" type="STRING" size="256" sumtext="연번호"/>
  240. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  241. <Column id="histcd" type="STRING" size="256" sumtext="이력코드"/>
  242. <Column id="calcyn" type="STRING" size="256" sumtext="수납여부"/>
  243. <Column id="dschcalcyn" type="STRING" size="256" sumtext="퇴원수납여부"/>
  244. <Column id="recyn" type="STRING" size="256" sumtext="기록여부"/>
  245. <Column id="issdeptnm" type="STRING" size="256" sumtext="발행부서명"/>
  246. <Column id="formnm" type="STRING" size="256" sumtext="서식지명"/>
  247. <Column id="prntuserid" type="STRING" size="256" sumtext="발행자ID"/>
  248. <Column id="prntusernm" type="STRING" size="256" sumtext="발행자"/>
  249. <Column id="prntdt" type="STRING" size="256" sumtext="발행일시"/>
  250. <Column id="lastformrecdd" type="STRING" size="256" sumtext="작성일자"/>
  251. <Column id="certscanflag" type="STRING" size="256" sumtext="제증명스캔여부"/>
  252. <Column id="certtranflag" type="STRING" size="256" sumtext="제증명인계여부"/>
  253. <Column id="authscanflag" type="STRING" size="256" sumtext="위임장스캔여부"/>
  254. <Column id="authtranflag" type="STRING" size="256" sumtext="위임장인계여부"/>
  255. <Column id="dcprntcnt" type="STRING" size="256" sumtext="반납갯수"/>
  256. <Column id="recvnm" type="STRING" size="256" sumtext="수령인"/>
  257. <Column id="holograpflag" type="STRING" size="256" sumtext="자필제증명구분"/>
  258. <Column id="ocrtag" type="STRING" size="256" sumtext="OCRTAG"/>
  259. <Column id="freeissresnEnable" type="STRING" size="256"/>
  260. <Column id="recvnmEnable" type="STRING" size="256"/>
  261. </ColumnInfo>
  262. </Dataset>
  263. <Dataset id="ds_main_srchprofhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  264. <ColumnInfo>
  265. <Column id="fromdd" type="STRING" size="256"/>
  266. <Column id="todd" type="STRING" size="256"/>
  267. <Column id="issflag" type="STRING" size="256"/>
  268. <Column id="pid" type="STRING" size="256"/>
  269. <Column id="srchflag" type="STRING" size="256"/>
  270. <Column id="srchdata" type="STRING" size="256"/>
  271. <Column id="patsrchflag" type="STRING" size="256"/>
  272. <Column id="holograpflag" type="STRING" size="256"/>
  273. <Column id="formcd" type="STRING" size="256"/>
  274. <Column id="ordtype" type="STRING" size="256"/>
  275. <Column id="prntuserid" type="STRING" size="256"/>
  276. <Column id="prntusernm" type="STRING" size="256"/>
  277. </ColumnInfo>
  278. <Rows>
  279. <Row>
  280. <Col id="fromdd"/>
  281. <Col id="todd"/>
  282. <Col id="issflag">-</Col>
  283. <Col id="pid"/>
  284. <Col id="srchflag">rec</Col>
  285. <Col id="srchdata"/>
  286. <Col id="patsrchflag">1</Col>
  287. <Col id="holograpflag">-</Col>
  288. <Col id="formcd"/>
  289. <Col id="ordtype"/>
  290. <Col id="prntuserid"/>
  291. <Col id="prntusernm"/>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. <Dataset id="ds_hidden_issusge" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  296. <ColumnInfo>
  297. <Column id="cdid" type="STRING" size="256"/>
  298. <Column id="cdnm" type="STRING" size="256"/>
  299. </ColumnInfo>
  300. </Dataset>
  301. <Dataset id="ds_main_formlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  302. <ColumnInfo>
  303. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  304. <Column id="formnm" type="STRING" size="256" sumtext="서식명"/>
  305. </ColumnInfo>
  306. </Dataset>
  307. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  308. <ColumnInfo>
  309. <Column id="srchcond" type="STRING" size="256"/>
  310. <Column id="pid" type="STRING" size="256"/>
  311. <Column id="autoflag" type="STRING" size="256"/>
  312. <Column id="hngnm" type="STRING" size="256"/>
  313. <Column id="rrgstno1" type="STRING" size="256"/>
  314. <Column id="rrgstno2" type="STRING" size="256"/>
  315. </ColumnInfo>
  316. <Rows>
  317. <Row>
  318. <Col id="srchcond"/>
  319. <Col id="pid"/>
  320. <Col id="autoflag"/>
  321. <Col id="hngnm"/>
  322. <Col id="rrgstno1"/>
  323. <Col id="rrgstno2"/>
  324. </Row>
  325. </Rows>
  326. </Dataset>
  327. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  328. <ColumnInfo>
  329. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  330. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  331. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  332. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  333. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  334. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  335. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  336. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  337. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  338. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  339. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  340. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  341. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  342. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  343. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  344. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  345. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  346. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  347. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  348. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  349. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  350. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  351. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  352. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  353. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  354. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  355. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  356. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  357. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  358. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  359. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  360. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  361. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  362. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  363. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  364. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  365. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  366. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  367. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  368. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  369. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  370. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  371. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  372. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  373. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  374. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  375. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  376. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  377. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  378. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  379. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  380. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  381. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  382. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  383. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  384. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  385. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  386. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  387. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  388. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  389. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  390. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  391. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  392. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  393. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  394. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  395. </ColumnInfo>
  396. </Dataset>
  397. <Dataset id="ds_init_issflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  398. <ColumnInfo>
  399. <Column id="label" type="STRING" size="256"/>
  400. <Column id="value" type="STRING" size="256"/>
  401. </ColumnInfo>
  402. <Rows>
  403. <Row>
  404. <Col id="label">미발행</Col>
  405. <Col id="value">10</Col>
  406. </Row>
  407. <Row>
  408. <Col id="label">발행</Col>
  409. <Col id="value">20</Col>
  410. </Row>
  411. <Row>
  412. <Col id="label">재발행</Col>
  413. <Col id="value">30</Col>
  414. </Row>
  415. <Row>
  416. <Col id="label">재출력</Col>
  417. <Col id="value">40</Col>
  418. </Row>
  419. <Row>
  420. <Col id="label">반납</Col>
  421. <Col id="value">50</Col>
  422. </Row>
  423. <Row>
  424. <Col id="label">부분반납</Col>
  425. <Col id="value">60</Col>
  426. </Row>
  427. </Rows>
  428. </Dataset>
  429. <Dataset id="ds_init_issstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  430. <ColumnInfo>
  431. <Column id="value" type="STRING" size="256"/>
  432. <Column id="label" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. <Rows>
  435. <Row>
  436. <Col id="value">R</Col>
  437. <Col id="label">임시저장</Col>
  438. </Row>
  439. <Row>
  440. <Col id="value">I</Col>
  441. <Col id="label">인증저장</Col>
  442. </Row>
  443. </Rows>
  444. </Dataset>
  445. <Dataset id="ds_temp_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  446. <Dataset id="ds_init_prntflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  447. <ColumnInfo>
  448. <Column id="value" type="STRING" size="256"/>
  449. <Column id="label" type="STRING" size="256"/>
  450. </ColumnInfo>
  451. <Rows>
  452. <Row>
  453. <Col id="value">10</Col>
  454. <Col id="label">미리보기</Col>
  455. </Row>
  456. <Row>
  457. <Col id="value">20</Col>
  458. <Col id="label">빈서식출력(유)</Col>
  459. </Row>
  460. <Row>
  461. <Col id="value">30</Col>
  462. <Col id="label">빈서식출력(무)</Col>
  463. </Row>
  464. </Rows>
  465. </Dataset>
  466. </Objects>
  467. <Bind>
  468. <BindItem id="item1" compid="grp.ipt_fromdd" propid="value" datasetid="ds_main_srchprofhist" columnid="fromdd"/>
  469. <BindItem id="item2" compid="grp.ipt_todd" propid="value" datasetid="ds_main_srchprofhist" columnid="todd"/>
  470. <BindItem id="item3" compid="grp.cmb_profformlist" propid="value" datasetid="ds_main_srchprofhist" columnid="formcd"/>
  471. <BindItem id="item4" compid="grp.combo1" propid="value" datasetid="ds_main_srchprofhist" columnid="ordtype"/>
  472. <BindItem id="item6" compid="grp.radio1" propid="value" datasetid="ds_main_srchprofhist" columnid="issflag"/>
  473. <BindItem id="item7" compid="grp.ipt_prntuserid" propid="value" datasetid="ds_main_srchprofhist" columnid="prntuserid"/>
  474. <BindItem id="item8" compid="grp.ipt_prntusernm" propid="value" datasetid="ds_main_srchprofhist" columnid="prntusernm"/>
  475. <BindItem id="item9" compid="grp.input1" propid="value" datasetid="ds_tmp" columnid="pid"/>
  476. <BindItem id="item10" compid="grp.input2" propid="value" datasetid="ds_tmp" columnid="hngnm"/>
  477. </Bind>
  478. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  479. * System Name :
  480. * Job Name :
  481. * Creator :
  482. * Make Date : 2015-11-13
  483. * Description :
  484. *---------------------------------------------------------------------------------------
  485. * Modify Date Modifier Modify Description
  486. *---------------------------------------------------------------------------------------
  487. * 2015-11-13 Live Converter TF->XP
  488. *
  489. *---------------------------------------------------------------------------------------
  490. ****************************************************************************************/
  491. //=======================================================================================
  492. // Lib Include
  493. //---------------------------------------------------------------------------------------
  494. include 'com_commonxp::comm_main.xjs';
  495. include 'emr_prcpmngtxp::MMOCommon.xjs';
  496. var arErrorCode = new HashArray();
  497. //=======================================================================================
  498. // Local methods
  499. //---------------------------------------------------------------------------------------
  500. /****************************************************************************************
  501. * Argument :
  502. * Description : fGetProfPrntHist
  503. ****************************************************************************************/
  504. function fGetProfPrntHist(){
  505. if(utlf_transNullToEmpty(ds_main_srchprofhist.getColumn(0, 'prntuserid')) == ''){
  506. ds_main_srchprofhist.setColumn(0, 'prntusernm', '');
  507. }
  508. var value1 = ds_main_srchprofhist.getColumn(0, 'fromdd');
  509. value1 = utlf_isNull(value1) ? '-' : value1;
  510. var value3 = (sysf_getUserInfo('dutplcecd') == '4070300000') ? 'Y' : '';
  511. dsf_createDsRow('ds_req', [
  512. { col: 'histflag', type: 'string', size: 256, val: 'histflag' },
  513. { col: 'pid', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'pid') },
  514. { col: 'fromdd', type: 'string', size: 256, val: value1 },
  515. { col: 'todd', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'todd') },
  516. { col: 'formcd', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'formcd') },
  517. { col: 'issflag', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'issflag') },
  518. { col: 'srchflag', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'srchflag') },
  519. { col: 'insuflag', type: 'string', size: 256, val: value3 },
  520. { col: 'ordtype', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'ordtype') },
  521. { col: 'prntuserid', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'prntuserid') },
  522. { col: 'prntusernm', type: 'string', size: 256, val: ds_main_srchprofhist.getColumn(0, 'prntusernm') }
  523. ], false);
  524. dsf_setDefaultVal(ds_req, "formcd:-,holograpflag:-");
  525. var oParam = {};
  526. oParam.id = "TRMMR02401";
  527. oParam.service = "medirecapp.ExtnMediRec";
  528. oParam.method = "reqGetProfPrePrntHist";
  529. oParam.inds = "req=ds_req";
  530. oParam.outds = "ds_main_profhist=profhist";
  531. oParam.async = true;
  532. oParam.callback = "cbf_callback";
  533. tranf_submit(oParam);
  534. }
  535. /****************************************************************************************
  536. * Argument :
  537. * Description : 제증명서식리스트 조회(자필포함)
  538. ****************************************************************************************/
  539. function fReqGetProfFormList(){
  540. var value = sysf_getUserInfo('dutplcecd');
  541. value = (value == '4070300000') ? 'Y' : '';
  542. dsf_createDsRow('ds_req', [
  543. { col: 'formprogflag', type: 'string', size: 256, val: 'PROF' },
  544. { col: 'insuflag', type: 'string', size: 256, val: value }
  545. ], false);
  546. ds_main_formlist.clearData();
  547. var oParam = {};
  548. oParam.id = "TRMMR02303";
  549. oParam.service = "medirecapp.ExtnMediRec";
  550. oParam.method = "reqGetCreatEnbleYearNoFormList";
  551. oParam.inds = "req=ds_req";
  552. oParam.outds = "ds_main_formlist=formlist";
  553. oParam.async = true;
  554. oParam.callback = "cbf_callback";
  555. tranf_submit(oParam);
  556. }
  557. /****************************************************************************************
  558. * Argument :
  559. * Description : fSetUserinfo
  560. ****************************************************************************************/
  561. function fSetUserinfo(){
  562. var retValue = appf_openUserInfoList('usernm', '', '', '', '');
  563. retValue = utlf_transNullToEmpty(retValue.userInfo).split('|');
  564. var rshid = retValue[2];
  565. var rshnm = retValue[3];
  566. ds_main_srchprofhist.setColumn(0, 'prntuserid', rshid);
  567. ds_main_srchprofhist.setColumn(0, 'prntusernm', rshnm);
  568. }
  569. //=======================================================================================
  570. // callback
  571. //---------------------------------------------------------------------------------------
  572. function cbf_callback(sSvcId, nErrorCode, sErrorMsg){
  573. arErrorCode.push(sSvcId, nErrorCode);
  574. if( sSvcId == "TRMMR02303" ){
  575. frmf_addComboItem('grp.cmb_profformlist', '', '', 'above');
  576. }
  577. }
  578. //=======================================================================================
  579. // Events
  580. //---------------------------------------------------------------------------------------
  581. /****************************************************************************************
  582. * Argument :
  583. * Description : onload
  584. ****************************************************************************************/
  585. function SMMMR02400_onload(obj:Form, e:LoadEventInfo){
  586. // 폼 초기화
  587. frmf_initForm(obj);
  588. try{
  589. ds_temp_prntinfo.copyData(arg_ds_cond_prntinfo);
  590. }catch(e){
  591. }
  592. ds_main_srchprofhist.setColumn(0, "fromdd", utlf_getCurrentDate());
  593. ds_main_srchprofhist.setColumn(0, "todd", utlf_getCurrentDate());
  594. appf_getCodeList([{ dsNm: 'ds_hidden_issusge', cdGrpId: 'M0332' }]);
  595. // 제증명 서식리스트 조회
  596. fReqGetProfFormList();
  597. if( ds_temp_prntinfo.rowcount > 0 ){
  598. var nPid = ds_temp_prntinfo.getColumn(0, "pid");
  599. var nHngnm = ds_temp_prntinfo.getColumn(0, "hngnm");
  600. var nFormcd = ds_temp_prntinfo.getColumn(0, "formcd");
  601. var nIssdt = ds_temp_prntinfo.getColumn(0, "issdt");
  602. if( !utlf_isNull(nPid) ){
  603. ds_main_srchprofhist.setColumn(0, "pid", nPid );
  604. ds_tmp.setColumn(0, "pid", nPid);
  605. ds_tmp.setColumn(0, "hngnm", nHngnm);
  606. }
  607. if( !utlf_isNull(nFormcd) )
  608. ds_main_srchprofhist.setColumn(0, "formcd", nFormcd );
  609. if( !utlf_isNull(nIssdt) && nIssdt.length == 14 ){
  610. var nIssdd = nIssdt.substring(0, 8);
  611. ds_main_srchprofhist.setColumn(0, "fromdd", nIssdd );
  612. //ds_main_srchprofhist.setColumn(0, "todd", nIssdd );
  613. }
  614. }
  615. fGetProfPrntHist();
  616. }
  617. /****************************************************************************************
  618. * Argument :
  619. * Description : 조회 버튼 클릭 이벤트
  620. ****************************************************************************************/
  621. function grp_btn_profhist_onclick(obj:Button, e:ClickEventInfo){
  622. var interval = utlf_getDateInterval(ds_main_srchprofhist.getColumn(0, 'fromdd'), ds_main_srchprofhist.getColumn(0, 'todd'));
  623. var pid = utlf_transNullToEmpty(ds_tmp.getColumn(0, 'pid'));
  624. var hngnm = utlf_transNullToEmpty(ds_tmp.getColumn(0, 'hngnm'));
  625. if((pid == '' || hngnm == '') && interval > 31){
  626. sysf_messageBox('시스템 부하 원인으로 환자등록번호 및 이름없이 31일까지만 조회', 'I006');
  627. return;
  628. }
  629. fGetProfPrntHist();
  630. }
  631. /****************************************************************************************
  632. * Argument :
  633. * Description : 등록번호 키보드 입력 이벤트
  634. ****************************************************************************************/
  635. function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
  636. if(e.keycode == 13){
  637. obj.updateToDataset();
  638. ds_tmp.setColumn(0, 'srchcond', '1');
  639. grp.btn_usrsrch.click();
  640. }
  641. }
  642. /****************************************************************************************
  643. * Argument :
  644. * Description : 등록번호 아이콘 클릭 이벤트
  645. ****************************************************************************************/
  646. function grp_btn_usrsrch_onclick(obj:Button, e:ClickEventInfo){
  647. ds_tmp.setColumn(0, 'autoflag', 'Y');
  648. frmf_modal("SPPMC02500", "SPPMC02500", { arg_ds_send: ds_tmp }, "", '', '', '', "", "", "", "", "", "M");
  649. ds_main_srchprofhist.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
  650. ds_tmp.setColumn(0, 'pid', ds_patinfolist.getColumn(0, 'pid'));
  651. ds_tmp.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
  652. ds_tmp.setColumn(0, 'rrgstno1', ds_patinfolist.getColumn(0, 'rrgstno1'));
  653. ds_tmp.setColumn(0, 'rrgstno2', ds_patinfolist.getColumn(0, 'rrgstno2'));
  654. grp.btn_profhist.click();
  655. }
  656. /****************************************************************************************
  657. * Argument :
  658. * Description : 환자명 키보드 입력 이벤트
  659. ****************************************************************************************/
  660. function grp_input2_onkeydown(obj:Edit, e:KeyEventInfo){
  661. if(e.keycode == 13){
  662. obj.updateToDataset();
  663. ds_tmp.setColumn(0, 'srchcond', '2');
  664. grp.btn_usrsrch.click();
  665. }
  666. }
  667. /****************************************************************************************
  668. * Argument :
  669. * Description : 구분 콤보 아이템 변경 이벤트
  670. ****************************************************************************************/
  671. function grp_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo){
  672. grp.btn_profhist.click();
  673. }
  674. /****************************************************************************************
  675. * Argument :
  676. * Description : 엑셀 버튼 클릭 이벤트
  677. ****************************************************************************************/
  678. function button10_onclick(obj:Button, e:ClickEventInfo){
  679. grdf_exportExcel(grd_proflist, "제증명 미리보기 출력리스트", "SheetName", true, "", "user", true);
  680. }
  681. /****************************************************************************************
  682. * Argument :
  683. * Description : 발행구분 라디오 아이템 변경 후 이벤트
  684. ****************************************************************************************/
  685. function grp_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo){
  686. grp.btn_profhist.click();
  687. }
  688. /****************************************************************************************
  689. * Argument :
  690. * Description : 발행자 검색 아이템 변경 이벤트
  691. ****************************************************************************************/
  692. function grp_btn_useid_onclick(obj:Button, e:ClickEventInfo){
  693. fSetUserinfo();
  694. }
  695. ]]></Script>
  696. </Form>
  697. </FDL>