SPPMI01800_병실환자정보.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMI01800" position="absolute 0 0 997 350" titletext="병실환자정보" oninit="SPPMI01800_oninit" onload="SPPMI01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 992 316" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 992 40" align="align:center top;" id="group2" class="div_SA2">
  11. <Layouts>
  12. <Layout>
  13. <Static text="검색조건 :" position="absolute 15 10 101 27" id="caption2" class="search_name"/>
  14. <Button position="absolute 925 9 981 31" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
  15. <Shape position="absolute 906 9 912 31" linetype="vertical" id="line13" class="line_4"/>
  16. <Combo position="absolute 101 10 181 29" id="combo1" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="group3_group2_combo1_onitemchanged">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">1</Col>
  25. <Col id="datacolumn">병실</Col>
  26. </Row>
  27. </Rows>
  28. </Dataset>
  29. </Combo>
  30. <Edit position="absolute 184 10 284 29" id="input3" class="input_search" onkeyup="group3_group2_input3_onkeyup"/>
  31. </Layout>
  32. </Layouts>
  33. </Div>
  34. <Static text="병실환자정보" position="absolute 0 44 103 66" id="caption1" class="tit_2"/>
  35. <Shape position="absolute 0 60 992 66" linetype="horizontal" id="line1" class="line_10"/>
  36. <Grid position="absolute 0 65 992 315" id="datagrid1" class="datagrid2" binddataset="ds_datagrid1">
  37. <Formats>
  38. <Format id="default">
  39. <Columns>
  40. <Column size="70"/>
  41. <Column size="57"/>
  42. <Column size="79"/>
  43. <Column size="90"/>
  44. <Column size="30"/>
  45. <Column size="86"/>
  46. <Column size="83"/>
  47. <Column size="80"/>
  48. <Column size="60"/>
  49. <Column size="50"/>
  50. <Column size="100"/>
  51. <Column size="80"/>
  52. <Column size="80"/>
  53. <Column size="60"/>
  54. <Column size="100"/>
  55. <Column size="80"/>
  56. <Column size="55"/>
  57. <Column size="80"/>
  58. <Column size="45"/>
  59. <Column size="65"/>
  60. <Column size="80"/>
  61. <Column size="81"/>
  62. <Column size="100"/>
  63. <Column size="112"/>
  64. <Column size="90"/>
  65. <Column size="83"/>
  66. <Column size="116"/>
  67. <Column size="90"/>
  68. <Column size="121"/>
  69. </Columns>
  70. <Rows>
  71. <Row size="24" band="head"/>
  72. <Row size="24"/>
  73. </Rows>
  74. <Band id="head">
  75. <Cell text="상태"/>
  76. <Cell col="1" text="입원경로"/>
  77. <Cell col="2" text="환자번호"/>
  78. <Cell col="3" text="환자성명"/>
  79. <Cell col="4" text="성별"/>
  80. <Cell col="5" text="진료과"/>
  81. <Cell col="6" text="담당교수"/>
  82. <Cell col="7" text="병동"/>
  83. <Cell col="8" text="병실"/>
  84. <Cell col="9" text="☏"/>
  85. <Cell col="10" text="병실등급"/>
  86. <Cell col="11" text="병실형태"/>
  87. <Cell col="12" text="이실병동"/>
  88. <Cell col="13" text="이실병실"/>
  89. <Cell col="14" text="이실병실등급"/>
  90. <Cell col="15" text="이실병실형태"/>
  91. <Cell col="16" text="주/부"/>
  92. <Cell col="17" text="입원일자"/>
  93. <Cell col="18" text="시간"/>
  94. <Cell col="19" text="보험유형"/>
  95. <Cell col="20" text="보험보조유형"/>
  96. <Cell col="21" text="할인계정"/>
  97. <Cell col="22" text="연구용"/>
  98. <Cell col="23" text="주민번호"/>
  99. <Cell col="24" text="생년월일"/>
  100. <Cell col="25" text="최초접수자"/>
  101. <Cell col="26" text="최초접수일시"/>
  102. <Cell col="27" text="최종수정담당자"/>
  103. <Cell col="28" text="최종수정일시"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell displaytype="combo" edittype="none" text="bind:stat" combodataset="ds_cmb_stat" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  107. <Cell col="1" displaytype="combo" edittype="none" text="bind:inpath" combodataset="ds_P0002list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  108. <Cell col="2" edittype="none" text="bind:pid"/>
  109. <Cell col="3" edittype="none" text="bind:hngnm"/>
  110. <Cell col="4" edittype="none" text="bind:sex"/>
  111. <Cell col="5" edittype="none" text="bind:orddeptcd"/>
  112. <Cell col="6" edittype="none" text="bind:medispclid"/>
  113. <Cell col="7" displaytype="combo" edittype="none" text="bind:wardcd" combodataset="ds_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  114. <Cell col="8" displaytype="combo" edittype="none" text="bind:roomcd" combodataset="ds_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  115. <Cell col="9" edittype="none" text="bind:roomtelno"/>
  116. <Cell col="10" displaytype="combo" edittype="none" text="bind:roomgrdecd" combodataset="ds_roomgrdecd" combocodecol="cd" combodatacol="nm" enable="false"/>
  117. <Cell col="11" displaytype="combo" edittype="none" text="bind:roomtypecd" combodataset="ds_roomtypecd" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  118. <Cell col="12" displaytype="combo" edittype="none" text="bind:chngwardcd" combodataset="ds_wardcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  119. <Cell col="13" displaytype="combo" edittype="none" text="bind:chngroomcd" combodataset="ds_roomcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  120. <Cell col="14" displaytype="combo" edittype="none" text="bind:chngroomgrde" combodataset="ds_P0025list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  121. <Cell col="15" displaytype="combo" edittype="none" text="bind:chngroomtype" combodataset="ds_P0026list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  122. <Cell col="16" displaytype="combo" edittype="none" text="bind:mskind" combodataset="ds_P0006list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  123. <Cell col="17" edittype="none" text="bind:indd" mask="####-##-##"/>
  124. <Cell col="18" edittype="none" text="bind:intm" mask="##:##"/>
  125. <Cell col="19" displaytype="combo" edittype="none" text="bind:insukind" combodataset="ds_insukind" combocodecol="cd" combodatacol="nm" enable="false"/>
  126. <Cell col="20" displaytype="combo" edittype="none" text="bind:suppkind" combodataset="ds_suppkind" combocodecol="cd" combodatacol="nm" enable="false"/>
  127. <Cell col="21" displaytype="combo" edittype="none" text="bind:disccd" combodataset="ds_disccd" combocodecol="cd" combodatacol="nm" enable="false"/>
  128. <Cell col="22" edittype="none" text="bind:clincstdycd"/>
  129. <Cell col="23" edittype="none" text="bind:rrgstno" mask="999999-9999999"/>
  130. <Cell col="24" edittype="none" text="bind:brthdd" mask="####-##-# #"/>
  131. <Cell col="25" edittype="none" text="bind:fstrgstrid"/>
  132. <Cell col="26" edittype="none" text="bind:fstrgstdt" mask="####-##-## ##:##:##"/>
  133. <Cell col="27" edittype="none" text="bind:lastupdtrid"/>
  134. <Cell col="28" edittype="none" text="bind:lastupdtdt" mask="####-##-## ##:##:##"/>
  135. </Band>
  136. </Format>
  137. </Formats>
  138. </Grid>
  139. </Layout>
  140. </Layouts>
  141. </Div>
  142. <Div position="absolute 1 316 993 345" id="group1" scrollbars="autoboth">
  143. <Layouts>
  144. <Layout>
  145. <Button position="absolute 871 5 927 27" id="btn_confirm" class="btn4" text="확인" onclick="group1_btn_confirm_onclick" anchor="default"/>
  146. <Button position="absolute 930 5 986 27" id="btn_cancel" class="btn4" text="취소" onclick="group1_btn_cancel_onclick" anchor="default"/>
  147. </Layout>
  148. </Layouts>
  149. </Div>
  150. </Layout>
  151. </Layouts>
  152. <Objects>
  153. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  154. <ColumnInfo>
  155. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  156. <Column id="stat" type="STRING" size="256" sumtext="상태1"/>
  157. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  158. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  159. <Column id="brthdd" type="STRING" size="256" sumtext="주민등록번호"/>
  160. <Column id="pid" type="STRING" size="256" sumtext="환자 등록번호"/>
  161. <Column id="indd" type="STRING" size="256" sumtext="입원 일자"/>
  162. <Column id="intm" type="STRING" size="256" sumtext="입원 시간"/>
  163. <Column id="cretno" type="STRING" size="256" sumtext="환자 일자별 일련번호"/>
  164. <Column id="seqno" type="STRING" size="256" sumtext="이력 일련번호"/>
  165. <Column id="instcd" type="STRING" size="256" sumtext="병원기관코드"/>
  166. <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
  167. <Column id="histstat" type="STRING" size="256" sumtext="이력 상태"/>
  168. <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
  169. <Column id="insukind" type="STRING" size="256" sumtext="환자의 보험유형"/>
  170. <Column id="suppkind" type="STRING" size="256" sumtext="환자의 보조유형"/>
  171. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과 코드"/>
  172. <Column id="medispclid" type="STRING" size="256" sumtext="담당교수 ID"/>
  173. <Column id="atdoctid" type="STRING" size="256" sumtext="주치의 ID"/>
  174. <Column id="specordyn" type="STRING" size="256" sumtext="선택 진료 여부"/>
  175. <Column id="wardcd" type="STRING" size="256" sumtext="병동 코드"/>
  176. <Column id="roomcd" type="STRING" size="256" sumtext="병실 코드"/>
  177. <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급 코드"/>
  178. <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태 코드"/>
  179. <Column id="chngwardcd" type="STRING" size="256" sumtext="이실병동 코드"/>
  180. <Column id="chngroomcd" type="STRING" size="256" sumtext="이실병실 코드"/>
  181. <Column id="chngroomgrde" type="STRING" size="256" sumtext="이실병실등급 코드"/>
  182. <Column id="chngroomtype" type="STRING" size="256" sumtext="이실병실형태 코드"/>
  183. <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
  184. <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구 코드"/>
  185. <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고 여부"/>
  186. <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고 일시"/>
  187. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보 여부"/>
  188. <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보 일시"/>
  189. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자 ID"/>
  190. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  191. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자 ID"/>
  192. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  193. <Column id="inpath" type="STRING" size="256" sumtext="입원경로"/>
  194. <Column id="disccd" type="STRING" size="256" sumtext="할인계정"/>
  195. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  196. <Column id="roomtelno" type="STRING" size="256" sumtext="병실전화번호"/>
  197. </ColumnInfo>
  198. </Dataset>
  199. <Dataset id="ds_hidden_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="roomcd" type="STRING" size="256"/>
  202. <Column id="srchcond" type="STRING" size="256"/>
  203. </ColumnInfo>
  204. <Rows>
  205. <Row/>
  206. </Rows>
  207. </Dataset>
  208. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  209. <ColumnInfo>
  210. <Column id="ipatflag" type="STRING" size="256" sumtext="재원상태"/>
  211. <Column id="srchcond1" type="STRING" size="256" sumtext="검색조건1"/>
  212. <Column id="srchcond2" type="STRING" size="256" sumtext="검색조건2"/>
  213. </ColumnInfo>
  214. <Rows>
  215. <Row>
  216. <Col id="ipatflag">1</Col>
  217. <Col id="srchcond1">1</Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. <Dataset id="ds_cmb_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="cdid" type="STRING" size="256"/>
  224. <Column id="cdnm" type="STRING" size="256"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row>
  228. <Col id="cdnm">재원</Col>
  229. <Col id="cdid">0</Col>
  230. </Row>
  231. <Row>
  232. <Col id="cdnm">퇴원예고</Col>
  233. <Col id="cdid">1</Col>
  234. </Row>
  235. <Row>
  236. <Col id="cdnm">이실신청</Col>
  237. <Col id="cdid">2</Col>
  238. </Row>
  239. <Row>
  240. <Col id="cdnm">입원예약</Col>
  241. <Col id="cdid">3</Col>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  246. <Dataset id="ds_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  247. <Dataset id="ds_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  248. <Dataset id="ds_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  249. <Dataset id="ds_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  250. <Dataset id="ds_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  251. <Dataset id="ds_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  252. <Dataset id="ds_bedcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  253. <Dataset id="ds_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  254. <Dataset id="ds_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  255. <Dataset id="ds_P0002list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  256. <Dataset id="ds_P0006list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  257. <Dataset id="ds_P0026list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  258. <Dataset id="ds_P0025list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  259. </Objects>
  260. <Bind>
  261. <BindItem id="item0" compid="group3.group2.combo1" propid="value" datasetid="ds_send" columnid="srchcond1"/>
  262. <BindItem id="item1" compid="group3.group2.input3" propid="value" datasetid="ds_send" columnid="srchcond2"/>
  263. </Bind>
  264. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  265. * System Name :
  266. * Job Name :
  267. * Creator :
  268. * Make Date : 2015-10-27
  269. * Description :
  270. *---------------------------------------------------------------------------------------
  271. * Modify Date Modifier Modify Description
  272. *---------------------------------------------------------------------------------------
  273. * 2015-10-27 Live Converter TF->XP
  274. *
  275. *---------------------------------------------------------------------------------------
  276. ****************************************************************************************/
  277. include "com_commonxp::comm_main.xjs"
  278. function SPPMI01800_oninit(obj:Form, e:InitEventInfo)
  279. {
  280. frmf_initForm(obj);
  281. }
  282. function SPPMI01800_onload(obj:Form, e:LoadEventInfo)
  283. {
  284. grdf_initGrid(group3.datagrid1);
  285. group3.group2.input3.setFocus();
  286. var arrParam = new Array();
  287. arrParam = [{dsNm: "ds_P0006list", cdGrpId: "P0006", showValue: false}
  288. , {dsNm: "ds_P0025list", cdGrpId: "P0025", showValue: false}
  289. , {dsNm: "ds_P0026list", cdGrpId: "P0026", showValue: false}
  290. {dsNm: "ds_P0002list", cdGrpId: "P0002", showValue: false}];
  291. appf_getCodeList(arrParam, true); //비동기
  292. var oParam = {};
  293. oParam.id = "TRPMI00106";
  294. oParam.service = "pamcomnapp.PamComn";
  295. oParam.method = "reqGetComCD";
  296. oParam.inds = "req=ds_send";
  297. oParam.outds = "ds_disccd=disccd ds_insukind=insukind ds_suppkind=suppkind ds_orddeptcd=orddeptcd ds_orddrid=orddrid ds_wardcd=wardcd ds_roomcd=roomcd ds_bedcd=bedcd ds_roomgrdecd=roomgrdecd ds_roomtypecd=roomtypecd ds_flag=flag ds_proccd=proccd ds_centcd=centcd ds_hospgrde=hospgrde ds_naticd=naticd ds_erorddrid=erorddrid ds_insucd=insucd ds_uncocd=uncocd";
  298. oParam.async = false;
  299. tranf_submit(oParam);
  300. //20200207 ROOMCD 값 받아오는거 수정 임승주
  301. if (frmf_checkOpener()) {
  302. var ROOMCD = opener.frmf_getParameter("SMPMI01800_ROOMCD");
  303. ds_send.setColumn(0,"srchcond1","1");
  304. ds_send.setColumn(0,"srchcond2",ROOMCD);
  305. fQuery1();
  306. }
  307. var sroomcd = ds_hidden_source.getColumn(0,"roomcd");
  308. var srchcond = ds_hidden_source.getColumn(0,"srchcond");
  309. if (!utlf_isNull(sroomcd)) {
  310. ds_send.setColumn(0,"srchcond2",sroomcd);
  311. ds_send.setColumn(0,"srchcond1",srchcond);
  312. fQuery1()
  313. }
  314. }
  315. function fQuery1()
  316. {
  317. var oParam = {};
  318. oParam.id = "TRPMI01801";
  319. oParam.service = "ipatmngtapp.IPatRef";
  320. oParam.method = "reqGetRoomPatInfo";
  321. oParam.inds = "req=ds_send";
  322. oParam.outds = "ds_datagrid1=inpt";
  323. oParam.async = false;
  324. //oParam.callback = "cf_TRPMI01801";
  325. tranf_submit(oParam);
  326. }
  327. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  328. {
  329. fQuery1();
  330. }
  331. function group3_group2_input3_onkeyup(obj:Edit, e:KeyEventInfo)
  332. {
  333. if(e.keycode == 13) {
  334. obj.setFocus();
  335. obj.updateToDataset();
  336. fQuery1();
  337. }
  338. }
  339. function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  340. {
  341. this.close();
  342. }
  343. function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  344. {
  345. this.close();
  346. }
  347. ]]></Script>
  348. </Form>
  349. </FDL>