SPPMC03902_환자별자격조회내역.xfdl 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMC03902" position="absolute 0 0 1196 780" titletext="환자 자격 조회 내역" oninit="SPPMC03902_oninit" onload="SPPMC03902_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="roundrect1" taborder="12" position="absolute -1 25 1195 65" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption17" text="등록번호 :" class="search_name" position="absolute 5 13 76 30" anchor="left top"/>
  11. <Edit id="ipt_pid" taborder="1" onkeydown="inp_pid_onkeydown" class="input_search" position="absolute 82 12 168 31" style="align:left middle;font:Dotum,9,bold;" anchor="left top" autoselect="true"/>
  12. <Button id="btn_pid" taborder="2" onclick="btn_pid_onclick" class="icon_search" position="absolute 175 13 191 29" anchor="left top"/>
  13. <Static id="caption9" text="-" position="absolute 331 13 341 32" anchor="left top"/>
  14. <CheckBox id="chk_ordflag" taborder="3" text="진료일:" onclick="chk_ordflag_onclick" position="absolute 418 13 479 28" anchor="left top" style="font:Dotum,9,bold;"/>
  15. <Calendar id="ipt_ordfromdd" taborder="4" autoselect="true" oneditclick="ipt_ordfromdd_oneditclick" class="input_search" enable="false" position="absolute 482 12 567 31" anchor="left top"/>
  16. <Static id="caption2" text="~" position="absolute 567 15 582 30" anchor="left top"/>
  17. <Calendar id="ipt_ordtodd" taborder="5" class="input_search" enable="false" position="absolute 581 12 666 31" anchor="left top"/>
  18. <CheckBox id="chk_srchflag" taborder="6" text="조회일:" onclick="chk_srchflag_onclick" position="absolute 705 13 775 28" anchor="left top" style="font:Dotum,9,bold;"/>
  19. <Calendar id="ipt_srchfromdd" taborder="7" oneditclick="ipt_srchfromdd_oneditclick" class="input_search" enable="false" position="absolute 777 12 862 31" anchor="left top"/>
  20. <Static id="caption4" text="~" position="absolute 863 15 872 30" anchor="left top"/>
  21. <Calendar id="ipt_srchtodd" taborder="8" class="input_search" enable="false" position="absolute 877 12 962 31" anchor="left top"/>
  22. <Button id="btn_search" taborder="9" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1130 10 1186 32" anchor="top right"/>
  23. <Shape id="line13" linetype="vertical" position="absolute 1116 8 1122 35" anchor="top right"/>
  24. <Static id="cap_hngnm" position="absolute 198 12 264 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
  25. <Static id="cap_rrgstno1" position="absolute 265 12 330 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
  26. <Static id="cap_rrgstno2" position="absolute 338 12 410 31" style="background:lightgrey;border:1 solid #808080ff ;align:center middle;"/>
  27. </Layout>
  28. </Layouts>
  29. </Div>
  30. <Static text="환자 자격 조회 내역" position="absolute 0 0 160 25" align="align:center middle;" id="cap_title" class="tit_1" anchor="left top"/>
  31. <Static text="조회 내역" position="absolute 0 73 78 90" id="caption7" class="tit_2"/>
  32. <Shape position="absolute 0 89 1195 95" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  33. <Button position="absolute 1120 67 1195 89" id="btn_excel" class="btn7" text="엑셀저장" taborder="7" onclick="btn_excel_onclick" anchor="left right"/>
  34. <Grid position="absolute 0 94 1195 779" align="align:center middle;" id="grd_msg2" binddataset="ds_main_msg2list_msg2info" taborder="6" anchor="all">
  35. <Formats>
  36. <Format id="default">
  37. <Columns>
  38. <Column size="24" band="left"/>
  39. <Column size="70"/>
  40. <Column size="120"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="120"/>
  44. <Column size="75"/>
  45. <Column size="70"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="80"/>
  49. <Column size="0"/>
  50. <Column size="120"/>
  51. <Column size="120"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="100"/>
  57. <Column size="100"/>
  58. <Column size="100"/>
  59. <Column size="100"/>
  60. <Column size="70"/>
  61. <Column size="95"/>
  62. <Column size="95"/>
  63. <Column size="150"/>
  64. <Column size="85"/>
  65. <Column size="140"/>
  66. <Column size="100"/>
  67. <Column size="150"/>
  68. <Column size="155"/>
  69. <Column size="130"/>
  70. <Column size="130"/>
  71. <Column size="130"/>
  72. <Column size="105"/>
  73. <Column size="180"/>
  74. <Column size="85"/>
  75. <Column size="135"/>
  76. <Column size="135"/>
  77. <Column size="140"/>
  78. <Column size="70"/>
  79. <Column size="120"/>
  80. <Column size="140"/>
  81. <Column size="120"/>
  82. <Column size="0"/>
  83. <Column size="250"/>
  84. <Column size="0"/>
  85. <Column size="70"/>
  86. <Column size="120"/>
  87. <Column size="0"/>
  88. <Column size="70"/>
  89. <Column size="120"/>
  90. </Columns>
  91. <Rows>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell/>
  97. <Cell col="1" text="진료일자"/>
  98. <Cell col="2" text="조회일시"/>
  99. <Cell col="3" text="의료급여기관기호"/>
  100. <Cell col="4" text="자격구분"/>
  101. <Cell col="5" text="자격구분"/>
  102. <Cell col="6" text="자격취득일"/>
  103. <Cell col="7" text="세대주성명"/>
  104. <Cell col="8" text="보장기관기호"/>
  105. <Cell col="9" text="시설기호"/>
  106. <Cell col="10" text="급여제한일자"/>
  107. <Cell col="11" text="본인부담구분"/>
  108. <Cell col="12" text="본인부담구분"/>
  109. <Cell col="13" text="건강생활유지비잔액"/>
  110. <Cell col="14" text="선택기관기호1"/>
  111. <Cell col="15" text="선택기관기호2"/>
  112. <Cell col="16" text="선택기관기호3"/>
  113. <Cell col="17" text="선택기관기호4"/>
  114. <Cell col="18" text="선택기관이름1"/>
  115. <Cell col="19" text="선택기관이름2"/>
  116. <Cell col="20" text="선택기관이름3"/>
  117. <Cell col="21" text="선택기관이름4"/>
  118. <Cell col="22" text="출국자여부"/>
  119. <Cell col="23" text="장애인등록일자"/>
  120. <Cell col="24" text="희귀난치대상자"/>
  121. <Cell col="25" text="산정특례(희귀)등록대상자"/>
  122. <Cell col="26" text="차상위대상자"/>
  123. <Cell col="27" text="산정특례(암)등록대상자"/>
  124. <Cell col="28" text="산전지원금잔액"/>
  125. <Cell col="29" text="산정특례(화상)등록대상자"/>
  126. <Cell col="30" text="당뇨병요양비대상자등록일"/>
  127. <Cell col="31" text="동일성분의약품제한자"/>
  128. <Cell col="32" text="노인틀니(상악)대상자"/>
  129. <Cell col="33" text="노인틀니(하악)대상자"/>
  130. <Cell col="34" text="자격상실처리일자"/>
  131. <Cell col="35" text="자가도뇨카테타대상자등록일자"/>
  132. <Cell col="36" text="급여제한여부"/>
  133. <Cell col="37" text="75세이상임플란트급여1"/>
  134. <Cell col="38" text="75세이상임플란트급여2"/>
  135. <Cell col="39" text="산정특례(결핵)등록정보"/>
  136. <Cell col="40" text="장애인여부"/>
  137. <Cell col="41" text="산정특례(극희귀)"/>
  138. <Cell col="42" text="산정특례(상세불명희귀)"/>
  139. <Cell col="43" text="송신일시"/>
  140. <Cell col="44" text="수신메시지코드"/>
  141. <Cell col="45" text="수신메시지"/>
  142. <Cell col="46" text="최초등록자ID"/>
  143. <Cell col="47" text="최초등록자"/>
  144. <Cell col="48" text="최초등록일시"/>
  145. <Cell col="49" text="최종수정자ID"/>
  146. <Cell col="50" text="최종수정자"/>
  147. <Cell col="51" text="최종수정일시"/>
  148. </Band>
  149. <Band id="body">
  150. <Cell celltype="head" expr="currow+1"/>
  151. <Cell col="1" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  152. <Cell col="2" displaytype="date" text="bind:workdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  153. <Cell col="3" text="bind:proccorpcd"/>
  154. <Cell col="4" text="bind:qualflag"/>
  155. <Cell col="5" text="bind:qualflagnm"/>
  156. <Cell col="6" displaytype="expr:expr:utlf_isNull(qualacqtdd)?'normal':'date'" text="bind:qualacqtdd"/>
  157. <Cell col="7" text="bind:hshdnm"/>
  158. <Cell col="8" text="bind:secuinstmark"/>
  159. <Cell col="9" text="bind:estmmark"/>
  160. <Cell col="10" displaytype="expr:utlf_isNull(paylimdd)?'normal':'date'" text="bind:paylimdd"/>
  161. <Cell col="11" text="bind:ownbflag"/>
  162. <Cell col="12" text="bind:ownbflagnm"/>
  163. <Cell col="13" displaytype="number" text="bind:heallifeamtval"/>
  164. <Cell col="14" text="bind:choicorpmark1"/>
  165. <Cell col="15" text="bind:choicorpmark2"/>
  166. <Cell col="16" text="bind:choicorpmark3"/>
  167. <Cell col="17" text="bind:choicorpmark4"/>
  168. <Cell col="18" text="bind:choicorpnm1"/>
  169. <Cell col="19" text="bind:choicorpnm2"/>
  170. <Cell col="20" text="bind:choicorpnm3"/>
  171. <Cell col="21" text="bind:choicorpnm4"/>
  172. <Cell col="22" text="bind:dcntrypsnyn"/>
  173. <Cell col="23" displaytype="expr:expr:utlf_isNull(handicaprrgstdd)?'normal':'date'" text="bind:handicaprrgstdd"/>
  174. <Cell col="24" text="bind:rareobsttrgtman"/>
  175. <Cell col="25" text="bind:befwomntrgtman"/>
  176. <Cell col="26" text="bind:scndsuptrgtman"/>
  177. <Cell col="27" text="bind:serdiagtrgtman"/>
  178. <Cell col="28" displaytype="number" text="bind:pregremamt"/>
  179. <Cell col="29" text="bind:burntrgtman"/>
  180. <Cell col="30" displaytype="expr:expr:expr:utlf_isNull(sugartrgtman)?'normal':'date'" text="bind:sugartrgtman"/>
  181. <Cell col="31" text="bind:procdurdd"/>
  182. <Cell col="32" text="bind:denttop"/>
  183. <Cell col="33" text="bind:dentbottom"/>
  184. <Cell col="34" displaytype="expr:expr:expr:utlf_isNull(paylimrgstdd)?'normal':'date'" text="bind:paylimrgstdd"/>
  185. <Cell col="35" text="bind:selfcathcatheter"/>
  186. <Cell col="36" text="bind:qlfrestrictcd"/>
  187. <Cell col="37" text="bind:dentimpl1"/>
  188. <Cell col="38" text="bind:dentimpl2"/>
  189. <Cell col="39" text="bind:tbrcls"/>
  190. <Cell col="40" text="bind:handicapyn"/>
  191. <Cell col="41" text="bind:disregprson10"/>
  192. <Cell col="42" text="bind:disregprson11"/>
  193. <Cell col="43" displaytype="date" text="bind:datainptdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  194. <Cell col="44" text="bind:msgcd"/>
  195. <Cell col="45" text="bind:msg"/>
  196. <Cell col="46" text="bind:fstrgstrid"/>
  197. <Cell col="47" text="bind:fstrgstrnm"/>
  198. <Cell col="48" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  199. <Cell col="49" text="bind:lastupdtrid"/>
  200. <Cell col="50" text="bind:lastupdtrnm"/>
  201. <Cell col="51" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  202. </Band>
  203. </Format>
  204. </Formats>
  205. </Grid>
  206. </Layout>
  207. </Layouts>
  208. <Objects>
  209. <Dataset id="ds_main_msg2list_msg2info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  210. <ColumnInfo>
  211. <Column id="pid" type="STRING" size="0"/>
  212. <Column id="hngnm" type="STRING" size="0"/>
  213. <Column id="rrgstno" type="STRING" size="0"/>
  214. <Column id="orddd" type="STRING"/>
  215. <Column id="workdt" type="STRING"/>
  216. <Column id="proccorpcd" type="STRING"/>
  217. <Column id="qualflag" type="STRING"/>
  218. <Column id="qualflagnm" type="STRING"/>
  219. <Column id="qualacqtdd" type="STRING"/>
  220. <Column id="hshdnm" type="STRING"/>
  221. <Column id="secuinstmark" type="STRING"/>
  222. <Column id="estmmark" type="STRING"/>
  223. <Column id="paylimdd" type="STRING"/>
  224. <Column id="ownbflag" type="STRING"/>
  225. <Column id="ownbflagnm" type="STRING"/>
  226. <Column id="heallifeamtval" type="STRING"/>
  227. <Column id="choicorpmark1" type="STRING"/>
  228. <Column id="choicorpmark2" type="STRING"/>
  229. <Column id="choicorpmark3" type="STRING"/>
  230. <Column id="choicorpmark4" type="STRING"/>
  231. <Column id="choicorpnm1" type="STRING"/>
  232. <Column id="choicorpnm2" type="STRING"/>
  233. <Column id="choicorpnm3" type="STRING"/>
  234. <Column id="choicorpnm4" type="STRING"/>
  235. <Column id="dcntrypsnyn" type="STRING"/>
  236. <Column id="handicaprrgstdd" type="STRING"/>
  237. <Column id="rareobsttrgtman" type="STRING"/>
  238. <Column id="befwomntrgtman" type="STRING"/>
  239. <Column id="scndsuptrgtman" type="STRING"/>
  240. <Column id="serdiagtrgtman" type="STRING"/>
  241. <Column id="pregremamt" type="STRING"/>
  242. <Column id="burntrgtman" type="STRING"/>
  243. <Column id="sugartrgtman" type="STRING"/>
  244. <Column id="procdurdd" type="STRING"/>
  245. <Column id="denttop" type="STRING"/>
  246. <Column id="dentbottom" type="STRING"/>
  247. <Column id="paylimrgstdd" type="STRING"/>
  248. <Column id="selfcathcatheter" type="STRING"/>
  249. <Column id="qlfrestrictcd" type="STRING"/>
  250. <Column id="dentimpl1" type="STRING"/>
  251. <Column id="dentimpl2" type="STRING"/>
  252. <Column id="tbrcls" type="STRING"/>
  253. <Column id="handicapyn" type="STRING"/>
  254. <Column id="disregprson10" type="STRING"/>
  255. <Column id="disregprson11" type="STRING"/>
  256. <Column id="datainptdt" type="STRING"/>
  257. <Column id="msgcd" type="STRING"/>
  258. <Column id="msg" type="STRING"/>
  259. <Column id="fstrgstrid" type="STRING"/>
  260. <Column id="fstrgstrnm" type="STRING"/>
  261. <Column id="fstrgstdt" type="STRING"/>
  262. <Column id="lastupdtrid" type="STRING"/>
  263. <Column id="lastupdtrnm" type="STRING"/>
  264. <Column id="lastupdtdt" type="STRING"/>
  265. </ColumnInfo>
  266. </Dataset>
  267. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="pid" type="STRING" size="256"/>
  270. <Column id="hngnm" type="STRING" size="256"/>
  271. <Column id="rrgstno1" type="STRING" size="256"/>
  272. <Column id="rrgstno2" type="STRING" size="256"/>
  273. <Column id="ordflag" type="STRING" size="256"/>
  274. <Column id="ordfromdd" type="STRING" size="256"/>
  275. <Column id="ordtodd" type="STRING" size="256"/>
  276. <Column id="srchflag" type="STRING" size="256"/>
  277. <Column id="srchfromdd" type="STRING" size="256"/>
  278. <Column id="srchtodd" type="STRING" size="256"/>
  279. </ColumnInfo>
  280. <Rows>
  281. <Row/>
  282. </Rows>
  283. </Dataset>
  284. <Dataset id="ds_main_result_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  285. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  286. <ColumnInfo>
  287. <Column id="srchcond" type="STRING" size="256"/>
  288. <Column id="pid" type="STRING" size="256"/>
  289. <Column id="hngnm" type="STRING" size="256"/>
  290. <Column id="rrgstno1" type="STRING" size="256"/>
  291. <Column id="rrgstno2" type="STRING" size="256"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row>
  295. <Col id="srchcond"/>
  296. <Col id="pid"/>
  297. <Col id="hngnm"/>
  298. <Col id="rrgstno1"/>
  299. <Col id="rrgstno2"/>
  300. </Row>
  301. </Rows>
  302. </Dataset>
  303. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="hngnm" type="STRING" size="256"/>
  306. <Column id="rrgstno1" type="STRING" size="256"/>
  307. <Column id="rrgstno2" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row/>
  311. </Rows>
  312. </Dataset>
  313. </Objects>
  314. <Bind>
  315. <BindItem id="item0" compid="roundrect1.ipt_ordfromdd" propid="value" datasetid="ds_send" columnid="ordfromdd"/>
  316. <BindItem id="item1" compid="roundrect1.ipt_ordtodd" propid="value" datasetid="ds_send" columnid="ordtodd"/>
  317. <BindItem id="item2" compid="roundrect1.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  318. <BindItem id="item3" compid="roundrect1.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  319. <BindItem id="item4" compid="roundrect1.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  320. <BindItem id="item8" compid="roundrect1.chk_ordflag" propid="value" datasetid="ds_send" columnid="ordflag"/>
  321. <BindItem id="item9" compid="roundrect1.chk_srchflag" propid="value" datasetid="ds_send" columnid="srchflag"/>
  322. <BindItem id="item5" compid="roundrect1.cap_hngnm" propid="text" datasetid="ds_hidden" columnid="hngnm"/>
  323. <BindItem id="item10" compid="roundrect1.cap_rrgstno1" propid="text" datasetid="ds_hidden" columnid="rrgstno1"/>
  324. <BindItem id="item6" compid="roundrect1.cap_rrgstno2" propid="text" datasetid="ds_hidden" columnid="rrgstno2"/>
  325. </Bind>
  326. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  327. * System Name :
  328. * Job Name :
  329. * Creator :
  330. * Make Date : 2016-05-24
  331. * Description :
  332. *---------------------------------------------------------------------------------------
  333. * Modify Date Modifier Modify Description
  334. *---------------------------------------------------------------------------------------
  335. * 2016-05-24 Live Converter TF->XP
  336. *
  337. *---------------------------------------------------------------------------------------
  338. ****************************************************************************************/
  339. //=======================================================================================
  340. // xjs Include
  341. //---------------------------------------------------------------------------------------
  342. include "com_commonxp::comm_main.xjs";
  343. include "pam_pamcomnxp::PAM.xjs";
  344. include "pam_pamcomnxp::PMC001.xjs";
  345. function SPPMC03902_oninit(obj:Form, e:InitEventInfo)
  346. {
  347. frmf_initForm(obj);
  348. }
  349. function SPPMC03902_onload(obj:Form, e:LoadEventInfo)
  350. {
  351. ds_send.setColumn(0, "ordfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  352. ds_send.setColumn(0, "ordtodd", utlf_getCurrentDate());
  353. ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate().toDate().getAddDate(-1, "Y").getDateFormat("YYYYMMDD"));
  354. ds_send.setColumn(0, "srchtodd", utlf_getCurrentDate());
  355. ds_send.setColumn(0, "ordflag", "");
  356. ds_send.setColumn(0, "srchflag", "");
  357. m_opener = frmf_getoOpener();
  358. if (frmf_checkOpener())
  359. {
  360. roundrect1.ipt_pid.value = opener.frmf_getParameter("SPPMC03900_ptmsg_pid");
  361. roundrect1.btn_search_onclick();
  362. }
  363. }
  364. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  365. {
  366. var ord_flag
  367. var srchflag
  368. if ( roundrect1.chk_ordflag.value==true)
  369. {
  370. ordflag = 'Y';
  371. }
  372. else
  373. {
  374. ordflag = '';
  375. }
  376. if ( roundrect1.chk_srchflag.value==true)
  377. {
  378. srchflag = 'Y';
  379. }
  380. else
  381. {
  382. srchflag = '';
  383. }
  384. ds_send.setColumn(0, "pid" ,roundrect1.ipt_pid.value);
  385. ds_send.setColumn(0, "ordflag" ,ordflag);
  386. ds_send.setColumn(0, "ordfromdd" ,roundrect1.ipt_ordfromdd.value);
  387. ds_send.setColumn(0, "ordtodd" ,roundrect1.ipt_ordtodd.value);
  388. ds_send.setColumn(0, "srchflag" ,srchflag);
  389. ds_send.setColumn(0, "srchfromdd",roundrect1.ipt_srchfromdd.value);
  390. ds_send.setColumn(0, "srchtodd" ,roundrect1.ipt_srchtodd.value);
  391. var oParam = {};
  392. oParam.id = "TRPAC04003";
  393. oParam.service = "pamcomnapp.PamComn";
  394. oParam.method = "reqGetMsg2Hist";
  395. oParam.inds = "req=ds_send";
  396. oParam.outds = "ds_main_msg2list_msg2info=msg2";
  397. oParam.async = false;
  398. //oParam.callback = "cf_TRPAC04003";
  399. tranf_submit(oParam);
  400. if(ds_main_msg2list_msg2info.rowcount > 0)
  401. {
  402. roundrect1.cap_hngnm.text = ds_main_msg2list_msg2info.getColumn(0,"hngnm");
  403. roundrect1.cap_rrgstno1.text = ds_main_msg2list_msg2info.getColumn(0,"rrgstno").substr(0, 6);
  404. roundrect1.cap_rrgstno2.text = ds_main_msg2list_msg2info.getColumn(0,"rrgstno").substr(6, 7);
  405. }
  406. }
  407. function chk_ordflag_onclick(obj:CheckBox, e:ClickEventInfo)
  408. {
  409. if(roundrect1.chk_ordflag.value == true)
  410. {
  411. roundrect1.ipt_ordfromdd.enable = true;
  412. roundrect1.ipt_ordtodd.enable = true;
  413. }
  414. else
  415. {
  416. roundrect1.ipt_ordfromdd.enable = false;
  417. roundrect1.ipt_ordtodd.enable = false;
  418. }
  419. }
  420. function chk_srchflag_onclick(obj:CheckBox, e:ClickEventInfo)
  421. {
  422. if(roundrect1.chk_srchflag.value == true)
  423. {
  424. roundrect1.ipt_srchfromdd.enable = true;
  425. roundrect1.ipt_srchtodd.enable = true;
  426. }
  427. else
  428. {
  429. roundrect1.ipt_srchfromdd.enable = false;
  430. roundrect1.ipt_srchtodd.enable = false;
  431. }
  432. }
  433. function btn_pid_onclick(obj:Button, e:ClickEventInfo)
  434. {
  435. dsf_createDsRow("ds_send_srchpid", [{col: "srchpid", val:utlf_transNullToEmpty(roundrect1.ipt_pid.value)}
  436. ]);
  437. var objArg = new Object();
  438. objArg.arg_ds_send = ds_send_srchpid;
  439. //환자조회화면 호출
  440. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  441. roundrect1.ipt_pid.value = ds_patinfolist.getColumn(0,"pid");
  442. roundrect1.cap_hngnm.text = ds_patinfolist.getColumn(0,"hngnm");
  443. roundrect1.cap_rrgstno1.text = ds_patinfolist.getColumn(0,"rrgstno1");
  444. roundrect1.cap_rrgstno2.text = ds_patinfolist.getColumn(0,"rrgstno2");
  445. ds_send.setColumn(0, "pid" ,ds_patinfolist.getColumn(0,"pid"));
  446. }
  447. /*fSearchPatInfo*/
  448. function fSearchPatInfo()
  449. {
  450. ds_source.setColumn(0, "srchcond", "1");
  451. ds_source.setColumn(0, "pid", roundrect1.ipt_pid.value);
  452. //환자등록번호 체크
  453. if(!utlf_isNull(roundrect1.ipt_pid.value))
  454. {
  455. ds_main_result_patinfo.clearData();
  456. ds_main_result_patinfo.addRow();
  457. if(!utlf_isNull(ds_source.getColumnInfo("srchcond")) && !utlf_isNull(ds_source.getColumnInfo("checkfnexam")))
  458. {
  459. dsf_setTypeFormat(ds_source, "srchcond:INT^checkfnexam:INT");
  460. }
  461. var oParam = {};
  462. oParam.id = "TRPMC02500";
  463. oParam.service = "patinfomngtapp.PatBaseInfo";
  464. oParam.method = "reqGetPatInfo";
  465. oParam.inds = "req=ds_source";
  466. oParam.outds = "ds_main_result_patinfo=patinfolist";
  467. oParam.async = false;
  468. oParam.callback = "cf_TRPMC02500";
  469. btn_search_onclick();
  470. }
  471. else
  472. {
  473. sysf_messageBox("환자등록번호를 정확히", "C001");
  474. }
  475. }
  476. function inp_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  477. {
  478. if(e.keycode == "13")
  479. {
  480. fSearchPatInfo();
  481. }
  482. }
  483. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  484. {
  485. if( ds_main_msg2list_msg2info.rowcount > 0 )
  486. {
  487. grdf_exportExcel(grd_msg2, "환자 자격 조회 내역", "환자 자격 조회 내역", "true", "", "");
  488. }
  489. else
  490. {
  491. sysf_messageBox("조회된 데이터가 ", "I004");
  492. }
  493. }]]></Script>
  494. </Form>
  495. </FDL>