SPMMI01000_외래환자조회.xfdl 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMI01000_외래환자조회" classname="SPMMI01000_외래환자조회" inheritanceid="" position="absolute 0 0 1173 768" titletext="외래환자 조회" oninit="SPMMI01000_oninit" onload="SPMMI01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_outpatlist" taborder="1" binddataset="ds_outpatlist" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" onrbuttondown="grd_outpatlist_onrbuttondown" onmousewheel="grd_outpatlist_onmousewheel" position="absolute 0 107 1173 768" anchor="all">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="20"/>
  12. <Column size="50"/>
  13. <Column size="56"/>
  14. <Column size="55"/>
  15. <Column size="70"/>
  16. <Column size="75"/>
  17. <Column size="55"/>
  18. <Column size="70"/>
  19. <Column size="70"/>
  20. <Column size="80"/>
  21. <Column size="0"/>
  22. <Column size="65"/>
  23. <Column size="65"/>
  24. <Column size="146"/>
  25. <Column size="0"/>
  26. <Column size="55"/>
  27. <Column size="55"/>
  28. <Column size="75"/>
  29. <Column size="75"/>
  30. <Column size="75"/>
  31. <Column size="50"/>
  32. <Column size="55"/>
  33. <Column size="75"/>
  34. <Column size="0"/>
  35. <Column size="60"/>
  36. <Column size="0"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="0"/>
  41. <Column size="85"/>
  42. <Column size="0"/>
  43. <Column size="77"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="70"/>
  47. <Column size="79"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="100"/>
  53. <Column size="100"/>
  54. <Column size="70"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="150"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="70"/>
  72. <Column size="100"/>
  73. <Column size="40"/>
  74. </Columns>
  75. <Rows>
  76. <Row size="24" band="head"/>
  77. <Row size="24"/>
  78. </Rows>
  79. <Band id="head">
  80. <Cell celltype="none"/>
  81. <Cell col="1" text="혈액형"/>
  82. <Cell col="2" text="구분"/>
  83. <Cell col="3" text="시간"/>
  84. <Cell col="4" text="성명"/>
  85. <Cell col="5" text="등록번호"/>
  86. <Cell col="6" text="S/A"/>
  87. <Cell col="7" text="의료협력"/>
  88. <Cell col="8" text="회신상태"/>
  89. <Cell col="9" text="센터"/>
  90. <Cell col="10" text="세부과"/>
  91. <Cell col="11" text="진료의"/>
  92. <Cell col="12" text="초재진"/>
  93. <Cell col="13" text="진단명"/>
  94. <Cell col="14" text="최근진단명"/>
  95. <Cell col="15" text="타과"/>
  96. <Cell col="16" text="특이"/>
  97. <Cell col="17" text="검사조회"/>
  98. <Cell col="18" text="예약구분"/>
  99. <Cell col="19" text="기타구분"/>
  100. <Cell col="20" text="미수여부"/>
  101. <Cell col="21" text="중증"/>
  102. <Cell col="22" text="보험유형"/>
  103. <Cell col="23" text="오늘결과"/>
  104. <Cell col="24" text="직전검사"/>
  105. <Cell col="25" text="예약시간"/>
  106. <Cell col="26" text="환자도착시간"/>
  107. <Cell col="27" text="진료시작시간"/>
  108. <Cell col="28" text="진료종료시간"/>
  109. <Cell col="29" text="전달사항"/>
  110. <Cell col="30" text="관심"/>
  111. <Cell col="31" text="제한항생제"/>
  112. <Cell col="32" text="협진"/>
  113. <Cell col="33" text="CP여부"/>
  114. <Cell col="34" text="One Stop"/>
  115. <Cell col="35" text="Donor W/U"/>
  116. <Cell col="36" text="PreWork Up"/>
  117. <Cell col="37" text="BMT예정일"/>
  118. <Cell col="38" text="이식형태"/>
  119. <Cell col="39" text="BMT Day"/>
  120. <Cell col="40" text="Post Cx Day"/>
  121. <Cell col="41" text="사전심사"/>
  122. <Cell col="42" text="선택진료여부"/>
  123. <Cell col="43" text="진료상태"/>
  124. <Cell col="44" text="orddd"/>
  125. <Cell col="45" text="cretno"/>
  126. <Cell col="46" text="instcd"/>
  127. <Cell col="47" text="acptseqno"/>
  128. <Cell col="48" text="orgorddd"/>
  129. <Cell col="49" text="repltype"/>
  130. <Cell col="50" text="수납VIP사유코드"/>
  131. <Cell col="51" text="수납VIP사유"/>
  132. <Cell col="52" text="medamtpostyn"/>
  133. <Cell col="53" text="민원여부"/>
  134. <Cell col="54" text="color"/>
  135. <Cell col="55" text="orddrid"/>
  136. <Cell col="56" text="centcode"/>
  137. <Cell col="57" text="환자메모"/>
  138. <Cell col="58" text="다학제"/>
  139. <Cell col="59" text="POD"/>
  140. <Cell col="60" text="처방의"/>
  141. <Cell col="61" text="수혜자"/>
  142. <Cell col="62" text="치과&#13;&#10;통계"/>
  143. </Band>
  144. <Band id="body">
  145. <Cell celltype="head" text="expr:currow + 1"/>
  146. <Cell col="1" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:btype"/>
  147. <Cell col="2" displaytype="combo" style="align:center;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:elbulbodstat" combodataset="ds_M0062" combocodecol="cdid" combodatacol="cdnm"/>
  148. <Cell col="3" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:ordtm" mask="##:##"/>
  149. <Cell col="4" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hngnm"/>
  150. <Cell col="5" displaytype="text" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:pid" editclipmode="includespace" edittrimtype="none"/>
  151. <Cell col="6" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:sexage"/>
  152. <Cell col="7" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:refer"/>
  153. <Cell col="8" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:replstat"/>
  154. <Cell col="9" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:centcd"/>
  155. <Cell col="10" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:subdeptcd"/>
  156. <Cell col="11" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddrnm"/>
  157. <Cell col="12" displaytype="combo" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:fsexamflag" combodataset="ds_P0021" combocodecol="cdid" combodatacol="cdnm"/>
  158. <Cell col="13" displaytype="normal" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:diagnm"/>
  159. <Cell col="14" style="align:left middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:recentdiagnm"/>
  160. <Cell col="15" displaytype="normal" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:anodeptyn"/>
  161. <Cell col="16" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:spclflag"/>
  162. <Cell col="17" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:testrslt"/>
  163. <Cell col="18" displaytype="combo" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:rsrvflag" combodataset="ds_P0341" combocodecol="cdid" combodatacol="cdnm"/>
  164. <Cell col="19" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:etcordflag" combodataset="ds_P0022" combocodecol="cdid" combodatacol="cdnm"/>
  165. <Cell col="20" text="bind:outmisu"/>
  166. <Cell col="21" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:serdiag"/>
  167. <Cell col="22" displaytype="combo" style="align:center middle;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:insukind" combodataset="ds_P0008" combocodecol="cdid" combodatacol="cdnm"/>
  168. <Cell col="23" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:prcptdayaftrcptyn"/>
  169. <Cell col="24" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:preexamyn"/>
  170. <Cell col="25" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:rsrvordtm"/>
  171. <Cell col="26" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:nursacptdt"/>
  172. <Cell col="27" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:ordstartdt"/>
  173. <Cell col="28" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:dracptdt"/>
  174. <Cell col="29" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:trsmrem"/>
  175. <Cell col="30" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:conctypenm"/>
  176. <Cell col="31" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:antidrugflag"/>
  177. <Cell col="32" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:coordflag" combodataset="ds_M0525" combocodecol="cdid" combodatacol="cdnm"/>
  178. <Cell col="33" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:cpyn"/>
  179. <Cell col="34" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:onestop"/>
  180. <Cell col="35" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:dnoracptyn"/>
  181. <Cell col="36" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:preworkup"/>
  182. <Cell col="37" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hsctpreday"/>
  183. <Cell col="38" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:transtype"/>
  184. <Cell col="39" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:hsctday"/>
  185. <Cell col="40" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:postcxday"/>
  186. <Cell col="41" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:bfjudgvalue"/>
  187. <Cell col="42" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:specordtype" combodataset="ds_M0623" combocodecol="cdid" combodatacol="cdnm"/>
  188. <Cell col="43" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:ordstate"/>
  189. <Cell col="44" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddd"/>
  190. <Cell col="45" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:cretno"/>
  191. <Cell col="46" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:instcd"/>
  192. <Cell col="47" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:acptseqno"/>
  193. <Cell col="48" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orgorddd"/>
  194. <Cell col="49" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:repltype"/>
  195. <Cell col="50" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:rcptvipresncd"/>
  196. <Cell col="51" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:rcptvipetcresn"/>
  197. <Cell col="52" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:medamtpostyn"/>
  198. <Cell col="53" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:civilap"/>
  199. <Cell col="54" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:color"/>
  200. <Cell col="55" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:orddrid"/>
  201. <Cell col="56" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:centcode"/>
  202. <Cell col="57" style="align:left top;background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:patmemo"/>
  203. <Cell col="58" displaytype="combo" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:multiord" combodataset="ds_multiord" combocodecol="value" combodatacol="label"/>
  204. <Cell col="59" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));color:EXPR(fChngColorOutPatList_Pod(pod));color2:EXPR(fChngColorOutPatList_Pod(pod));selectcolor:EXPR(fChngColorOutPatList_Pod(pod));" text="bind:pod"/>
  205. <Cell col="60" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:prcprgstnm"/>
  206. <Cell col="61" style="background:EXPR(fChngGrdCellColor(color));background2:EXPR(fChngGrdCellColor(color));" text="bind:recipient"/>
  207. <Cell col="62" displaytype="image" style="align:center;" text="bind:handidentalimg"/>
  208. </Band>
  209. </Format>
  210. </Formats>
  211. </Grid>
  212. <Static id="Static01" text="외래환자 리스트" class="tit_2" position="absolute 0 89 129 109"/>
  213. <Static id="caption6" text="외래환자 조회" class="tit_1" position="absolute 0 0 114 25"/>
  214. <Div id="Div00" anchor="left top right" taborder="2" scrollbars="none" class="div_SA" position="absolute 0 25 1172 87">
  215. <Layouts>
  216. <Layout>
  217. <Static id="Static00" text="진 료 일" class="search_name" position="absolute 196 8 264 28" anchor="default"/>
  218. <Combo id="cmb_orddeptcd" taborder="18" innerdataset="@ds_orddept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Div00_cmb_orddeptcd_onitemchanged" position="absolute 472 8 622 28" anchor="default"/>
  219. <Calendar id="cmb_orddd" taborder="19" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="Div00_cmb_orddd_onchanged" position="absolute 275 8 368 28" style="align:center middle;" anchor="default"/>
  220. <Static id="Static01" text="진 료 과" class="search_name" position="absolute 393 8 461 28" anchor="default"/>
  221. <Static id="Static02" text="진 료 의" class="search_name" position="absolute 642 8 710 28" anchor="default"/>
  222. <Combo id="cmb_orddrid" taborder="20" innerdataset="@ds_userlist" codecolumn="userid" datacolumn="usernm" position="absolute 721 8 811 28" anchor="default"/>
  223. <Static id="Static03" text="총" class="search_name" position="absolute 6 8 34 28" anchor="default"/>
  224. <Static id="Static04" position="absolute 49 8 69 28" style="align:center middle;" anchor="default"/>
  225. <Static id="Static05" text="/" position="absolute 75 8 83 28" style="align:center middle;" anchor="default"/>
  226. <Static id="Static06" position="absolute 85 8 105 28" style="align:center middle;" anchor="default"/>
  227. <Static id="Static07" text="명" position="absolute 119 8 131 28" anchor="default"/>
  228. <CheckBox id="chk_propcp" taborder="21" text="가접수 포함" value="N" truevalue="Y" falsevalue="N" position="absolute 855 8 939 28" anchor="default"/>
  229. <Static id="Static08" text="환자구분" class="search_name" position="absolute 6 34 82 54" anchor="default"/>
  230. <Radio id="rdo_patflag" taborder="23" columncount="5" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="Div00_rdo_patflag_onitemchanged" position="absolute 96 34 370 54" style="textpadding:1 0 0 4;padding:1 0 0 0;" anchor="default">
  231. <Dataset id="innerdataset">
  232. <ColumnInfo>
  233. <Column id="codecolumn" size="256"/>
  234. <Column id="datacolumn" size="256"/>
  235. </ColumnInfo>
  236. <Rows>
  237. <Row>
  238. <Col id="codecolumn">-</Col>
  239. <Col id="datacolumn">전체</Col>
  240. </Row>
  241. <Row>
  242. <Col id="codecolumn">9</Col>
  243. <Col id="datacolumn">미접수</Col>
  244. </Row>
  245. <Row>
  246. <Col id="codecolumn">0</Col>
  247. <Col id="datacolumn">접수</Col>
  248. </Row>
  249. <Row>
  250. <Col id="codecolumn">1</Col>
  251. <Col id="datacolumn">대기</Col>
  252. </Row>
  253. <Row>
  254. <Col id="codecolumn">2</Col>
  255. <Col id="datacolumn">완료</Col>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. </Radio>
  260. <Static id="Static09" text="등록번호" class="search_name" position="absolute 393 34 461 54" anchor="default"/>
  261. <Edit id="edt_pid" taborder="24" autoselect="true" onkeydown="Div00_edt_pid_onkeydown" position="absolute 472 34 562 54" anchor="default"/>
  262. <Static id="Static10" text="성 명" class="search_name" position="absolute 641 34 709 54" anchor="default"/>
  263. <Edit id="edt_hngnm" taborder="25" autoselect="true" onkeydown="Div00_edt_hngnm_onkeydown" position="absolute 721 34 811 54" anchor="default"/>
  264. <Button id="btn_patsrch" taborder="26" onclick="Div00_btn_patsrch_onclick" class="icon_search" position="absolute 818 34 838 54" anchor="default"/>
  265. <Button id="btn_req" taborder="30" text="조회" onclick="Div00_btn_req_onclick" class="btn1" position="absolute 1107 21 1159 41" anchor="top right" hotkey="F5"/>
  266. </Layout>
  267. </Layouts>
  268. </Div>
  269. </Layout>
  270. </Layouts>
  271. <Objects>
  272. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  273. <ColumnInfo>
  274. <Column id="pid" type="STRING" size="256"/>
  275. <Column id="orddd" type="STRING" size="256"/>
  276. <Column id="orddeptcd" type="STRING" size="256"/>
  277. <Column id="orddrid" type="STRING" size="256"/>
  278. <Column id="elbulbodstat" type="STRING" size="256"/>
  279. <Column id="hngnm" type="STRING" size="256"/>
  280. <Column id="deptflag" type="STRING" size="256"/>
  281. <Column id="sortcol" type="STRING" size="256"/>
  282. <Column id="orderby" type="STRING" size="256"/>
  283. <Column id="totcnt" type="STRING" size="256"/>
  284. <Column id="rsltcnt" type="STRING" size="256"/>
  285. <Column id="chkprcp" type="STRING" size="256"/>
  286. <Column id="speedflag" type="STRING" size="256"/>
  287. <Column id="chgorddrid" type="STRING" size="256"/>
  288. <Column id="delayflag" type="STRING" size="256"/>
  289. <Column id="delaytime" type="STRING" size="256"/>
  290. <Column id="delayexpt" type="STRING" size="256"/>
  291. </ColumnInfo>
  292. <Rows>
  293. <Row>
  294. <Col id="elbulbodstat">1</Col>
  295. <Col id="deptflag">0</Col>
  296. </Row>
  297. </Rows>
  298. </Dataset>
  299. <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  300. <ColumnInfo>
  301. <Column id="deptcd" type="STRING" size="256"/>
  302. <Column id="depthngnm" type="STRING" size="256"/>
  303. </ColumnInfo>
  304. </Dataset>
  305. <Dataset id="ds_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  306. <Dataset id="ds_reqdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  307. <ColumnInfo>
  308. <Column id="scrnid" type="STRING" size="256" sumtext="화면ID"/>
  309. <Column id="compscd" type="STRING" size="256" sumtext="화면ID"/>
  310. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  311. </ColumnInfo>
  312. </Dataset>
  313. <Dataset id="ds_gridseq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="compscd" type="STRING" size="256" sumtext="구성코드"/>
  316. <Column id="compscnts" type="STRING" size="256" sumtext="구성내용"/>
  317. <Column id="frozencol" type="STRING" size="256" sumtext="컬럼고정필드명"/>
  318. <Column id="compsrefcnts" type="STRING" size="256" sumtext="구성참조내용"/>
  319. <Column id="compssizecnts" type="STRING" size="256" sumtext="구성크기내용"/>
  320. </ColumnInfo>
  321. </Dataset>
  322. <Dataset id="ds_outpatlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_outpatlist_onrowposchanged">
  323. <ColumnInfo>
  324. <Column id="pid" type="BIGDECIMAL" size="256" sumtext="등록번호"/>
  325. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  326. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  327. <Column id="acptseqno" type="STRING" size="256" sumtext="생성일련번호"/>
  328. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  329. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  330. <Column id="ordtm" type="STRING" size="256" sumtext="진료시간"/>
  331. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
  332. <Column id="sa" type="STRING" size="256" sumtext="성별나이"/>
  333. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  334. <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태표시"/>
  335. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  336. <Column id="refer" type="STRING" size="256" sumtext="의료협력"/>
  337. <Column id="replstat" type="STRING" size="256" sumtext="회신상태"/>
  338. <Column id="centcode" type="STRING" size="256" sumtext="센터코드"/>
  339. <Column id="centcd" type="STRING" size="256" sumtext="센터명"/>
  340. <Column id="subdeptcd" type="STRING" size="256" sumtext="세부과"/>
  341. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의사"/>
  342. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  343. <Column id="recentdiagnm" type="STRING" size="256" sumtext="최근진단명"/>
  344. <Column id="anodeptyn" type="STRING" size="256" sumtext="타과"/>
  345. <Column id="testrslt" type="STRING" size="256" sumtext="검사조회"/>
  346. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  347. <Column id="serdiag" type="STRING" size="256" sumtext="중증"/>
  348. <Column id="trsmrem" type="STRING" size="256" sumtext="전달사항"/>
  349. <Column id="preworkup" type="STRING" size="256" sumtext="PreworkUp"/>
  350. <Column id="hsctpreday" type="STRING" size="256" sumtext="HSCT예정일"/>
  351. <Column id="transtype" type="STRING" size="256" sumtext="이식형태"/>
  352. <Column id="hsctday" type="STRING" size="256" sumtext="HSCTDAY"/>
  353. <Column id="postcxday" type="STRING" size="256" sumtext="PostCXDay"/>
  354. <Column id="etcordflag" type="STRING" size="256" sumtext="기타진료구분"/>
  355. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  356. <Column id="conctypenm" type="STRING" size="256" sumtext="관심환자명"/>
  357. <Column id="antidrugflag" type="STRING" size="256" sumtext="항생제"/>
  358. <Column id="coordflag" type="STRING" size="256" sumtext="협진"/>
  359. <Column id="onestop" type="STRING" size="256" sumtext="onestop"/>
  360. <Column id="cpyn" type="STRING" size="256" sumtext="CP여부"/>
  361. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  362. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  363. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  364. <Column id="spclflag" type="STRING" size="256" sumtext="특이구분"/>
  365. <Column id="color" type="STRING" size="256" sumtext="cell색상"/>
  366. <Column id="repltype" type="STRING" size="256" sumtext="회신유형"/>
  367. <Column id="prcptdayaftrcptyn" type="STRING" size="256" sumtext="당일결과"/>
  368. <Column id="preexamyn" type="STRING" size="256" sumtext="직전검사"/>
  369. <Column id="rcptvipresncd" type="STRING" size="256" sumtext="후수납사유코드"/>
  370. <Column id="rcptvipetcresn" type="STRING" size="256" sumtext="후수납사유"/>
  371. <Column id="medamtpostyn" type="STRING" size="256" sumtext="VIP여부"/>
  372. <Column id="dnoracptyn" type="STRING" size="256" sumtext="장기이식기증자접수여부(donorw/u)"/>
  373. <Column id="ordstartdt" type="STRING" size="256" sumtext="진료시작시간"/>
  374. <Column id="dracptdt" type="STRING" size="256" sumtext="진료종료시간"/>
  375. <Column id="nursacptdt" type="STRING" size="256" sumtext="환자도착시간"/>
  376. <Column id="civilap" type="STRING" size="256" sumtext="민원내역여부"/>
  377. <Column id="careinrmdd" type="STRING" size="256" sumtext="입실체크여부"/>
  378. <Column id="bfjudgvalue" type="STRING" size="256" sumtext="사전심사관련여부"/>
  379. <Column id="specordtype" type="STRING" size="256" sumtext="선택진료여부"/>
  380. <Column id="ordstate" type="STRING" size="256" sumtext="진료상태(진료대기/기록완료/처방완료/진료완료)"/>
  381. <Column id="patmemo" type="STRING" size="4000" sumtext="환자메모"/>
  382. <Column id="multiord" type="STRING" size="256" sumtext="다학제진료(M 주, S 부)"/>
  383. <Column id="samenamemsg" type="STRING" size="256" sumtext="동명이인 안내메세지"/>
  384. <Column id="pod" type="STRING" size="256" sumtext="수술후 경과일"/>
  385. <Column id="prcprgstnm" type="STRING" size="256" sumtext="처방의"/>
  386. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  387. <Column id="recipient" type="STRING" size="256" sumtext="수혜자"/>
  388. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
  389. <Column id="outmisu" type="STRING" size="256"/>
  390. <Column id="handidentalimg" type="STRING" size="256"/>
  391. <Column id="handiillness" type="STRING" size="256"/>
  392. </ColumnInfo>
  393. <Rows>
  394. <Row/>
  395. </Rows>
  396. </Dataset>
  397. <Dataset id="ds_reqOutPat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  398. <Dataset id="ds_totcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  399. <ColumnInfo>
  400. <Column id="totcnt" type="STRING" size="256" sumtext="환자총인원수"/>
  401. </ColumnInfo>
  402. </Dataset>
  403. <Dataset id="ds_hardcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  404. </Objects>
  405. <Bind>
  406. <BindItem id="item0" compid="Div00.cmb_orddd" propid="value" datasetid="ds_cond" columnid="orddd"/>
  407. <BindItem id="item1" compid="Div00.cmb_orddeptcd" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  408. <BindItem id="item2" compid="Div00.cmb_orddrid" propid="value" datasetid="ds_cond" columnid="orddrid"/>
  409. <BindItem id="item3" compid="Div00.chk_propcp" propid="value" datasetid="ds_cond" columnid="chkprcp"/>
  410. <BindItem id="item5" compid="Div00.rdo_patflag" propid="value" datasetid="ds_cond" columnid="elbulbodstat"/>
  411. <BindItem id="item6" compid="Div00.edt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
  412. <BindItem id="item7" compid="Div00.edt_hngnm" propid="value" datasetid="ds_cond" columnid="hngnm"/>
  413. <BindItem id="item11" compid="Div00.Static04" propid="text" datasetid="ds_cond" columnid="rsltcnt"/>
  414. <BindItem id="item12" compid="Div00.Static06" propid="text" datasetid="ds_cond" columnid="totcnt"/>
  415. <BindItem id="item13" compid="div_chgdrinfo.cb_chgorddrid" propid="value" datasetid="ds_cond" columnid="chgorddrid"/>
  416. </Bind>
  417. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  418. include "emr_prcpmngtxp::MMO001.xjs";
  419. include "emr_prcpmngtxp::SMMMO04100.xjs";
  420. function SPMMI01000_oninit(obj:Form, e:InitEventInfo)
  421. {
  422. frmf_initForm(obj);
  423. }
  424. function SPMMI01000_onload(obj:Form, e:LoadEventInfo)
  425. {
  426. ds_cond.setColumn(0, "orddd", utlf_getCurrentDate());
  427. var dutplcecd = sysf_getUserInfo("dutplcecd");
  428. var orddrid = sysf_getUserInfo("userid");
  429. appf_getCodeList([{dsNm: "ds_M0062", cdGrpId: "M0062"}
  430. , {dsNm: "ds_P0008", cdGrpId: "P0008"}
  431. , {dsNm: "ds_P0021", cdGrpId: "P0021"}
  432. , {dsNm: "ds_P0022", cdGrpId: "P0022"}
  433. , {dsNm: "ds_P1059", cdGrpId: "P1059"}
  434. , {dsNm: "ds_P0341", cdGrpId: "P0341"}
  435. , {dsNm: "ds_M0525", cdGrpId: "M0525"}
  436. , {dsNm: "ds_M0623", cdGrpId: "M0623"}], true);
  437. setDeptCodeList(dutplcecd);
  438. setUserList(dutplcecd, orddrid);
  439. reqOrderInfoOfCol(ds_reqdata1, ds_gridseq, "SMMMO04200", grd_outpatlist); //외래환자리스트 컬럼 조회 및 설정
  440. }
  441. function setDeptCodeList(sDeptcd, sOrddd){
  442. lf_mmbfGetDeptCodeComboList(ds_orddept, "O", sOrddd);
  443. if(!utlf_isNull(sDeptcd))
  444. Div00.cmb_orddeptcd.value = sDeptcd;
  445. }
  446. function setUserList(sOrddeptcd, sUserid, sOrddd){
  447. lf_mmbfGetUserComboList(ds_userlist, sOrddeptcd, "0330", "", "", sOrddd);
  448. frmf_addComboItem("Div00.cmb_orddrid"); //의사콤보 전체항목 추가
  449. if(utlf_isNull(sUserid)) {
  450. Div00.cmb_orddrid.index = 1;
  451. Div00.cmb_orddrid.updateToDataset();
  452. } else {
  453. Div00.cmb_orddrid.value = sUserid;
  454. }
  455. }
  456. function fReqOutPatList() {
  457. ds_reqOutPat.copyData(ds_cond);
  458. var compsrefcnts = ds_gridseq.getColumn(0, "compsrefcnts");
  459. var compssizecnts = ds_gridseq.getColumn(0, "compssizecnts");
  460. if(utlf_isNull(compsrefcnts)) compsrefcnts = "";
  461. if(utlf_isNull(compssizecnts)) compssizecnts = "";
  462. ds_reqOutPat.addColumn("compsrefcnts", "string", 1024);
  463. ds_reqOutPat.addColumn("compssizecnts", "string", 1024);
  464. ds_reqOutPat.setColumn(0, "compsrefcnts", compsrefcnts);
  465. ds_reqOutPat.setColumn(0, "compssizecnts", compssizecnts);
  466. ds_outpatlist.enableevent = false;
  467. if(!utlf_isNull(ds_outpatlist.getColumnInfo("sexage")))
  468. ds_outpatlist.updateColID("sexage", "sa");
  469. var oParam = {};
  470. oParam.id = "TRMMO04201";
  471. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  472. oParam.method = "reqGetOutPatList";
  473. oParam.inds = "req=" + "ds_reqOutPat";
  474. oParam.outds = "ds_outpatlist=outpatlist" + " ds_hardcode=hardcode" + " ds_totcnt=totcnt";
  475. oParam.async = false;
  476. oParam.callback = "cf_TRMMO04201";
  477. tranf_submit(oParam);
  478. }
  479. function cf_TRMMO04201(sSvcId, nErrorCode, sErrorMsg) {
  480. if(!utlf_isNull(ds_outpatlist.getColumnInfo("sa")))
  481. ds_outpatlist.updateColID("sa", "sexage");
  482. if(nErrorCode > -1) {
  483. //fProcTreatExpt(); //치료제외 삭제 및 숨김처리
  484. }
  485. var orderby = ds_cond.getColumn(0, "orderby");
  486. var sortcol = ds_cond.getColumn(0, "sortcol");
  487. if(!utlf_isNull(orderby) && !utlf_isNull(sortcol))
  488. ds_outpatlist.keystring.current = "S:" + orderby + sortcol;
  489. ds_cond.setColumn(0, "rsltcnt", ds_outpatlist.rowcount);
  490. ds_cond.setColumn(0, "totcnt", ds_totcnt.getColumn(0, "totcnt"));
  491. ds_outpatlist.enableevent = true;
  492. }
  493. function Div00_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  494. {
  495. setUserList(obj.value, null, ds_cond.getColumn(0, "orddd"));
  496. }
  497. function Div00_btn_req_onclick(obj:Button, e:ClickEventInfo)
  498. {
  499. fReqOutPatList();
  500. }
  501. function Div00_btn_patsrch_onclick(obj:Button, e:ClickEventInfo)
  502. {
  503. frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
  504. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  505. var sPid = ds_patinfolist.getColumn(0, "pid");
  506. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  507. ds_cond.setColumn(0, "pid", sPid);
  508. ds_cond.setColumn(0, "hngnm", sHngnm);
  509. }
  510. }
  511. ]]></Script>
  512. </Form>
  513. </FDL>