SMMRC01400_차트이력관리.xfdl 126 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRC01400" position="absolute 0 0 1180 755" titletext="챠트이력관리" oninit="SMMRC01400_oninit" onload="SMMRC01400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Combo position="absolute 524 651 699 670" id="combo38" taborder="39" innerdataset="@ds_init_P0021" datacolumn="cdnm" codecolumn="cdid"/>
  8. <Static text="병실" position="absolute 449 674 519 697" align="align:center middle;" id="caption113" class="cell_1"/>
  9. <MaskEdit position="absolute 1019 625 1095 644" id="input82" taborder="51" mask="##:##" displaynulltext=" " type="string" onkeydown="input82_onkeydown" autoselect="true" autoskip="true"/>
  10. <Edit position="absolute 524 702 699 721" id="input71" taborder="41" onkeydown="input71_onkeydown"/>
  11. <Combo position="absolute 524 625 699 644" id="combo39" taborder="38" innerdataset="@ds_init_lendmastinfo_rendcdlist_filter" datacolumn="rendresn" codecolumn="rendcd"/>
  12. <Edit position="absolute 524 676 699 695" id="input83" taborder="40"/>
  13. <Shape position="absolute 449 721 1179 727" linetype="horizontal" id="line63" class="line_3"/>
  14. <Calendar position="absolute 909 573 1014 592" id="input72" taborder="45" class="input_search" autoselect="true" autoskip="true"/>
  15. <Static text="대출예약일" position="absolute 829 571 904 594" align="align:center middle;" id="caption93" class="cell_1"/>
  16. <Static text="대출자ID" position="absolute 449 571 519 594" align="align:center middle;" id="caption115" class="cell_1"/>
  17. <Calendar position="absolute 909 599 1014 618" id="input84" taborder="47" class="input_search" autoselect="true" autoskip="true"/>
  18. <Edit position="absolute 524 599 679 618" id="ipt_appmanid" taborder="35" onkeydown="ipt_appmanid_onkeydown" autoselect="true"/>
  19. <Button position="absolute 683 601 699 617" id="button28" taborder="36" class="icon_search" text="" onclick="button28_onclick"/>
  20. <Calendar position="absolute 909 651 1014 670" id="input85" taborder="53" class="input_search" autoselect="true" autoskip="true"/>
  21. <Shape position="absolute 449 593 1179 599" linetype="horizontal" id="line65" class="line_3"/>
  22. <Static text="비고" position="absolute 829 699 904 722" align="align:center middle;" id="caption105" class="cell_1"/>
  23. <MaskEdit position="absolute 1019 573 1095 592" id="input74" taborder="46" mask="##:##" type="string" onkeydown="input74_onkeydown" displaynulltext=" " autoselect="true" autoskip="true"/>
  24. <Static text="반납예정일" position="absolute 829 649 904 672" align="align:center middle;" id="caption95" class="cell_1"/>
  25. <Static text="대출과" position="absolute 449 546 519 569" align="align:center middle;" id="caption117" class="cell_1"/>
  26. <Calendar position="absolute 909 548 1014 567" id="input86" taborder="43" class="input_search" autoselect="true" autoskip="true"/>
  27. <Shape position="absolute 449 747 829 753" linetype="horizontal" id="line66" class="line_3"/>
  28. <Static text="초/재진" position="absolute 449 649 519 672" align="align:center middle;" id="caption106" class="cell_1"/>
  29. <Edit position="absolute 909 701 1179 720" id="input75" taborder="56"/>
  30. <Edit position="absolute 704 599 824 618" id="input64" taborder="37" enable="false"/>
  31. <Static text="신청자ID" position="absolute 449 597 519 620" align="align:center middle;" id="caption118" class="cell_1"/>
  32. <MaskEdit position="absolute 1019 599 1095 618" id="input87" taborder="48" mask="##:##" type="string" displaynulltext=" " onkeydown="input87_onkeydown" autoselect="true" autoskip="true"/>
  33. <Edit position="absolute 704 573 824 592" id="input65" taborder="34" enable="false"/>
  34. <Shape position="absolute 449 696 1179 702" linetype="horizontal" id="line56" class="line_3"/>
  35. <Shape position="absolute 449 567 1179 573" linetype="horizontal" id="line68" class="line_3"/>
  36. <Static text="반납일시" position="absolute 829 623 904 646" align="align:center middle;" id="caption108" class="cell_1"/>
  37. <Edit position="absolute 524 573 679 592" id="ipt_lendmanid" taborder="32" onkeydown="ipt_lendmanid_onkeydown" autoselect="true"/>
  38. <Grid position="absolute 445 60 1180 515" id="chrtlendlist" binddataset="ds_chrtlendlist" oncelldblclick="chrtlendlist_oncelldblclick" taborder="1">
  39. <Formats>
  40. <Format id="default">
  41. <Columns>
  42. <Column size="20" band="left"/>
  43. <Column size="50"/>
  44. <Column size="60"/>
  45. <Column size="60"/>
  46. <Column size="100"/>
  47. <Column size="50"/>
  48. <Column size="100"/>
  49. <Column size="100"/>
  50. <Column size="100"/>
  51. <Column size="100"/>
  52. <Column size="80"/>
  53. <Column size="60"/>
  54. <Column size="100"/>
  55. <Column size="70"/>
  56. <Column size="60"/>
  57. <Column size="60"/>
  58. <Column size="60"/>
  59. <Column size="80"/>
  60. <Column size="60"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="24" band="head"/>
  67. <Row size="24"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell celltype="none"/>
  71. <Cell col="1" text="대출과"/>
  72. <Cell col="2" text="대출자"/>
  73. <Cell col="3" text="신청자"/>
  74. <Cell col="4" text="대출용도"/>
  75. <Cell col="5" text="초/재진"/>
  76. <Cell col="6" text="대출일시"/>
  77. <Cell col="7" text="반납일시"/>
  78. <Cell col="8" text="대출메세지"/>
  79. <Cell col="9" text="반납예정일"/>
  80. <Cell col="10" text="병실"/>
  81. <Cell col="11" text="퇴원일"/>
  82. <Cell col="12" text="과보관사유"/>
  83. <Cell col="13" text="과보관사유"/>
  84. <Cell col="14" text="비고"/>
  85. <Cell col="15" text="연락처"/>
  86. <Cell col="16" text="진료일"/>
  87. <Cell col="17" text="진료과"/>
  88. <Cell col="18" text="예약구분"/>
  89. <Cell col="19" text="pid"/>
  90. <Cell col="20" text="medirecno"/>
  91. <Cell col="21" text="chrtseqno"/>
  92. </Band>
  93. <Band id="body">
  94. <Cell celltype="head" text="expr:currow + 1"/>
  95. <Cell col="1" text="bind:appdeptabbr" wordwrap="char"/>
  96. <Cell col="2" text="bind:lendman" wordwrap="char"/>
  97. <Cell col="3" text="bind:appman" wordwrap="char"/>
  98. <Cell col="4" style="align:left middle;" text="bind:rendresn" wordwrap="char"/>
  99. <Cell col="5" text="bind:fsexam"/>
  100. <Cell col="6" text="bind:renddt" mask="expr:utlf_isNull(renddt) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  101. <Cell col="7" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  102. <Cell col="8" style="align:left middle;" text="bind:msgcnts" wordwrap="char"/>
  103. <Cell col="9" text="bind:rtnschedd" mask="expr:utlf_isNull(rtnschedd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  104. <Cell col="10" text="bind:roomcd" wordwrap="char"/>
  105. <Cell col="11" text="bind:dschdd" wordwrap="char"/>
  106. <Cell col="12" displaytype="combo" edittype="none" text="bind:deptkeepcd" wordwrap="char" combodataset="ds_init_M0412" combocodecol="cdid" combodatacol="cdnm"/>
  107. <Cell col="13" style="align:left middle;" text="bind:deptkeepresn" wordwrap="char"/>
  108. <Cell col="14" style="align:left middle;" text="bind:unrtnresn" wordwrap="char"/>
  109. <Cell col="15" text="bind:cntctelno"/>
  110. <Cell col="16" text="bind:orddt" mask="expr:utlf_isNull(orddt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  111. <Cell col="17" text="bind:orddeptabbr" wordwrap="char"/>
  112. <Cell col="18" text="bind:rsrvflag"/>
  113. <Cell col="19" text="bind:pid"/>
  114. <Cell col="20" text="bind:medirecno"/>
  115. <Cell col="21" text="bind:chrtseqno"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. <Shape position="absolute 449 619 1179 625" linetype="horizontal" id="line69" class="line_3"/>
  121. <Static text="차트대출상세내역" position="absolute 450 525 597 542" id="caption109" class="tit_2"/>
  122. <Calendar position="absolute 909 625 1014 644" id="input78" taborder="50" class="input_search" autoselect="true" autoskip="true"/>
  123. <Static text="차트이력관리" position="absolute 0 0 112 23" id="caption104" class="tit_1"/>
  124. <Static text="과보관사유" position="absolute 829 674 904 697" align="align:center middle;" id="caption99" class="cell_1"/>
  125. <Combo position="absolute 524 548 699 567" id="combo40" taborder="31" innerdataset="@ds_init_lendmastinfo_lenddeptlist" datacolumn="lenddeptnm" codecolumn="lenddeptcd"/>
  126. <Edit position="absolute 524 727 825 746" id="input79" taborder="42"/>
  127. <Edit position="absolute 1019 676 1179 695" id="input68" taborder="55" onkeydown="input68_onkeydown"/>
  128. <Shape position="absolute 445 57 1180 63" linetype="horizontal" id="line59" class="line_1"/>
  129. <Combo position="absolute 909 676 1014 695" id="combo30" taborder="54" innerdataset="@ds_init_M0412" datacolumn="cdnm" codecolumn="cdid"/>
  130. <Button position="absolute 1124 728 1180 748" id="button30" taborder="57" class="btn3" text="저장" onclick="button30_onclick"/>
  131. <Combo position="absolute 1099 625 1175 644" id="combo31" taborder="52" codecolumn="codecolumn" datacolumn="datacolumn">
  132. <Dataset id="innerdataset">
  133. <ColumnInfo>
  134. <Column id="codecolumn"/>
  135. <Column id="datacolumn"/>
  136. </ColumnInfo>
  137. <Rows>
  138. <Row>
  139. <Col id="codecolumn">-</Col>
  140. <Col id="datacolumn">-</Col>
  141. </Row>
  142. <Row>
  143. <Col id="codecolumn">B</Col>
  144. <Col id="datacolumn">바코드</Col>
  145. </Row>
  146. <Row>
  147. <Col id="codecolumn">M</Col>
  148. <Col id="datacolumn">메뉴얼</Col>
  149. </Row>
  150. </Rows>
  151. </Dataset>
  152. </Combo>
  153. <Button position="absolute 683 576 699 592" id="button31" taborder="33" class="icon_search" text="" onclick="button31_onclick"/>
  154. <Static text="연락처" position="absolute 449 700 519 723" align="align:center middle;" id="caption110" class="cell_1"/>
  155. <Button position="absolute 1124 521 1180 541" id="button35" taborder="58" class="btn7" text="엑셀" onclick="button35_onclick"/>
  156. <Shape position="absolute 449 645 1179 651" linetype="horizontal" id="line71" class="line_3"/>
  157. <Static text="대출용도" position="absolute 449 623 519 646" align="align:center middle;" id="caption111" class="cell_1"/>
  158. <Static text="대출일시" position="absolute 829 597 904 620" align="align:center middle;" id="caption100" class="cell_1"/>
  159. <Static text="대출메세지" position="absolute 449 725 519 748" align="align:center middle;" id="caption90" class="cell_1" style="padding:0 0 0 8;font:Dotum,8;"/>
  160. <Combo position="absolute 1099 599 1175 618" id="combo37" taborder="49" codecolumn="codecolumn" datacolumn="datacolumn">
  161. <Dataset id="innerdataset">
  162. <ColumnInfo>
  163. <Column id="codecolumn"/>
  164. <Column id="datacolumn"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row>
  168. <Col id="codecolumn">-</Col>
  169. <Col id="datacolumn">-</Col>
  170. </Row>
  171. <Row>
  172. <Col id="codecolumn">B</Col>
  173. <Col id="datacolumn">바코드</Col>
  174. </Row>
  175. <Row>
  176. <Col id="codecolumn">M</Col>
  177. <Col id="datacolumn">메뉴얼</Col>
  178. </Row>
  179. </Rows>
  180. </Dataset>
  181. </Combo>
  182. <Static text="대출신청일" position="absolute 829 546 904 569" align="align:center middle;" id="caption112" class="cell_1"/>
  183. <Shape position="absolute 449 541 1179 547" linetype="horizontal" id="line61" class="line_1" style="strokepen:2 solid #9ebed4ff;"/>
  184. <MaskEdit position="absolute 1019 548 1095 567" id="input70" taborder="44" mask="##:##" type="string" displaynulltext=" " onkeydown="input70_onkeydown" autoselect="true" autoskip="true"/>
  185. <Static text="차트대출이력조회" position="absolute 446 40 576 57" id="caption91" class="tit_2"/>
  186. <Tab position="absolute 0 25 440 755" id="switch1" onchanged="switch1_onchanged" style="buttonpadding:4 50 4 50;buttonmargin:0 1 0 0;" taborder="0">
  187. <Tabpages>
  188. <Tabpage text="외래" id="case_chrtlist">
  189. <Layouts>
  190. <Layout>
  191. <Static text="최근내원일" position="absolute 219 33 294 56" align="align:center middle;" id="caption92" class="cell_1"/>
  192. <Shape position="absolute 3 592 435 598" linetype="horizontal" id="line62" class="line_1"/>
  193. <Static text="비고" position="absolute 3 108 78 131" align="align:center middle;" id="caption102" class="cell_1"/>
  194. <Button position="absolute 377 141 433 161" id="button27" taborder="28" class="btn3" text="삭제" onclick="switch1_case_chrtlist_button27_onclick"/>
  195. <Static text="이름" position="absolute 219 8 294 31" align="align:center middle;" id="caption103" class="cell_1"/>
  196. <Static text="분실이력" position="absolute 3 576 125 593" id="caption114" class="tit_2"/>
  197. <Static text="분실상태" position="absolute 219 83 294 106" align="align:center middle;" id="caption94" class="cell_1"/>
  198. <Shape position="absolute 3 161 435 167" linetype="horizontal" id="line64" class="line_1"/>
  199. <Button position="absolute 317 141 373 161" id="button29" taborder="27" class="btn3" text="수정" onclick="switch1_case_chrtlist_button29_onclick"/>
  200. <Static text="차트생성일" position="absolute 3 83 78 106" align="align:center middle;" id="caption116" class="cell_1"/>
  201. <Shape position="absolute 3 80 435 86" linetype="horizontal" id="line55" class="line_3"/>
  202. <Static text="대출상태" position="absolute 219 58 294 81" align="align:center middle;" id="caption96" class="cell_1"/>
  203. <Grid position="absolute 3 595 435 701" id="datagrid7" binddataset="ds_main_chrtstatlist">
  204. <Formats>
  205. <Format id="default">
  206. <Columns>
  207. <Column size="20" band="left"/>
  208. <Column size="60"/>
  209. <Column size="80"/>
  210. <Column size="80"/>
  211. <Column size="120"/>
  212. <Column size="80"/>
  213. </Columns>
  214. <Rows>
  215. <Row size="24" band="head"/>
  216. <Row size="24"/>
  217. </Rows>
  218. <Band id="head">
  219. <Cell celltype="none"/>
  220. <Cell col="1" text="차트과"/>
  221. <Cell col="2" text="차트과"/>
  222. <Cell col="3" text="분실상태"/>
  223. <Cell col="4" text="처리일시"/>
  224. <Cell col="5" text="처리자"/>
  225. </Band>
  226. <Band id="body">
  227. <Cell celltype="head" text="expr:currow + 1"/>
  228. <Cell col="1" text="bind:orddeptabbr" wordwrap="char"/>
  229. <Cell col="2" text="bind:orddeptnm" wordwrap="char"/>
  230. <Cell col="3" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
  231. <Cell col="4" text="bind:chrtstatdt" wordwrap="char" mask="expr:utlf_isNull(chrtstatdt) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  232. <Cell col="5" text="bind:rgstrnm" wordwrap="char"/>
  233. </Band>
  234. </Format>
  235. </Formats>
  236. </Grid>
  237. <Static text="챠트 (paper)" position="absolute 3 144 124 161" id="caption97" class="tit_2"/>
  238. <MaskEdit position="absolute 80 86 217 105" id="ipt_cretdt" taborder="24" enable="false" mask="####-##-## ##:##:##" type="string" displaynulltext=" "/>
  239. <Static text="바코드NO" position="absolute 3 58 78 81" align="align:center middle;" id="caption107" class="cell_1"/>
  240. <Shape position="absolute 3 105 435 111" linetype="horizontal" id="line57" class="line_3"/>
  241. <Edit position="absolute 297 10 434 29" id="ipt_pnm" taborder="19" class="input_essential" enable="false"/>
  242. <Static text="등록번호" position="absolute 3 8 78 31" align="align:center middle;" id="caption119" class="cell_1"/>
  243. <Shape position="absolute 3 55 435 61" linetype="horizontal" id="line58" class="line_3"/>
  244. <Edit position="absolute 80 111 435 130" id="ipt_chrtrem" taborder="26" lengthunit="ascii" maxlength="200"/>
  245. <Grid position="absolute 3 164 435 568" id="grd_chrtlist" binddataset="ds_main_chrtlist" oncellclick="switch1_case_chrtlist_grd_chrtlist_oncellclick">
  246. <Formats>
  247. <Format id="default">
  248. <Columns>
  249. <Column size="20" band="left"/>
  250. <Column size="0"/>
  251. <Column size="55"/>
  252. <Column size="80"/>
  253. <Column size="30"/>
  254. <Column size="70"/>
  255. <Column size="130"/>
  256. <Column size="110"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. </Columns>
  261. <Rows>
  262. <Row size="24" band="head"/>
  263. <Row size="24"/>
  264. </Rows>
  265. <Band id="head">
  266. <Cell celltype="none"/>
  267. <Cell col="1" text="차트번호"/>
  268. <Cell col="2" colspan="2" text="챠트과"/>
  269. <Cell col="4" text="대출&#13;&#10;여부"/>
  270. <Cell col="5" text="분실상태"/>
  271. <Cell col="6" text="바코드NO"/>
  272. <Cell col="7" text="비고"/>
  273. <Cell col="8" text="pid"/>
  274. <Cell col="9" text="pnm"/>
  275. <Cell col="10" text="orddeptcd"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell celltype="head" text="expr:currow + 1"/>
  279. <Cell col="1" text="bind:medirecno"/>
  280. <Cell col="2" text="bind:orddeptabbr" wordwrap="char"/>
  281. <Cell col="3" style="align:left middle;" text="bind:orddeptnm" wordwrap="char"/>
  282. <Cell col="4" text="bind:lendyn" wordwrap="char"/>
  283. <Cell col="5" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
  284. <Cell col="6" style="align:left middle;" text="bind:bcno" wordwrap="char"/>
  285. <Cell col="7" style="align:left middle;" text="bind:chrtrem" wordwrap="char"/>
  286. <Cell col="8" text="bind:pid"/>
  287. <Cell col="9" text="bind:pnm"/>
  288. <Cell col="10" text="bind:orddeptcd"/>
  289. </Band>
  290. </Format>
  291. </Formats>
  292. </Grid>
  293. <Edit position="absolute 80 60 217 79" id="ipt_bcno" taborder="22" class="input_essential"/>
  294. <Combo position="absolute 238 573 368 592" id="combo32" taborder="29" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
  295. <Combo position="absolute 80 36 217 55" id="cmb_chrtdeptcd" taborder="20" enable="false" innerdataset="ds_init_cmb_chrtdeptcd" datacolumn="chrtdeptnm" codecolumn="chrtdeptcd"/>
  296. <Button position="absolute 201 10 217 26" id="button32" taborder="18" class="icon_search" text="" onclick="switch1_case_chrtlist_button32_onclick"/>
  297. <Combo position="absolute 297 86 434 105" id="cmb_chrtstat" taborder="25" enable="false" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
  298. <Button position="absolute 371 573 435 592" id="button33" taborder="30" class="btn2" text="상태저장" onclick="switch1_case_chrtlist_button33_onclick"/>
  299. <Combo position="absolute 297 60 434 79" id="cmb_lendyn" taborder="23" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
  300. <Dataset id="innerdataset">
  301. <ColumnInfo>
  302. <Column id="codecolumn"/>
  303. <Column id="datacolumn"/>
  304. </ColumnInfo>
  305. <Rows>
  306. <Row>
  307. <Col id="codecolumn">N</Col>
  308. <Col id="datacolumn">반납</Col>
  309. </Row>
  310. <Row>
  311. <Col id="codecolumn">Y</Col>
  312. <Col id="datacolumn">대출</Col>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. </Combo>
  317. <Shape position="absolute 3 130 435 136" linetype="horizontal" id="line60" class="line_3"/>
  318. <Edit position="absolute 80 10 180 29" id="ipt_pid" taborder="16" class="input_essential" onkeydown="switch1_case_chrtlist_ipt_pid_onkeydown"/>
  319. <Static text="챠트과" position="absolute 3 33 78 56" align="align:center middle;" id="caption101" class="cell_1"/>
  320. <MaskEdit position="absolute 297 36 434 55" id="ipt_lastorddd" taborder="21" class="input_essential" enable="false" mask="####-##-##" type="string" displaynulltext=" "/>
  321. <Shape position="absolute 3 30 435 36" linetype="horizontal" id="line72" class="line_3"/>
  322. <Shape position="absolute 3 4 435 10" linetype="horizontal" id="line1" class="line_1"/>
  323. <CheckBox position="absolute 183 12 200 29" id="checkbox1" taborder="17" truevalue="Y" falsevalue="N"/>
  324. </Layout>
  325. </Layouts>
  326. </Tabpage>
  327. <Tabpage text="입원" id="case_inchrtlist">
  328. <Layouts>
  329. <Layout>
  330. <Static text="비고" position="absolute 3 108 78 131" align="align:center middle;" id="caption1" class="cell_1"/>
  331. <Shape position="absolute 3 592 435 598" linetype="horizontal" id="line2" class="line_1"/>
  332. <Static text="퇴원일" position="absolute 223 33 297 56" align="align:center middle;" id="caption2" class="cell_1"/>
  333. <Static text="분실이력" position="absolute 3 576 124 593" id="caption3" class="tit_2"/>
  334. <Static text="이름" position="absolute 223 8 297 31" align="align:center middle;" id="caption4" class="cell_1"/>
  335. <Button position="absolute 376 140 432 162" id="button1" taborder="13" class="btn3" text="삭제" onclick="switch1_case_inchrtlist_button1_onclick"/>
  336. <Shape position="absolute 3 162 435 168" linetype="horizontal" id="line3" class="line_1"/>
  337. <Static text="분실상태" position="absolute 223 83 297 106" align="align:center middle;" id="caption5" class="cell_1"/>
  338. <Static text="차트생성일" position="absolute 3 83 78 106" align="align:center middle;" id="caption6" class="cell_1"/>
  339. <Button position="absolute 316 140 372 162" id="button2" taborder="12" class="btn3" text="수정" onclick="switch1_case_inchrtlist_button2_onclick"/>
  340. <Static text="대출상태" position="absolute 223 58 297 81" align="align:center middle;" id="caption7" class="cell_1"/>
  341. <Shape position="absolute 3 80 435 86" linetype="horizontal" id="line4" class="line_3"/>
  342. <Static text="바코드NO" position="absolute 3 58 78 81" align="align:center middle;" id="caption8" class="cell_1"/>
  343. <MaskEdit position="absolute 80 86 220 105" id="input1" taborder="9" enable="false" mask="####-##-## ##:##:##" type="string" displaynulltext=" "/>
  344. <Static text="챠트 (paper)" position="absolute 3 143 128 160" id="caption9" class="tit_2"/>
  345. <Grid position="absolute 3 595 435 700" id="datagrid1" binddataset="ds_datagrid1">
  346. <Formats>
  347. <Format id="default">
  348. <Columns>
  349. <Column size="20" band="left"/>
  350. <Column size="80"/>
  351. <Column size="60"/>
  352. <Column size="80"/>
  353. <Column size="80"/>
  354. <Column size="120"/>
  355. <Column size="80"/>
  356. </Columns>
  357. <Rows>
  358. <Row size="24" band="head"/>
  359. <Row size="24"/>
  360. </Rows>
  361. <Band id="head">
  362. <Cell celltype="none"/>
  363. <Cell col="1" text="퇴원일"/>
  364. <Cell col="2" text="퇴원과"/>
  365. <Cell col="3" text="퇴원과"/>
  366. <Cell col="4" text="분실상태"/>
  367. <Cell col="5" text="처리일시"/>
  368. <Cell col="6" text="처리자"/>
  369. </Band>
  370. <Band id="body">
  371. <Cell celltype="head" text="expr:currow + 1"/>
  372. <Cell col="1" text="bind:dschdd" wordwrap="char" mask="expr:utlf_isNull(dschdd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  373. <Cell col="2" text="bind:orddeptabbr" wordwrap="char"/>
  374. <Cell col="3" text="bind:orddeptnm" wordwrap="char"/>
  375. <Cell col="4" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
  376. <Cell col="5" text="bind:chrtstatdt" wordwrap="char" mask="expr:utlf_isNull(chrtstatdt) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  377. <Cell col="6" text="bind:rgstrnm" wordwrap="char"/>
  378. </Band>
  379. </Format>
  380. </Formats>
  381. </Grid>
  382. <Static text="등록번호" position="absolute 3 8 78 31" align="align:center middle;" id="caption10" class="cell_1"/>
  383. <Edit position="absolute 299 10 434 29" id="input2" taborder="4" class="input_essential" enable="false"/>
  384. <Shape position="absolute 3 105 435 111" linetype="horizontal" id="line5" class="line_3"/>
  385. <Edit position="absolute 80 110 435 129" id="input3" taborder="11" lengthunit="ascii" maxlength="200"/>
  386. <Shape position="absolute 3 55 435 61" linetype="horizontal" id="line6" class="line_3"/>
  387. <Edit position="absolute 80 61 220 80" id="input4" taborder="7" class="input_essential"/>
  388. <Combo position="absolute 238 573 368 592" id="combo1" taborder="14" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
  389. <Button position="absolute 204 10 220 26" id="button3" taborder="3" class="icon_search" text="" onclick="switch1_case_inchrtlist_button3_onclick"/>
  390. <Combo position="absolute 80 35 220 54" id="combo2" taborder="5" enable="false" innerdataset="@ds_init_lendmastinfo_lenddeptlist_filter" datacolumn="lenddeptnm" codecolumn="lenddeptcd"/>
  391. <Button position="absolute 371 573 435 592" id="button4" taborder="15" class="btn2" text="상태저장" onclick="switch1_case_inchrtlist_button4_onclick"/>
  392. <Combo position="absolute 299 86 434 105" id="combo3" taborder="10" enable="false" innerdataset="@ds_init_M0424" datacolumn="cdnm" codecolumn="cdid"/>
  393. <Grid position="absolute 3 165 435 568" id="grd_inchrtlist" taborder="59" binddataset="ds_main_chrtlist" oncellclick="switch1_case_inchrtlist_grd_inchrtlist_oncellclick">
  394. <Formats>
  395. <Format id="default">
  396. <Columns>
  397. <Column size="20" band="left"/>
  398. <Column size="0"/>
  399. <Column size="80"/>
  400. <Column size="50"/>
  401. <Column size="40"/>
  402. <Column size="35"/>
  403. <Column size="35"/>
  404. <Column size="70"/>
  405. <Column size="70"/>
  406. <Column size="70"/>
  407. <Column size="120"/>
  408. <Column size="100"/>
  409. <Column size="0"/>
  410. <Column size="0"/>
  411. <Column size="0"/>
  412. </Columns>
  413. <Rows>
  414. <Row size="24" band="head"/>
  415. <Row size="24"/>
  416. </Rows>
  417. <Band id="head">
  418. <Cell celltype="none"/>
  419. <Cell col="1" text="차트번호"/>
  420. <Cell col="2" text="퇴원일"/>
  421. <Cell col="3" text="퇴원과"/>
  422. <Cell col="4" text="회차"/>
  423. <Cell col="5" text="대출&#13;&#10;상태"/>
  424. <Cell col="6" text="퇴원&#13;&#10;분석"/>
  425. <Cell col="7" text="Index상태"/>
  426. <Cell col="8" text="미비상태"/>
  427. <Cell col="9" text="분실상태"/>
  428. <Cell col="10" text="바코드NO"/>
  429. <Cell col="11" text="비고"/>
  430. <Cell col="12" text="pid"/>
  431. <Cell col="13" text="pnm"/>
  432. <Cell col="14" text="dschdeptcd"/>
  433. </Band>
  434. <Band id="body">
  435. <Cell celltype="head" text="expr:currow + 1"/>
  436. <Cell col="1" text="bind:medirecno"/>
  437. <Cell col="2" text="bind:dschdd" wordwrap="char" mask="expr:utlf_isNull(dschdd) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  438. <Cell col="3" text="bind:dschdeptnm" wordwrap="char"/>
  439. <Cell col="4" text="bind:indg" wordwrap="char"/>
  440. <Cell col="5" text="bind:lendyn" wordwrap="char"/>
  441. <Cell col="6" text="bind:dschanalyyn" wordwrap="char"/>
  442. <Cell col="7" text="bind:indexyn" wordwrap="char"/>
  443. <Cell col="8" text="bind:unprepstat" wordwrap="char"/>
  444. <Cell col="9" displaytype="combo" edittype="none" text="bind:chrtstat" wordwrap="char" combodataset="ds_init_M0424" combocodecol="cdid" combodatacol="cdnm"/>
  445. <Cell col="10" style="align:left middle;" text="bind:bcno" wordwrap="char"/>
  446. <Cell col="11" style="align:left middle;" text="bind:chrtrem" wordwrap="char"/>
  447. <Cell col="12" text="bind:pid"/>
  448. <Cell col="13" text="bind:pnm"/>
  449. <Cell col="14" text="bind:dschdeptcd"/>
  450. </Band>
  451. </Format>
  452. </Formats>
  453. </Grid>
  454. <Combo position="absolute 299 61 434 80" id="combo4" taborder="8" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
  455. <Dataset id="innerdataset">
  456. <ColumnInfo>
  457. <Column id="codecolumn"/>
  458. <Column id="datacolumn"/>
  459. </ColumnInfo>
  460. <Rows>
  461. <Row>
  462. <Col id="codecolumn">N</Col>
  463. <Col id="datacolumn">반납</Col>
  464. </Row>
  465. <Row>
  466. <Col id="codecolumn">Y</Col>
  467. <Col id="datacolumn">대출</Col>
  468. </Row>
  469. </Rows>
  470. </Dataset>
  471. </Combo>
  472. <Edit position="absolute 80 10 180 29" id="ipt_i_pid" taborder="1" class="input_essential" enable="true" onkeydown="switch1_case_inchrtlist_ipt_i_pid_onkeydown"/>
  473. <Shape position="absolute 3 130 435 136" linetype="horizontal" id="line7" class="line_3"/>
  474. <Shape position="absolute 3 30 435 36" linetype="horizontal" id="line8" class="line_3"/>
  475. <MaskEdit position="absolute 299 35 434 54" id="input6" taborder="6" class="input_essential" enable="false" mask="####-##-##" type="string" displaynulltext=" "/>
  476. <Static text="퇴원과" position="absolute 3 33 78 56" align="align:center middle;" id="caption11" class="cell_1"/>
  477. <Shape position="absolute 3 4 435 10" linetype="horizontal" id="line9" class="line_1"/>
  478. <CheckBox position="absolute 183 12 200 29" id="checkbox2" taborder="2" truevalue="Y" falsevalue="N"/>
  479. </Layout>
  480. </Layouts>
  481. </Tabpage>
  482. </Tabpages>
  483. </Tab>
  484. <Div position="absolute 765 38 1085 58" id="grup_inchrtlist" visible="false" taborder="2">
  485. <Layouts>
  486. <Layout>
  487. <Static text="퇴원과:" position="absolute 5 0 60 20" id="caption13" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
  488. <Edit readonly="true" position="absolute 55 0 155 19" id="output1" class="output" style="border:1 solid #ffffffff ;" anchor="default"/>
  489. <Static text="퇴원일:" position="absolute 165 0 220 20" id="caption14" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
  490. <MaskEdit readonly="true" position="absolute 215 0 315 19" id="output2" class="output" mask="####-##-##" style="border:1 solid #ffffffff ;" type="string" displaynulltext=" " anchor="default"/>
  491. </Layout>
  492. </Layouts>
  493. </Div>
  494. <Div position="absolute 610 38 765 58" id="grup_chrtlist" taborder="3">
  495. <Layouts>
  496. <Layout>
  497. <Static text="차트과:" position="absolute 0 0 55 20" id="cap_chrtdeptnm" style="color:#ff6600ff;font:Dotum,9,bold;" anchor="default"/>
  498. <Edit readonly="true" position="absolute 50 0 150 19" id="ipt_chrtdeptnm" class="output" style="border:1 solid #ffffffff ;" anchor="default"/>
  499. </Layout>
  500. </Layouts>
  501. </Div>
  502. <Shape position="absolute 449 671 1179 677" linetype="horizontal" id="line10" class="line_3"/>
  503. </Layout>
  504. </Layouts>
  505. <Objects>
  506. <Dataset id="ds_init_P0021" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  507. <ColumnInfo>
  508. <Column id="cdnm" type="STRING"/>
  509. <Column id="cdid" type="STRING"/>
  510. </ColumnInfo>
  511. </Dataset>
  512. <Dataset id="ds_init_M0392" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  513. <ColumnInfo>
  514. <Column id="cdnm" type="STRING"/>
  515. <Column id="cdid" type="STRING"/>
  516. </ColumnInfo>
  517. </Dataset>
  518. <Dataset id="ds_init_M0412" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  519. <ColumnInfo>
  520. <Column id="cdnm" type="STRING"/>
  521. <Column id="cdid" type="STRING"/>
  522. </ColumnInfo>
  523. </Dataset>
  524. <Dataset id="ds_init_M0424" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  525. <ColumnInfo>
  526. <Column id="cdnm" type="STRING"/>
  527. <Column id="cdid" type="STRING"/>
  528. </ColumnInfo>
  529. </Dataset>
  530. <Dataset id="ds_init_lendmastinfo_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" filterstr="rendcd != 'ALL'">
  531. <ColumnInfo>
  532. <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
  533. <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
  534. <Column id="rendresn" type="STRING" size="256" sumtext="대출용도"/>
  535. <Column id="defltrendterm" type="STRING" size="256" sumtext="대출기간"/>
  536. <Column id="defltrendtermunit" type="STRING" size="256" sumtext="대출기간단위"/>
  537. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  538. </ColumnInfo>
  539. </Dataset>
  540. <Dataset id="ds_init_lendmastinfo_lenddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  541. <ColumnInfo>
  542. <Column id="orddeptflag" type="STRING" size="256" sumtext="진료과구분"/>
  543. <Column id="lenddeptcd" type="STRING" size="256" sumtext="대출과코드"/>
  544. <Column id="lenddeptnm" type="STRING" size="256" sumtext="대출자명"/>
  545. <Column id="lenddeptabbr" type="STRING" size="256" sumtext="대출자약어명"/>
  546. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  547. <Column id="allwardyn" type="STRING" size="256" sumtext="병동유무"/>
  548. <Column id="orddeptkind" type="STRING" size="256" sumtext="센터구분"/>
  549. </ColumnInfo>
  550. </Dataset>
  551. <Dataset id="ds_init_lendmastinfo_chrtdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  552. <ColumnInfo>
  553. <Column id="chrtdeptcd" type="STRING" size="256" sumtext="차트과코드"/>
  554. <Column id="chrtdeptnm" type="STRING" size="256" sumtext="차트과명"/>
  555. <Column id="chrtdeptabbr" type="STRING" size="256" sumtext="차트과약어명"/>
  556. </ColumnInfo>
  557. </Dataset>
  558. <Dataset id="ds_init_lendmastinfo_chrtchgrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  559. <ColumnInfo>
  560. <Column id="chgruserid" type="STRING" size="256" sumtext="차트담당자ID"/>
  561. <Column id="chgrusernm" type="STRING" size="256" sumtext="차트담당자명"/>
  562. </ColumnInfo>
  563. </Dataset>
  564. <Dataset id="ds_init_lendmastinfo_keepplcelist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  565. <ColumnInfo>
  566. <Column id="keepno" type="STRING" size="256" sumtext="보관장소일련번호"/>
  567. <Column id="keepplce" type="STRING" size="256" sumtext="보관장소명"/>
  568. <Column id="frompid" type="STRING" size="256" sumtext="시작환자번호"/>
  569. <Column id="topid" type="STRING" size="256" sumtext="끝환자번호"/>
  570. </ColumnInfo>
  571. </Dataset>
  572. <FilteredDataset id="ds_init_lendmastinfo_rendcdlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_rendcdlist" filterstr="rendcd != 'ALL'"/>
  573. <FilteredDataset id="ds_init_lendmastinfo_lenddeptlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_lenddeptlist" filterstr="lenddeptcd != 'ALL'"/>
  574. <FilteredDataset id="ds_init_lendmastinfo_chrtdeptlist_filter" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" binddataset="@ds_init_lendmastinfo_chrtdeptlist" filterstr="chrtdeptcd != 'ALL'"/>
  575. <Dataset id="ds_chrtlendlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  576. <ColumnInfo>
  577. <Column id="appdeptabbr" type="STRING" size="256" sumtext="신청과약어명"/>
  578. <Column id="lendman" type="STRING" size="256" sumtext="대출자명"/>
  579. <Column id="appman" type="STRING" size="256" sumtext="신청자명"/>
  580. <Column id="rendresn" type="STRING" size="256" sumtext="대출용도"/>
  581. <Column id="fsexam" type="STRING" size="256" sumtext="초/재진명칭"/>
  582. <Column id="renddt" type="STRING" size="256" sumtext="대출일시"/>
  583. <Column id="rtndt" type="STRING" size="256" sumtext="반납일시"/>
  584. <Column id="msgcnts" type="STRING" size="256" sumtext="비고"/>
  585. <Column id="rtnschedd" type="STRING" size="256" sumtext="반납예정일"/>
  586. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  587. <Column id="dschdd" type="STRING" size="256" sumtext="병동-퇴원일"/>
  588. <Column id="deptkeepcd" type="STRING" size="256" sumtext="과보관사유코드 (공통코드 M0412)"/>
  589. <Column id="deptkeepresn" type="STRING" size="256" sumtext="과보관사유"/>
  590. <Column id="unrendresn" type="STRING" size="256" sumtext="미대출사유"/>
  591. <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
  592. <Column id="orddt" type="STRING"/>
  593. <Column id="orddeptabbr" type="STRING" size="256" sumtext="진료과약어명"/>
  594. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분 (공통코드 P0341) C.진료의뢰 D.과예약 I.인터넷 K.RC N.- T.전화 U.followup)"/>
  595. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  596. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트번호"/>
  597. <Column id="chrtseqno" type="BIGDECIMAL" size="256" sumtext="대출번호"/>
  598. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청과"/>
  599. <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
  600. <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
  601. <Column id="appdt" type="STRING" size="256" sumtext="신청일시"/>
  602. <Column id="fstacptprndt" type="STRING" size="256" sumtext="접수증출력일시"/>
  603. <Column id="rendschedd" type="STRING" size="256" sumtext="대출예약일"/>
  604. <Column id="rendschedt" type="STRING" size="256" sumtext="대출예약일시"/>
  605. <Column id="delyn" type="STRING" size="256" sumtext="대출취소유무"/>
  606. <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
  607. <Column id="unrendcd" type="STRING" size="256" sumtext="미대출사유코드 (공통코드 M0392)"/>
  608. <Column id="unrtnresn" type="STRING" size="256" sumtext="미반납사유"/>
  609. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분코드"/>
  610. <Column id="rsrv" type="STRING" size="256" sumtext="예약구분명칭"/>
  611. <Column id="prnpid" type="STRING" size="256" sumtext="출력을 위한 환자등록번호"/>
  612. <Column id="pnm" type="STRING" size="256" sumtext="환자명"/>
  613. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  614. <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
  615. <Column id="allchrtyn" type="STRING" size="256" sumtext="전체/과별구분"/>
  616. <Column id="chrtdeptcd" type="STRING" size="256" sumtext="차트과코드"/>
  617. <Column id="chrtdeptnm" type="STRING" size="256" sumtext="차트과명"/>
  618. <Column id="chrtdeptabbr" type="STRING" size="256" sumtext="차트과약어명"/>
  619. <Column id="appdeptnm" type="STRING" size="256" sumtext="신청과명"/>
  620. <Column id="keepno" type="STRING" size="256" sumtext="보관장소코드"/>
  621. <Column id="keepplce" type="STRING" size="256" sumtext="보관장소"/>
  622. <Column id="chrtlendyn" type="STRING" size="256" sumtext="챠트대출유무"/>
  623. <Column id="activerend" type="STRING" size="256" sumtext="대출시-대출용도"/>
  624. <Column id="activerenddd" type="STRING" size="256" sumtext="대출시-대출일자"/>
  625. <Column id="activedept" type="STRING" size="256" sumtext="대출시-대출과/신청자"/>
  626. <Column id="rendbcflag" type="STRING" size="256" sumtext="바코드처리구분(B:바코드,M:메뉴얼,X:처리안함"/>
  627. <Column id="rtnbcflag" type="STRING" size="256" sumtext="바코드처리구분(B:바코드,M:메뉴얼,X:처리안함"/>
  628. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  629. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  630. <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
  631. <Column id="subdeptcd" type="STRING" size="256" sumtext="부진료과코드"/>
  632. <Column id="fstacptprndt" type="STRING" size="256" sumtext="접수증출력일시"/>
  633. </ColumnInfo>
  634. </Dataset>
  635. <Dataset id="ds_main_chrtstatlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  636. <ColumnInfo>
  637. <Column id="orddeptabbr" type="STRING" size="256" sumtext="차트과/퇴원과 약어명"/>
  638. <Column id="orddeptnm" type="STRING" size="256" sumtext="차트과/퇴원과 명"/>
  639. <Column id="chrtstat" type="STRING" size="256" sumtext="차트상태코드"/>
  640. <Column id="chrtstatdt" type="STRING" size="256" sumtext="차트상태처리일시"/>
  641. <Column id="rgstrnm" type="STRING" size="256" sumtext="처리자"/>
  642. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  643. <Column id="rgstrid" type="STRING" size="256" sumtext="처리자ID"/>
  644. <Column id="orddeptcd" type="STRING" size="256" sumtext="차트과/퇴원과 코드"/>
  645. <Column id="orddd" type="STRING" size="256" sumtext="입원일"/>
  646. </ColumnInfo>
  647. </Dataset>
  648. <Dataset id="ds_main_chrtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  649. <ColumnInfo>
  650. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트이력번호"/>
  651. <Column id="orddeptabbr" type="STRING" size="256" sumtext="차트과/퇴원과 약어명"/>
  652. <Column id="orddeptnm" type="STRING" size="256" sumtext="차트과/퇴원과 명"/>
  653. <Column id="lendyn" type="STRING" size="256" sumtext="대출여부"/>
  654. <Column id="chrtstat" type="STRING" size="256" sumtext="분실상태"/>
  655. <Column id="bcno" type="STRING" size="256" sumtext="바코드번호"/>
  656. <Column id="chrtrem" type="STRING" size="256" sumtext="비고"/>
  657. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  658. <Column id="pnm" type="STRING" size="256" sumtext="환자이름"/>
  659. <Column id="orddeptcd" type="STRING" size="256" sumtext="차트과/퇴원과 코드"/>
  660. <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
  661. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  662. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  663. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  664. <Column id="fstrgstdt" type="STRING" size="256" sumtext="차트생성일"/>
  665. <Column id="dschdeptnm" type="STRING" size="256" sumtext="퇴원과 명"/>
  666. <Column id="indg" type="STRING" size="256" sumtext="입원회차"/>
  667. <Column id="dschanalyyn" type="STRING" size="256" sumtext="퇴원분석유무"/>
  668. <Column id="indexyn" type="STRING" size="256" sumtext="인덱스여부"/>
  669. <Column id="unprepstat" type="STRING" size="256" sumtext="미비상태"/>
  670. <Column id="dschdeptcd" type="STRING" size="256" sumtext="퇴원과 코드"/>
  671. <Column id="chkflag" type="STRING" size="256" sumtext="체크flag"/>
  672. <Column id="tmpcodeyn" type="STRING" size="256" sumtext="가코딩여부"/>
  673. <Column id="chrtstat" type="STRING" size="256" sumtext="분실상태"/>
  674. <Column id="chrtstatnm" type="STRING" size="256" sumtext="분실상태명"/>
  675. <Column id="disposstat" type="STRING" size="256" sumtext="퇴원분석상태"/>
  676. <Column id="orddd" type="STRING" size="256" sumtext="원무키-진료일"/>
  677. <Column id="cretno" type="BIGDECIMAL" size="256" sumtext="원무키-생성번호"/>
  678. </ColumnInfo>
  679. </Dataset>
  680. <Dataset id="ds_main_chrtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  681. <ColumnInfo>
  682. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  683. <Column id="pnm" type="STRING" size="256"/>
  684. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="차트이력번호"/>
  685. <Column id="orddeptcd" type="STRING" size="256"/>
  686. <Column id="bcno" type="STRING" size="256"/>
  687. <Column id="chrtrem" type="STRING" size="256"/>
  688. <Column id="lendyn" type="STRING" size="256"/>
  689. <Column id="lastorddd" type="STRING" size="256"/>
  690. <Column id="chrtstat" type="STRING" size="256"/>
  691. <Column id="ioflag" type="STRING" size="256" sumtext="외래/입원구분"/>
  692. <Column id="fstrgstdt" type="STRING" size="256"/>
  693. <Column id="dschdeptcd" type="STRING" size="256"/>
  694. <Column id="dschdd" type="STRING" size="256"/>
  695. <Column id="orddeptabbr" type="STRING" size="256"/>
  696. <Column id="dschdeptnm" type="STRING" size="256"/>
  697. </ColumnInfo>
  698. <Rows>
  699. <Row>
  700. <Col id="chrtstat">00</Col>
  701. <Col id="ioflag">O</Col>
  702. <Col id="orddeptabbr"/>
  703. <Col id="dschdeptnm"/>
  704. <Col id="dschdeptcd"/>
  705. <Col id="lendyn"/>
  706. <Col id="chrtrem"/>
  707. <Col id="bcno"/>
  708. <Col id="orddeptcd"/>
  709. <Col id="medirecno"/>
  710. <Col id="pnm"/>
  711. <Col id="pid"/>
  712. </Row>
  713. </Rows>
  714. </Dataset>
  715. <Dataset id="ds_main_chrtlendinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  716. <ColumnInfo>
  717. <Column id="chrtseqno" type="STRING" size="256" sumtext="대출이력번호"/>
  718. <Column id="pid" type="STRING" size="256" sumtext="환자이름"/>
  719. <Column id="appdeptcd" type="STRING" size="256" sumtext="대출과"/>
  720. <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
  721. <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
  722. <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
  723. <Column id="appdt" type="STRING" size="256"/>
  724. <Column id="rendschedd" type="STRING" size="256" sumtext="대출예약일"/>
  725. <Column id="renddt" type="STRING" size="256"/>
  726. <Column id="rtndt" type="STRING" size="256"/>
  727. <Column id="rendcd" type="STRING" size="256" sumtext="대출코드"/>
  728. <Column id="deptkeepcd" type="STRING" size="256" sumtext="과보관코드"/>
  729. <Column id="deptkeepresn" type="STRING" size="256" sumtext="과보관사유"/>
  730. <Column id="unrtnresn" type="STRING" size="256" sumtext="미반납사유"/>
  731. <Column id="msgcnts" type="STRING" size="256" sumtext="메세지"/>
  732. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  733. <Column id="fsexamflag" type="STRING" size="256" sumtext="초/재진"/>
  734. <Column id="chrtdeptcd" type="STRING" size="256"/>
  735. <Column id="lendman" type="STRING" size="256"/>
  736. <Column id="appman" type="STRING" size="256"/>
  737. <Column id="rendbcflag" type="STRING" size="256" sumtext="대출바코드"/>
  738. <Column id="rtnbcflag" type="STRING" size="256" sumtext="반납바코드"/>
  739. <Column id="usernm" type="STRING" size="256"/>
  740. <Column id="appdd" type="STRING" size="256" sumtext="신청일"/>
  741. <Column id="rtnschedd" type="STRING" size="256" sumtext="반납예정일"/>
  742. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  743. <Column id="rendschetm" type="STRING" size="256" sumtext="대출예약시간"/>
  744. <Column id="renddd" type="STRING" size="256" sumtext="대출일"/>
  745. <Column id="rendtm" type="STRING" size="256" sumtext="대출시간"/>
  746. <Column id="rtndd" type="STRING" size="256" sumtext="반납일"/>
  747. <Column id="rtntm" type="STRING" size="256" sumtext="반납시간"/>
  748. <Column id="fstacptprndt" type="STRING" size="256"/>
  749. <Column id="delyn" type="STRING" size="256"/>
  750. <Column id="rendresn" type="STRING" size="256"/>
  751. <Column id="unrendcd" type="STRING" size="256"/>
  752. <Column id="unrendresn" type="STRING" size="256"/>
  753. </ColumnInfo>
  754. <Rows>
  755. <Row>
  756. <Col id="chrtseqno"/>
  757. <Col id="pid"/>
  758. <Col id="appdeptcd"/>
  759. <Col id="lendmanid"/>
  760. <Col id="appmanid"/>
  761. <Col id="cntctelno"/>
  762. <Col id="appdt"/>
  763. <Col id="rendschedd"/>
  764. <Col id="renddt"/>
  765. <Col id="rtndt"/>
  766. <Col id="rendcd"/>
  767. <Col id="deptkeepcd"/>
  768. <Col id="deptkeepresn"/>
  769. <Col id="unrtnresn"/>
  770. <Col id="msgcnts"/>
  771. <Col id="roomcd"/>
  772. <Col id="fsexamflag"/>
  773. <Col id="chrtdeptcd"/>
  774. <Col id="lendman"/>
  775. <Col id="appman"/>
  776. <Col id="rendbcflag"/>
  777. <Col id="rtnbcflag"/>
  778. <Col id="usernm"/>
  779. <Col id="appdd"/>
  780. <Col id="rtnschedd"/>
  781. <Col id="renddd"/>
  782. <Col id="rtndd"/>
  783. </Row>
  784. </Rows>
  785. </Dataset>
  786. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  787. <ColumnInfo>
  788. <Column id="chkyn1" type="STRING" size="256"/>
  789. <Column id="chkyn2" type="STRING" size="256"/>
  790. </ColumnInfo>
  791. <Rows>
  792. <Row>
  793. <Col id="chkyn1">Y</Col>
  794. <Col id="chkyn2">Y</Col>
  795. </Row>
  796. </Rows>
  797. </Dataset>
  798. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  799. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  800. <Column id="useyn" type="STRING" size="256" sumtext="타과인경우 - 대출용도/대출과"/>
  801. <Column id="allwardyn" type="STRING" size="256" sumtext="타과인경우 - 대출과에 병동 제외"/>
  802. <ColumnInfo>
  803. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  804. <Column id="useyn" type="STRING" size="256" sumtext="타과인경우 - 대출용도/대출과"/>
  805. <Column id="allwardyn" type="STRING" size="256" sumtext="타과인경우 - 대출과에 병동 제외"/>
  806. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  807. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  808. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  809. <Column id="fromdd" type="STRING" size="256" sumtext="시작일"/>
  810. <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
  811. <Column id="dept" type="STRING" size="256" sumtext="진료과"/>
  812. </ColumnInfo>
  813. <Rows>
  814. <Row>
  815. <Col id="ioflag"/>
  816. <Col id="useyn"/>
  817. <Col id="allwardyn"/>
  818. <Col id="instcd"/>
  819. <Col id="pid"/>
  820. <Col id="medirecno"/>
  821. <Col id="fromdd"/>
  822. <Col id="todd"/>
  823. <Col id="dept"/>
  824. </Row>
  825. </Rows>
  826. </Dataset>
  827. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  828. <Dataset id="ds_init_rendcd_rendcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  829. <ColumnInfo>
  830. <Column id="rendcd" type="STRING" size="256" sumtext="대출코드"/>
  831. <Column id="rendresn" type="STRING" size="256" sumtext="대출사유"/>
  832. <Column id="defltrendterm" type="STRING" size="256" sumtext="기본대출기간"/>
  833. <Column id="defltrendtermunit" type="STRING" size="256" sumtext="기간단위"/>
  834. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  835. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  836. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  837. <Column id="fstrgstruser" type="STRING" size="256" sumtext="최초등록자"/>
  838. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  839. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  840. <Column id="lastupdtruser" type="STRING" size="256" sumtext="최종수정자"/>
  841. </ColumnInfo>
  842. </Dataset>
  843. <Dataset id="ds_req_chartlend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  844. <ColumnInfo>
  845. <Column id="lendmen" type="STRING" size="256"/>
  846. <Column id="appmen" type="STRING" size="256"/>
  847. <Column id="appmanid" type="STRING" size="256"/>
  848. <Column id="appdeptcd" type="STRING" size="256"/>
  849. </ColumnInfo>
  850. <Rows>
  851. <Row>
  852. <Col id="lendmen"/>
  853. <Col id="appmen"/>
  854. <Col id="appmanid"/>
  855. <Col id="appdeptcd"/>
  856. </Row>
  857. </Rows>
  858. </Dataset>
  859. <Dataset id="ds_hidden_tmp_tempuserinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  860. <Dataset id="ds_hidden_tmp_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  861. <ColumnInfo>
  862. <Column id="param" type="STRING" size="256"/>
  863. <Column id="flag" type="STRING" size="256"/>
  864. <Column id="searchitem" type="STRING" size="256"/>
  865. </ColumnInfo>
  866. <Rows>
  867. <Row>
  868. <Col id="param"/>
  869. <Col id="flag"/>
  870. <Col id="searchitem"/>
  871. </Row>
  872. </Rows>
  873. </Dataset>
  874. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  875. <ColumnInfo>
  876. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  877. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  878. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  879. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  880. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  881. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  882. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  883. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  884. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  885. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  886. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  887. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  888. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  889. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  890. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  891. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  892. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  893. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  894. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  895. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  896. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  897. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  898. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  899. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  900. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  901. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  902. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  903. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  904. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  905. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  906. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  907. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  908. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  909. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  910. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  911. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  912. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  913. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  914. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  915. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  916. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  917. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  918. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  919. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  920. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  921. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  922. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  923. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  924. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  925. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  926. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  927. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  928. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  929. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  930. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  931. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  932. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  933. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  934. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  935. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  936. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  937. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  938. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  939. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  940. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  941. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  942. </ColumnInfo>
  943. </Dataset>
  944. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  945. <ColumnInfo>
  946. <Column id="popupendflag" type="STRING" size="256"/>
  947. </ColumnInfo>
  948. <Rows>
  949. <Row>
  950. <Col id="popupendflag"/>
  951. </Row>
  952. </Rows>
  953. </Dataset>
  954. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  955. <ColumnInfo>
  956. <Column id="dschdd" type="STRING"/>
  957. <Column id="orddeptabbr" type="STRING"/>
  958. <Column id="orddeptnm" type="STRING"/>
  959. <Column id="chrtstat" type="STRING"/>
  960. <Column id="chrtstatdt" type="STRING"/>
  961. <Column id="rgstrnm" type="STRING"/>
  962. </ColumnInfo>
  963. </Dataset>
  964. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  965. <ColumnInfo>
  966. <Column id="srchcond" type="INT" size="256" sumtext="검색조건"/>
  967. <Column id="checkfnexam" type="INT" size="256" sumtext="구환신환구분"/>
  968. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  969. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  970. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호 앞 6자리"/>
  971. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호 앞 7자리"/>
  972. <Column id="acptdd" type="STRING" size="256" sumtext="예약일자"/>
  973. <Column id="instcd" type="STRING" size="256" sumtext="예약일자"/>
  974. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  975. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  976. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  977. <Column id="ioflag" type="STRING" size="256" sumtext="입원/외래구분"/>
  978. <Column id="acptid" type="STRING" size="256" sumtext="처리자ID"/>
  979. <Column id="renddd" type="STRING" size="256" sumtext="대출일자"/>
  980. <Column id="resettm" type="STRING" size="256" sumtext="조회시간"/>
  981. <Column id="bcno" type="STRING" size="256" sumtext="바코드 번호"/>
  982. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  983. <Column id="rendcd" type="STRING" size="256" sumtext="대출용도코드"/>
  984. <Column id="appdeptcd" type="STRING" size="256" sumtext="대출신청부서"/>
  985. <Column id="lendmanid" type="STRING" size="256" sumtext="대출자ID"/>
  986. <Column id="appmanid" type="STRING" size="256" sumtext="신청자ID"/>
  987. <Column id="cntctelno" type="STRING" size="256" sumtext="연락처"/>
  988. <Column id="msgcnts" type="STRING" size="256" sumtext="메세지"/>
  989. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  990. <Column id="centcd" type="STRING" size="256" sumtext="센터과"/>
  991. <Column id="flag" type="STRING" size="256" sumtext="종이차트이력만"/>
  992. </ColumnInfo>
  993. <Rows>
  994. <Row>
  995. <Col id="srchcond"/>
  996. <Col id="checkfnexam"/>
  997. <Col id="pid"/>
  998. <Col id="hngnm"/>
  999. <Col id="rrgstno1"/>
  1000. <Col id="rrgstno2"/>
  1001. <Col id="acptdd"/>
  1002. <Col id="instcd"/>
  1003. <Col id="insukind"/>
  1004. <Col id="inhospyn"/>
  1005. <Col id="sex"/>
  1006. <Col id="ioflag"/>
  1007. <Col id="acptid"/>
  1008. <Col id="renddd"/>
  1009. <Col id="resettm"/>
  1010. <Col id="bcno"/>
  1011. <Col id="medirecno"/>
  1012. <Col id="rendcd"/>
  1013. <Col id="appdeptcd"/>
  1014. <Col id="lendmanid"/>
  1015. <Col id="appmanid"/>
  1016. <Col id="cntctelno"/>
  1017. <Col id="msgcnts"/>
  1018. <Col id="orddeptcd"/>
  1019. <Col id="centcd"/>
  1020. <Col id="flag"/>
  1021. </Row>
  1022. </Rows>
  1023. </Dataset>
  1024. <Dataset id="ds_main_result_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1025. <ColumnInfo>
  1026. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  1027. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  1028. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  1029. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  1030. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  1031. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  1032. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  1033. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  1034. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  1035. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  1036. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  1037. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1038. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1039. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  1040. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  1041. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  1042. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  1043. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  1044. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  1045. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  1046. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  1047. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  1048. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  1049. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  1050. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  1051. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  1052. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  1053. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  1054. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  1055. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  1056. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  1057. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  1058. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  1059. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  1060. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  1061. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  1062. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  1063. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  1064. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  1065. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  1066. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  1067. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  1068. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  1069. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  1070. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  1071. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  1072. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  1073. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  1074. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  1075. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  1076. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  1077. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  1078. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  1079. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  1080. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  1081. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  1082. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  1083. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  1084. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  1085. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  1086. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  1087. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  1088. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  1089. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  1090. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  1091. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  1092. </ColumnInfo>
  1093. </Dataset>
  1094. </Objects>
  1095. <Bind>
  1096. <BindItem id="item0" compid="combo38" propid="value" datasetid="ds_main_chrtlendinfo" columnid="fsexamflag"/>
  1097. <BindItem id="item1" compid="input82" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtntm"/>
  1098. <BindItem id="item2" compid="input71" propid="value" datasetid="ds_main_chrtlendinfo" columnid="cntctelno"/>
  1099. <BindItem id="item3" compid="combo39" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendcd"/>
  1100. <BindItem id="item4" compid="input83" propid="value" datasetid="ds_main_chrtlendinfo" columnid="roomcd"/>
  1101. <BindItem id="item5" compid="input72" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendschedd"/>
  1102. <BindItem id="item6" compid="input84" propid="value" datasetid="ds_main_chrtlendinfo" columnid="renddd"/>
  1103. <BindItem id="item7" compid="ipt_appmanid" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appmanid"/>
  1104. <BindItem id="item8" compid="input85" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtnschedd"/>
  1105. <BindItem id="item9" compid="input74" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendschetm"/>
  1106. <BindItem id="item10" compid="input86" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appdd"/>
  1107. <BindItem id="item11" compid="input75" propid="value" datasetid="ds_main_chrtlendinfo" columnid="unrtnresn"/>
  1108. <BindItem id="item12" compid="input64" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appman"/>
  1109. <BindItem id="item13" compid="input87" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rendtm"/>
  1110. <BindItem id="item14" compid="input65" propid="value" datasetid="ds_main_chrtlendinfo" columnid="lendman"/>
  1111. <BindItem id="item15" compid="ipt_lendmanid" propid="value" datasetid="ds_main_chrtlendinfo" columnid="lendmanid"/>
  1112. <BindItem id="item16" compid="input78" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtndd"/>
  1113. <BindItem id="item17" compid="combo40" propid="value" datasetid="ds_main_chrtlendinfo" columnid="appdeptcd"/>
  1114. <BindItem id="item18" compid="input79" propid="value" datasetid="ds_main_chrtlendinfo" columnid="msgcnts"/>
  1115. <BindItem id="item19" compid="input68" propid="value" datasetid="ds_main_chrtlendinfo" columnid="deptkeepresn"/>
  1116. <BindItem id="item20" compid="combo30" propid="value" datasetid="ds_main_chrtlendinfo" columnid="deptkeepcd"/>
  1117. <BindItem id="item21" compid="combo31" propid="value" datasetid="ds_main_chrtlendinfo" columnid="rtnbcflag"/>
  1118. <BindItem id="item22" compid="combo37" propid="value" datasetid="ds_main_chrtlendinfo" columnid=""/>
  1119. <BindItem id="item23" compid="input70" propid="value" datasetid="ds_main_chrtlendinfo" columnid="apptm"/>
  1120. <BindItem id="item24" compid="switch1.case_chrtlist.ipt_cretdt" propid="value" datasetid="ds_main_chrtinfo" columnid="fstrgstdt"/>
  1121. <BindItem id="item25" compid="switch1.case_chrtlist.ipt_pnm" propid="value" datasetid="ds_main_chrtinfo" columnid="pnm"/>
  1122. <BindItem id="item26" compid="switch1.case_chrtlist.ipt_chrtrem" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtrem"/>
  1123. <BindItem id="item27" compid="switch1.case_chrtlist.ipt_bcno" propid="value" datasetid="ds_main_chrtinfo" columnid="bcno"/>
  1124. <BindItem id="item28" compid="switch1.case_chrtlist.combo32" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
  1125. <BindItem id="item29" compid="switch1.case_chrtlist.cmb_chrtdeptcd" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
  1126. <BindItem id="item30" compid="switch1.case_chrtlist.cmb_chrtstat" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
  1127. <BindItem id="item31" compid="switch1.case_chrtlist.cmb_lendyn" propid="value" datasetid="ds_main_chrtinfo" columnid="lendyn"/>
  1128. <BindItem id="item32" compid="switch1.case_chrtlist.ipt_pid" propid="value" datasetid="ds_main_chrtinfo" columnid="pid"/>
  1129. <BindItem id="item33" compid="switch1.case_chrtlist.ipt_lastorddd" propid="value" datasetid="ds_main_chrtinfo" columnid="lastorddd"/>
  1130. <BindItem id="item34" compid="switch1.case_chrtlist.checkbox1" propid="value" datasetid="ds_hidden" columnid="chkyn1"/>
  1131. <BindItem id="item35" compid="switch1.case_inchrtlist.input1" propid="value" datasetid="ds_main_chrtinfo" columnid="fstrgstdt"/>
  1132. <BindItem id="item36" compid="switch1.case_inchrtlist.input2" propid="value" datasetid="ds_main_chrtinfo" columnid="pnm"/>
  1133. <BindItem id="item37" compid="switch1.case_inchrtlist.input3" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtrem"/>
  1134. <BindItem id="item38" compid="switch1.case_inchrtlist.input4" propid="value" datasetid="ds_main_chrtinfo" columnid="bcno"/>
  1135. <BindItem id="item39" compid="switch1.case_inchrtlist.combo1" propid="value" datasetid="ds_main_chrtinfo" columnid="chrtstat"/>
  1136. <BindItem id="item40" compid="switch1.case_inchrtlist.combo2" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdeptcd"/>
  1137. <BindItem id="item41" compid="switch1.case_inchrtlist.combo3" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
  1138. <BindItem id="item42" compid="switch1.case_inchrtlist.combo4" propid="value" datasetid="ds_main_chrtinfo" columnid=""/>
  1139. <BindItem id="item43" compid="switch1.case_inchrtlist.ipt_i_pid" propid="value" datasetid="ds_main_chrtinfo" columnid="pid"/>
  1140. <BindItem id="item44" compid="switch1.case_inchrtlist.input6" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdd"/>
  1141. <BindItem id="item45" compid="switch1.case_inchrtlist.checkbox2" propid="value" datasetid="ds_hidden" columnid="chkyn2"/>
  1142. <BindItem id="item46" compid="grup_inchrtlist.output1" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdeptnm"/>
  1143. <BindItem id="item47" compid="grup_inchrtlist.output2" propid="value" datasetid="ds_main_chrtinfo" columnid="dschdd"/>
  1144. <BindItem id="item48" compid="grup_chrtlist.ipt_chrtdeptnm" propid="value" datasetid="ds_main_chrtinfo" columnid="orddeptabbr"/>
  1145. </Bind>
  1146. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1147. * System Name :
  1148. * Job Name :
  1149. * Creator :
  1150. * Make Date : 2014-11-27
  1151. * Description :
  1152. *---------------------------------------------------------------------------------------
  1153. * Modify Date Modifier Modify Description
  1154. *---------------------------------------------------------------------------------------
  1155. * 2014-11-27 Live Converter TF->XP
  1156. *
  1157. *---------------------------------------------------------------------------------------
  1158. ****************************************************************************************/
  1159. //=======================================================================================
  1160. // Lib Include
  1161. //---------------------------------------------------------------------------------------
  1162. include "com_commonxp::comm_main.xjs"
  1163. include "emr_commonxp::EMRCommon.xjs"
  1164. //include "emr_chrtmngtxp::SMMRC01400.xjs"
  1165. include "emr_prcpmngtxp::MMOCommon.xjs" // lf_getHardCDList
  1166. //=======================================================================================
  1167. // Global Form Variable
  1168. //---------------------------------------------------------------------------------------
  1169. var arErrorCode = new HashArray();
  1170. // var arErrorMsg = new HashArray();
  1171. //=======================================================================================
  1172. // Function
  1173. //---------------------------------------------------------------------------------------
  1174. /****************************************************************************************
  1175. * Argument : 01. :
  1176. * : 02. :
  1177. * Description : 화면 초기화
  1178. ****************************************************************************************/
  1179. //=======================================================================================
  1180. // Transaction Callback
  1181. //---------------------------------------------------------------------------------------
  1182. /****************************************************************************************
  1183. * Argument : 01.sSvcId : 서비스 ID
  1184. * : 02.nErrorCode : 에러코드
  1185. * : 03.sErrorMsg : 에러메시지
  1186. * Description : tr_getCodeList의 콜백함수
  1187. ****************************************************************************************/
  1188. function cf_TRMRC01305(sSvcId, nErrorCode, sErrorMsg) {
  1189. arErrorCode.push(sSvcId, nErrorCode);
  1190. if(nErrorCode < 0) return;
  1191. sysf_trace("***** cf_TRMRC01305 *****");
  1192. }
  1193. function cf_TRMRC00100(sSvcId, nErrorCode, sErrorMsg) {
  1194. arErrorCode.push(sSvcId, nErrorCode);
  1195. if(nErrorCode < 0) return;
  1196. sysf_trace("***** cf_TRMRC00100 *****");
  1197. }
  1198. function cf_TXMRC01404(sSvcId, nErrorCode, sErrorMsg) {
  1199. arErrorCode.push(sSvcId, nErrorCode);
  1200. if(nErrorCode < 0) return;
  1201. sysf_trace("***** cf_TXMRC01404 *****");
  1202. }
  1203. function cf_TRMRC00170(sSvcId, nErrorCode, sErrorMsg) {
  1204. arErrorCode.push(sSvcId, nErrorCode);
  1205. if(nErrorCode < 0) return;
  1206. sysf_trace("***** cf_TRMRC00170 *****");
  1207. dsf_setDefaultVal(ds_chrtlendlist, "all");
  1208. ds_chrtlendlist.rowposition = -1;
  1209. }
  1210. function cf_TRMRC02702(sSvcId, nErrorCode, sErrorMsg) {
  1211. arErrorCode.push(sSvcId, nErrorCode);
  1212. if(nErrorCode < 0) return;
  1213. sysf_trace("***** cf_TRMRC02702 *****");
  1214. dsf_setDefaultVal(ds_chrtlendlist, "all");
  1215. ds_chrtlendlist.rowposition = -1;
  1216. }
  1217. function cf_TXMRC01402(sSvcId, nErrorCode, sErrorMsg) {
  1218. arErrorCode.push(sSvcId, nErrorCode);
  1219. if(nErrorCode < 0) return;
  1220. sysf_trace("***** cf_TXMRC01402 *****");
  1221. ds_main_chrtlist.rowposition = -1;
  1222. }
  1223. function cf_TXMRC01401(sSvcId, nErrorCode, sErrorMsg) {
  1224. arErrorCode.push(sSvcId, nErrorCode);
  1225. if(nErrorCode < 0) return;
  1226. sysf_trace("***** cf_TXMRC01401 *****");
  1227. ds_main_chrtlist.rowposition = -1;
  1228. }
  1229. function cf_TXMRC01403(sSvcId, nErrorCode, sErrorMsg) {
  1230. arErrorCode.push(sSvcId, nErrorCode);
  1231. if(nErrorCode < 0) return;
  1232. sysf_trace("***** cf_TXMRC01403 *****");
  1233. ds_main_chrtlist.rowposition = -1;
  1234. ds_main_chrtstatlist.rowposition = -1;
  1235. }
  1236. function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
  1237. arErrorCode.push(sSvcId, nErrorCode);
  1238. if(nErrorCode < 0) return;
  1239. //sysf_trace("***** cf_TRPMC02500 *****");
  1240. }
  1241. function cf_TRMRC00300(sSvcId, nErrorCode, sErrorMsg) {
  1242. arErrorCode.push(sSvcId, nErrorCode);
  1243. if(nErrorCode < 0) return;
  1244. sysf_trace("***** cf_TRMRC00300 *****");
  1245. // 첫번째 차트 선택해주기..
  1246. var rows = ds_main_chrtlist.rowcount;
  1247. if(rows > 0){
  1248. ds_main_chrtlist.rowposition = 0;
  1249. fDisplayChrtInfo(switch1.case_chrtlist.grd_chrtlist);
  1250. // var e = new GridClickEventInfo;
  1251. // frmf_inputEnterKey("switch1.case_chrtlist.grd_chrtlist", "oncellclick", e);
  1252. }
  1253. }
  1254. function cf_TRMRC01401(sSvcId, nErrorCode, sErrorMsg) {
  1255. arErrorCode.push(sSvcId, nErrorCode);
  1256. if(nErrorCode < 0) return;
  1257. sysf_trace("***** cf_TRMRC01401 *****");
  1258. ds_main_chrtstatlist.rowposition = -1
  1259. }
  1260. function cf_TRMRC02700(sSvcId, nErrorCode, sErrorMsg) {
  1261. arErrorCode.push(sSvcId, nErrorCode);
  1262. if(nErrorCode < 0) return;
  1263. sysf_trace("***** cf_TRMRC02700 *****");
  1264. // 첫번째 차트 선택해주기..
  1265. var rows = ds_main_chrtlist.rowcount;
  1266. if(rows > 0){
  1267. ds_main_chrtlist.rowposition = 0;
  1268. fDisplayChrtInfoI(switch1.case_inchrtlist.grd_inchrtlist);
  1269. // var e = new GridClickEventInfo;
  1270. // frmf_inputEnterKey("switch1.case_inchrtlist.grd_inchrtlist", "oncellclick", e);
  1271. }
  1272. }
  1273. //=======================================================================================
  1274. // Event
  1275. //---------------------------------------------------------------------------------------
  1276. /****************************************************************************************
  1277. * Components :
  1278. * Components ID : button5
  1279. * Event : onlbuttonup
  1280. * Argument : 01.obj : Object Event has occurred
  1281. * : 02.e : Event Object
  1282. * Description :
  1283. ****************************************************************************************/
  1284. function SMMRC01400_oninit(obj:Form, e:InitEventInfo)
  1285. {
  1286. frmf_initForm(obj);
  1287. }
  1288. function SMMRC01400_onload(obj:Form, e:LoadEventInfo)
  1289. {
  1290. grdf_setToolTipBind(switch1.case_chrtlist.datagrid7);
  1291. grdf_setToolTipBind(switch1.case_inchrtlist.datagrid1);
  1292. grdf_setToolTipBind(chrtlendlist);
  1293. grdf_setGridSort(switch1.case_chrtlist.grd_chrtlist);
  1294. grdf_setGridSort(switch1.case_inchrtlist.grd_inchrtlist);
  1295. fFormInit();
  1296. }
  1297. function input82_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  1298. {
  1299. if(e.keycode == "13") {
  1300. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1301. if (!utlf_isNull(userdeptcd)) {
  1302. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1303. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1304. }
  1305. }
  1306. }
  1307. function input71_onkeydown(obj:Edit, e:KeyEventInfo)
  1308. {
  1309. if(e.keycode == "13") {
  1310. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1311. if (!utlf_isNull(userdeptcd)) {
  1312. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1313. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1314. }
  1315. }
  1316. }
  1317. function ipt_appmanid_onkeydown(obj:Edit, e:KeyEventInfo)
  1318. {
  1319. if(e.keycode == "13") {
  1320. var userdeptcd = fCheckUserid(ipt_appmanid);
  1321. }
  1322. }
  1323. function button28_onclick(obj:Button, e:ClickEventInfo)
  1324. {
  1325. fGetUserid(ds_main_chrtlendinfo, "appmanid", "appman");
  1326. }
  1327. function input74_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  1328. {
  1329. if(e.keycode == "13") {
  1330. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1331. if (!utlf_isNull(userdeptcd)) {
  1332. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1333. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1334. }
  1335. }
  1336. }
  1337. function input87_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  1338. {
  1339. if(e.keycode == "13") {
  1340. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1341. if (!utlf_isNull(userdeptcd)) {
  1342. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1343. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1344. }
  1345. }
  1346. }
  1347. function ipt_lendmanid_onkeydown(obj:Edit, e:KeyEventInfo)
  1348. {
  1349. if(e.keycode == "13") {
  1350. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1351. }
  1352. }
  1353. function chrtlendlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1354. {
  1355. fDisplayLendList(chrtlendlist, e);
  1356. }
  1357. function input68_onkeydown(obj:Edit, e:KeyEventInfo)
  1358. {
  1359. if(e.keycode == "13") {
  1360. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1361. if (!utlf_isNull(userdeptcd)) {
  1362. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1363. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1364. }
  1365. }
  1366. }
  1367. function button30_onclick(obj:Button, e:ClickEventInfo)
  1368. {
  1369. var renddd = ds_main_chrtlendinfo.getColumn(0, "renddd");
  1370. if (utlf_isNull(renddd)) {
  1371. ds_main_chrtlendinfo.setColumn(0, "renddd", "99991231");
  1372. ds_main_chrtlendinfo.setColumn(0, "rendtm", "000000");
  1373. }
  1374. var rtndd = ds_main_chrtlendinfo.getColumn(0, "rtndd");
  1375. if (utlf_isNull(rtndd)) {
  1376. ds_main_chrtlendinfo.setColumn(0, "rtndd", "99991231");
  1377. ds_main_chrtlendinfo.setColumn(0, "rtntm", "000000");
  1378. }
  1379. var rtnschedd = ds_main_chrtlendinfo.getColumn(0, "rtnschedd");
  1380. if (utlf_isNull(rtnschedd)) {
  1381. ds_main_chrtlendinfo.setColumn(0, "rtnschedd", "99991231");
  1382. }
  1383. var oParam = {};
  1384. oParam.id = "TXMRC01404";
  1385. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1386. oParam.method = "reqSetChrtKeepList";
  1387. oParam.inds = "req=ds_main_chrtlendinfo";
  1388. oParam.outds = "ds_main_chrtlendinfo=chrtlendlist";
  1389. oParam.async = false;
  1390. oParam.callback = "cf_TXMRC01404";
  1391. tranf_submit(oParam);
  1392. var renddd = ds_main_chrtlendinfo.getColumn(0, "renddd");
  1393. if (renddd == "99991231") {
  1394. ds_main_chrtlendinfo.setColumn(0, "renddd", "");
  1395. ds_main_chrtlendinfo.setColumn(0, "rendtm", null);
  1396. }
  1397. var rtndd = ds_main_chrtlendinfo.getColumn(0, "rtndd");
  1398. if (rtndd == "99991231") {
  1399. ds_main_chrtlendinfo.setColumn(0, "rtndd", "");
  1400. ds_main_chrtlendinfo.setColumn(0, "rtntm", null);
  1401. }
  1402. var rtnschedd = ds_main_chrtlendinfo.getColumn(0, "rtnschedd");
  1403. if (rtnschedd == "99991231") {
  1404. ds_main_chrtlendinfo.setColumn(0, "rtnschedd", "");
  1405. }
  1406. var aaa = ds_chrtlendlist.getColumn(0, "ioflag");
  1407. if(aaa=="O"){
  1408. var oParam = {};
  1409. oParam.id = "TRMRC00170";
  1410. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1411. oParam.method = "reqGetChrtLendList";
  1412. oParam.inds = "req=ds_send_reqdata";
  1413. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1414. oParam.async = true;
  1415. oParam.callback = "cf_TRMRC00170";
  1416. tranf_submit(oParam);
  1417. }
  1418. else{
  1419. var oParam = {};
  1420. oParam.id = "TRMRC02702";
  1421. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1422. oParam.method = "reqGetInChrtLendList";
  1423. oParam.inds = "req=ds_send_reqdata";
  1424. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1425. oParam.async = true;
  1426. oParam.callback = "cf_TRMRC02702";
  1427. tranf_submit(oParam);
  1428. }
  1429. }
  1430. function button31_onclick(obj:Button, e:ClickEventInfo)
  1431. {
  1432. fGetUserid(ds_main_chrtlendinfo, "lendmanid", "lendman" );
  1433. }
  1434. function button35_onclick(obj:Button, e:ClickEventInfo)
  1435. {
  1436. // var fileName = window.fileDialog("save", ",", false, "차트대출이력", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1437. //
  1438. // if (fileName != "")
  1439. // {
  1440. // chrtlendlist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  1441. // }
  1442. grdf_exportExcel(chrtlendlist, "차트대출이력", "SheetName");
  1443. }
  1444. function input70_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  1445. {
  1446. if(e.keycode == "13") {
  1447. var userdeptcd = fCheckUserid(ipt_lendmanid);
  1448. if (!utlf_isNull(userdeptcd)) {
  1449. ds_req_chartlend.setColumn(0, "appmanid", ipt_lendmanid.value);
  1450. ds_req_chartlend.setColumn(0, "appdeptcd", userdeptcd);
  1451. }
  1452. }
  1453. }
  1454. function switch1_case_chrtlist_button27_onclick(obj:Button, e:ClickEventInfo)
  1455. {
  1456. fDeleteChrtInfo("O");
  1457. }
  1458. function switch1_case_chrtlist_button29_onclick(obj:Button, e:ClickEventInfo)
  1459. {
  1460. fUpdateChrtInfo();
  1461. }
  1462. function switch1_case_chrtlist_grd_chrtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1463. {
  1464. fDisplayChrtInfo(switch1.case_chrtlist.grd_chrtlist);
  1465. }
  1466. function switch1_case_chrtlist_button32_onclick(obj:Button, e:ClickEventInfo)
  1467. {
  1468. fGetPid(ds_main_chrtinfo, "pid", "pnm");
  1469. }
  1470. function switch1_case_chrtlist_button33_onclick(obj:Button, e:ClickEventInfo)
  1471. {
  1472. fUpdateChrtStat();
  1473. }
  1474. function switch1_case_chrtlist_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  1475. {
  1476. if(e.keycode == "13"){
  1477. switch1.case_chrtlist.ipt_pid.updateToDataset();
  1478. fGetPidNo(switch1.case_chrtlist.ipt_pid, ds_hidden.getColumn(0, "chkyn1"));
  1479. fCheckPid(switch1.case_chrtlist.ipt_pid, ds_main_chrtinfo, "pnm");
  1480. ds_send_reqdata.setColumn(0, "pid", ds_main_chrtinfo.getColumn(0, "pid"));
  1481. ds_send_reqdata.setColumn(0, "ioflag", "O");
  1482. ds_main_chrtinfo.setColumn(0, "ioflag", "O");
  1483. var oParam = {};
  1484. oParam.id = "TRMRC00300";
  1485. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1486. oParam.method = "reqGetChrtList";
  1487. oParam.inds = "req=ds_send_reqdata";
  1488. oParam.outds = "ds_main_chrtlist=chrtlist";
  1489. oParam.async = true;
  1490. oParam.callback = "cf_TRMRC00300";
  1491. tranf_submit(oParam);
  1492. }
  1493. }
  1494. function switch1_case_inchrtlist_button1_onclick(obj:Button, e:ClickEventInfo)
  1495. {
  1496. fDeleteChrtInfo("I");
  1497. }
  1498. function switch1_case_inchrtlist_button2_onclick(obj:Button, e:ClickEventInfo)
  1499. {
  1500. fUpdateChrtInfo();
  1501. }
  1502. function switch1_case_inchrtlist_button3_onclick(obj:Button, e:ClickEventInfo)
  1503. {
  1504. fGetPid(ds_main_chrtinfo, "pid", "pnm");
  1505. }
  1506. function switch1_case_inchrtlist_button4_onclick(obj:Button, e:ClickEventInfo)
  1507. {
  1508. fUpdateChrtStat();
  1509. }
  1510. function switch1_case_inchrtlist_grd_inchrtlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1511. {
  1512. // 선택로우의 챠트 정보를 디스플레이 해 주자..
  1513. fDisplayChrtInfoI(switch1.case_inchrtlist.grd_inchrtlist);
  1514. }
  1515. function switch1_case_inchrtlist_ipt_i_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  1516. {
  1517. if(e.keycode == "13"){
  1518. switch1.case_inchrtlist.ipt_i_pid.updateToDataset();
  1519. fGetPidNo(switch1.case_inchrtlist.ipt_i_pid, ds_hidden.getColumn(0, "chkyn2"));
  1520. fCheckPid(switch1.case_inchrtlist.ipt_i_pid, ds_main_chrtinfo, "pnm");
  1521. ds_send_reqdata.setColumn(0, "pid", ds_main_chrtinfo.getColumn(0, "pid"));
  1522. ds_send_reqdata.setColumn(0, "ioflag", "I");
  1523. ds_main_chrtinfo.setColumn(0, "ioflag", "I");
  1524. var oParam = {};
  1525. oParam.id = "TRMRC02700";
  1526. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1527. oParam.method = "reqGetInChrtList";
  1528. oParam.inds = "req=ds_send_reqdata";
  1529. oParam.outds = "ds_main_chrtlist=chrtlist";
  1530. oParam.async = true;
  1531. oParam.callback = "cf_TRMRC02700";
  1532. tranf_submit(oParam);
  1533. }
  1534. }
  1535. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1536. {
  1537. if( e.postindex == 0 ){
  1538. grup_chrtlist.visible = true;
  1539. grup_inchrtlist.visible = false;
  1540. ds_send_reqdata.setColumn(0, "ioflag", "O");
  1541. var oParam = {};
  1542. oParam.id = "TRMRC01305";
  1543. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1544. oParam.method = "reqGetRendCDList";
  1545. oParam.inds = "req=ds_send_reqdata";
  1546. oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist";
  1547. oParam.async = true;
  1548. oParam.callback = "cf_TRMRC01305";
  1549. tranf_submit(oParam);
  1550. fClearChrtInfo();
  1551. ds_main_chrtlist.clearData();
  1552. ds_main_chrtstatlist.clearData();
  1553. ds_chrtlendlist.clearData();
  1554. //model.toggle("case_chrtlist");
  1555. }else if( e.postindex == 1 ){
  1556. grup_chrtlist.visible = false;
  1557. grup_inchrtlist.visible = true;
  1558. ds_send_reqdata.setColumn(0, "ioflag", "I");
  1559. var oParam = {};
  1560. oParam.id = "TRMRC01305";
  1561. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1562. oParam.method = "reqGetRendCDList";
  1563. oParam.inds = "req=ds_send_reqdata";
  1564. oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist";
  1565. oParam.async = true;
  1566. oParam.callback = "cf_TRMRC01305";
  1567. tranf_submit(oParam);
  1568. fClearChrtInfo();
  1569. ds_main_chrtlist.clearData();
  1570. ds_main_chrtstatlist.clearData();
  1571. ds_chrtlendlist.clearData();
  1572. //model.toggle("case_inchrtlist");
  1573. }
  1574. }
  1575. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1576. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1577. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1578. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1579. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1580. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1581. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1582. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1583. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1584. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1585. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1586. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1587. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1588. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1589. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1590. //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1591. /**
  1592. * @desc : Source Node의 갯수를 구한다.
  1593. * @
  1594. * @param : path - node path
  1595. * @return :
  1596. * @authur : 김선태 2007. 5. 8
  1597. * @---------------------------------------------------
  1598. */
  1599. /*
  1600. function getNodeSetCnt(path)
  1601. {
  1602. var insXml = model.instances(0);
  1603. var nodeList = insXml.selectNodes(path);
  1604. return nodeList.length;
  1605. }
  1606. */
  1607. /**
  1608. * @desc : Source Node의 child nodelist를 Destination의 nodelist로 append한다.
  1609. *
  1610. * @param : strDest - 도착node path
  1611. * : strSrc - 출발node path
  1612. * @return :
  1613. * @authur : 이상현 2007. 3. 27
  1614. * @---------------------------------------------------
  1615. */
  1616. /*
  1617. function addCopyNodeset(strDest, strSrc, mode, destModel, srcModel) {
  1618. if( destModel == null || destModel =="" )
  1619. destModel = document.models.item(0);
  1620. if( srcModel == null || srcModel =="" )
  1621. srcModel = document.models.item(0);
  1622. var srcNodeList = srcModel.instances(0).selectNodes(strSrc);
  1623. var srcNode;
  1624. var pDestNode = destModel.instances.item(0).selectSingleNode(strDest).parentNode;
  1625. if( mode == "replace" || mode == null ) {
  1626. destModel.removeNodeset(strDest);
  1627. while( srcNode = srcNodeList.nextNode() ) {
  1628. pDestNode.appendChild(srcNode.cloneNode(true));
  1629. }
  1630. }
  1631. else if( mode == "after" ) {
  1632. while( srcNode = srcNodeList.nextNode() ) {
  1633. pDestNode.appendChild(srcNode.cloneNode(true));
  1634. }
  1635. }
  1636. else if( mode == "before" ) {
  1637. var destNode;
  1638. for( var i = srcNodeList.length - 1; i >= 0; i-- ) {
  1639. destNode = destModel.instances.item(0).selectSingleNode(strDest + "[1]");
  1640. pDestNode.insertBefore(srcNodeList.item(i).cloneNode(true), destNode);
  1641. }
  1642. }
  1643. }
  1644. */
  1645. /**
  1646. * @desc : 사용자의 권한을 체크하여 버튼셋팅.
  1647. * btn_r 조회버튼, btn_x 저장 및 수정 버튼, btn_p : 출력버튼
  1648. * @
  1649. * @param :
  1650. * @return :
  1651. * @authur : 김선태 2007. 5. 8
  1652. * @---------------------------------------------------
  1653. */
  1654. /*
  1655. function fchkAuth()
  1656. {
  1657. for(var i=0; i<= document.controls.length-1 ; i++){
  1658. if(document.controls.item(i).elementName == "xforms:button"){
  1659. if(document.controls.item(i).attribute("id").substr(0,6) == "btn_r_"){
  1660. document.controls.item(i).disabled = !checkAuth("R");
  1661. }
  1662. if(document.controls.item(i).attribute("id").substr(0,6) == "btn_x_"){
  1663. document.controls.item(i).disabled = !checkAuth("X");
  1664. }
  1665. if(document.controls.item(i).attribute("id").substr(0,6) == "btn_p_"){
  1666. document.controls.item(i).disabled = !checkAuth("P");
  1667. }
  1668. }
  1669. }
  1670. }
  1671. */
  1672. /**
  1673. * @desc : 폼초기화
  1674. * @
  1675. * @param :
  1676. * @return :
  1677. * @authur : 이은영 2008.03.18
  1678. * @---------------------------------------------------
  1679. */
  1680. function fFormInit()
  1681. {
  1682. switch1.tabindex = 0;
  1683. //공통코드 가져오기...
  1684. //P0021:초재진구분코드, F:병원초진, R:재진, D:과초진, S:상병초진, 4:타과경유(초진인데 재진료수납)
  1685. //M0392:챠트미대출사유코드
  1686. //M0412:과보관사유코드
  1687. //M0424:챠트상태코드
  1688. appf_getCodeList([{dsNm: "ds_init_P0021", cdGrpId: "P0021"},
  1689. {dsNm: "ds_init_M0392", cdGrpId: "M0392"},
  1690. {dsNm: "ds_init_M0412", cdGrpId: "M0412"},
  1691. {dsNm: "ds_init_M0424", cdGrpId: "M0424"}], true);
  1692. //대출코드 불러오기
  1693. ds_send_reqdata.setColumn(0, "ioflag", "O");
  1694. var oParam = {};
  1695. oParam.id = "TRMRC01305";
  1696. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1697. oParam.method = "reqGetRendCDList";
  1698. oParam.inds = "req=ds_send_reqdata";
  1699. oParam.outds = "ds_init_rendcd_rendcdlist=rendcdlist";
  1700. oParam.async = true;
  1701. oParam.callback = "cf_TRMRC01305";
  1702. tranf_submit(oParam);
  1703. // 대출용도, 대출과, 차트과, 차트담당자, 보관장소
  1704. ds_send_reqdata.setColumn(0, "ioflag" , "O");
  1705. ds_send_reqdata.setColumn(0, "useyn" , "");
  1706. ds_send_reqdata.setColumn(0, "allwardyn", "");
  1707. var oParam = {};
  1708. oParam.id = "TRMRC00100";
  1709. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1710. oParam.method = "reqGetLendMastInfo";
  1711. oParam.inds = "req=ds_send_reqdata";
  1712. oParam.outds = "ds_init_lendmastinfo_rendcdlist=rendcdlist ds_init_lendmastinfo_lenddeptlist=lenddeptlist ds_init_lendmastinfo_chrtdeptlist=chrtdeptlist ds_init_lendmastinfo_chrtchgrlist=chrtchgrlist ds_init_lendmastinfo_keepplcelist=keepplcelist";
  1713. oParam.async = true;
  1714. oParam.callback = "cf_TRMRC00100";
  1715. tranf_submit(oParam);
  1716. }
  1717. /**
  1718. * @desc : 선택된 챠트정보를 상위에 디스플레이 한다.
  1719. * @
  1720. * @param :
  1721. * @return :
  1722. * @authur : 이은영 2008.03.18
  1723. * @---------------------------------------------------
  1724. */
  1725. function fDisplayChrtInfo(gridObj){
  1726. oDs = this.objects[gridObj.binddataset];
  1727. if( gridObj.currentrow < 0 || gridObj.currentcol < 0 ){
  1728. return;
  1729. }
  1730. if (oDs.rowposition < 0){
  1731. return;
  1732. }
  1733. var row = oDs.rowposition;
  1734. var pid = oDs.getColumn(row, "pid");
  1735. var pnm = oDs.getColumn(row, "pnm");
  1736. var orddeptcd = oDs.getColumn(row, "orddeptcd");
  1737. var lastorddd = oDs.getColumn(row, "lastorddd");
  1738. var bcno = oDs.getColumn(row, "bcno");
  1739. var chrtrem = oDs.getColumn(row, "chrtrem");
  1740. var fstrgstdt = oDs.getColumn(row, "fstrgstdt");
  1741. var chrtstat = oDs.getColumn(row, "chrtstat");
  1742. var lendyn = oDs.getColumn(row, "lendyn");
  1743. var ioflag = oDs.getColumn(row, "ioflag");
  1744. var medirecno = oDs.getColumn(row, "medirecno");
  1745. var orddeptabbr = oDs.getColumn(row, "orddeptabbr");
  1746. ds_main_chrtinfo.setColumn(0, "pid" , pid);
  1747. ds_main_chrtinfo.setColumn(0, "pnm" , pnm);
  1748. ds_main_chrtinfo.setColumn(0, "orddeptcd" , orddeptcd);
  1749. ds_main_chrtinfo.setColumn(0, "lastorddd" , lastorddd);
  1750. ds_main_chrtinfo.setColumn(0, "bcno" , bcno);
  1751. ds_main_chrtinfo.setColumn(0, "chrtrem" , chrtrem);
  1752. ds_main_chrtinfo.setColumn(0, "fstrgstdt" , fstrgstdt);
  1753. ds_main_chrtinfo.setColumn(0, "chrtstat" , chrtstat);
  1754. ds_main_chrtinfo.setColumn(0, "lendyn" , lendyn);
  1755. ds_main_chrtinfo.setColumn(0, "ioflag" , ioflag);
  1756. ds_main_chrtinfo.setColumn(0, "medirecno" , medirecno);
  1757. ds_main_chrtinfo.setColumn(0, "orddeptabbr", orddeptabbr);
  1758. ds_send_reqdata.setColumn(0, "medirecno", medirecno);
  1759. ds_send_reqdata.setColumn(0, "pid" , pid);
  1760. // 챠트분실이력조회
  1761. var oParam = {};
  1762. oParam.id = "TRMRC01401";
  1763. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1764. oParam.method = "reqGetChrtStatLog";
  1765. oParam.inds = "req=ds_send_reqdata";
  1766. oParam.outds = "ds_main_chrtstatlist=chrtstatlist";
  1767. oParam.async = false;
  1768. oParam.callback = "cf_TRMRC01401";
  1769. tranf_submit(oParam);
  1770. // 챠트대출이력조회
  1771. var oParam = {};
  1772. oParam.id = "TRMRC00170";
  1773. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1774. oParam.method = "reqGetChrtLendList";
  1775. oParam.inds = "req=ds_send_reqdata";
  1776. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1777. oParam.async = false;
  1778. oParam.callback = "cf_TRMRC00170";
  1779. tranf_submit(oParam);
  1780. }
  1781. function fDisplayChrtInfoI(gridObj){
  1782. oDs = this.objects[gridObj.binddataset];
  1783. if( gridObj.currentrow < 0 || gridObj.currentcol < 0 ){
  1784. return;
  1785. }
  1786. if (oDs.rowposition < 0){
  1787. return;
  1788. }
  1789. var row = oDs.rowposition;
  1790. var pid = oDs.getColumn(row, "pid");
  1791. var pnm = oDs.getColumn(row, "pnm");
  1792. var dschdeptcd = oDs.getColumn(row, "dschdeptcd");
  1793. var dschdd = oDs.getColumn(row, "dschdd");
  1794. var bcno = oDs.getColumn(row, "bcno");
  1795. var chrtrem = oDs.getColumn(row, "chrtrem");
  1796. var fstrgstdt = oDs.getColumn(row, "fstrgstdt");
  1797. var lendyn = oDs.getColumn(row, "lendyn");
  1798. var chrtstat = oDs.getColumn(row, "chrtstat");
  1799. var ioflag = oDs.getColumn(row, "ioflag");
  1800. var medirecno = oDs.getColumn(row, "medirecno");
  1801. var dschdeptnm = oDs.getColumn(row, "dschdeptnm");
  1802. ds_main_chrtinfo.setColumn(0, "pid" , pid);
  1803. ds_main_chrtinfo.setColumn(0, "pnm" , pnm);
  1804. ds_main_chrtinfo.setColumn(0, "dschdeptcd", dschdeptcd);
  1805. ds_main_chrtinfo.setColumn(0, "dschdd" , dschdd);
  1806. ds_main_chrtinfo.setColumn(0, "bcno" , bcno);
  1807. ds_main_chrtinfo.setColumn(0, "chrtrem" , chrtrem);
  1808. ds_main_chrtinfo.setColumn(0, "fstrgstdt" , fstrgstdt);
  1809. ds_main_chrtinfo.setColumn(0, "lendyn" , lendyn);
  1810. ds_main_chrtinfo.setColumn(0, "chrtstat" , chrtstat);
  1811. ds_main_chrtinfo.setColumn(0, "ioflag" , ioflag);
  1812. ds_main_chrtinfo.setColumn(0, "medirecno" , medirecno);
  1813. ds_main_chrtinfo.setColumn(0, "dschdeptnm", dschdeptnm);
  1814. ds_send_reqdata.setColumn(0, "medirecno", medirecno);
  1815. ds_send_reqdata.setColumn(0, "pid" , pid);
  1816. // 챠트분실이력조회
  1817. var oParam = {};
  1818. oParam.id = "TRMRC01401";
  1819. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1820. oParam.method = "reqGetChrtStatLog";
  1821. oParam.inds = "req=ds_send_reqdata";
  1822. oParam.outds = "ds_main_chrtstatlist=chrtstatlist";
  1823. oParam.async = false;
  1824. oParam.callback = "cf_TRMRC01401";
  1825. tranf_submit(oParam);
  1826. // 챠트대출이력조회
  1827. var oParam = {};
  1828. oParam.id = "TRMRC02702";
  1829. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1830. oParam.method = "reqGetInChrtLendList";
  1831. oParam.inds = "req=ds_send_reqdata";
  1832. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1833. oParam.async = false;
  1834. oParam.callback = "cf_TRMRC02702";
  1835. tranf_submit(oParam);
  1836. }
  1837. /**
  1838. * @desc : 챠트정보를 초기화한다.
  1839. * @
  1840. * @param :
  1841. * @return :
  1842. * @authur : 이은영 2008.03.18
  1843. * @---------------------------------------------------
  1844. */
  1845. function fClearChrtInfo(){
  1846. ds_main_chrtinfo.setColumn(0, "pid" , "");
  1847. ds_main_chrtinfo.setColumn(0, "pnm" , "");
  1848. ds_main_chrtinfo.setColumn(0, "medirecno" , "");
  1849. ds_main_chrtinfo.setColumn(0, "orddeptcd" , "");
  1850. ds_main_chrtinfo.setColumn(0, "bcno" , "");
  1851. ds_main_chrtinfo.setColumn(0, "chrtrem" , "");
  1852. ds_main_chrtinfo.setColumn(0, "chrtstat" , "");
  1853. ds_main_chrtinfo.setColumn(0, "lendyn" , "");
  1854. ds_main_chrtinfo.setColumn(0, "lastorddd" , null);
  1855. ds_main_chrtinfo.setColumn(0, "fstrgstdt" , null);
  1856. ds_main_chrtinfo.setColumn(0, "dschdeptcd" , "");
  1857. ds_main_chrtinfo.setColumn(0, "dschdd" , null);
  1858. ds_main_chrtinfo.setColumn(0, "orddeptabbr", "");
  1859. ds_main_chrtinfo.setColumn(0, "dschdeptnm" , "");
  1860. }
  1861. /**
  1862. * @desc : 챠트정보를 등록한다.
  1863. * @
  1864. * @param :
  1865. * @return :
  1866. * @authur : 이은영 2008.03.18
  1867. * @---------------------------------------------------
  1868. */
  1869. function fSaveChrtInfo(){
  1870. var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
  1871. if(!utlf_isNull(medirecno)){
  1872. sysf_messageBox("차트이력이 선택되어있습니다.\n신규버튼을 눌러 다시 작성 해 주십시요" , "I999")
  1873. return;
  1874. }
  1875. var orddeptcd =ds_main_chrtinfo.getColumn(0, "orddeptcd");
  1876. var medirecno = ds_main_chrtlist.lookup("orddeptcd", orddeptcd, "orddeptcd");
  1877. if (!utlf_isNull(medirecno)){
  1878. sysf_messageBox("이미 등록된 차트과입니다.\n신규버튼을 눌러 다시 작성 해 주십시요" , "I999")
  1879. return;
  1880. }
  1881. var oParam = {};
  1882. oParam.id = "TXMRC01401";
  1883. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1884. oParam.method = "setChrtList";
  1885. oParam.inds = "req=ds_main_chrtinfo";
  1886. oParam.outds = "ds_main_chrtlist=chrtlist";
  1887. oParam.async = true;
  1888. oParam.callback = "cf_TXMRC01401";
  1889. tranf_submit(oParam);
  1890. }
  1891. /**
  1892. * @desc : 챠트정보를 수정한다.
  1893. * @
  1894. * @param :
  1895. * @return :
  1896. * @authur : 이은영 2008.03.18
  1897. * @---------------------------------------------------
  1898. */
  1899. function fUpdateChrtInfo(){
  1900. var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
  1901. if(utlf_isNull(medirecno)){
  1902. sysf_messageBox("선택된 차트이력이 ", "I004")
  1903. return;
  1904. }
  1905. var oParam = {};
  1906. oParam.id = "TXMRC01401";
  1907. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1908. oParam.method = "setChrtList";
  1909. oParam.inds = "req=ds_main_chrtinfo";
  1910. oParam.outds = "ds_main_chrtlist=chrtlist";
  1911. oParam.async = true;
  1912. oParam.callback = "cf_TXMRC01401";
  1913. tranf_submit(oParam);
  1914. }
  1915. /**
  1916. * @desc : 챠트정보를 삭제한다.
  1917. * @
  1918. * @param :
  1919. * @return :
  1920. * @authur : 이은영 2008.03.18
  1921. * @---------------------------------------------------
  1922. */
  1923. function fDeleteChrtInfo(ioflag){
  1924. var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
  1925. if(utlf_isNull(medirecno)){
  1926. sysf_messageBox("선택된 차트이력이 ", "I004")
  1927. return;
  1928. } else {
  1929. if(sysf_messageBox("선택된 차트이력을 ", "Q001") == "7"){
  1930. return;
  1931. }
  1932. }
  1933. // 차트대출이력을 조회한다. 카운트가 0 인 경우만 삭제한다.
  1934. if (ioflag == "O") {
  1935. var oParam = {};
  1936. oParam.id = "TRMRC00170";
  1937. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1938. oParam.method = "reqGetChrtLendList";
  1939. oParam.inds = "req=ds_send_reqdata";
  1940. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1941. oParam.async = false;
  1942. oParam.callback = "cf_TRMRC00170";
  1943. tranf_submit(oParam);
  1944. } else {
  1945. var oParam = {};
  1946. oParam.id = "TRMRC02702";
  1947. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1948. oParam.method = "reqGetInChrtLendList";
  1949. oParam.inds = "req=ds_send_reqdata";
  1950. oParam.outds = "ds_chrtlendlist=chrtlendlist";
  1951. oParam.async = false;
  1952. oParam.callback = "cf_TRMRC02702";
  1953. tranf_submit(oParam);
  1954. }
  1955. var cnt = ds_chrtlendlist.rowcount;
  1956. if (cnt == 0) {
  1957. var oParam = {};
  1958. oParam.id = "TXMRC01402";
  1959. oParam.service = "chrtmngtapp.ChrtRendMngt";
  1960. oParam.method = "delChrtList";
  1961. oParam.inds = "req=ds_main_chrtinfo";
  1962. oParam.outds = "ds_main_chrtlist=chrtlist";
  1963. oParam.async = false;
  1964. oParam.callback = "cf_TXMRC01402";
  1965. tranf_submit(oParam);
  1966. // 삭제후 챠트정보 초기화한다.
  1967. fClearChrtInfo();
  1968. } else {
  1969. sysf_messageBox("선택된 차트이력의 대출이력이 있어서 삭제 ", "E001")
  1970. return;
  1971. }
  1972. }
  1973. /**
  1974. * @desc : 환자등록번호 조회 팝업
  1975. * @
  1976. * @param :
  1977. * @return :
  1978. * @authur : 이은영 2008.03.18
  1979. * @---------------------------------------------------
  1980. */
  1981. function fGetPid(refoDs:Dataset, refPid, refPnm)
  1982. {
  1983. //조회건수가 1건일 경우 팝업창을 바로 닫는다.
  1984. var objColInfo = new Array();
  1985. objColInfo.push({col: "pid", type:"string", size:256, val:""});
  1986. objColInfo.push({col: "hngnm", type:"string", size:256, val:""});
  1987. objColInfo.push({col: "srchcond", type:"string", size:256, val:"2"});
  1988. objColInfo.push({col: "autoflag", type:"string", size:256, val:"N"});
  1989. objColInfo.push({col: "rrgstno1", type:"string", size:256, val:""});
  1990. objColInfo.push({col: "rrgstno2", type:"string", size:256, val:""});
  1991. objColInfo.push({col: "checkfnexam", type:"string", size:256, val:""});
  1992. dsf_createDsRow("ds_hidden_tmp_pidpopupinfo", objColInfo);
  1993. var objArgs = new Object();
  1994. objArgs.ds_SPPMC02500 = ds_hidden_tmp_pidpopupinfo;
  1995. frmf_modal("SPPMC02500", "SPPMC02500", objArgs, null, "1", "150", "150", null, null, null, null, null, "M");
  1996. //modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/tmp/pidpopupinfo", "/root/send");
  1997. //model.resetInstanceNode("/root/source");
  1998. //환자번호 copy
  1999. ds_main.setColumn(0, "popupendflag", frmf_getParameter("SPPMC02500_popupendflag"));
  2000. var popupendflag = ds_main.getColumn(0, "popupendflag");
  2001. if (popupendflag == "ok")
  2002. {
  2003. refoDs.setColumn(0, refPid, ds_patinfolist.getColumn(0, "pid"));
  2004. if (!utlf_isNull(refPnm)) {
  2005. refoDs.setColumn(0, refPnm, ds_patinfolist.getColumn(0, "hngnm"));
  2006. }
  2007. }
  2008. }
  2009. /**
  2010. * @desc : 선택된 챠트정보를 상위에 디스플레이 한다.
  2011. * @
  2012. * @param : gridObj - 그리드 컨트롤
  2013. * @return :
  2014. * @authur : 이은영 2008.03.18
  2015. * @---------------------------------------------------
  2016. */
  2017. function fDisplayLendList(gridObj, e){
  2018. var oDs = this.objects[gridObj.binddataset];
  2019. if ( e.row < 0 || e.col < 0 ){
  2020. return;
  2021. }
  2022. if (oDs.rowposition < 0){
  2023. return;
  2024. }
  2025. var row = oDs.rowposition;
  2026. var pid = oDs.getColumn(row, "pid");
  2027. var chrtseqno = oDs.getColumn(row, "chrtseqno");
  2028. var appdeptcd = oDs.getColumn(row, "appdeptcd");
  2029. var lendmanid = oDs.getColumn(row, "lendmanid");
  2030. var appmanid = oDs.getColumn(row, "appmanid");
  2031. var cntctelno = oDs.getColumn(row, "cntctelno");
  2032. var appdt = oDs.getColumn(row, "appdt");
  2033. var fstacptprndt = oDs.getColumn(row, "fstacptprndt");
  2034. var rendschedt = oDs.getColumn(row, "rendschedt");
  2035. var renddt = oDs.getColumn(row, "renddt");
  2036. var rtndt = oDs.getColumn(row, "rtndt");
  2037. var delyn = oDs.getColumn(row, "delyn");
  2038. var rendcd = oDs.getColumn(row, "rendcd");
  2039. var rendresn = oDs.getColumn(row, "rendresn");
  2040. var unrendcd = oDs.getColumn(row, "unrendcd");
  2041. var unrendresn = oDs.getColumn(row, "unrendresn");
  2042. var deptkeepcd = oDs.getColumn(row, "deptkeepcd");
  2043. var deptkeepresn = oDs.getColumn(row, "deptkeepresn");
  2044. var unrtnresn = oDs.getColumn(row, "unrtnresn");
  2045. var msgcnts = oDs.getColumn(row, "msgcnts");
  2046. var roomcd = oDs.getColumn(row, "roomcd");
  2047. var fsexamflag = oDs.getColumn(row, "fsexamflag");
  2048. var chrtdeptcd = oDs.getColumn(row, "chrtdeptcd");
  2049. var lendman = oDs.getColumn(row, "lendman");
  2050. var appman = oDs.getColumn(row, "appman");
  2051. var rtnschedd = oDs.getColumn(row, "rtnschedd");
  2052. var rendbcflag = oDs.getColumn(row, "rendbcflag");
  2053. var rtnbcflag = oDs.getColumn(row, "rtnbcflag");
  2054. ds_main_chrtlendinfo.setColumn(0, "pid" , pid);
  2055. ds_main_chrtlendinfo.setColumn(0, "chrtseqno" , chrtseqno);
  2056. ds_main_chrtlendinfo.setColumn(0, "appdeptcd" , appdeptcd);
  2057. ds_main_chrtlendinfo.setColumn(0, "lendmanid" , lendmanid);
  2058. ds_main_chrtlendinfo.setColumn(0, "appmanid" , appmanid);
  2059. ds_main_chrtlendinfo.setColumn(0, "cntctelno" , cntctelno);
  2060. ds_main_chrtlendinfo.setColumn(0, "appdt" , appdt);
  2061. ds_main_chrtlendinfo.setColumn(0, "appdd" , appdt.substring(0,8));
  2062. ds_main_chrtlendinfo.setColumn(0, "apptm" , utlf_transEmptyToNull(appdt.substring(8,14)));
  2063. ds_main_chrtlendinfo.setColumn(0, "fstacptprndt" , fstacptprndt);
  2064. ds_main_chrtlendinfo.setColumn(0, "rendschedd" , rendschedt.substring(0,8));
  2065. ds_main_chrtlendinfo.setColumn(0, "rendschetm" , utlf_transEmptyToNull(rendschedt.substring(8,12)));
  2066. ds_main_chrtlendinfo.setColumn(0, "renddt" , renddt);
  2067. ds_main_chrtlendinfo.setColumn(0, "renddd" , renddt.substring(0,8));
  2068. ds_main_chrtlendinfo.setColumn(0, "rendtm" , utlf_transEmptyToNull(renddt.substring(8,14)));
  2069. ds_main_chrtlendinfo.setColumn(0, "rtndt" , rtndt);
  2070. ds_main_chrtlendinfo.setColumn(0, "rtndd" , rtndt.substring(0,8));
  2071. ds_main_chrtlendinfo.setColumn(0, "rtntm" , utlf_transEmptyToNull(rtndt.substring(8,14)));
  2072. ds_main_chrtlendinfo.setColumn(0, "delyn" , delyn);
  2073. ds_main_chrtlendinfo.setColumn(0, "rendcd" , rendcd);
  2074. ds_main_chrtlendinfo.setColumn(0, "rendresn" , rendresn);
  2075. ds_main_chrtlendinfo.setColumn(0, "unrendcd" , unrendcd);
  2076. ds_main_chrtlendinfo.setColumn(0, "unrendresn" , unrendresn);
  2077. ds_main_chrtlendinfo.setColumn(0, "deptkeepcd" , deptkeepcd);
  2078. ds_main_chrtlendinfo.setColumn(0, "deptkeepresn" , deptkeepresn);
  2079. ds_main_chrtlendinfo.setColumn(0, "unrtnresn" , unrtnresn);
  2080. ds_main_chrtlendinfo.setColumn(0, "msgcnts" , msgcnts);
  2081. ds_main_chrtlendinfo.setColumn(0, "roomcd" , roomcd);
  2082. ds_main_chrtlendinfo.setColumn(0, "fsexamflag" , fsexamflag);
  2083. ds_main_chrtlendinfo.setColumn(0, "chrtdeptcd" , chrtdeptcd);
  2084. ds_main_chrtlendinfo.setColumn(0, "lendman" , lendman);
  2085. ds_main_chrtlendinfo.setColumn(0, "appman" , appman);
  2086. ds_main_chrtlendinfo.setColumn(0, "rtnschedd" , rtnschedd);
  2087. ds_main_chrtlendinfo.setColumn(0, "rendbcflag" , rendbcflag);
  2088. ds_main_chrtlendinfo.setColumn(0, "rtnbcflag" , rtnbcflag);
  2089. }
  2090. /**
  2091. * @desc : 챠트상태를 수정한다.
  2092. * @
  2093. * @param :
  2094. * @return :
  2095. * @authur : 이은영 2008.06.11
  2096. * @---------------------------------------------------
  2097. */
  2098. function fUpdateChrtStat(){
  2099. var medirecno = ds_main_chrtinfo.getColumn(0, "medirecno");
  2100. if(utlf_isNull(medirecno)){
  2101. sysf_messageBox("선택된 차트이력이 ", "I004")
  2102. return;
  2103. }
  2104. ds_main_chrtstatlist.clearData();
  2105. var oParam = {};
  2106. oParam.id = "TXMRC01403";
  2107. oParam.service = "chrtmngtapp.ChrtRendMngt";
  2108. oParam.method = "reqExeChrtStatLog";
  2109. oParam.inds = "req=ds_main_chrtinfo";
  2110. oParam.outds = "ds_main_chrtlist=chrtlist ds_main_chrtstatlist=chrtstatlist";
  2111. oParam.async = true;
  2112. oParam.callback = "cf_TXMRC01403";
  2113. tranf_submit(oParam);
  2114. }
  2115. /**
  2116. * @desc : 대출자/반납자 조회
  2117. * @
  2118. * @param : refUserid - 대출자 ID, refUserNm - 대출자명
  2119. * @return :
  2120. * @authur : 이윤정 2008.07.21
  2121. * @---------------------------------------------------
  2122. */
  2123. function fGetUserid(refoDs:Dataset, refUserid, refUserNm)
  2124. {
  2125. ds_hidden_tmp_tempuserinfo.clearData();
  2126. var user = refoDs.getColumn(0, refUserid);
  2127. var flag = "userid";
  2128. if(isNaN(user)){
  2129. flag = "usernm";
  2130. }
  2131. ds_hidden_tmp_userpopupinfo.setColumn(0, "param", "_OneS");
  2132. ds_hidden_tmp_userpopupinfo.setColumn(0, "flag", flag);
  2133. ds_hidden_tmp_userpopupinfo.setColumn(0, "searchitem", user);
  2134. var objArgs = new Object();
  2135. objArgs.param = ds_hidden_tmp_userpopupinfo.getColumn(0, "param");
  2136. objArgs.flag = ds_hidden_tmp_userpopupinfo.getColumn(0, "flag");
  2137. objArgs.searchitem = ds_hidden_tmp_userpopupinfo.getColumn(0, "searchitem");
  2138. var rtn = frmf_modal("SPZSU10103", "SPZSU10103", objArgs, null, "1", "10", "10", null, null, null, null, null, "M");
  2139. //modal("SPZSU10103", "", "200", "200", "SPZSU10103","/root/hidden/tmp/userpopupinfo","/root/main/temp");
  2140. // var iParam = frmf_getParameter("SPZSU10103_");
  2141. //
  2142. // dsf_setCSVToDs("ds_hidden_tmp_tempuserinfo", iParam);
  2143. // frmf_clearParameter("SPZSU10103_");
  2144. ds_hidden_tmp_tempuserinfo.copyData(rtn);
  2145. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  2146. if( ds_hidden_tmp_tempuserinfo.rowcount > 0 ){
  2147. var userid = ds_hidden_tmp_tempuserinfo.getColumn(0, "userid");
  2148. var usernm = ds_hidden_tmp_tempuserinfo.getColumn(0, "usernm");
  2149. refoDs.setColumn(0, refUserid, userid);
  2150. if (refUserNm != null)
  2151. {
  2152. refoDs.setColumn(0, refUserNm, usernm);
  2153. }
  2154. }
  2155. }
  2156. /**
  2157. * @desc : 등록된 사용자 번호인지 체킹한다..
  2158. * @
  2159. * @param : iptObj - 사용자 ID 입력 컨트롤 (userid)
  2160. * @return : posdeptcd - 사용자 부서코드
  2161. * @authur : 이은영 2008.03.18
  2162. * @---------------------------------------------------
  2163. */
  2164. function fCheckUserid(iptObj)
  2165. {
  2166. //setInputNodeCurText();
  2167. iptObj.updateToDataset();
  2168. // 사용자 번호 체크
  2169. if(iptObj.text.length > 0 ){
  2170. // 사용자 조회
  2171. ds_hidden_tmp_tempuserinfo.clearData();
  2172. ds_hidden_tmp_userpopupinfo.setColumn(0, "param", "_OneS");
  2173. ds_hidden_tmp_userpopupinfo.setColumn(0, "flag", "userid");
  2174. ds_hidden_tmp_userpopupinfo.setColumn(0, "searchitem", iptObj.text);
  2175. var objArgs = new Object();
  2176. objArgs.param = ds_hidden_tmp_userpopupinfo.getColumn(0, "param");
  2177. objArgs.flag = ds_hidden_tmp_userpopupinfo.getColumn(0, "flag");
  2178. objArgs.searchitem = ds_hidden_tmp_userpopupinfo.getColumn(0, "searchitem");
  2179. var rtn = frmf_modal("SPZSU10103", "SPZSU10103", objArgs, null, "1", "10", "10", null, null, null, null, null, "M");
  2180. //modal("SPZSU10103", "", "200", "200", "SPZSU10103","/root/hidden/tmp/userpopupinfo","/root/main/temp");
  2181. // var iParam = frmf_getParameter("SPZSU10103_");
  2182. //
  2183. // dsf_setCSVToDs("ds_hidden_tmp_tempuserinfo", iParam);
  2184. // frmf_clearParameter("SPZSU10103_");
  2185. ds_hidden_tmp_tempuserinfo.copyData(rtn);
  2186. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  2187. if( ds_hidden_tmp_tempuserinfo.rowcount > 0 ){
  2188. var userid = ds_hidden_tmp_tempuserinfo.getColumn(0, "userid");
  2189. var posdeptcd = ds_hidden_tmp_tempuserinfo.getColumn(0, "posdeptcd");
  2190. iptObj.value = userid;
  2191. return posdeptcd;
  2192. //fSearch();
  2193. }else{
  2194. ds_hidden_tmp_tempuserinfo.clearData();
  2195. sysf_messageBox("없는 사용자 번호 입니다.", "E999", "");
  2196. }
  2197. }else{
  2198. sysf_messageBox("사용자 번호를 정확히", "C001");
  2199. }
  2200. return "";
  2201. }
  2202. /**
  2203. * @desc : 등록된 환자번호인지 체킹한다..
  2204. * @
  2205. * @param : iptObj - 환자번호 입력 컨트롤 (pid)
  2206. * @return :
  2207. * @authur : 이은영 2008.09.17
  2208. * @---------------------------------------------------
  2209. */
  2210. function fGetPidNo(iptObj, refVal)
  2211. {
  2212. var chkyn = refVal;
  2213. if (chkyn == "Y") {
  2214. if (iptObj.text.length > 0) {
  2215. var pid = iptObj.text;
  2216. pid = getCretCheckNo(pid, sysf_getUserInfo("dutplceinstcd"));
  2217. iptObj.value = pid;
  2218. iptObj.updateToDataset();
  2219. //ds_main_chrtinfo.setColumn(0, "pid", pid);
  2220. }
  2221. }
  2222. }
  2223. /**
  2224. * @desc : 등록된 환자번호인지 체킹한다..
  2225. * @
  2226. * @param : iptObj - 환자번호 입력 컨트롤 (pid)
  2227. * @return : pnm - 환자명
  2228. * @authur : 이은영 2008.03.18
  2229. * @---------------------------------------------------
  2230. */
  2231. function fCheckPid(iptObj, refoDs:Dataset, refPnm)
  2232. {
  2233. ds_send_req.setColumn(0, "srchcond", "1");
  2234. ds_send_req.setColumn(0, "pid", iptObj.text);
  2235. //환자등록번호 체크
  2236. if(iptObj.text.length > 0 ){
  2237. ds_main_result_patinfo_patinfolist.clearData();
  2238. var oParam = {};
  2239. oParam.id = "TRPMC02500";
  2240. oParam.service = "patinfomngtapp.PatBaseInfo";
  2241. oParam.method = "reqGetPatInfo";
  2242. oParam.inds = "req=ds_send_req";
  2243. oParam.outds = "ds_main_result_patinfo_patinfolist=patinfolist";
  2244. oParam.async = false;
  2245. oParam.callback = "cf_TRPMC02500";
  2246. tranf_submit(oParam);
  2247. if(arErrorCode.pop("TRPMC02500") > -1){
  2248. //fSearch는 인적사항 화면을 임포트 해간 화면에서 구현해 주어야 하는 함수이다.
  2249. if( ds_main_result_patinfo_patinfolist.rowcount > 0 ){
  2250. ds_patinfolist.copyData(ds_main_result_patinfo_patinfolist);
  2251. //* 2009.04.07. 이중번호 메세지 ( 14257937 박용석 -> 13275912 신옥순 )
  2252. var sBindPid = ds_main_result_patinfo_patinfolist.getColumn(0, "bindpid");
  2253. if( sBindPid != '-' && !utlf_isNull(sBindPid) && sBindPid != ' ' ){
  2254. //합번된 등록번호 메세지 처리
  2255. var sPid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
  2256. var sHngnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
  2257. var retValue = sysf_messageBox(sPid + " (" + sHngnm + ") 환자의 등록번호가 [ " + sBindPid + " ] 로 합번 되었습니다. 합번된 등록번호로 재조회 하시겠습니까?", "Q999", "");
  2258. if( retValue == '6' ){
  2259. iptObj.value = sBindPid;
  2260. iptObj.updateToDataset();
  2261. fCheckPid(iptObj, refoDs, refPnm);
  2262. return "";
  2263. }
  2264. }
  2265. //*/
  2266. var pid = ds_main_result_patinfo_patinfolist.getColumn(0, "pid");
  2267. var pnm = ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm");
  2268. if (refPnm != null)
  2269. {
  2270. refoDs.setColumn(0, refPnm, pnm);
  2271. }
  2272. return pnm;
  2273. }else{
  2274. ds_patinfolist.clearData();
  2275. sysf_messageBox("없는 환자 번호 입니다.", "E999", "");
  2276. return "";
  2277. }
  2278. }
  2279. }else{
  2280. sysf_messageBox("환자등록번호를 정확히", "C001");
  2281. return "";
  2282. }
  2283. }
  2284. ]]></Script>
  2285. </Form>
  2286. </FDL>