SPARC02800_HIE의뢰환자리스트.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMARC02800_HIE의뢰환자리스트" classname="SMARC02800_HIE의뢰환자리스트" inheritanceid="" position="absolute 0 0 1238 805" titletext="HIE 환자 리스트" onload="SMARC02800_HIE의뢰환자리스트_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="HIE 환자 리스트" class="tit_1" position="absolute 0 0 144 25"/>
  8. <Div id="div_search" taborder="1" text="Div00" position="absolute 0 28 1238 80" class="div_SA2" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption38" text="조회기간" class="search_name" position="absolute 16 14 86 34" anchor="default"/>
  12. <Calendar id="input23" taborder="1" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 91 14 187 34" anchor="default"/>
  13. <Static id="caption41" text="~" position="absolute 193 14 205 34" anchor="default"/>
  14. <Calendar id="input26" taborder="2" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 211 14 307 34" anchor="default"/>
  15. <Static id="caption00" text="병원명" class="search_name" position="absolute 344 14 414 34"/>
  16. <Edit id="input24" taborder="3" autoselect="true" position="absolute 398 14 556 34"/>
  17. <Button id="btn_search" taborder="4" text="조회" class="btn1" position="absolute 1080 14 1136 34" anchor="left top" tooltiptext="F2" onclick="div_search_btn_search_onclick"/>
  18. <Static id="caption01" text="환자명" class="search_name" position="absolute 588 14 658 34"/>
  19. <Edit id="input00" taborder="5" autoselect="true" position="absolute 640 14 766 34"/>
  20. <Static id="caption02" text="진행상태" class="search_name" position="absolute 797 14 867 34"/>
  21. <Combo id="Combo00" taborder="6" position="absolute 868 14 968 34" index="-1" innerdataset="@ds_init_taskstatuscd" codecolumn="value" datacolumn="label"/>
  22. <Button id="btn_hieview" taborder="7" text="상세보기" class="btn4" position="absolute 1139 14 1225 34" anchor="left top" tooltiptext="F2" onclick="div_search_btn_hieview_onclick"/>
  23. <CheckBox id="CheckBox00" taborder="8" text="숨김표시" position="absolute 996 14 1064 34"/>
  24. </Layout>
  25. </Layouts>
  26. </Div>
  27. <Tab id="Tab00" taborder="3" tabindex="0" scrollbars="autoboth" position="absolute 0 88 1238 803" style="buttonpadding:4 16 4 16;" onchanged="Tab00_onchanged">
  28. <Tabpages>
  29. <Tabpage id="tabpage1" text="받은내역">
  30. <Layouts>
  31. <Layout>
  32. <Grid id="grd_list" taborder="0" binddataset="ds_list" useinputpanel="false" extendsizetype="both" cellsizingtype="both" autofittype="col" oncellclick="grd_list_oncellclick" oncelldblclick="grd_list_oncelldblclick" position="absolute 0 0 1238 687" anchor="all">
  33. <Formats>
  34. <Format id="default">
  35. <Columns>
  36. <Column size="23"/>
  37. <Column size="42"/>
  38. <Column size="49"/>
  39. <Column size="58"/>
  40. <Column size="87"/>
  41. <Column size="52"/>
  42. <Column size="109"/>
  43. <Column size="145"/>
  44. <Column size="50"/>
  45. <Column size="107"/>
  46. <Column size="135"/>
  47. <Column size="50"/>
  48. <Column size="34"/>
  49. <Column size="33"/>
  50. <Column size="99"/>
  51. <Column size="112"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="24" band="head"/>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell rowspan="2" text="숨&#13;&#10;김" taborder="undefined"/>
  60. <Cell col="1" rowspan="2" displaytype="normal" text="상태" taborder="undefined"/>
  61. <Cell col="2" rowspan="2" displaytype="normal" text="성명" taborder="undefined"/>
  62. <Cell col="3" rowspan="2" displaytype="normal" text="생년월일" taborder="undefined"/>
  63. <Cell col="4" rowspan="2" displaytype="normal" text="환자전화번호" taborder="undefined"/>
  64. <Cell col="5" rowspan="2" text="확인자" taborder="undefined"/>
  65. <Cell col="6" colspan="3" displaytype="normal" text="의뢰자" taborder="undefined"/>
  66. <Cell col="9" colspan="3" displaytype="normal" text="수신자" taborder="undefined"/>
  67. <Cell col="12" rowspan="2" displaytype="normal" text="세부&#13;&#10;상태" taborder="undefined"/>
  68. <Cell col="13" rowspan="2" displaytype="normal" text="취소&#13;&#10;여부" taborder="undefined"/>
  69. <Cell col="14" rowspan="2" displaytype="normal" text="예약희망일시" taborder="undefined"/>
  70. <Cell col="15" rowspan="2" displaytype="normal" text="생성시간" taborder="undefined"/>
  71. <Cell row="1" col="6" text="의뢰병원"/>
  72. <Cell row="1" col="7" text="진료과"/>
  73. <Cell row="1" col="8" text="진료의사"/>
  74. <Cell row="1" col="9" text="수신병원"/>
  75. <Cell row="1" col="10" text="진료과"/>
  76. <Cell row="1" col="11" text="진료의사"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" autosizecol="limitmin"/>
  80. <Cell col="1" displaytype="combo" style="align:center;" text="bind:currenttaskvalue" combodataset="ds_init_task" combocodecol="value" combodatacol="label"/>
  81. <Cell col="2" displaytype="normal" style="align:center;" text="bind:ptname"/>
  82. <Cell col="3" displaytype="normal" style="align:center;" text="bind:referralstatus_patientbirthday"/>
  83. <Cell col="4" displaytype="normal" style="align:center;" text="bind:pttelecom"/>
  84. <Cell col="5" displaytype="expr:utlf_isNull(cnfmnm) ? &quot;button&quot; : &quot;normal&quot;" style="cursor:EXPR(utlf_isNull(cnfmnm) ? &quot;hand&quot; : &quot;arrow&quot;);" text="expr:utlf_isNull(cnfmnm) ? &quot;확인&quot; : cnfmnm"/>
  85. <Cell col="6" style="align:center;" text="bind:reqinstitutenm"/>
  86. <Cell col="7" displaytype="combo" style="align:left;" text="bind:reqinstitutedept" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
  87. <Cell col="8" displaytype="normal" style="align:center;" text="bind:reqdrnm"/>
  88. <Cell col="9" displaytype="normal" style="align:center;" text="bind:intendedrecipientonm"/>
  89. <Cell col="10" displaytype="combo" style="align:left;" text="bind:intendedrecipientdeptid" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
  90. <Cell col="11" displaytype="normal" style="align:center;" text="bind:intendedrecipientnm"/>
  91. <Cell col="12" displaytype="combo" style="align:center;" text="bind:currentstatusvalue" combodataset="ds_init_status" combocodecol="value" combodatacol="label"/>
  92. <Cell col="13" displaytype="normal" style="align:center;" text="bind:deprecatedyn"/>
  93. <Cell col="14" displaytype="normal" style="align:center;" text="bind:intendedrsvdate" mask="expr:utlf_isNull(intendedrsvdate) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  94. <Cell col="15" displaytype="normal" style="align:center;" text="bind:regdate"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. </Layout>
  100. </Layouts>
  101. </Tabpage>
  102. <Tabpage id="tabpage2" text="보낸내역">
  103. <Layouts>
  104. <Layout>
  105. <Grid id="grd_list" taborder="0" binddataset="ds_list_sent" useinputpanel="false" extendsizetype="both" cellsizingtype="both" autofittype="col" position="absolute 0 0 1238 687" anchor="all">
  106. <Formats>
  107. <Format id="default">
  108. <Columns>
  109. <Column size="42"/>
  110. <Column size="49"/>
  111. <Column size="58"/>
  112. <Column size="87"/>
  113. <Column size="109"/>
  114. <Column size="145"/>
  115. <Column size="50"/>
  116. <Column size="107"/>
  117. <Column size="135"/>
  118. <Column size="50"/>
  119. <Column size="34"/>
  120. <Column size="33"/>
  121. <Column size="99"/>
  122. <Column size="112"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24" band="head"/>
  127. <Row size="24"/>
  128. </Rows>
  129. <Band id="head">
  130. <Cell rowspan="2" displaytype="normal" text="상태" taborder="undefined"/>
  131. <Cell col="1" rowspan="2" displaytype="normal" text="성명" taborder="undefined"/>
  132. <Cell col="2" rowspan="2" displaytype="normal" text="생년월일" taborder="undefined"/>
  133. <Cell col="3" rowspan="2" displaytype="normal" text="환자전화번호" taborder="undefined"/>
  134. <Cell col="4" colspan="3" displaytype="normal" text="의뢰자" taborder="undefined"/>
  135. <Cell col="7" colspan="3" displaytype="normal" text="수신자" taborder="undefined"/>
  136. <Cell col="10" rowspan="2" displaytype="normal" text="세부&#13;&#10;상태" taborder="undefined"/>
  137. <Cell col="11" rowspan="2" displaytype="normal" text="취소&#13;&#10;여부" taborder="undefined"/>
  138. <Cell col="12" rowspan="2" displaytype="normal" text="예약희망일시" taborder="undefined"/>
  139. <Cell col="13" rowspan="2" displaytype="normal" text="생성시간" taborder="undefined"/>
  140. <Cell row="1" col="4" text="의뢰병원"/>
  141. <Cell row="1" col="5" text="진료과"/>
  142. <Cell row="1" col="6" text="진료의사"/>
  143. <Cell row="1" col="7" text="수신병원"/>
  144. <Cell row="1" col="8" text="진료과"/>
  145. <Cell row="1" col="9" text="진료의사"/>
  146. </Band>
  147. <Band id="body">
  148. <Cell displaytype="combo" style="align:center;" text="bind:currenttaskvalue" combodataset="ds_init_task" combocodecol="value" combodatacol="label"/>
  149. <Cell col="1" displaytype="normal" style="align:center;" text="bind:ptname"/>
  150. <Cell col="2" displaytype="normal" style="align:center;" text="bind:referralstatus_patientbirthday"/>
  151. <Cell col="3" displaytype="normal" style="align:center;" text="bind:pttelecom"/>
  152. <Cell col="4" style="align:center;" text="bind:reqinstitutenm"/>
  153. <Cell col="5" displaytype="combo" style="align:left;" text="bind:reqinstitutedept" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
  154. <Cell col="6" displaytype="normal" style="align:center;" text="bind:reqdrnm"/>
  155. <Cell col="7" displaytype="normal" style="align:center;" text="bind:intendedrecipientonm"/>
  156. <Cell col="8" displaytype="combo" style="align:left;" text="bind:intendedrecipientdeptid" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
  157. <Cell col="9" displaytype="normal" style="align:center;" text="bind:intendedrecipientnm"/>
  158. <Cell col="10" displaytype="combo" style="align:center;" text="bind:currentstatusvalue" combodataset="ds_init_status" combocodecol="value" combodatacol="label"/>
  159. <Cell col="11" displaytype="normal" style="align:center;" text="bind:deprecatedyn"/>
  160. <Cell col="12" displaytype="normal" style="align:center;" text="bind:intendedrsvdate" mask="expr:utlf_isNull(intendedrsvdate) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  161. <Cell col="13" displaytype="normal" style="align:center;" text="bind:regdate"/>
  162. </Band>
  163. </Format>
  164. </Formats>
  165. </Grid>
  166. </Layout>
  167. </Layouts>
  168. </Tabpage>
  169. </Tabpages>
  170. </Tab>
  171. <Button id="btn_hide" taborder="5" text="저장" position="absolute 1162 86 1224 106" class="btn4" onclick="btn_hide_onclick"/>
  172. <Div id="Div00" taborder="7" text="Div00" position="absolute 1239 172 1662 328" visible="false" anchor="top right">
  173. <Layouts>
  174. <Layout>
  175. <Div id="Div01" taborder="0" style="background:cornsilk;border:1 solid #808080ff ;bordertype:round 5 5 ;shadow:outer 5,5 5 gray;" position="absolute 0 0 414 148" anchor="default">
  176. <Layouts>
  177. <Layout>
  178. <Static id="caption44" text="예약내용" class="cell_1" position="absolute 7 65 97 88" anchor="default"/>
  179. <Static id="시caption00" text="예약희망일시" class="cell_1" position="absolute 7 41 97 64" anchor="default"/>
  180. <TextArea id="TextArea00" taborder="5" position="absolute 100 65 404 138" anchor="default"/>
  181. <Static id="caption12" text="예약관련 정보" class="tit_2" position="absolute 7 23 119 40" anchor="default"/>
  182. <Button id="btn_expand" taborder="6" tabstop="false" onclick="div_toolbox_btn_expand_onclick" position="absolute 0 0 412 20" tooltiptext="클릭하시면 열립니다." style="image:URL('theme://images\icon_arrowDoubleNext_P.png');imagealign:left middle;imagepadding:0 0 0 3;background:tan;border:0 solid #33bbbbff #effcfbff;bordertype:round 5 5 lefttop righttop;" anchor="default"/>
  183. <Calendar id="Calendar00" taborder="8" position="absolute 100 43 200 63" dateformat="yyyy-MM-dd ddd" value="null" autoselect="true"/>
  184. <MaskEdit id="MaskEdit00" taborder="9" position="absolute 201 43 240 63" mask="##:##" type="string" trimtype="both" displaynulltext=" " style="align:center middle;"/>
  185. </Layout>
  186. </Layouts>
  187. </Div>
  188. </Layout>
  189. </Layouts>
  190. </Div>
  191. </Layout>
  192. </Layouts>
  193. <Bind>
  194. <BindItem id="item28" compid="div_search.input23" propid="value" datasetid="ds_search" columnid="begindate"/>
  195. <BindItem id="item29" compid="div_search.input26" propid="value" datasetid="ds_search" columnid="enddate"/>
  196. <BindItem id="item32" compid="div_search.input24" propid="value" datasetid="ds_search" columnid="hospnm"/>
  197. <BindItem id="item0" compid="div_search.input00" propid="value" datasetid="ds_search" columnid="patientname"/>
  198. <BindItem id="item1" compid="div_search.Combo00" propid="value" datasetid="ds_search" columnid="taskstatuscd"/>
  199. <BindItem id="item2" compid="div_search.CheckBox00" propid="value" datasetid="ds_search" columnid="hideflag"/>
  200. <BindItem id="item3" compid="Div00.Div01.TextArea00" propid="value" datasetid="ds_rsrvinfo" columnid="yeyakdesc"/>
  201. <BindItem id="item4" compid="Div00.Div01.Calendar00" propid="value" datasetid="ds_rsrvinfo" columnid="hopedd"/>
  202. <BindItem id="item5" compid="Div00.Div01.MaskEdit00" propid="value" datasetid="ds_rsrvinfo" columnid="hopetm"/>
  203. </Bind>
  204. <Objects>
  205. <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  206. <ColumnInfo>
  207. <Column id="chk" type="STRING" size="256"/>
  208. <Column id="referraldocumentuniqueid" type="STRING" size="256"/>
  209. <Column id="pid" type="STRING" size="256"/>
  210. <Column id="doctype" type="STRING" size="256"/>
  211. <Column id="repositoryuniqueid" type="STRING" size="256"/>
  212. <Column id="uniqueid" type="STRING" size="256"/>
  213. <Column id="intendedrecipientid" type="STRING" size="256"/>
  214. <Column id="intendedrecipientoid" type="STRING" size="256"/>
  215. <Column id="intendedrecipientdeptid" type="STRING" size="256"/>
  216. <Column id="transfermode" type="STRING" size="256"/>
  217. <Column id="reqinstitutedept" type="STRING" size="256"/>
  218. <Column id="reqinstitute" type="STRING" size="256"/>
  219. <Column id="referralstatus_referralstatusid" type="STRING" size="256"/>
  220. <Column id="referralstatus_referralstatusinstanceid" type="STRING" size="256"/>
  221. <Column id="referralstatus_referraldocumentuniqueid" type="STRING" size="256"/>
  222. <Column id="referralstatus_repositoryid" type="STRING" size="256"/>
  223. <Column id="referralstatus_mpiid" type="STRING" size="256"/>
  224. <Column id="referralstatus_patientname" type="STRING" size="256"/>
  225. <Column id="referralstatus_status" type="STRING" size="256"/>
  226. <Column id="currenttaskvalue" type="STRING" size="256"/>
  227. <Column id="ptname" type="STRING" size="256"/>
  228. <Column id="referralstatus_patientbirthday" type="STRING" size="256"/>
  229. <Column id="pttelecom" type="STRING" size="256"/>
  230. <Column id="hospid" type="STRING" size="256"/>
  231. <Column id="reqinstitutenm" type="STRING" size="256"/>
  232. <Column id="reqdrnm" type="STRING" size="256"/>
  233. <Column id="intendedrecipientonm" type="STRING" size="256"/>
  234. <Column id="intendedrecipientdeptnm" type="STRING" size="256"/>
  235. <Column id="intendedrecipientnm" type="STRING" size="256"/>
  236. <Column id="currentstatusvalue" type="STRING" size="256"/>
  237. <Column id="deprecatedyn" type="STRING" size="256"/>
  238. <Column id="intendedrsvdate" type="STRING" size="256"/>
  239. <Column id="regdate" type="STRING" size="256"/>
  240. <Column id="cnfmnm" type="STRING" size="256"/>
  241. </ColumnInfo>
  242. <Rows>
  243. <Row/>
  244. </Rows>
  245. </Dataset>
  246. <Dataset id="ds_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  247. <ColumnInfo>
  248. <Column id="begindate" type="STRING" size="256"/>
  249. <Column id="enddate" type="STRING" size="256"/>
  250. <Column id="hospnm" type="STRING" size="256"/>
  251. <Column id="patientname" type="STRING" size="256"/>
  252. <Column id="taskstatuscd" type="STRING" size="256"/>
  253. <Column id="transfermode" type="STRING" size="256"/>
  254. <Column id="hideflag" type="STRING" size="256"/>
  255. </ColumnInfo>
  256. <Rows>
  257. <Row/>
  258. </Rows>
  259. </Dataset>
  260. <Dataset id="ds_init_taskstatuscd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  261. <ColumnInfo>
  262. <Column id="value" type="STRING" size="256"/>
  263. <Column id="label" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row>
  267. <Col id="label">전체</Col>
  268. </Row>
  269. <Row>
  270. <Col id="label">의뢰/회송</Col>
  271. <Col id="value">REQUEST/TRANSFER</Col>
  272. </Row>
  273. <Row>
  274. <Col id="value">SCHEDULE</Col>
  275. <Col id="label">예약</Col>
  276. </Row>
  277. <Row>
  278. <Col id="label">진료</Col>
  279. <Col id="value">PERFORM</Col>
  280. </Row>
  281. <Row>
  282. <Col id="value">REQUEST</Col>
  283. <Col id="label">의뢰</Col>
  284. </Row>
  285. <Row>
  286. <Col id="label">회송</Col>
  287. <Col id="value">TRANSFER</Col>
  288. </Row>
  289. </Rows>
  290. </Dataset>
  291. <Dataset id="ds_init_task" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  292. <ColumnInfo>
  293. <Column id="value" type="STRING" size="256"/>
  294. <Column id="label" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. <Rows>
  297. <Row>
  298. <Col id="value">REQUEST</Col>
  299. <Col id="label">의뢰</Col>
  300. </Row>
  301. <Row>
  302. <Col id="value">SCHEDULE</Col>
  303. <Col id="label">예약</Col>
  304. </Row>
  305. <Row>
  306. <Col id="value">PERFORM</Col>
  307. <Col id="label">진료</Col>
  308. </Row>
  309. <Row>
  310. <Col id="value">TRANSFER</Col>
  311. <Col id="label">회송</Col>
  312. </Row>
  313. </Rows>
  314. </Dataset>
  315. <Dataset id="ds_init_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  316. <ColumnInfo>
  317. <Column id="value" type="STRING" size="256"/>
  318. <Column id="label" type="STRING" size="256"/>
  319. </ColumnInfo>
  320. <Rows>
  321. <Row>
  322. <Col id="label">완료</Col>
  323. <Col id="value">COMPLETED</Col>
  324. </Row>
  325. <Row>
  326. <Col id="value">CONFIRMED</Col>
  327. <Col id="label">읽음</Col>
  328. </Row>
  329. <Row>
  330. <Col id="value">FAILED</Col>
  331. <Col id="label">실패</Col>
  332. </Row>
  333. <Row>
  334. <Col id="label">진행중</Col>
  335. <Col id="value">IN_PROGRESS</Col>
  336. </Row>
  337. <Row>
  338. <Col id="value">IN_PROGRESS_WITH_REPLY</Col>
  339. <Col id="label">회신함</Col>
  340. </Row>
  341. <Row>
  342. <Col id="label">회신완료</Col>
  343. <Col id="value">IN_PROGRESS_WITH_REPLY_COMPLETED</Col>
  344. </Row>
  345. <Row>
  346. <Col id="label">회신읽음</Col>
  347. <Col id="value">IN_PROGRESS_WITH_REPLY_CONFIRMED</Col>
  348. </Row>
  349. <Row>
  350. <Col id="label">방문</Col>
  351. <Col id="value">VISITED</Col>
  352. </Row>
  353. <Row>
  354. <Col id="value">CLOSED</Col>
  355. <Col id="label">종료</Col>
  356. </Row>
  357. <Row>
  358. <Col id="value">DEPRECATED</Col>
  359. <Col id="label">문서취소</Col>
  360. </Row>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  364. <ColumnInfo>
  365. <Column id="comn_cd" type="STRING" size="256"/>
  366. <Column id="comn_cd_nm" type="STRING" size="256"/>
  367. <Column id="opt_1" type="STRING" size="256"/>
  368. <Column id="opt_2" type="STRING" size="256"/>
  369. <Column id="opt_3" type="STRING" size="256"/>
  370. <Column id="opt_4" type="STRING" size="256"/>
  371. </ColumnInfo>
  372. </Dataset>
  373. <Dataset id="ds_search_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  374. <ColumnInfo>
  375. <Column id="hospid" type="STRING" size="256"/>
  376. <Column id="gid" type="STRING" size="256"/>
  377. </ColumnInfo>
  378. <Rows>
  379. <Row/>
  380. </Rows>
  381. </Dataset>
  382. <Dataset id="ds_hospinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  383. <ColumnInfo>
  384. <Column id="rgstyn" type="STRING" size="256"/>
  385. </ColumnInfo>
  386. </Dataset>
  387. <Dataset id="ds_rrgstno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  388. <ColumnInfo>
  389. <Column id="ssn" type="STRING" size="256"/>
  390. <Column id="gender" type="STRING" size="256"/>
  391. </ColumnInfo>
  392. </Dataset>
  393. <Dataset id="ds_send_delete" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  394. <ColumnInfo>
  395. <Column id="documentuniqueids" type="STRING" size="256"/>
  396. </ColumnInfo>
  397. <Rows>
  398. <Row/>
  399. </Rows>
  400. </Dataset>
  401. <PropertyAnimation id="pA_rsrvinfo" endingmode="to" repeat="1" repeattype="normal" duration="1000" starttime="0" targetcomp="Div00" interpolation="Interpolation.curve4InOut" targetprop="style.opacity" onstart="pA_rsrvinfo_onstart" onend="pA_rsrvinfo_onend"/>
  402. <Dataset id="ds_send_confirm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  403. <ColumnInfo>
  404. <Column id="documentuniqueid" type="STRING" size="256"/>
  405. </ColumnInfo>
  406. <Rows>
  407. <Row/>
  408. </Rows>
  409. </Dataset>
  410. <Dataset id="ds_send_rsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  411. <ColumnInfo>
  412. <Column id="documentuniqueid" type="STRING" size="256"/>
  413. </ColumnInfo>
  414. <Rows>
  415. <Row/>
  416. </Rows>
  417. </Dataset>
  418. <Dataset id="ds_list_sent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  419. <ColumnInfo>
  420. <Column id="chk" type="STRING" size="256"/>
  421. <Column id="referraldocumentuniqueid" type="STRING" size="256"/>
  422. <Column id="pid" type="STRING" size="256"/>
  423. <Column id="doctype" type="STRING" size="256"/>
  424. <Column id="repositoryuniqueid" type="STRING" size="256"/>
  425. <Column id="uniqueid" type="STRING" size="256"/>
  426. <Column id="intendedrecipientid" type="STRING" size="256"/>
  427. <Column id="intendedrecipientoid" type="STRING" size="256"/>
  428. <Column id="intendedrecipientdeptid" type="STRING" size="256"/>
  429. <Column id="transfermode" type="STRING" size="256"/>
  430. <Column id="reqinstitutedept" type="STRING" size="256"/>
  431. <Column id="reqinstitute" type="STRING" size="256"/>
  432. <Column id="referralstatus_referralstatusid" type="STRING" size="256"/>
  433. <Column id="referralstatus_referralstatusinstanceid" type="STRING" size="256"/>
  434. <Column id="referralstatus_referraldocumentuniqueid" type="STRING" size="256"/>
  435. <Column id="referralstatus_repositoryid" type="STRING" size="256"/>
  436. <Column id="referralstatus_mpiid" type="STRING" size="256"/>
  437. <Column id="referralstatus_patientname" type="STRING" size="256"/>
  438. <Column id="referralstatus_status" type="STRING" size="256"/>
  439. <Column id="currenttaskvalue" type="STRING" size="256"/>
  440. <Column id="ptname" type="STRING" size="256"/>
  441. <Column id="referralstatus_patientbirthday" type="STRING" size="256"/>
  442. <Column id="pttelecom" type="STRING" size="256"/>
  443. <Column id="hospid" type="STRING" size="256"/>
  444. <Column id="reqinstitutenm" type="STRING" size="256"/>
  445. <Column id="reqdrnm" type="STRING" size="256"/>
  446. <Column id="intendedrecipientonm" type="STRING" size="256"/>
  447. <Column id="intendedrecipientdeptnm" type="STRING" size="256"/>
  448. <Column id="intendedrecipientnm" type="STRING" size="256"/>
  449. <Column id="currentstatusvalue" type="STRING" size="256"/>
  450. <Column id="deprecatedyn" type="STRING" size="256"/>
  451. <Column id="intendedrsvdate" type="STRING" size="256"/>
  452. <Column id="regdate" type="STRING" size="256"/>
  453. <Column id="cnfmnm" type="STRING" size="256"/>
  454. </ColumnInfo>
  455. <Rows>
  456. <Row/>
  457. </Rows>
  458. </Dataset>
  459. <Dataset id="ds_rsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  460. <ColumnInfo>
  461. <Column id="hopedd" type="STRING" size="256"/>
  462. <Column id="hopetm" type="STRING" size="256"/>
  463. <Column id="yeyakdesc" type="STRING" size="256"/>
  464. </ColumnInfo>
  465. </Dataset>
  466. </Objects>
  467. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
  468. var curRow;
  469. function SMARC02800_HIE의뢰환자리스트_onload(obj:Form, e:LoadEventInfo)
  470. {
  471. frmf_initForm(obj);
  472. // 조회기간을 한달로 설정
  473. var CurrentDate = utlf_getCurrentDate();
  474. ds_search.setColumn(0, "enddate", CurrentDate);
  475. //var fromdd = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
  476. var fromdd = CurrentDate.toDate().getAddDate(-14,"D").getDateFormat();
  477. ds_search.setColumn(0, "begindate", fromdd)
  478. ds_search.setColumn(0, "taskstatuscd", "REQUEST/TRANSFER");
  479. ds_search.setColumn(0, "transfermode", "RECEIVE");
  480. //model.setValue("/root/send/search/taskstatuscd", "REQUEST/TRANSFER");
  481. //model.setValue("/root/send/search/transfermode","RECEIVE");
  482. //btn_received.selected = true;
  483. var oParam = {};
  484. oParam.id = "TRARC00109";
  485. oParam.service = "healcarecoopapp.ReqMngt";
  486. oParam.method = "reqInit_SPARC02800";
  487. oParam.inds = "req=ds_search";
  488. oParam.outds = "ds_dept=deptlist";
  489. oParam.async = false;
  490. //oParam.callback = "cf_TRARC00105";
  491. tranf_submit(oParam);
  492. //submit("TRARC00109");
  493. fGetHIEList();
  494. }
  495. function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  496. {
  497. if(utlf_isNull(ds_search.getColumn(0, "begindate"))
  498. && utlf_isNull(ds_search.getColumn(0, "enddate"))) {
  499. sysf_messageBox("의뢰일자는 필수입니다.", "E999");
  500. return;
  501. }
  502. var transfermode = ds_search.getColumn(0, "transfermode");
  503. if(transfermode == "RECEIVE"){
  504. fGetHIEList();
  505. }else{
  506. fGetHIEList_Sent();
  507. }
  508. }
  509. function fGetHIEList(){
  510. var oParam = {};
  511. oParam.id = "TRARC00105";
  512. oParam.service = "healcarecoopapp.ReqMngt";
  513. oParam.method = "reqGetHIEPatList";
  514. oParam.inds = "req=ds_search";
  515. oParam.outds = "ds_list=hielist";
  516. oParam.async = false;
  517. //oParam.callback = "cf_TRARC00105";
  518. tranf_submit(oParam);
  519. ds_list.updatecontrol = false;
  520. ds_list.addColumn('documentuniqueid', 'string');
  521. ds_list.addColumn('repositoryid', 'string');
  522. for(var i = 0; i < ds_list.rowcount; i++){
  523. ds_list.setColumn(i, 'documentuniqueid', ds_list.getColumn(i, 'referraldocumentuniqueid'));
  524. ds_list.setColumn(i, 'repositoryid', ds_list.getColumn(i, 'repositoryuniqueid'));
  525. }
  526. ds_list.updatecontrol = true;
  527. pA_rsrvinfo_close();
  528. //grdf_setGridEllipsisText(grd_list, ["reqinstitutenm", "intendedrecipientonm", "intendedrecipientdeptnm"]);
  529. }
  530. function fGetHIEList_Sent(){
  531. var oParam = {};
  532. oParam.id = "TRARC00105";
  533. oParam.service = "healcarecoopapp.ReqMngt";
  534. oParam.method = "reqGetHIEPatList";
  535. oParam.inds = "req=ds_search";
  536. oParam.outds = "ds_list_sent=hielist";
  537. oParam.async = false;
  538. //oParam.callback = "cf_TRARC00105";
  539. tranf_submit(oParam);
  540. ds_list_sent.updatecontrol = false;
  541. ds_list_sent.addColumn('documentuniqueid', 'string');
  542. ds_list_sent.addColumn('repositoryid', 'string');
  543. for(var i = 0; i < ds_list.rowcount; i++){
  544. ds_list_sent.setColumn(i, 'documentuniqueid', ds_list_sent.getColumn(i, 'referraldocumentuniqueid'));
  545. ds_list_sent.setColumn(i, 'repositoryid', ds_list_sent.getColumn(i, 'repositoryuniqueid'));
  546. }
  547. ds_list_sent.updatecontrol = true;
  548. // 화면나와있으면 닫기
  549. pA_rsrvinfo_close();
  550. //grdf_setGridEllipsisText(grd_list, ["reqinstitutenm", "intendedrecipientonm", "intendedrecipientdeptnm"]);
  551. }
  552. function Tab00_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  553. {
  554. if(e.postindex == 0){
  555. ds_search.setColumn(0, "transfermode", "RECEIVE");
  556. fGetHIEList();
  557. }else{
  558. ds_search.setColumn(0, "transfermode", "SEND");
  559. fGetHIEList_Sent();
  560. }
  561. }
  562. function div_search_btn_hieview_onclick(obj:Button, e:ClickEventInfo)
  563. {
  564. var row = Tab00.tabpage1.grd_list.currentrow;
  565. if(row < 0){
  566. sysf_messageBox("조회할 대상이 선택되지 않았습니다","I");
  567. return;
  568. }
  569. fHIEReferView(row);
  570. }
  571. function fHIEReferView(row) {
  572. var documentuniqueid = ds_list.getColumn(row,"referraldocumentuniqueid");
  573. var repositoryid = ds_list.getColumn(row,"repositoryuniqueid");
  574. var patientid = ds_list.getColumn(row,"pid");
  575. var deprecatedyn = ds_list.getColumn(row,"deprecatedyn");
  576. frmf_setParameter("SPARC02820_PARAM1",patientid);
  577. frmf_setParameter("SPARC02820_PARAM2",documentuniqueid);
  578. frmf_setParameter("SPARC02820_PARAM3",repositoryid);
  579. frmf_setParameter("SPARC02820_PARAM4",deprecatedyn);
  580. frmf_modal("SPARC02820", "SPARC02820", null, null, null, null, null, null, null, null, null, null, "M");
  581. }
  582. function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  583. {
  584. /*
  585. var row = Tab00.tabpage1.grd_list.row;
  586. if(row < 2 ) return;
  587. opener.model.makeNode("/root/main/hiepat");
  588. opener.model.copyNode("/root/main/hiepat",Tab00.tabpage1.grd_list.getNode( row ));
  589. model.makeValue("/root/send/req/hospid",opener.model.getValue("/root/main/hiepat/hospid"));
  590. submit("TRARC00108");
  591. var rgstyn = model.getValue("/root/hidden/hospinfo/rgstyn");
  592. if (rgstyn == "N") {
  593. messageBox("해당 요양기관번호로 등록된 병원이 없습니다 등록 후 진행하시기 바랍니다","I");
  594. return;
  595. }
  596. // 주민번호 가져와서 세팅
  597. model.makeValue("/root/send/req/gid",model.getValue("/root/main/hielist["+(row-1)+"]/patientid"));
  598. submit("TRARC00107");
  599. var ssn = model.getValue("/root/main/rrgstno/ssn");
  600. var gender = model.getValue("/root/main/rrgstno/gender");
  601. opener.model.makeValue("/root/main/hiepat/hie_rrgstno1",ssn.substr(0,6));
  602. opener.model.makeValue("/root/main/hiepat/hie_rrgstno2",ssn.substr(6,7));
  603. opener.model.makeValue("/root/main/hiepat/gender",gender);
  604. opener.model.refresh();
  605. window.close();
  606. */
  607. dsf_copyColInfo(opener.ds_main_hiepat, ds_list);
  608. var addrow = opener.ds_main_hiepat.addRow();
  609. opener.ds_main_hiepat.copyRow(addrow, ds_list, e.row);
  610. opener.ds_main_hiepat.addColumn("patientid", "string");
  611. opener.ds_main_hiepat.addColumn("hie_rrgstno1", "string");
  612. opener.ds_main_hiepat.addColumn("hie_rrgstno2", "string");
  613. opener.ds_main_hiepat.addColumn("gender", "string");
  614. //ds_list.addColumn("patientid", "string");
  615. opener.ds_main_hiepat.setColumn(addrow, "patientid", ds_list.getColumn(e.row, "pid"));
  616. // 요양기관번호 등록 여부 체크
  617. ds_search_req.setColumn(0, "hospid", ds_list.getColumn(e.row, "hospid"));
  618. var oParam = {};
  619. oParam.id = "TRARC00108";
  620. oParam.service = "healcarecoopapp.ReqMngt";
  621. oParam.method = "reqGetRgstChspYN";
  622. oParam.inds = "req=ds_search_req";
  623. oParam.outds = "ds_hospinfo=hospinfo";
  624. oParam.async = false;
  625. tranf_submit(oParam);
  626. var rgstyn = ds_hospinfo.getColumn(0, "rgstyn");
  627. if (rgstyn == "N") {
  628. sysf_messageBox("해당 요양기관번호로 등록된 병원이 없습니다 등록 후 진행하시기 바랍니다","I");
  629. return;
  630. }
  631. // 주민번호 가져와서 세팅
  632. ds_search_req.setColumn(0, "gid", ds_list.getColumn(e.row, "pid"));
  633. var oParam2 = {};
  634. oParam2.id = "TRARC00107";
  635. oParam2.service = "healcarecoopapp.ReqMngt";
  636. oParam2.method = "reqGetHIErrgstno";
  637. oParam2.inds = "req=ds_search_req";
  638. oParam2.outds = "ds_rrgstno=rrgstno";
  639. oParam2.async = false;
  640. tranf_submit(oParam2);
  641. var ssn = ds_rrgstno.getColumn(0, "ssn");
  642. var gender = ds_rrgstno.getColumn(0, "gender");
  643. opener.ds_main_hiepat.setColumn(addrow, "hie_rrgstno1", ssn.substr(0, 6));
  644. opener.ds_main_hiepat.setColumn(addrow, "hie_rrgstno2", ssn.substr(6, 7));
  645. opener.ds_main_hiepat.setColumn(addrow, "gender", gender);
  646. this.close();
  647. }
  648. function btn_hide_onclick(obj:Button, e:ClickEventInfo)
  649. {
  650. var oDsUpdate = grdf_getGridUpdateData(Tab00.tabpage1.grd_list,"update");
  651. grdf_setStatusColumn(oDsUpdate, "status");
  652. ds_send_delete.copyData(oDsUpdate, true);
  653. var oParam = {};
  654. oParam.id = "TXARC02802";
  655. oParam.service = "healcarecoopapp.ReqMngt";
  656. oParam.method = "reqExeHIEHide";
  657. oParam.inds = "req=ds_send_delete";
  658. //oParam.outds = "ds_list=hielist";
  659. oParam.async = false;
  660. //oParam.callback = "cf_TRARC00105";
  661. tranf_submit(oParam);
  662. fGetHIEList();
  663. }
  664. function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
  665. {
  666. if(e.col == 0) return;
  667. if(e.col == 5){ // 확인 버튼 누를 시 확인자 처리
  668. var cnfmnm = ds_list.getColumn(e.row, "cnfmnm");
  669. if(!utlf_isNull(cnfmnm)) return;
  670. var flag = sysf_messageBox("확인자로" , "Q014");
  671. if(flag != '6') return;
  672. ds_send_confirm.setColumn(0,"documentuniqueid", ds_list.getColumn(e.row, "referraldocumentuniqueid"));
  673. var oParam = {};
  674. oParam.id = "TXARC02803";
  675. oParam.service = "healcarecoopapp.ReqMngt";
  676. oParam.method = "reqExeHIEConfirmUser";
  677. oParam.inds = "req=ds_send_confirm";
  678. //oParam.outds = "ds_list=hielist";
  679. oParam.async = false;
  680. //oParam.callback = "cf_TRARC00105";
  681. tranf_submit(oParam);
  682. fGetHIEList();
  683. }else{
  684. ds_send_rsrvinfo.setColumn(0,"documentuniqueid", ds_list.getColumn(e.row, "referraldocumentuniqueid"));
  685. var oParam = {};
  686. oParam.id = "TXARC02802";
  687. oParam.service = "healcarecoopapp.ReqMngt";
  688. oParam.method = "reqGetHIERsrvInfo";
  689. oParam.inds = "req=ds_send_rsrvinfo";
  690. oParam.outds = "ds_rsrvinfo=rsrvinfo";
  691. oParam.async = false;
  692. //oParam.callback = "cf_TRARC00105";
  693. tranf_submit(oParam);
  694. // 애니메이션 실행
  695. runAnimation_rsrvinfo();
  696. }
  697. }
  698. // 애니메이션 실행
  699. function runAnimation_rsrvinfo()
  700. {
  701. // 높이조절
  702. var arrCellRect = Tab00.tabpage1.grd_list.getCellRect(ds_list.rowposition, Tab00.tabpage1.grd_list.getCellPos());
  703. if (arrCellRect.bottom <= Tab00.position.height - Div00.position.height - 10 ) {
  704. vypt = Tab00.position.top + arrCellRect.bottom + 30;
  705. } else {
  706. vypt = Tab00.position.top + arrCellRect.bottom - 150;
  707. }
  708. Div00.position.y = vypt;
  709. Div00.position.x = Tab00.position.width - Div00.position.width - 30;
  710. // 화면에 있을때와 없을 때 조정
  711. /*
  712. var leftPos = parseInt(Tab00.tabpage1.grd_list.position.width) - parseInt(Div00.position.width) - 10;
  713. if(Div00.position.x <= leftPos && curRow == ds_list.rowposition) { // 화면에 나와 있을 때
  714. pA_rsrvinfo.fromvalue = leftPos;
  715. pA_rsrvinfo.tovalue = Tab00.tabpage1.grd_list.position.width;
  716. } else { // 화면 끝에 있을 때
  717. pA_rsrvinfo.fromvalue = Tab00.tabpage1.grd_list.position.width;
  718. pA_rsrvinfo.tovalue = leftPos;
  719. }
  720. */
  721. var opacity = 100;
  722. pA_rsrvinfo.stop();
  723. if(Div00.style.opacity > 0 && curRow == ds_list.rowposition) { // 화면에 나와 있을 때
  724. pA_rsrvinfo.fromvalue = opacity;
  725. pA_rsrvinfo.tovalue = 0;
  726. } else { // 화면 끝에 있을 때
  727. pA_rsrvinfo.fromvalue = 0;
  728. pA_rsrvinfo.tovalue = opacity;
  729. }
  730. curRow = ds_list.rowposition;
  731. pA_rsrvinfo.run();
  732. }
  733. // 접기 버튼 처리
  734. function div_toolbox_btn_expand_onclick(obj:Button, e:ClickEventInfo)
  735. {
  736. pA_rsrvinfo_close();
  737. }
  738. // 화면안에 있는지 여부 체크
  739. function isScreenOn()
  740. {
  741. if(Div00.style.opacity > 0) {
  742. return true;
  743. }else{
  744. return false;
  745. }
  746. }
  747. // 접기
  748. function pA_rsrvinfo_close()
  749. {
  750. if(!isScreenOn()){
  751. return;
  752. }
  753. //var leftPos = parseInt(Tab00.tabpage1.grd_list.position.width) - parseInt(Div00.position.width) - 10;
  754. pA_rsrvinfo.fromvalue = 100; //leftPos;
  755. pA_rsrvinfo.tovalue = 0;//Tab00.tabpage1.grd_list.position.width;
  756. pA_rsrvinfo.stop();
  757. pA_rsrvinfo.run();
  758. }
  759. function pA_rsrvinfo_onstart(obj:PropertyAnimation, e:AnimationEventInfo)
  760. {
  761. Div00.visible = true;
  762. }
  763. function pA_rsrvinfo_onend(obj:PropertyAnimation, e:AnimationEventInfo)
  764. {
  765. if(Div00.style.opacity > 0)
  766. Div00.visible = true;
  767. else
  768. Div00.visible = false;
  769. }
  770. ]]></Script>
  771. </Form>
  772. </FDL>