SMMNN01300_분만실 처치장부.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNN01300" position="absolute 0 0 1196 750" titletext="분만실 처치장부" oninit="SMMNN01300_oninit" onload="SMMNN01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="분만실 처치장부" class="tit_1" position="absolute 0 0 191 25"/>
  8. <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 15 13 105 30" anchor="default"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 907 9 913 31" anchor="top right"/>
  13. <Static id="caption4" text="~" position="absolute 212 13 227 27" anchor="default"/>
  14. <Calendar id="ipt_bthddtodd" taborder="1" class="input_essential" position="absolute 226 11 326 30" anchor="default" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_bthddtodd_onchanged"/>
  15. <Calendar id="ipt_bthddfromdd" taborder="2" class="input_essential" position="absolute 109 11 209 30" anchor="default" dateformat="yyyy-MM-dd" value="null" onchanged="grp_sea_ipt_bthddfromdd_onchanged"/>
  16. <Button id="btn_save" taborder="3" text="조회" class="btn1" position="absolute 920 9 976 31" anchor="top right" onclick="grp_sea_btn_save_onclick"/>
  17. <Button id="btn_modify" taborder="4" text="수정" class="btn2" position="absolute 981 9 1037 31" anchor="top right" onclick="grp_sea_btn_modify_onclick"/>
  18. <Button id="btn_saveexcel" taborder="5" text="엑셀저장" class="btn7" position="absolute 1042 9 1122 31" anchor="top right" onclick="grp_sea_btn_saveexcel_onclick"/>
  19. <Button id="btn_print" taborder="6" text="출력" class="btn6" position="absolute 1127 9 1183 31" anchor="top right" onclick="grp_sea_btn_print_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Shape id="line1" class="line_10" position="absolute 0 89 1194 95" anchor="left top right"/>
  24. <Static id="caption1" text="분만실 처치 리스트" class="tit_2" position="absolute 0 73 147 92"/>
  25. <Button id="button90" taborder="3" text="삭제" class="btn5" position="absolute 1152 69 1194 89" onclick="button90_onclick" anchor="top right"/>
  26. <Grid id="grd_medicallist" class="datagrid2" taborder="4" binddataset="ds_main_medicalinfo_medicallist" useinputpanel="false" extendsizetype="row" cellsizingtype="both" oncelldblclick="grd_medicallist_oncelldblclick" position="absolute 0 94 1194 748" anchor="all">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="25" band="left"/>
  31. <Column size="70"/>
  32. <Column size="55"/>
  33. <Column size="100"/>
  34. <Column size="89"/>
  35. <Column size="66"/>
  36. <Column size="60"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="200"/>
  40. <Column size="70"/>
  41. <Column size="130"/>
  42. <Column size="55"/>
  43. <Column size="70"/>
  44. <Column size="70"/>
  45. <Column size="64"/>
  46. <Column size="60"/>
  47. <Column size="60"/>
  48. <Column size="191"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. </Columns>
  61. <Rows>
  62. <Row size="30" band="head"/>
  63. <Row size="24"/>
  64. </Rows>
  65. <Band id="head">
  66. <Cell/>
  67. <Cell col="1" text="처치일자"/>
  68. <Cell col="2" text="처치시간"/>
  69. <Cell col="3" text="진료과"/>
  70. <Cell col="4" text="병동"/>
  71. <Cell col="5" text="등록번호"/>
  72. <Cell col="6" text="환자명"/>
  73. <Cell col="7" text=" S/A"/>
  74. <Cell col="8" text="임신주수"/>
  75. <Cell col="9" text="진단명"/>
  76. <Cell col="10" colspan="2" text="처치명" taborder="undefined"/>
  77. <Cell col="12" text="조직검사&#10;유무"/>
  78. <Cell col="13" text="임신태아수"/>
  79. <Cell col="14" text="유산아기수"/>
  80. <Cell col="15" text="담당교수"/>
  81. <Cell col="16" text="처치의"/>
  82. <Cell col="17" text="처치&#10;간호사"/>
  83. <Cell col="18" text="비고"/>
  84. <Cell col="19" text="prgweekcnt"/>
  85. <Cell col="20" text="prgdaycnt"/>
  86. <Cell col="21" text="seqno"/>
  87. <Cell col="22" text="indd"/>
  88. <Cell col="23" text="cretno"/>
  89. <Cell col="24" text="orddeptcd"/>
  90. <Cell col="25" text="medispclid"/>
  91. <Cell col="26" text="medicalremk"/>
  92. <Cell col="27" text="biopsycnt"/>
  93. <Cell col="28" text="ioflag"/>
  94. <Cell col="29" text="wardcd"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell celltype="head" text="expr:currow+1"/>
  98. <Cell col="1" text="bind:medicaldd" mask="expr:utlf_isNull(medicaldd) || medicaldd == '-' ? '' : '####-##-##'"/>
  99. <Cell col="2" text="bind:medicaltm" mask="expr:utlf_isNull(medicaltm) || medicaltm == '-' ? '' : '##:##'"/>
  100. <Cell col="3" displaytype="text" text="bind:orddeptnm"/>
  101. <Cell col="4" displaytype="text" text="bind:wardnm"/>
  102. <Cell col="5" text="bind:pid"/>
  103. <Cell col="6" text="bind:patnm"/>
  104. <Cell col="7" text="bind:sexage"/>
  105. <Cell col="8" text="bind:prgweekday"/>
  106. <Cell col="9" displaytype="text" style="align:left top;padding:2 2 0 2;" text="bind:diagcd" wordwrap="char"/>
  107. <Cell col="10" displaytype="combo" edittype="none" style="padding:2 2 2 2;" text="bind:medicalflag" combodataset="ds_init_M0282" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  108. <Cell col="11" displaytype="combo" edittype="none" style="padding:2 2 2 2;" text="bind:medicalcd" combodataset="ds_init_M0283" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  109. <Cell col="12" text="bind:biopsyyn"/>
  110. <Cell col="13" text="bind:babycnt"/>
  111. <Cell col="14" text="bind:dethbabycnt"/>
  112. <Cell col="15" text="bind:medispclnm"/>
  113. <Cell col="16" text="bind:medicaldoct"/>
  114. <Cell col="17" text="bind:medicalnurse"/>
  115. <Cell col="18" displaytype="text" style="align:left top;padding:2 2 0 2;" text="bind:remk" wordwrap="char"/>
  116. <Cell col="19" text="bind:prgweekcnt"/>
  117. <Cell col="20" text="bind:prgdaycnt"/>
  118. <Cell col="21" text="bind:seqno"/>
  119. <Cell col="22" text="bind:indd"/>
  120. <Cell col="23" text="bind:cretno"/>
  121. <Cell col="24" text="bind:orddeptcd"/>
  122. <Cell col="25" text="bind:medispclid"/>
  123. <Cell col="26" text="bind:medicalremk"/>
  124. <Cell col="27" text="bind:biopsycnt"/>
  125. <Cell col="28" text="bind:ioflag"/>
  126. <Cell col="29" text="bind:wardcd"/>
  127. </Band>
  128. </Format>
  129. </Formats>
  130. </Grid>
  131. </Layout>
  132. </Layouts>
  133. <Objects>
  134. <Dataset id="ds_temps" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  135. <ColumnInfo>
  136. <Column id="temps" type="STRING" size="256"/>
  137. </ColumnInfo>
  138. </Dataset>
  139. <Dataset id="ds_main_medicalinfo_medicallist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  140. <ColumnInfo>
  141. <Column id="medicaldd" type="STRING" size="256"/>
  142. <Column id="orddeptnm" type="STRING" size="256"/>
  143. <Column id="wardnm" type="STRING" size="256"/>
  144. <Column id="pid" type="STRING" size="256"/>
  145. <Column id="patnm" type="STRING" size="256"/>
  146. <Column id="sexage" type="STRING" size="256"/>
  147. <Column id="diagcd" type="STRING" size="256"/>
  148. <Column id="medicalflag" type="STRING" size="256"/>
  149. <Column id="medicalcd" type="STRING" size="256"/>
  150. <Column id="biopsyyn" type="STRING" size="256"/>
  151. <Column id="medispclnm" type="STRING" size="256"/>
  152. <Column id="medicaldoct" type="STRING" size="256"/>
  153. <Column id="medicalnurse" type="STRING" size="256"/>
  154. <Column id="remk" type="STRING" size="256"/>
  155. <Column id="seqno" type="STRING" size="256"/>
  156. <Column id="indd" type="STRING" size="256"/>
  157. <Column id="cretno" type="STRING" size="256"/>
  158. <Column id="orddeptcd" type="STRING" size="256"/>
  159. <Column id="medispclid" type="STRING" size="256"/>
  160. <Column id="medicalremk" type="STRING" size="256"/>
  161. <Column id="biopsycnt" type="STRING" size="256"/>
  162. <Column id="ioflag" type="STRING" size="256"/>
  163. <Column id="wardcd" type="STRING" size="256"/>
  164. </ColumnInfo>
  165. <Rows>
  166. <Row>
  167. <Col id="medicaldd"/>
  168. <Col id="orddeptnm"/>
  169. <Col id="wardnm"/>
  170. <Col id="pid"/>
  171. <Col id="patnm"/>
  172. <Col id="sexage"/>
  173. <Col id="diagcd"/>
  174. <Col id="medicalflag"/>
  175. <Col id="medicalcd"/>
  176. <Col id="biopsyyn"/>
  177. <Col id="medispclnm"/>
  178. <Col id="medicaldoct"/>
  179. <Col id="medicalnurse"/>
  180. <Col id="remk"/>
  181. <Col id="seqno"/>
  182. <Col id="indd"/>
  183. <Col id="cretno"/>
  184. <Col id="orddeptcd"/>
  185. <Col id="medispclid"/>
  186. <Col id="medicalremk"/>
  187. <Col id="biopsycnt"/>
  188. <Col id="ioflag"/>
  189. <Col id="wardcd"/>
  190. </Row>
  191. </Rows>
  192. </Dataset>
  193. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  194. <ColumnInfo>
  195. <Column id="fromdd" type="STRING" size="256"/>
  196. <Column id="todd" type="STRING" size="256"/>
  197. </ColumnInfo>
  198. <Rows>
  199. <Row>
  200. <Col id="fromdd"/>
  201. <Col id="todd"/>
  202. </Row>
  203. </Rows>
  204. </Dataset>
  205. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  206. <ColumnInfo>
  207. <Column id="hidden" type="STRING" size="256"/>
  208. </ColumnInfo>
  209. <Rows>
  210. <Row>
  211. <Col id="hidden"/>
  212. </Row>
  213. </Rows>
  214. </Dataset>
  215. <Dataset id="ds_init_M0282" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  216. <ColumnInfo>
  217. <Column id="cdid" type="STRING" size="256"/>
  218. <Column id="cdnm" type="STRING" size="256"/>
  219. </ColumnInfo>
  220. </Dataset>
  221. <Dataset id="ds_init_M0283" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  222. <ColumnInfo>
  223. <Column id="cdid" type="STRING" size="256"/>
  224. <Column id="cdnm" type="STRING" size="256"/>
  225. </ColumnInfo>
  226. </Dataset>
  227. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  228. <Dataset id="ds_send_printdata_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  229. <Dataset id="ds_send_printdata_medicalinfo_medicallist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  230. </Objects>
  231. <Bind>
  232. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  233. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  234. <BindItem id="item2" compid="grp_sea.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  235. <BindItem id="item3" compid="grp_sea.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  236. </Bind>
  237. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  238. * System Name :
  239. * Job Name :
  240. * Creator :
  241. * Make Date : 2017-02-15
  242. * Description :
  243. *---------------------------------------------------------------------------------------
  244. * Modify Date Modifier Modify Description
  245. *---------------------------------------------------------------------------------------
  246. * 2017-02-15 Live Converter TF->XP
  247. *
  248. *---------------------------------------------------------------------------------------
  249. ****************************************************************************************/
  250. //=======================================================================================
  251. // Lib Include
  252. //---------------------------------------------------------------------------------------
  253. include "com_commonxp::comm_main.xjs";
  254. include "emr_partrtnnbabyxp::SMMNN01300.xjs";
  255. //=======================================================================================
  256. // Event
  257. //---------------------------------------------------------------------------------------
  258. /****************************************************************************************
  259. * Components : Form
  260. * Description : 화면 처음 초기화시 폼초기화
  261. ****************************************************************************************/
  262. function SMMNN01300_oninit(obj:Form, e:InitEventInfo)
  263. {
  264. frmf_initForm(obj); // 폼 초기화
  265. }
  266. /****************************************************************************************
  267. * Components : Form
  268. * Description : 화면 처음 초기화시 폼초기화
  269. ****************************************************************************************/
  270. function SMMNN01300_onload(obj:Form, e:LoadEventInfo)
  271. {
  272. // setHelp(); // 온라인 도움말 화면이 있는 경우 ready 에서 실행.
  273. fInitialize();
  274. grdf_setGridSort(grd_medicallist); // 그리드 소트만
  275. }
  276. /****************************************************************************************
  277. * Components : Calendar
  278. * Description : 조회시작일자 변경
  279. ****************************************************************************************/
  280. function grp_sea_ipt_bthddfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  281. {
  282. fGetMedicalInfo();
  283. }
  284. /****************************************************************************************
  285. * Components : Calendar
  286. * Description : 조회종료일자 변경
  287. ****************************************************************************************/
  288. function grp_sea_ipt_bthddtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  289. {
  290. fGetMedicalInfo();
  291. }
  292. /****************************************************************************************
  293. * Components : Button
  294. * Description : 조회
  295. ****************************************************************************************/
  296. function grp_sea_btn_save_onclick(obj:Button, e:ClickEventInfo)
  297. {
  298. var pos = grd_medicallist.hscrollbar.pos;
  299. fGetMedicalInfo();
  300. grdf_clearSort(grd_medicallist);
  301. grd_medicallist.hscrollbar.pos = pos;
  302. }
  303. /****************************************************************************************
  304. * Components : Button
  305. * Description : 수정
  306. ****************************************************************************************/
  307. function grp_sea_btn_modify_onclick(obj:Button, e:ClickEventInfo)
  308. {
  309. fModifyMedicalInfo();
  310. }
  311. /****************************************************************************************
  312. * Components : Button
  313. * Description : 엑셀저장
  314. ****************************************************************************************/
  315. function grp_sea_btn_saveexcel_onclick(obj:Button, e:ClickEventInfo)
  316. {
  317. fSaveExcel();
  318. }
  319. /****************************************************************************************
  320. * Components : Button
  321. * Description : 출력
  322. ****************************************************************************************/
  323. function grp_sea_btn_print_onclick(obj:Button, e:ClickEventInfo)
  324. {
  325. fClickPrint();
  326. }
  327. /****************************************************************************************
  328. * Components : Button
  329. * Description : 삭제
  330. ****************************************************************************************/
  331. function button90_onclick(obj:Button, e:ClickEventInfo)
  332. {
  333. var vpos = grd_medicallist.vscrollbar.pos;
  334. var hpos = grd_medicallist.hscrollbar.pos;
  335. fClickDel();
  336. grd_medicallist.vscrollbar.pos = vpos;
  337. grd_medicallist.hscrollbar.pos = hpos;
  338. }
  339. /****************************************************************************************
  340. * Components : Grid
  341. * Description : 그리드 더블클릭하여 수정팝업 오픈
  342. ****************************************************************************************/
  343. function grd_medicallist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  344. {
  345. if(e.row > -1) {
  346. fModifyMedicalInfo();
  347. }
  348. }
  349. ]]></Script>
  350. </Form>
  351. </FDL>