SMMMO04400_응급환자리스트.xfdl 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMO04400" position="absolute 0 0 1174 728" titletext="응급환자리스트" oninit="SMMMO04400_oninit" onload="SMMMO04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="응급환자 리스트" position="absolute 0 71 129 91" align="align:center middle;" id="caption2" class="tit_2"/>
  8. <Grid position="absolute 0 91 1174 696" id="grd_erpatlist" binddataset="ds_grd_erpatlist" anchor="all" selecttype="multirow" onrbuttondown="grd_erpatlist_onrbuttondown" oncelldblclick="grd_erpatlist_oncelldblclick" onheadclick="grd_erpatlist_onheadclick" cellsizingtype="col" scrollpixel="all" onmousewheel="grd_erpatlist_onmousewheel" oncellclick="grd_erpatlist_oncellclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="20"/>
  13. <Column size="45"/>
  14. <Column size="70"/>
  15. <Column size="46"/>
  16. <Column size="30"/>
  17. <Column size="55"/>
  18. <Column size="45"/>
  19. <Column size="30"/>
  20. <Column size="65"/>
  21. <Column size="35"/>
  22. <Column size="35"/>
  23. <Column size="0"/>
  24. <Column size="40"/>
  25. <Column size="100"/>
  26. <Column size="45"/>
  27. <Column size="80"/>
  28. <Column size="55"/>
  29. <Column size="55"/>
  30. <Column size="80"/>
  31. <Column size="0"/>
  32. <Column size="55"/>
  33. <Column size="0"/>
  34. <Column size="145"/>
  35. <Column size="145"/>
  36. <Column size="47"/>
  37. <Column size="112"/>
  38. <Column size="100"/>
  39. <Column size="104"/>
  40. <Column size="74"/>
  41. <Column size="72"/>
  42. <Column size="70"/>
  43. <Column size="67"/>
  44. <Column size="80"/>
  45. <Column size="100"/>
  46. <Column size="50"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="25"/>
  61. <Column size="25"/>
  62. <Column size="25"/>
  63. <Column size="25"/>
  64. <Column size="40"/>
  65. <Column size="50"/>
  66. <Column size="30"/>
  67. <Column size="40"/>
  68. </Columns>
  69. <Rows>
  70. <Row size="24" band="head"/>
  71. <Row size="24"/>
  72. </Rows>
  73. <Band id="head">
  74. <Cell/>
  75. <Cell col="1" text="혈액형"/>
  76. <Cell col="2" text="질병군분류"/>
  77. <Cell col="3" text="BED"/>
  78. <Cell col="4" text="특이"/>
  79. <Cell col="5" text="의사결정"/>
  80. <Cell col="6" text="입원장"/>
  81. <Cell col="7" text="상태"/>
  82. <Cell col="8" text="등록번호"/>
  83. <Cell col="9" text="중증"/>
  84. <Cell col="10" text="Triage"/>
  85. <Cell col="11" text="성명"/>
  86. <Cell col="12" text="KTAS"/>
  87. <Cell col="13" text="환자명"/>
  88. <Cell col="14" text="S/A"/>
  89. <Cell col="15" text="진료과"/>
  90. <Cell col="16" text="담당교수"/>
  91. <Cell col="17" text="담당의"/>
  92. <Cell col="18" text="호출진료과"/>
  93. <Cell col="19" text="진료과코드"/>
  94. <Cell col="20" text="호출의사"/>
  95. <Cell col="21" text="의사번호"/>
  96. <Cell col="22" text="진단명"/>
  97. <Cell col="23" text="주호소"/>
  98. <Cell col="24" text="병실"/>
  99. <Cell col="25" text="Remark"/>
  100. <Cell col="26" text="Remark2"/>
  101. <Cell col="27" text="내원일시"/>
  102. <Cell col="28" text="인턴1"/>
  103. <Cell col="29" text="인턴2"/>
  104. <Cell col="30" text="Call Time"/>
  105. <Cell col="31" text="Visit Time"/>
  106. <Cell col="32" text="체류시간"/>
  107. <Cell col="33" text="선택진료여부"/>
  108. <Cell col="34" text="DRG"/>
  109. <Cell col="35" text="indd"/>
  110. <Cell col="36" text="cretno"/>
  111. <Cell col="37" text="orddeptcd"/>
  112. <Cell col="38" text="visitno"/>
  113. <Cell col="39" text="rrgstno1"/>
  114. <Cell col="40" text="color"/>
  115. <Cell col="41" text="adrvcolor"/>
  116. <Cell col="42" text="recovwardcd"/>
  117. <Cell col="43" text="actsymp"/>
  118. <Cell col="44" text="dschdclrtyn"/>
  119. <Cell col="45" text="tmcolorm"/>
  120. <Cell col="46" text="staytime"/>
  121. <Cell col="47" text="prcpcolor"/>
  122. <Cell col="48" text="혈액"/>
  123. <Cell col="49" text="접촉"/>
  124. <Cell col="50" text="공기"/>
  125. <Cell col="51" text="비말"/>
  126. <Cell col="52" text="재내원"/>
  127. <Cell col="53" text="배정병실"/>
  128. <Cell col="54" text="호출"/>
  129. <Cell col="55" text="COVID"/>
  130. </Band>
  131. <Band id="body">
  132. <Cell celltype="head" text="expr:currow + 1"/>
  133. <Cell col="1" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:btype"/>
  134. <Cell col="2" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:expr:drginfo==&quot;전문&quot; ? &quot;#ff0000&quot; : (drginfo==&quot;단순&quot; ? &quot;#0000ff&quot; : &quot;default&quot;);color2:expr:drginfo==&quot;전문&quot; ? &quot;#ff0000&quot; : (drginfo==&quot;단순&quot; ? &quot;#0000ff&quot; : &quot;default&quot;);" text="bind:drginfo"/>
  135. <Cell col="3" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:bed"/>
  136. <Cell col="4" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:spclflag"/>
  137. <Cell col="5" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:adflag" combodataset="ds_M0720" combocodecol="cdid" combodatacol="cdnm"/>
  138. <Cell col="6" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngColorERPatList_Adrvflag(currow, adrvcolor));color2:EXPR(fChngColorERPatList_Adrvflag(currow, adrvcolor));selectcolor:EXPR(fChngColorERPatList_Adrvflag(currow, adrvcolor));" text="bind:adrvflag"/>
  139. <Cell col="7" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:patstat"/>
  140. <Cell col="8" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:pid"/>
  141. <Cell col="9" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngColorERPatList_Recovwardnm(recovwardnm));color2:EXPR(fChngColorERPatList_Recovwardnm(recovwardnm));selectcolor:EXPR(fChngColorERPatList_Recovwardnm(recovwardnm));" text="bind:recovwardnm"/>
  142. <Cell col="10" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngColorERPatList_Serdiagflag(serdiagflag));color2:EXPR(fChngColorERPatList_Serdiagflag(serdiagflag));selectcolor:EXPR(fChngColorERPatList_Serdiagflag(serdiagflag));" text="bind:serdiagflag"/>
  143. <Cell col="11" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hngnm"/>
  144. <Cell col="12" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngGrdCellColor(serdiagflag2color));color2:EXPR(fChngGrdCellColor(serdiagflag2color));" text="bind:serdiagflag2"/>
  145. <Cell col="13" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngGrdCellColor(fontcolor));color2:EXPR(fChngGrdCellColor(fontcolor));" text="bind:dispnm2"/>
  146. <Cell col="14" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:sa"/>
  147. <Cell col="15" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:ordindeptnm"/>
  148. <Cell col="16" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:medispclnm"/>
  149. <Cell col="17" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:atdoctnm"/>
  150. <Cell col="18" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddeptnm"/>
  151. <Cell col="19" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:erorddeptcd"/>
  152. <Cell col="20" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddoctnm"/>
  153. <Cell col="21" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddoctid"/>
  154. <Cell col="22" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:diagnm"/>
  155. <Cell col="23" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:mainsynom"/>
  156. <Cell col="24" displaytype="text" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:roomcd"/>
  157. <Cell col="25" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:remark1"/>
  158. <Cell col="26" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:remark2"/>
  159. <Cell col="27" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:chosdd" mask="####-##-## ##:##"/>
  160. <Cell col="28" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:internnm1"/>
  161. <Cell col="29" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:internnm2"/>
  162. <Cell col="30" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:calltm" mask="expr:(!utlf_isNull(calltm) &amp;&amp; calltm != &quot;------&quot;) ? &quot;##:##:##&quot; : &quot;&quot;" maskchar="_"/>
  163. <Cell col="31" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:visttm" mask="expr:(!utlf_isNull(visttm) &amp;&amp; visttm != &quot;------&quot;) ? &quot;##:##:##&quot; : &quot;&quot;"/>
  164. <Cell col="32" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:staytm"/>
  165. <Cell col="33" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:specordtype" combodataset="ds_M0623" combocodecol="cdid" combodatacol="cdnm"/>
  166. <Cell col="34" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:drgyn"/>
  167. <Cell col="35" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:indd"/>
  168. <Cell col="36" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:cretno"/>
  169. <Cell col="37" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddeptcd"/>
  170. <Cell col="38" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:visitno"/>
  171. <Cell col="39" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:rrgstno1"/>
  172. <Cell col="40" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:color"/>
  173. <Cell col="41" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:adrvcolor"/>
  174. <Cell col="42" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:recovwardcd"/>
  175. <Cell col="43" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:actsymp"/>
  176. <Cell col="44" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:dschdclrtyn"/>
  177. <Cell col="45" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:tmcolor"/>
  178. <Cell col="46" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:staytime"/>
  179. <Cell col="47" displaytype="text" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:prcpcolor"/>
  180. <Cell col="48" displaytype="image" style="align:center;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:disp1img"/>
  181. <Cell col="49" displaytype="image" style="align:center;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:disp2img"/>
  182. <Cell col="50" displaytype="image" style="align:center;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:disp3img"/>
  183. <Cell col="51" displaytype="image" style="align:center;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:disp4img"/>
  184. <Cell col="52" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:revisit"/>
  185. <Cell col="53" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:assgroom"/>
  186. <Cell col="54" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:ercallstatus"/>
  187. <Cell col="55" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:covidlis"/>
  188. </Band>
  189. </Format>
  190. </Formats>
  191. </Grid>
  192. <Div position="absolute 0 702 1173 728" id="group2" anchor="left bottom">
  193. <Layouts>
  194. <Layout>
  195. <Shape position="absolute 515 0 1164 26" id="roundrect5" type="roundrectangle" style="strokepen:1 solid #3366ffff;fillbrush:solid transparent true;border:0 none #3366ffff ;" anchor="default"/>
  196. <Shape position="absolute 2 0 490 26" id="roundrect4" type="roundrectangle" style="strokepen:1 solid #3366ffff;fillbrush:solid transparent true;" anchor="default"/>
  197. <Shape position="absolute 859 4 889 23" id="rectangle4" type="rectangle" style="strokepen:1 solid black;fillbrush:solid #ccffccff true;" anchor="default"/>
  198. <Shape position="absolute 695 4 725 23" id="rectangle5" type="rectangle" style="strokepen:1 solid black;fillbrush:solid #ffcc99ff true;" anchor="default"/>
  199. <Shape position="absolute 525 4 555 23" id="rectangle6" type="rectangle" style="strokepen:1 solid black;fillbrush:solid white true;color:#333333ff;" anchor="default"/>
  200. <Static text="입원장 : ◇예약 / ◆결정(병실배정) / ◈입원약정서 출력 혹은 원무승인 / ◎외래입원장" position="absolute 9 6 488 21" id="caption17" anchor="default"/>
  201. <Static text="6시간 이상" position="absolute 892 6 954 21" id="caption18" anchor="default"/>
  202. <Static text="의사처방이존재하는경우" position="absolute 558 6 692 21" id="caption19" anchor="default"/>
  203. <Static text="6시간미만, 의사처방 X" position="absolute 728 6 853 21" id="caption29" anchor="default"/>
  204. <Shape id="rectangle00" type="rectangle" position="absolute 960 4 990 23" style="strokepen:1 solid black;fillbrush:solid #d9e5ffff true;" anchor="default"/>
  205. <Static id="caption00" text="12시간 이상" position="absolute 991 6 1056 21" anchor="default"/>
  206. <Shape id="rectangle01" type="rectangle" position="absolute 1061 4 1091 23" style="strokepen:1 solid black;fillbrush:solid #b2ccffff true;" anchor="default"/>
  207. <Static id="caption01" text="24시간 이상" position="absolute 1094 6 1159 21" anchor="default"/>
  208. </Layout>
  209. </Layouts>
  210. </Div>
  211. <Div id="Div00" taborder="1" position="absolute 0 0 1174 62" class="div_SA2" anchor="left top right" scrollbars="none">
  212. <Layouts>
  213. <Layout>
  214. <Static id="caption7" text="진료과" class="search_name" position="absolute 343 8 403 28" anchor="default"/>
  215. <Edit id="ipt_pid" taborder="1" class="input_search" position="absolute 760 34 830 54" anchor="default" onkeydown="Div00_ipt_pid_onkeydown" autoselect="true"/>
  216. <Static id="caption3" text="성 명" class="search_name" position="absolute 837 34 897 54" anchor="default"/>
  217. <Static id="caption4" text="등록번호" class="search_name" position="absolute 681 34 757 54" anchor="default"/>
  218. <Edit id="input3" taborder="2" class="input_search" position="absolute 899 34 989 54" anchor="default" onkeydown="Div00_input3_onkeydown" autoselect="true"/>
  219. <Static id="caption6" text="구 역" class="search_name" position="absolute 192 8 248 28" anchor="default"/>
  220. <Button id="btn_prcpclsnm" taborder="3" class="icon_search" position="absolute 993 34 1013 54" anchor="default" onclick="Div00_btn_prcpclsnm_onclick"/>
  221. <Combo id="cmb_section" taborder="5" innerdataset="@ds_section" codecolumn="typecd" datacolumn="typenm" class="combo" position="absolute 260 8 330 28" anchor="default"/>
  222. <Radio id="radio1" taborder="7" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 84 34 281 54" anchor="default" style="buttonsize:15;textpadding:0 0 0 3;itempadding:0 0 0 0;" onitemchanged="Div00_radio1_onitemchanged">
  223. <Dataset id="innerdataset">
  224. <ColumnInfo>
  225. <Column id="codecolumn" size="256"/>
  226. <Column id="datacolumn" size="256"/>
  227. </ColumnInfo>
  228. <Rows>
  229. <Row>
  230. <Col id="codecolumn">1</Col>
  231. <Col id="datacolumn">재원</Col>
  232. </Row>
  233. <Row>
  234. <Col id="codecolumn">2</Col>
  235. <Col id="datacolumn">퇴실정리</Col>
  236. </Row>
  237. <Row>
  238. <Col id="codecolumn">3</Col>
  239. <Col id="datacolumn">퇴원</Col>
  240. </Row>
  241. </Rows>
  242. </Dataset>
  243. </Radio>
  244. <CheckBox id="bool1" taborder="6" position="absolute 272 34 332 54" anchor="default" text="내환자" truevalue="Y" falsevalue="N" style="font:Dotum,9,bold;"/>
  245. <Static id="caption1" text="호출의" class="search_name" position="absolute 530 34 590 54" anchor="default"/>
  246. <Static id="caption5" text="재원환자" class="search_name" position="absolute 837 8 905 28" anchor="default"/>
  247. <Static id="caption9" text="/" position="absolute 945 8 955 28" anchor="default"/>
  248. <Static id="caption8" text="명" position="absolute 990 8 1010 28" anchor="default" style="color:#262626ff;font:Dotum,9,bold;"/>
  249. <Button id="button1" taborder="10" text="Triage" class="btn3" position="absolute 1027 21 1095 41" anchor="top right" onclick="Div00_button1_onclick"/>
  250. <Combo id="cmb_orddept" taborder="11" innerdataset="ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 410 8 521 28" anchor="default" onitemchanged="Div00_cmb_orddept_onitemchanged"/>
  251. <Static id="caption12" text="조회일자" class="search_name" position="absolute 6 8 74 28" anchor="default"/>
  252. <Calendar id="input2" taborder="12" position="absolute 84 8 174 28" anchor="default" dateformat="yyyy-MM-dd" value="null" onchanged="Div00_input2_onchanged" autoskip="true" autoselect="true"/>
  253. <Button id="btn_req" taborder="13" text="조회" class="btn1" position="absolute 1107 21 1159 41" anchor="top right" onclick="Div00_btn_req_onclick" hotkey="F5"/>
  254. <Combo id="cmb_orddrid" taborder="14" innerdataset="@ds_eruserlist" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 599 34 669 54" anchor="default"/>
  255. <Combo id="cmb_medispclid" taborder="15" innerdataset="ds_userlist" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 599 8 669 28" anchor="default"/>
  256. <Static id="caption36" text="전문의" class="search_name" position="absolute 530 8 587 28" anchor="default"/>
  257. <Static id="caption37" text="호출과" class="search_name" position="absolute 343 34 403 54" anchor="default"/>
  258. <Combo id="cmb_erorddeptcd" taborder="16" innerdataset="@ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 410 34 521 54" anchor="default" onitemchanged="Div00_cmb_erorddeptcd_onitemchanged"/>
  259. <Combo id="cmb_atdoctid" taborder="17" innerdataset="ds_userlist2" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 760 8 830 28" anchor="default"/>
  260. <Static id="caption38" text="담당교수" class="search_name" position="absolute 681 8 749 28" anchor="default"/>
  261. <Static id="caption10" text="조회조건" class="search_name" position="absolute 6 34 74 54" anchor="default"/>
  262. <Static id="out_curpatcnt" position="absolute 914 8 936 28" style="align:right middle;"/>
  263. <Static id="out_epatcnt" position="absolute 959 8 985 28" style="align:left middle;"/>
  264. </Layout>
  265. </Layouts>
  266. </Div>
  267. <PopupMenu id="pmn_menu" innerdataset="@ds_menu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1184 2 1377 371"/>
  268. <PopupMenu id="pmn_menu2" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_menu_onmenuclick" position="absolute 1388 2 1581 396" innerdataset="@ds_menu2"/>
  269. </Layout>
  270. </Layouts>
  271. <Objects>
  272. <Dataset id="ds_section" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  273. <ColumnInfo>
  274. <Column id="typenm" type="STRING"/>
  275. <Column id="typecd" type="STRING"/>
  276. </ColumnInfo>
  277. </Dataset>
  278. <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  279. <ColumnInfo>
  280. <Column id="depthngnm" type="STRING"/>
  281. <Column id="deptcd" type="STRING"/>
  282. </ColumnInfo>
  283. </Dataset>
  284. <Dataset id="ds_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="usernm" type="STRING"/>
  287. <Column id="userid" type="STRING"/>
  288. </ColumnInfo>
  289. </Dataset>
  290. <Dataset id="ds_grd_erpatlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onrowposchanged="ds_grd_erpatlist_onrowposchanged">
  291. <ColumnInfo>
  292. <Column id="bed" type="STRING" size="256" sumtext="BED번호"/>
  293. <Column id="spclflag" type="STRING" size="256" sumtext="특이구분"/>
  294. <Column id="adrvflag" type="STRING" size="256" sumtext="예약구분"/>
  295. <Column id="patstat" type="STRING" size="256" sumtext="환자상태"/>
  296. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  297. <Column id="serdiagflag" type="STRING" size="256" sumtext="중증구분"/>
  298. <Column id="serdiagflag2color" type="STRING" size="256" sumtext="가장나쁜KTAS 색상"/>
  299. <Column id="serdiagflag2" type="STRING" size="256" sumtext="가장나쁜KTAS"/>
  300. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  301. <Column id="dispnm2" type="STRING" size="256" sumtext="동명이인적용환자명"/>
  302. <Column id="sa" type="STRING" size="256" sumtext="성별나이"/>
  303. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명(약어)"/>
  304. <Column id="ordindeptnm" type="STRING" size="256" sumtext="진료과코드"/>
  305. <Column id="medispclnm" type="STRING" size="256" sumtext="진료의명"/>
  306. <Column id="atdoctnm" type="STRING" size="256" sumtext="진료의ID"/>
  307. <Column id="erorddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  308. <Column id="orddoctnm" type="STRING" size="256" sumtext="진료의명"/>
  309. <Column id="orddoctid" type="STRING" size="256" sumtext="진료의ID"/>
  310. <Column id="mainsynom" type="STRING" size="256" sumtext="주호소"/>
  311. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  312. <Column id="prcpcnt" type="STRING" size="256" sumtext="처방횟수"/>
  313. <Column id="remark1" type="STRING" size="256" sumtext="Remark"/>
  314. <Column id="remark2" type="STRING" size="256" sumtext="Remark2"/>
  315. <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
  316. <Column id="chosdd" type="STRING" size="256" sumtext="내원일시"/>
  317. <Column id="internnm1" type="STRING" size="256" sumtext="인턴1"/>
  318. <Column id="internnm2" type="STRING" size="256" sumtext="인턴2"/>
  319. <Column id="calltm" type="STRING" size="256" sumtext="호출시간"/>
  320. <Column id="visttm" type="STRING" size="256" sumtext="방문시간"/>
  321. <Column id="staytm" type="STRING" size="256" sumtext="체류시간"/>
  322. <Column id="adrvrgstdt" type="STRING" size="256" sumtext="입원장등록일시"/>
  323. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  324. <Column id="intm" type="STRING" size="256" sumtext="입원시간"/>
  325. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  326. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  327. <Column id="visitno" type="STRING" size="256" sumtext="방문횟수"/>
  328. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  329. <Column id="color" type="STRING" size="256" sumtext="grid표시색깔"/>
  330. <Column id="fontcolor" type="STRING" size="256" sumtext="grid표시색깔"/>
  331. <Column id="recovwardnm" type="STRING" size="256" sumtext="중증병실"/>
  332. <Column id="adrvcolor" type="STRING" size="256" sumtext="입원장발급에따른색깔"/>
  333. <Column id="recovwardcd" type="STRING" size="256" sumtext="중증병실"/>
  334. <Column id="actsymp" type="STRING" size="256" sumtext="활력징후대상자구분"/>
  335. <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원구분"/>
  336. <Column id="tmcolor" type="STRING" size="256" sumtext="시간구분컬러"/>
  337. <Column id="staytime" type="STRING" size="256" sumtext="2.5시간이상구분"/>
  338. <Column id="prcpcolor" type="STRING" size="256" sumtext="처방구분"/>
  339. <Column id="specordtype" type="STRING" size="256" sumtext="선택진료여부"/>
  340. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  341. <Column id="adflag" type="STRING" size="256" sumtext="의사결정"/>
  342. <Column id="adlastdt" type="STRING" size="256" sumtext="마지막의사결정시간"/>
  343. <Column id="instcd" type="STRING" size="256"/>
  344. <Column id="drginfo" type="STRING" size="256" sumtext="DRG구분"/>
  345. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  346. <Column id="disp1img" type="STRING" size="256" sumtext="혈액주의"/>
  347. <Column id="disp2img" type="STRING" size="256" sumtext="접촉주의"/>
  348. <Column id="disp3img" type="STRING" size="256" sumtext="공기주의"/>
  349. <Column id="disp4img" type="STRING" size="256" sumtext="비말주의"/>
  350. <Column id="revisit" type="STRING" size="256" sumtext="재내원"/>
  351. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
  352. <Column id="atdoctid" type="STRING" size="256" sumtext="담당의 아이디"/>
  353. <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 아이디"/>
  354. <Column id="assgroom" type="STRING" size="256" sumtext="입원의뢰서 배정 병실"/>
  355. <Column id="ercallstatus" type="STRING" size="256" sumtext="응급실 호출 상태"/>
  356. <Column id="covidlis" type="STRING" size="256" sumtext="코로나 검사"/>
  357. </ColumnInfo>
  358. <Rows>
  359. <Row/>
  360. </Rows>
  361. </Dataset>
  362. <Dataset id="ds_eruserlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  363. <ColumnInfo>
  364. <Column id="usernm" type="STRING"/>
  365. <Column id="userid" type="STRING"/>
  366. </ColumnInfo>
  367. </Dataset>
  368. <Dataset id="ds_userlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  369. <ColumnInfo>
  370. <Column id="usernm" type="STRING"/>
  371. <Column id="userid" type="STRING"/>
  372. </ColumnInfo>
  373. </Dataset>
  374. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  375. <ColumnInfo>
  376. <Column id="pid" type="STRING" size="256"/>
  377. <Column id="orddeptcd" type="STRING" size="256"/>
  378. <Column id="medispclid" type="STRING" size="256"/>
  379. <Column id="hngnm" type="STRING" size="256"/>
  380. <Column id="srchflag" type="STRING" size="256"/>
  381. <Column id="srchdd" type="STRING" size="256"/>
  382. <Column id="orddd" type="STRING" size="256"/>
  383. <Column id="section" type="STRING" size="256"/>
  384. <Column id="sortcol" type="STRING" size="256"/>
  385. <Column id="orderby" type="STRING" size="256"/>
  386. <Column id="staytm" type="STRING" size="256"/>
  387. <Column id="atdoctid" type="STRING" size="256"/>
  388. <Column id="erorddeptcd" type="STRING" size="256"/>
  389. <Column id="ermedispclid" type="STRING" size="256"/>
  390. <Column id="mypatflag" type="STRING" size="256"/>
  391. <Column id="callvisityn" type="STRING" size="256"/>
  392. </ColumnInfo>
  393. <Rows>
  394. <Row>
  395. <Col id="srchflag">1</Col>
  396. <Col id="section">-</Col>
  397. <Col id="staytm">1</Col>
  398. <Col id="mypatflag">N</Col>
  399. </Row>
  400. </Rows>
  401. </Dataset>
  402. <Dataset id="ds_hardcdno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  403. <Dataset id="ds_colorflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  404. <Dataset id="ds_calltime" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  405. <Dataset id="ds_bpcallyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  406. <Dataset id="ds_reqdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  407. <ColumnInfo>
  408. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  409. <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
  410. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  411. </ColumnInfo>
  412. </Dataset>
  413. <Dataset id="ds_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  414. <ColumnInfo>
  415. <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
  416. <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
  417. <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
  418. <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
  419. <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
  420. </ColumnInfo>
  421. </Dataset>
  422. <Dataset id="ds_adflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  423. <ColumnInfo>
  424. <Column id="label" type="STRING" size="256"/>
  425. <Column id="value" type="STRING" size="256"/>
  426. </ColumnInfo>
  427. <Rows>
  428. <Row>
  429. <Col id="label">병실입원</Col>
  430. <Col id="value">A</Col>
  431. </Row>
  432. <Row>
  433. <Col id="value">B</Col>
  434. <Col id="label">병실입원</Col>
  435. </Row>
  436. <Row>
  437. <Col id="value">C</Col>
  438. <Col id="label">병실입원</Col>
  439. </Row>
  440. <Row>
  441. <Col id="value">H</Col>
  442. <Col id="label">귀가</Col>
  443. </Row>
  444. <Row>
  445. <Col id="label">DNR</Col>
  446. <Col id="value">D</Col>
  447. </Row>
  448. <Row>
  449. <Col id="value">E</Col>
  450. <Col id="label">기타</Col>
  451. </Row>
  452. </Rows>
  453. </Dataset>
  454. <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  455. <ColumnInfo>
  456. <Column id="baseclsflag" type="STRING" size="256"/>
  457. <Column id="supbasetypecd" type="STRING" size="256"/>
  458. </ColumnInfo>
  459. </Dataset>
  460. <Dataset id="ds_reqErPat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  461. <ColumnInfo>
  462. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  463. <Column id="srchflag" type="STRING" size="256" sumtext="조회구분"/>
  464. <Column id="srchdd" type="STRING" size="256" sumtext="조회일자"/>
  465. <Column id="section" type="STRING" size="256" sumtext="구역"/>
  466. <Column id="staytm" type="STRING" size="256" sumtext="체류시간"/>
  467. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  468. <Column id="medispclid" type="STRING" size="256" sumtext="주치의ID"/>
  469. <Column id="atdoctid" type="STRING" size="256" sumtext="담당의ID"/>
  470. <Column id="erorddeptcd" type="STRING" size="256" sumtext="호출진료과"/>
  471. <Column id="ermedispclid" type="STRING" size="256" sumtext="호출의사"/>
  472. <Column id="mypatflag" type="STRING" size="256" sumtext="내환자"/>
  473. <Column id="compsrefcnts" type="STRING" size="256" sumtext="컬럼설정항목"/>
  474. <Column id="compssizecnts" type="STRING" size="256" sumtext="컬럼설정사이즈"/>
  475. </ColumnInfo>
  476. </Dataset>
  477. <Dataset id="ds_erpatcnt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  478. <ColumnInfo>
  479. <Column id="ercurpatcnt" type="STRING" size="256"/>
  480. <Column id="erpattotalcnt" type="STRING" size="256"/>
  481. </ColumnInfo>
  482. </Dataset>
  483. <Dataset id="ds_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  484. <Dataset id="ds_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  485. <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  486. <ColumnInfo>
  487. <Column id="hardcd" type="STRING" size="256"/>
  488. <Column id="hardcdnm" type="STRING" size="256"/>
  489. <Column id="level" type="STRING" size="256"/>
  490. </ColumnInfo>
  491. <Rows>
  492. <Row>
  493. <Col id="hardcd">fCallWndConcPatRgst</Col>
  494. <Col id="hardcdnm">관심환자등록</Col>
  495. <Col id="level">0</Col>
  496. </Row>
  497. <Row>
  498. <Col id="hardcd">fCallWndWarnPat</Col>
  499. <Col id="hardcdnm">주의요망환자관리</Col>
  500. <Col id="level">0</Col>
  501. </Row>
  502. <Row>
  503. <Col id="hardcd"/>
  504. <Col id="hardcdnm">-</Col>
  505. <Col id="level">0</Col>
  506. </Row>
  507. <Row>
  508. <Col id="hardcd">fOpenERTriage</Col>
  509. <Col id="hardcdnm">Triage등록</Col>
  510. <Col id="level">0</Col>
  511. </Row>
  512. <Row>
  513. <Col id="hardcd"/>
  514. <Col id="hardcdnm">-</Col>
  515. <Col id="level">0</Col>
  516. </Row>
  517. <Row>
  518. <Col id="hardcd">fRgstCnclAtDoct</Col>
  519. <Col id="hardcdnm">전공의 적용</Col>
  520. <Col id="level">0</Col>
  521. </Row>
  522. <Row>
  523. <Col id="hardcd">fOpenErInternMngt</Col>
  524. <Col id="hardcdnm">인턴등록</Col>
  525. <Col id="level">0</Col>
  526. </Row>
  527. <Row>
  528. <Col id="hardcd"/>
  529. <Col id="hardcdnm">-</Col>
  530. <Col id="level">0</Col>
  531. </Row>
  532. <Row>
  533. <Col id="hardcd">fOpenERCallDr</Col>
  534. <Col id="hardcdnm">의사호출</Col>
  535. <Col id="level">0</Col>
  536. </Row>
  537. <Row>
  538. <Col id="hardcd">fOpenErCallDrHist</Col>
  539. <Col id="hardcdnm">의사호출현황</Col>
  540. <Col id="level">0</Col>
  541. </Row>
  542. <Row>
  543. <Col id="hardcd">fOpenTRCallDr</Col>
  544. <Col id="hardcdnm">권역외상센터의사호출</Col>
  545. <Col id="level">0</Col>
  546. </Row>
  547. <Row>
  548. <Col id="hardcd"/>
  549. <Col id="hardcdnm">-</Col>
  550. <Col id="level">0</Col>
  551. </Row>
  552. <Row>
  553. <Col id="hardcd">fErRecoverWardRgst</Col>
  554. <Col id="hardcdnm">중증응급 등록/해제</Col>
  555. <Col id="level">0</Col>
  556. </Row>
  557. <Row>
  558. <Col id="hardcd">fErRecoverWardSrch</Col>
  559. <Col id="hardcdnm">중증응급 환자조회</Col>
  560. <Col id="level">0</Col>
  561. </Row>
  562. <Row>
  563. <Col id="hardcd"/>
  564. <Col id="hardcdnm">-</Col>
  565. <Col id="level">0</Col>
  566. </Row>
  567. <Row>
  568. <Col id="hardcd">fCallCareTPRInfo</Col>
  569. <Col id="hardcdnm">간호TPR 조회</Col>
  570. <Col id="level">0</Col>
  571. </Row>
  572. <Row>
  573. <Col id="hardcdnm">-</Col>
  574. <Col id="level">0</Col>
  575. <Col id="hardcd"/>
  576. </Row>
  577. <Row>
  578. <Col id="hardcdnm">의사결정</Col>
  579. <Col id="hardcd">fIntensionDecision</Col>
  580. <Col id="level">0</Col>
  581. </Row>
  582. <Row>
  583. <Col id="hardcdnm">빈병상현황</Col>
  584. <Col id="hardcd">fEmptyBedCheck</Col>
  585. <Col id="level">0</Col>
  586. </Row>
  587. <Row>
  588. <Col id="hardcdnm">입원의뢰서</Col>
  589. <Col id="hardcd">fEnterHosReq</Col>
  590. <Col id="level">0</Col>
  591. </Row>
  592. <Row>
  593. <Col id="hardcd"/>
  594. <Col id="hardcdnm">-</Col>
  595. <Col id="level">0</Col>
  596. </Row>
  597. <Row>
  598. <Col id="hardcdnm">환자바코드 출력</Col>
  599. <Col id="hardcd">fPrintPatLabel</Col>
  600. <Col id="level">0</Col>
  601. </Row>
  602. <Row>
  603. <Col id="hardcdnm">안전사고보고</Col>
  604. <Col id="level">0</Col>
  605. <Col id="hardcd">fPatQi</Col>
  606. </Row>
  607. <Row>
  608. <Col id="hardcd"/>
  609. <Col id="hardcdnm">-</Col>
  610. <Col id="level">0</Col>
  611. </Row>
  612. <Row>
  613. <Col id="hardcdnm">SMS발송</Col>
  614. <Col id="hardcd">fSendSmsErPat</Col>
  615. <Col id="level">0</Col>
  616. </Row>
  617. <Row>
  618. <Col id="hardcdnm">환자상태 변화 시 보고체계</Col>
  619. <Col id="level">0</Col>
  620. <Col id="hardcd">fPatEreport</Col>
  621. </Row>
  622. </Rows>
  623. </Dataset>
  624. <Dataset id="ds_menu2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  625. <ColumnInfo>
  626. <Column id="hardcd" type="STRING" size="256"/>
  627. <Column id="hardcdnm" type="STRING" size="256"/>
  628. <Column id="level" type="STRING" size="256"/>
  629. </ColumnInfo>
  630. <Rows>
  631. <Row>
  632. <Col id="hardcd">fCallWndConcPatRgst</Col>
  633. <Col id="hardcdnm">관심환자등록</Col>
  634. <Col id="level">0</Col>
  635. </Row>
  636. <Row>
  637. <Col id="hardcd">fCallWndWarnPat</Col>
  638. <Col id="hardcdnm">주의요망환자관리</Col>
  639. <Col id="level">0</Col>
  640. </Row>
  641. <Row>
  642. <Col id="hardcd"/>
  643. <Col id="hardcdnm">-</Col>
  644. <Col id="level">0</Col>
  645. </Row>
  646. <Row>
  647. <Col id="hardcd">fOpenERTriage</Col>
  648. <Col id="hardcdnm">Triage등록</Col>
  649. <Col id="level">0</Col>
  650. </Row>
  651. <Row>
  652. <Col id="hardcd"/>
  653. <Col id="hardcdnm">-</Col>
  654. <Col id="level">0</Col>
  655. </Row>
  656. <Row>
  657. <Col id="hardcd">fRgstCnclAtDoct</Col>
  658. <Col id="hardcdnm">전공의 적용</Col>
  659. <Col id="level">0</Col>
  660. </Row>
  661. <Row>
  662. <Col id="hardcd"/>
  663. <Col id="hardcdnm">-</Col>
  664. <Col id="level">0</Col>
  665. </Row>
  666. <Row>
  667. <Col id="hardcd">fOpenErInternMngt</Col>
  668. <Col id="hardcdnm">인턴등록</Col>
  669. <Col id="level">0</Col>
  670. </Row>
  671. <Row>
  672. <Col id="hardcd"/>
  673. <Col id="hardcdnm">-</Col>
  674. <Col id="level">0</Col>
  675. </Row>
  676. <Row>
  677. <Col id="hardcd">fOpenDrList</Col>
  678. <Col id="hardcdnm">의사호출 사용자관리</Col>
  679. <Col id="level">0</Col>
  680. </Row>
  681. <Row>
  682. <Col id="hardcd">fSaveErCallVisit</Col>
  683. <Col id="hardcdnm">응급스케쥴등록</Col>
  684. <Col id="level">0</Col>
  685. </Row>
  686. <Row>
  687. <Col id="hardcd">fOpenERCallDr</Col>
  688. <Col id="hardcdnm">일반의사호출</Col>
  689. <Col id="level">0</Col>
  690. </Row>
  691. <Row>
  692. <Col id="hardcd">fOpenErCallDrHist</Col>
  693. <Col id="hardcdnm">의사호출현황</Col>
  694. <Col id="level">0</Col>
  695. </Row>
  696. <Row>
  697. <Col id="hardcdnm">-</Col>
  698. <Col id="level">0</Col>
  699. <Col id="hardcd"/>
  700. </Row>
  701. <Row>
  702. <Col id="hardcdnm">중증 호출 당직관리</Col>
  703. <Col id="level">0</Col>
  704. <Col id="hardcd">fOpenNurseERDrScheDrList</Col>
  705. </Row>
  706. <Row>
  707. <Col id="hardcdnm">중증 응급 호출</Col>
  708. <Col id="level">0</Col>
  709. <Col id="hardcd">fOpenNurseERCallDr</Col>
  710. </Row>
  711. <Row>
  712. <Col id="hardcdnm">-</Col>
  713. <Col id="level">0</Col>
  714. <Col id="hardcd"/>
  715. </Row>
  716. <Row>
  717. <Col id="hardcd">fErRecoverWardRgst</Col>
  718. <Col id="hardcdnm">중증응급</Col>
  719. <Col id="level">0</Col>
  720. </Row>
  721. <Row>
  722. <Col id="hardcd"/>
  723. <Col id="hardcdnm">-</Col>
  724. <Col id="level">0</Col>
  725. </Row>
  726. <Row>
  727. <Col id="hardcdnm">의사호출 Deactivation</Col>
  728. <Col id="hardcd">fOpenDrCallDeaction</Col>
  729. <Col id="level">0</Col>
  730. </Row>
  731. <Row>
  732. <Col id="hardcdnm">의사호출 Addition</Col>
  733. <Col id="hardcd">fOpenDrCallAddition</Col>
  734. <Col id="level">0</Col>
  735. </Row>
  736. <Row>
  737. <Col id="hardcdnm">-</Col>
  738. <Col id="level">0</Col>
  739. <Col id="hardcd"/>
  740. </Row>
  741. <Row>
  742. <Col id="hardcd">fCallCareTPRInfo</Col>
  743. <Col id="hardcdnm">간호TPR 조회</Col>
  744. <Col id="level">0</Col>
  745. </Row>
  746. <Row>
  747. <Col id="hardcd"/>
  748. <Col id="hardcdnm">-</Col>
  749. <Col id="level">0</Col>
  750. </Row>
  751. <Row>
  752. <Col id="hardcdnm">환자바코드 출력</Col>
  753. <Col id="hardcd">fPrintPatLabel</Col>
  754. <Col id="level">0</Col>
  755. </Row>
  756. <Row>
  757. <Col id="hardcdnm">안전사고보고</Col>
  758. <Col id="hardcd">fPatQi</Col>
  759. <Col id="level">0</Col>
  760. </Row>
  761. <Row>
  762. <Col id="hardcd"/>
  763. <Col id="hardcdnm">-</Col>
  764. <Col id="level">0</Col>
  765. </Row>
  766. <Row>
  767. <Col id="hardcdnm">SMS발송</Col>
  768. <Col id="hardcd">fSendSmsErPat</Col>
  769. <Col id="level">0</Col>
  770. </Row>
  771. <Row>
  772. <Col id="hardcd">fPatEreport</Col>
  773. <Col id="hardcdnm">환자별응급보고체계</Col>
  774. <Col id="level">0</Col>
  775. </Row>
  776. </Rows>
  777. </Dataset>
  778. <Dataset id="ds_reqTriage" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  779. <ColumnInfo>
  780. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  781. <Column id="orddd" type="STRING" size="256" sumtext="외래진료일"/>
  782. <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
  783. </ColumnInfo>
  784. </Dataset>
  785. <Dataset id="ds_pattriagelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  786. <ColumnInfo>
  787. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  788. </ColumnInfo>
  789. </Dataset>
  790. <Dataset id="ds_reqPatValid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  791. <ColumnInfo>
  792. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  793. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  794. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  795. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  796. <Column id="prcpgenrflag" type="STRING" size="256" sumtext="I/O/Eflag"/>
  797. <Column id="srchtabflag" type="STRING" size="256" sumtext="조회하는대상자리스트탭(I/O/D/E)"/>
  798. </ColumnInfo>
  799. </Dataset>
  800. <Dataset id="ds_rsltgetdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  801. <ColumnInfo>
  802. <Column id="cpgno" type="STRING" size="256" sumtext="cpg번호"/>
  803. <Column id="cpghistseq" type="STRING" size="256" sumtext="cpg이력번호"/>
  804. <Column id="cpgappno" type="STRING" size="256" sumtext="적용번호"/>
  805. <Column id="histseq" type="STRING" size="256" sumtext="적용이력번호"/>
  806. <Column id="appdd" type="STRING" size="256" sumtext="적용일자"/>
  807. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  808. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  809. <Column id="ioflag" type="STRING" size="256" sumtext="I/O/Eflag"/>
  810. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  811. <Column id="getformyn" type="STRING" size="256" sumtext="서식존재여부"/>
  812. <Column id="appyn" type="STRING" size="256" sumtext="적용여부"/>
  813. <Column id="appstat" type="STRING" size="256" sumtext="적용상태"/>
  814. <Column id="cpgnm" type="STRING" size="256" sumtext="cpg명"/>
  815. <Column id="prtlflagcd" type="STRING" size="256" sumtext="cp/cpg구분(01:CP/02:CPG)"/>
  816. <Column id="msgcnts" type="STRING" size="256" sumtext="출력Msg내용"/>
  817. <Column id="msgflag" type="STRING" size="256" sumtext="출력Msg구분"/>
  818. </ColumnInfo>
  819. </Dataset>
  820. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  821. <ColumnInfo>
  822. <Column id="srchcond" type="STRING" size="256"/>
  823. <Column id="pid" type="STRING" size="256"/>
  824. <Column id="hngnm" type="STRING" size="256"/>
  825. </ColumnInfo>
  826. </Dataset>
  827. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  828. <ColumnInfo>
  829. <Column id="pid" type="STRING" size="256"/>
  830. <Column id="orddeptcd" type="STRING" size="256"/>
  831. <Column id="workdd" type="STRING" size="256"/>
  832. <Column id="flag" type="STRING" size="256"/>
  833. </ColumnInfo>
  834. <Rows>
  835. <Row/>
  836. </Rows>
  837. </Dataset>
  838. <Dataset id="ds_cond_formdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  839. <ColumnInfo>
  840. <Column id="formcd" type="STRING" size="256"/>
  841. <Column id="formkind" type="STRING" size="256"/>
  842. <Column id="btnvisible" type="STRING" size="256"/>
  843. <Column id="pid" type="STRING" size="256"/>
  844. <Column id="orddd" type="STRING" size="256"/>
  845. <Column id="cretno" type="STRING" size="256"/>
  846. <Column id="modalyn" type="STRING" size="256"/>
  847. <Column id="topyn" type="STRING" size="256"/>
  848. <Column id="orddeptcd" type="STRING" size="256"/>
  849. <Column id="ioflag" type="STRING" size="256"/>
  850. <Column id="orddrid" type="STRING" size="256"/>
  851. <Column id="scrnidx" type="STRING" size="256"/>
  852. <Column id="paminfo" type="STRING" size="256"/>
  853. </ColumnInfo>
  854. </Dataset>
  855. <Dataset id="ds_hardcd6004" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  856. <Dataset id="ds_send_formcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  857. <ColumnInfo>
  858. <Column id="formcd" type="STRING" size="256"/>
  859. <Column id="srchdt" type="STRING" size="256"/>
  860. </ColumnInfo>
  861. <Rows>
  862. <Row/>
  863. </Rows>
  864. </Dataset>
  865. <Dataset id="ds_result_formcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  866. <Dataset id="ds_bfselecterpat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  867. </Objects>
  868. <Bind>
  869. <BindItem id="item0" compid="Div00.input2" propid="value" datasetid="ds_cond" columnid="srchdd"/>
  870. <BindItem id="item1" compid="Div00.cmb_section" propid="value" datasetid="ds_cond" columnid="section"/>
  871. <BindItem id="item2" compid="Div00.cmb_orddept" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  872. <BindItem id="item3" compid="Div00.cmb_medispclid" propid="value" datasetid="ds_cond" columnid="medispclid"/>
  873. <BindItem id="item4" compid="Div00.cmb_atdoctid" propid="value" datasetid="ds_cond" columnid="atdoctid"/>
  874. <BindItem id="item5" compid="Div00.radio1" propid="value" datasetid="ds_cond" columnid="srchflag"/>
  875. <BindItem id="item6" compid="Div00.bool1" propid="value" datasetid="ds_cond" columnid="mypatflag"/>
  876. <BindItem id="item7" compid="Div00.cmb_erorddeptcd" propid="value" datasetid="ds_cond" columnid="erorddeptcd"/>
  877. <BindItem id="item8" compid="Div00.cmb_orddrid" propid="value" datasetid="ds_cond" columnid="ermedispclid"/>
  878. <BindItem id="item9" compid="Div00.ipt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
  879. <BindItem id="item10" compid="Div00.input3" propid="value" datasetid="ds_cond" columnid="hngnm"/>
  880. <BindItem id="item11" compid="Div00.out_curpatcnt" propid="text" datasetid="ds_erpatcnt" columnid="ercurpatcnt"/>
  881. <BindItem id="item12" compid="Div00.out_epatcnt" propid="text" datasetid="ds_erpatcnt" columnid="erpattotalcnt"/>
  882. </Bind>
  883. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  884. * System Name :
  885. * Job Name :
  886. * Creator :
  887. * Make Date : 2014-08-29
  888. * Description :
  889. *---------------------------------------------------------------------------------------
  890. * Modify Date Modifier Modify Description
  891. *---------------------------------------------------------------------------------------
  892. * 2014-08-29 Live Converter TF->XP
  893. *
  894. *---------------------------------------------------------------------------------------
  895. ****************************************************************************************/
  896. include "com_commonxp::comm_main.xjs";
  897. include "emr_prcpmngtxp::MMO001.xjs";
  898. include "emr_prcpmngtxp::SMMMO04100.xjs";
  899. include "emr_prcpmngtxp::SMMMO04400.xjs";
  900. include "emr_medirecxp::MMR01100.xjs"; // 2018.09 서식로더
  901. var orderby = new SortArray(); // 그리드 정렬 설정에 사용
  902. function SMMMO04400_oninit(obj:Form, e:InitEventInfo)
  903. {
  904. frmf_initForm(obj);
  905. grdf_initGrid(grd_erpatlist);
  906. }
  907. function SMMMO04400_onload(obj:Form, e:LoadEventInfo)
  908. {
  909. grdf_setToolTipBind(grd_erpatlist);
  910. fInitialize_SMMMO04400();
  911. }
  912. function refreshReqInterface(bResetColumn) {
  913. if(bResetColumn)
  914. reqOrderInfoOfCol(ds_reqdata1, ds_gridseq, "SMMMO04400", grd_erpatlist); //응급환자리스트 컬럼 조회 및 설정
  915. fReqERPatList();
  916. }
  917. function Div00_btn_req_onclick(obj:Button, e:ClickEventInfo)
  918. {
  919. fReqERPatList();
  920. }
  921. function Div00_input2_onchanged(obj:Calendar, e:ChangeEventInfo)
  922. {
  923. var sOrdDd = obj.value;
  924. var sOrdDeptCd = Div00.cmb_orddept.value;
  925. setDeptCodeList(null, sOrdDd);
  926. if(ds_orddept.findRow("deptcd", sOrdDeptCd) == -1) {
  927. if(ds_hardcd.findRow("hardcd", sOrdDeptCd) != -1) { // 소아청소년과 분과 이면 소아청소년과로 설정.
  928. Div00.cmb_orddept.value = "2110000000";
  929. Div00.cmb_orddept.onitemchanged.fireEvent(Div00.cmb_orddept, new ItemChangeEventInfo);
  930. Div00.cmb_erorddeptcd.onitemchanged.fireEvent(Div00.cmb_erorddeptcd, new ItemChangeEventInfo);
  931. } else {
  932. sysf_messageBox ( "선택일자에 존재하지 않는 진료과 입니다.\n\n진료과를 다시 선택 하세요.", "I" );
  933. Div00.cmb_orddept.value = "-";
  934. }
  935. }
  936. }
  937. function Div00_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  938. {
  939. var sOrdDd = Div00.input2.value;
  940. var orddeptcd = obj.value;
  941. setUserList(orddeptcd, "-", "-", sOrdDd);
  942. fReqERPatList();
  943. }
  944. function Div00_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  945. {
  946. fReqERPatList();
  947. }
  948. function Div00_cmb_erorddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  949. {
  950. var sOrdDd = Div00.input2.value;
  951. var erorddeptcd = obj.value;
  952. setErUserList(erorddeptcd, "-", sOrdDd);
  953. fReqERPatList();
  954. }
  955. function Div00_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  956. {
  957. if(e.keycode == 13) {
  958. obj.value = utlf_trim(obj.value);
  959. if(obj.value == ""){
  960. return;
  961. }
  962. if(lf_reqPatInfo(ds_patnm, "pid", "ptbs", obj.value)) {
  963. ds_cond.setColumn(0, "hngnm", ds_patnm.getColumn(0, "hngnm"));
  964. fReqERPatList();
  965. }
  966. }
  967. }
  968. function Div00_input3_onkeydown(obj:Edit, e:KeyEventInfo)
  969. {
  970. if(e.keycode == 13){
  971. ds_hidden.clearData();
  972. ds_hidden.addRow();
  973. ds_hidden.setColumn(0, "srchcond", "2");
  974. ds_hidden.setColumn(0, "hngnm", obj.text);
  975. var objArg = new Object();
  976. objArg.arg_ds_send = ds_hidden;
  977. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  978. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  979. var pid = ds_patinfolist.getColumn(0, "pid");
  980. var hngnm = ds_patinfolist.getColumn(0, "hngnm");
  981. ds_cond.setColumn(0, "pid", pid);
  982. ds_cond.setColumn(0, "hngnm", hngnm);
  983. }
  984. }
  985. }
  986. function Div00_btn_prcpclsnm_onclick(obj:Button, e:ClickEventInfo)
  987. {
  988. frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
  989. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  990. var sPid = ds_patinfolist.getColumn(0, "pid");
  991. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  992. ds_cond.setColumn(0, "pid", sPid);
  993. ds_cond.setColumn(0, "hngnm", sHngnm);
  994. }
  995. }
  996. function Div00_button1_onclick(obj:Button, e:ClickEventInfo)
  997. {
  998. frmf_modal("SPMNE04400", "SPMNE04400", null, null, null, null, null, null, null, null, null, null, "M");
  999. fReqERPatList();
  1000. }
  1001. function grd_erpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1002. {
  1003. if(e.row < 0) return;
  1004. grdf_setSelectedCell(obj, e);
  1005. if(ds_calltime.getColumn(0, "hardcd") == "-")
  1006. pmn_menu.trackPopup(e.screenX,e.screenY);
  1007. else
  1008. pmn_menu2.trackPopup(e.screenX,e.screenY);
  1009. }
  1010. function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1011. {
  1012. eval(e.id + "()");
  1013. }
  1014. function grd_erpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1015. {
  1016. //20150717
  1017. /*
  1018. lf_getEMRLoadingInfo("E");
  1019. */
  1020. sysf_setGlobalVariable("OrderMainRefresh", "Y"); // 처방 메인 refresh 단일화를 위한 글로벌 변수 셋팅 - 20081212 by Moonsh
  1021. if ( fChkBfPrcpLoad("E") == false ) {
  1022. return;
  1023. }
  1024. fSelectERPat();
  1025. //박유진 091104 간호TPR 기록창이 떠있는 경우에만 적용
  1026. if (frmf_findPopup("SMMNR00900") != null){
  1027. //테스트중
  1028. fCallCareTPRInfo();
  1029. }
  1030. }
  1031. function grd_erpatlist_onheadclick(obj:Grid, e:GridClickEventInfo)
  1032. {
  1033. ds_cond.setColumn(0, "sortcol", lf_getBindCellName(obj, e.col));
  1034. ds_cond.setColumn(0, "orderby", orderby.getNext()); // 노멀에서 시작한다는 전제로 함
  1035. parent.parent.ds_cond_erpatlist.copyData(ds_cond);
  1036. }
  1037. function ds_grd_erpatlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  1038. {
  1039. parent.parent.SMMMO04100_setPid(obj.getColumn(e.newrow, "pid"));
  1040. }
  1041. function grd_erpatlist_onmousewheel(obj:Grid, e:MouseWheelEventInfo)
  1042. {
  1043. obj.vscrollbar.pos = obj.vscrollbar.pos - e.amount;
  1044. }
  1045. function grd_erpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1046. {
  1047. parent.parent.SMMMO04100_setPid(ds_grd_erpatlist.getColumn(e.row, "pid"));
  1048. //20190802 이돈희 : triage 컬럼을 눌렀을 경우 전문의 직접 진찰료 화면이 뜨도록 함
  1049. if(e.col == grd_erpatlist.getBindCellIndex("body", "serdiagflag2")) {
  1050. //20200107 이돈희 : 칠곡 응급실 전문의 진찰료 수가코드 종료로 진료공통코드 대신에 formcd로 최신 formcd 조회
  1051. var instcd = sysf_getUserInfo("dutplceinstcd");
  1052. if(instcd == "031"){
  1053. fERSpecialistDirectTreatmentPopup("1600017252");
  1054. } else {
  1055. fERSpecialistDirectTreatmentPopup("1700019589");
  1056. }
  1057. }
  1058. //20200214 이돈희 : 응급실 호출 컬럼을 선택시에 응급실 호출 창 팝업
  1059. else if(e.col == grd_erpatlist.getBindCellIndex("body", "ercallstatus")) {
  1060. fOpenERCallDr();
  1061. }
  1062. }
  1063. //환자별 응급상황 보고 조회
  1064. function fPatEreport(){
  1065. var row_om = ds_grd_erpatlist.rowposition;
  1066. if (row_om >= 0) {
  1067. var pid = ds_grd_erpatlist.getColumn(row_om, "pid") ;
  1068. var orddeptcd = ds_grd_erpatlist.getColumn(row_om, "orddeptcd");
  1069. var workdd = ds_cond.getColumn(0, "srchdd");
  1070. ds_send_cond.setColumn(0,"pid", pid);
  1071. ds_send_cond.setColumn(0,"orddeptcd", orddeptcd);
  1072. ds_send_cond.setColumn(0,"workdd", workdd);
  1073. ds_send_cond.setColumn(0,"flag", "1");
  1074. var objArg = new Object();
  1075. objArg.arg_cond = ds_send_cond;
  1076. frmf_modal("SMMNE05504", "SMMNE05504", objArg ,"",1, 100, 100, "","","","","","M");
  1077. }
  1078. }]]></Script>
  1079. </Form>
  1080. </FDL>