SPPMC05100_환자별특이내역조회.xfdl 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMC05100" position="absolute 0 0 650 550" titletext="신체감정현황조회" onload="SPPMC05100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 634 510" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" class="tit_2" position="absolute 5 10 175 23" style="align:left top;font:Dotum,9,bold;" text="특이환자리스트"/>
  11. <Shape id="line4" class="line_10" linetype="horizontal" position="absolute 0 26 632 30" style="" anchor="default"/>
  12. <Div id="group3" position="absolute 0 480 634 507" style="">
  13. <Layouts>
  14. <Layout>
  15. <Button id="button2" class="btn4_letter2" position="absolute 565 5 621 27" style="" text="닫기" onclick="group1_group3_button2_onclick"/>
  16. <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 632 3" style="" anchor="default"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Grid id="grd_orgnjudg" binddataset="ds_main_grid_spcfpatlist" position="absolute 0 30 634 480" style="">
  21. <Formats>
  22. <Format id="default">
  23. <Columns>
  24. <Column size="0"/>
  25. <Column size="100"/>
  26. <Column size="300"/>
  27. <Column size="150"/>
  28. <Column size="80"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="23" band="head"/>
  32. <Row size="23"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell text="구분"/>
  36. <Cell col="1" text="시작일자"/>
  37. <Cell col="2" text="특이내역"/>
  38. <Cell col="3" text="종료[완료]사유"/>
  39. <Cell col="4" text="진료(Y_N)"/>
  40. </Band>
  41. <Band id="body">
  42. <Cell text="bind:flag"/>
  43. <Cell col="1" displaytype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  44. <Cell col="2" style="align:right middle;" text="bind:acptresn"/>
  45. <Cell col="3" style="align:right middle;" text="bind:endresn"/>
  46. <Cell col="4" displaytype="combo" style="align:center middle;" text="bind:ordpossyn" combodataset="ds_init_ordpossyn" combocodecol="value" combodatacol="label"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. </Layout>
  55. </Layouts>
  56. <Objects>
  57. <Dataset id="ds_send_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  58. <ColumnInfo>
  59. <Column id="fromdd" type="STRING" size="256"/>
  60. <Column id="todd" type="STRING" size="256"/>
  61. <Column id="pid" type="STRING" size="256"/>
  62. </ColumnInfo>
  63. <Rows>
  64. <Row>
  65. <Col id="fromdd"/>
  66. <Col id="todd"/>
  67. <Col id="pid">18801656</Col>
  68. </Row>
  69. </Rows>
  70. </Dataset>
  71. <Dataset id="ds_init_P0314list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  72. <ColumnInfo/>
  73. </Dataset>
  74. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  75. <ColumnInfo/>
  76. </Dataset>
  77. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  78. <ColumnInfo/>
  79. </Dataset>
  80. <Dataset id="ds_main_grid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  81. <ColumnInfo>
  82. <Column id="spcfpatlist" type="STRING" size="256"/>
  83. </ColumnInfo>
  84. <Rows>
  85. <Row>
  86. <Col id="spcfpatlist"/>
  87. </Row>
  88. </Rows>
  89. </Dataset>
  90. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  91. <ColumnInfo/>
  92. </Dataset>
  93. <Dataset id="ds_init_P0314list_P0314" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  94. <ColumnInfo>
  95. <Column id="cdnm" type="STRING" size="256"/>
  96. <Column id="cdid" type="STRING" size="256"/>
  97. </ColumnInfo>
  98. </Dataset>
  99. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  100. <ColumnInfo>
  101. <Column id="currentDate" type="STRING" size="256"/>
  102. </ColumnInfo>
  103. <Rows>
  104. <Row>
  105. <Col id="currentDate"/>
  106. </Row>
  107. </Rows>
  108. </Dataset>
  109. <Dataset id="ds_init_ordpossyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  110. <ColumnInfo>
  111. <Column id="label" type="STRING" size="256"/>
  112. <Column id="value" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row>
  116. <Col id="label">진료가능</Col>
  117. <Col id="value">Y</Col>
  118. </Row>
  119. <Row>
  120. <Col id="label">진료불가</Col>
  121. <Col id="value">N</Col>
  122. </Row>
  123. </Rows>
  124. </Dataset>
  125. </Objects>
  126. <Bind/>
  127. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  128. include "com_basiccodexp::ZBC001.xjs"
  129. include "pam_pamcomnxp::PAM.xjs"
  130. function SPPMC05100_onload(obj:Form, e:LoadEventInfo) {
  131. frmf_initForm(obj);
  132. grdf_initGrid(group1.grd_orgnjudg);
  133. //grdf_setGridSort(grd_XXX);
  134. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  135. var arrParam = [
  136. {dsNm: "ds_init_P0314list_P0314", cdGrpId: "P0314" }
  137. ];
  138. appf_getCodeList(arrParam);
  139. var arrParam = [
  140. {dsNm: "ds_init_comncdlist_P0008list_P0008", cdGrpId: "P0008"}
  141. ,{dsNm: "ds_init_comncdlist_P0021list_P0021", cdGrpId: "P0021"}
  142. ,{dsNm: "ds_init_comncdlist_P0341list_P0341", cdGrpId: "P0341"}
  143. ,{dsNm: "ds_init_comncdlist_P0022list_P0022", cdGrpId: "P0022"}
  144. ,{dsNm: "ds_init_comncdlist_P0020list_P0020", cdGrpId: "P0020"}
  145. ,{dsNm: "ds_init_comncdlist_P0029list_P0029", cdGrpId: "P0029"}
  146. ,{dsNm: "ds_init_comncdlist_P0344list_P0344", cdGrpId: "P0344"}
  147. ,{dsNm: "ds_init_comncdlist_P0010list_P0010", cdGrpId: "P0010"}
  148. ];
  149. appf_getCodeList(arrParam );
  150. //진료과코드 진료의사ID 조회
  151. pamGetDeptCDDrIDList();
  152. /*
  153. dsf_makeValue( ds_init_temp_orddeptcd_orddeptcdlist, "cd", "string", "" );
  154. dsf_makeValue( ds_init_temp_orddeptcd_orddeptcdlist, "nm", "string", "" );
  155. ds_init_orddeptcd_orddeptcdlist.copyData(ds_init_temp_orddeptcd_orddeptcdlist);
  156. */
  157. // 시스템 날자
  158. ds_hidden.clearData();
  159. ds_hidden.addRow();
  160. ds_hidden.setColumn( 0, "currentDate", utlf_getCurrentDate());
  161. // 방문일정을 오늘날자로 세팅
  162. ds_send_condition.clearData();
  163. ds_send_condition.addRow();
  164. ds_send_condition.setColumn( 0, "fromdd",ds_hidden.getColumn(0, "currentDate"));
  165. ds_send_condition.setColumn( 0, "todd",ds_hidden.getColumn(0, "currentDate"));
  166. //submit("TRPMC05100");
  167. var oParam = {};
  168. oParam.id = "TRPMC05100";
  169. oParam.service = "patinfomngtapp.SpcfPat";
  170. oParam.method = "reqGetSpcfPatList";
  171. oParam.inds = "req=ds_send_condition";
  172. oParam.outds = "ds_main_grid_spcfpatlist=spcfpatlist";
  173. oParam.async = false;
  174. tranf_submit(oParam);
  175. //model.refresh();
  176. }
  177. function fInitialize(gubn)
  178. {
  179. ds_main_grid_spcfpatlist.clearData();
  180. //model.refresh();
  181. }
  182. //자체기초코드 조회
  183. function fComCDRef()
  184. {
  185. ds_send_data2.setColumn(0, "sess_posinstcd", sysf_getUserInfo("dutplceinstcd"));
  186. dsf_setDefaultVal(ds_send_data2, "all");
  187. //submit("TRPMI00106");
  188. var oParam = {};
  189. oParam.id = "TRPMI00106";
  190. oParam.service = "pamcomnapp.PamComn";
  191. oParam.method = "reqGetComCD";
  192. oParam.inds = "req=ds_send_data2";
  193. oParam.outds = "ds_hidden_init_disccd=disccd " +
  194. "ds_hidden_init_insukind=insukind " +
  195. "ds_hidden_init_suppkind=suppkind " +
  196. "ds_hidden_init_suppkindhist=suppkindhist " +
  197. "ds_hidden_init_orddeptcd=orddeptcd " +
  198. "ds_hidden_init_orddrid=orddrid " +
  199. "ds_hidden_init_wardcd=wardcd " +
  200. "ds_hidden_init_roomcd=roomcd " +
  201. "ds_hidden_init_bedcd=bedcd " +
  202. "ds_hidden_init_roomgrdecd=roomgrdecd " +
  203. "ds_hidden_init_roomgrdelist=roomgrdelist " +
  204. "ds_hidden_init_roomtypecd=roomtypecd " +
  205. "ds_hidden_init_flag=flag " +
  206. "ds_hidden_init_proccd=proccd " +
  207. "ds_hidden_init_centcd=centcd " +
  208. "ds_hidden_init_hospgrde=hospgrde " +
  209. "ds_hidden_init_naticd=naticd " +
  210. "ds_hidden_init_erorddrid=erorddrid " +
  211. "ds_hidden_init_insucd=insucd " +
  212. "ds_hidden_init_uncocd=uncocd";
  213. oParam.async = false;
  214. tranf_submit(oParam);
  215. }
  216. function group1_group3_button2_onclick(obj:Button, e:ClickEventInfo) {
  217. this.close();
  218. }
  219. ]]></Script>
  220. </Form>
  221. </FDL>