SMMMR00304_외래경과JCI.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMR00304" position="absolute 0 0 595 684" titletext="외래경과JCI" oninit="SMMMR00304_oninit" onload="SMMMR00304_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 595 684" id="grup_base" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 67 556 592 681" id="ivw_0022826001" visible="false" class="div_DA_cell" anchor="all"/>
  11. <TextArea position="absolute 67 556 592 681" id="tar_0022826001" visible="false" ontextchanged="fComnFormMtxChanged" anchor="all"/>
  12. <Static position="absolute 67 40 593 248" align="align:center middle;" id="cap_0008224001" class="sta_DA_Imgcaption" anchor="left top right"/>
  13. <Static position="absolute 67 250 593 453" align="align:center middle;" id="cap_0001129001" class="sta_DA_Imgcaption" anchor="left top right"/>
  14. <Shape position="absolute 0 551 593 557" linetype="horizontal" id="line2" class="line_2" anchor="left top right" visible="false"/>
  15. <Shape position="absolute 0 36 593 42" linetype="horizontal" id="line3" class="line_2" anchor="left top right"/>
  16. <Shape position="absolute 0 246 593 252" linetype="horizontal" id="line1" class="line_2" anchor="left top right"/>
  17. <Shape position="absolute 0 451 593 457" linetype="horizontal" id="line5" class="line_2" anchor="left top right"/>
  18. <Static text="S&amp;O&#13;&#10;" position="absolute 0 39 65 248" align="align:center middle;" id="lbl_0008224001" class="cell_1" anchor="left top" style="font:Dotum,9,bold;" onclick="Static_onclick"/>
  19. <Button position="absolute 1 224 21 244" id="btn_imge_0008224001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
  20. <Static text="A&#13;&#10;" position="absolute 0 250 65 453" align="align:center middle;" id="lbl_0001129001" class="cell_1" anchor="left top" style="font:Dotum,9,bold;" onclick="Static_onclick"/>
  21. <Static text="Care&#13;&#10;Plan &amp; &#13;&#10;Goal&#13;&#10; &#13;&#10;" position="absolute 0 455 65 681" align="align:center middle;" id="lbl_0000080001" class="cell_1" anchor="left top bottom" style="font:Dotum,9,bold;" tooltiptext="치료계획을 달성하기 위한 구체적 또는 수치화된 목표로 기재해주세요" onclick="Static_onclick"/>
  22. <Button position="absolute 43 185 63 205" id="btn_comn_0008224001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기" onclick="btn_comn_onclick"/>
  23. <Button position="absolute 43 383 63 403" id="btn_comn_0001129001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기" onclick="btn_comn_onclick"/>
  24. <Button position="absolute 42 519 62 539" id="btn_comn_0000080001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기" onclick="btn_comn_onclick"/>
  25. <Button position="absolute 20 350 62 369" id="btn_diag_0001129001" class="btn2" text="진단" tooltiptext="진단가져오기"/>
  26. <Button position="absolute 20 491 62 510" id="btn_prcp_0000080001" class="btn2" text="처방" tooltiptext="처방가져오기"/>
  27. <Button position="absolute 22 224 42 244" id="btn_fmy_0008224001" class="btn_Fmytree" visible="true" tooltiptext="가계도편집창 열기"/>
  28. <Button position="absolute 43 224 63 244" id="btn_etcrec_0008224001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
  29. <Button position="absolute 43 430 63 450" id="btn_etcrec_0001129001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
  30. <Button position="absolute 43 658 63 678" id="btn_etcrec_0000080001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기" anchor="left bottom"/>
  31. <Button position="absolute 22 430 42 450" id="btn_imge_0001129001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
  32. <Button position="absolute 22 658 42 678" id="btn_imge_0000080001" class="btn_picture" text="" tooltiptext="이미지편집창 열기" anchor="left bottom"/>
  33. <Button position="absolute 1 658 21 678" id="btn_comn_0022826001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기" anchor="left bottom"/>
  34. <Static text="통증&#13;&#10;" position="absolute 0 0 65 37" align="align:center middle;" id="lbl_0000969001" class="cell_1" anchor="left top" style="font:Dotum,9,bold;" onclick="Static_onclick"/>
  35. <Div position="absolute 67 250 593 453" id="ivw_0001129001" class="div_DA_cell" anchor="left top right"/>
  36. <Div position="absolute 67 40 593 248" id="ivw_0008224001" class="div_DA_cell" anchor="left top right"/>
  37. <Div position="absolute 67 455 592 681" id="ivw_0000080001" class="div_DA_cell" anchor="all"/>
  38. <Div position="absolute 67 0 593 37" id="ivw_0000969001" class="div_DA_cell" anchor="left top right"/>
  39. <Static position="absolute 67 455 592 681" align="align:center middle;" id="cap_0000080001" class="sta_DA_Imgcaption" anchor="all"/>
  40. <Static position="absolute 67 0 593 37" align="align:center middle;" id="cap_0000969001" class="sta_DA_Imgcaption" anchor="left top right"/>
  41. <TextArea position="absolute 67 455 592 681" id="tar_0000080001" ontextchanged="fComnFormMtxChanged" anchor="all"/>
  42. <TextArea position="absolute 67 250 593 453" id="tar_0001129001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
  43. <TextArea position="absolute 67 40 593 248" id="tar_0008224001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
  44. <TextArea position="absolute 67 0 593 37" id="tar_0000969001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
  45. <Combo position="absolute 3 186 25 205" id="cbo_0008224001" class="combo_search" innerdataset="ds_init_cbo_0008224001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" onitemclick="grup_base_cbo_0008224001_onitemclick" visible="false"/>
  46. <Combo position="absolute 3 383 25 402" id="cbo_0001129001" class="combo_search" innerdataset="ds_init_cbo_0001129001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
  47. <Combo position="absolute 3 597 25 616" id="cbo_0022826001" class="combo_search" visible="false" innerdataset="ds_init_cbo_0022826001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" anchor="left bottom"/>
  48. <Combo position="absolute 3 575 25 594" id="cbo_0000080001" class="combo_search" innerdataset="ds_init_cbo_0000080001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" anchor="left bottom" visible="false"/>
  49. <Button position="absolute 0 470 64 489" id="btn_sel_prcp_0000080001" class="btn2" text="선택처방" tooltiptext="처방을 선택하여 가져오기"/>
  50. <Button position="absolute 1 90 63 109" id="btn_test_template" class="btn2" text="검사결과" onclick="grup_base_btn_test_template_onclick"/>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. </Layout>
  55. </Layouts>
  56. <Objects>
  57. <Dataset id="ds_init_cbo_0008224001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  58. <ColumnInfo>
  59. <Column id="formnminfo" type="STRING"/>
  60. <Column id="formdegnseq" type="STRING"/>
  61. </ColumnInfo>
  62. </Dataset>
  63. <Dataset id="ds_init_cbo_0001129001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  64. <ColumnInfo>
  65. <Column id="formnminfo" type="STRING"/>
  66. <Column id="formdegnseq" type="STRING"/>
  67. </ColumnInfo>
  68. </Dataset>
  69. <Dataset id="ds_init_cbo_0022826001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="formnminfo" type="STRING"/>
  72. <Column id="formdegnseq" type="STRING"/>
  73. </ColumnInfo>
  74. </Dataset>
  75. <Dataset id="ds_init_cbo_0000080001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  76. <ColumnInfo>
  77. <Column id="formnminfo" type="STRING"/>
  78. <Column id="formdegnseq" type="STRING"/>
  79. </ColumnInfo>
  80. </Dataset>
  81. <Dataset id="ds_data_fmyrecItemRef" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  82. <ColumnInfo>
  83. <Column id="fstlevlitemcd" type="STRING" size="256"/>
  84. <Column id="formcd" type="STRING" size="256"/>
  85. <Column id="reccnts" type="STRING" size="256"/>
  86. <Column id="recimge" type="STRING" size="256"/>
  87. </ColumnInfo>
  88. </Dataset>
  89. <Dataset id="ds_temp_unitrecitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  90. <ColumnInfo>
  91. <Column id="instcd" type="STRING" size="256"/>
  92. <Column id="rechistseq" type="STRING" size="256"/>
  93. <Column id="recitemno" type="STRING" size="256"/>
  94. <Column id="fstlevlitemcd" type="STRING" size="256"/>
  95. <Column id="formcd" type="STRING" size="256"/>
  96. <Column id="formdegnseq" type="STRING" size="256"/>
  97. <Column id="degnitemno" type="STRING" size="256"/>
  98. <Column id="degnitemcd" type="STRING" size="256"/>
  99. <Column id="degnitemkind" type="STRING" size="256"/>
  100. <Column id="degnitemlevlno" type="STRING" size="256"/>
  101. <Column id="degnitemnm" type="STRING" size="256"/>
  102. <Column id="degnitemlevlcd" type="STRING" size="256"/>
  103. <Column id="rectermcd" type="STRING" size="256"/>
  104. <Column id="rectermnm" type="STRING" size="256"/>
  105. <Column id="recrefcd" type="STRING" size="256"/>
  106. <Column id="recitemnm" type="STRING" size="256"/>
  107. <Column id="reccnts" type="STRING" size="256"/>
  108. <Column id="unitnm" type="STRING" size="256"/>
  109. <Column id="recimge" type="BLOB"/>
  110. <Column id="srcimge" type="BLOB"/>
  111. <Column id="rowno" type="STRING" size="256"/>
  112. <Column id="colno" type="STRING" size="256"/>
  113. <Column id="supdegnitemno" type="STRING" size="256"/>
  114. <Column id="extdegnitemlevlcd" type="STRING" size="256"/>
  115. <Column id="rectermflag" type="STRING" size="256"/>
  116. <Column id="degnunitcd" type="STRING" size="256"/>
  117. </ColumnInfo>
  118. </Dataset>
  119. <Dataset firefirstcount="0" firenextcount="0" id="ds_data_recitem">
  120. <ColumnInfo>
  121. <Column id="instcd" type="STRING" size="256"/>
  122. <Column id="rechistseq" type="STRING" size="256"/>
  123. <Column id="recitemno" type="STRING" size="256"/>
  124. <Column id="fstlevlitemcd" type="STRING" size="256"/>
  125. <Column id="formcd" type="STRING" size="256"/>
  126. <Column id="formdegnseq" type="STRING" size="256"/>
  127. <Column id="degnitemno" type="STRING" size="256"/>
  128. <Column id="degnitemcd" type="STRING" size="256"/>
  129. <Column id="degnitemkind" type="STRING" size="256"/>
  130. <Column id="degnitemlevlno" type="STRING" size="256"/>
  131. <Column id="degnitemnm" type="STRING" size="256"/>
  132. <Column id="degnitemlevlcd" type="STRING" size="256"/>
  133. <Column id="rectermcd" type="STRING" size="256"/>
  134. <Column id="rectermnm" type="STRING" size="256"/>
  135. <Column id="recrefcd" type="STRING" size="256"/>
  136. <Column id="recitemnm" type="STRING" size="256"/>
  137. <Column id="reccnts" type="STRING" size="256"/>
  138. <Column id="unitnm" type="STRING" size="256"/>
  139. <Column id="recimge" type="BLOB"/>
  140. <Column id="srcimge" type="BLOB"/>
  141. <Column id="rowno" type="STRING" size="256"/>
  142. <Column id="colno" type="STRING" size="256"/>
  143. <Column id="supdegnitemno" type="STRING" size="256"/>
  144. <Column id="extdegnitemlevlcd" type="STRING" size="256"/>
  145. <Column id="rectermflag" type="STRING" size="256"/>
  146. <Column id="degnunitcd" type="STRING" size="256"/>
  147. </ColumnInfo>
  148. </Dataset>
  149. </Objects>
  150. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  151. * System Name :
  152. * Job Name :
  153. * Creator :
  154. * Make Date : 2015-03-20
  155. * Description :
  156. *---------------------------------------------------------------------------------------
  157. * Modify Date Modifier Modify Description
  158. *---------------------------------------------------------------------------------------
  159. * 2015-03-20 Live Converter TF->XP
  160. *
  161. *---------------------------------------------------------------------------------------
  162. ****************************************************************************************/
  163. //=======================================================================================
  164. // Lib Include
  165. //---------------------------------------------------------------------------------------
  166. include "com_commonxp::comm_main.xjs"
  167. include "emr_commonxp::EMRCommon.xjs"
  168. include "emr_prcpmngtxp::MMO001.xjs"
  169. include "emr_medirecxp::MMRCommon.xjs"
  170. include "emr_medirecxp::MMRBind.xjs"
  171. include "emr_medirecxp::MMR00304.xjs"
  172. //=======================================================================================
  173. // Global Form Variable
  174. //---------------------------------------------------------------------------------------
  175. //var arErrorCode = new HashArray();
  176. //=======================================================================================
  177. // Function
  178. //---------------------------------------------------------------------------------------
  179. /****************************************************************************************
  180. * Argument : N/A
  181. * Description : 부분서식 완료시 fOnLoadComplete 호출
  182. ****************************************************************************************/
  183. function lf_onloadcomplete(){
  184. fOnLoadComplete();
  185. }
  186. /****************************************************************************************
  187. * Function : lf_getUnitFormRecData
  188. * Description : 기록정보 조합
  189. ****************************************************************************************/
  190. function lf_getUnitFormRecData(mode, tmp)
  191. {
  192. // MMRcommon.xjs
  193. return lf_getRecDS(gItemCds, mode, tmp);
  194. }
  195. //=======================================================================================
  196. // Transaction Callback
  197. //---------------------------------------------------------------------------------------
  198. /****************************************************************************************
  199. * Argument : 01.sSvcId : 서비스 ID
  200. * : 02.nErrorCode : 에러코드
  201. * : 03.sErrorMsg : 에러메시지
  202. * Description : tr_getCodeList의 콜백함수
  203. ****************************************************************************************/
  204. function cf_(sSvcId, nErrorCode, sErrorMsg) {
  205. if(nErrorCode < 0) return;
  206. //sysf_trace("***** cf_ *****");
  207. }
  208. //=======================================================================================
  209. // Event
  210. //---------------------------------------------------------------------------------------
  211. /****************************************************************************************
  212. * Components : Form
  213. * Components ID : SMMMR00304
  214. * Event : oninit
  215. * Argument : 01.obj : Object Event has occurred
  216. * : 02.e : Event Object
  217. * Description : 화면 초기화
  218. ****************************************************************************************/
  219. function SMMMR00304_oninit(obj:Form, e:InitEventInfo)
  220. {
  221. frmf_initForm(obj);
  222. }
  223. /****************************************************************************************
  224. * Components : Form
  225. * Components ID : SMMMR00304
  226. * Event : onload
  227. * Argument : 01.obj : Object Event has occurred
  228. * : 02.e : Event Object
  229. * Description : 화면 초기화
  230. ****************************************************************************************/
  231. function SMMMR00304_onload(obj:Form, e:LoadEventInfo)
  232. {
  233. lf_makeRecitem();
  234. fFormReady();
  235. initFormAtLast_MMR01100I();
  236. //우클릭 메뉴보이기 기능(Grid인 경우는 해당 Form OnLoad에 선언한다.)
  237. fCompRightMenuInit(grup_base.tar_0000969001); //통증
  238. fCompRightMenuInit(grup_base.tar_0008224001); //S&O
  239. fCompRightMenuInit(grup_base.tar_0001129001); //A
  240. fCompRightMenuInit(grup_base.tar_0000080001); //Careplan
  241. fCompRightMenuInit(grup_base.tar_0022826001); //Careplan
  242. }
  243. /****************************************************************************************
  244. * Components : Static
  245. * Components ID : Common Static
  246. * Event : onclick
  247. * Argument : 01.obj : Object Event has occurred
  248. * : 02.e : Event Object
  249. * Description : 선택된 Label의 부분서식을 로드하고 펼치거나 접는다.
  250. ****************************************************************************************/
  251. function Static_onclick(obj:Static, e:ClickEventInfo)
  252. {
  253. expandSection(gItemCds, obj);
  254. CarePlanInvisible();
  255. }
  256. /****************************************************************************************
  257. * Components : Button
  258. * Components ID : Common comnButton
  259. * Event : onclick
  260. * Argument : 01.obj : Object Event has occurred
  261. * : 02.e : Event Object
  262. * Description : 상용구 예문관리 화면 팝업 호출
  263. ****************************************************************************************/
  264. function btn_comn_onclick(obj:Button, e:ClickEventInfo)
  265. {
  266. OpenComnUseStmt(obj);
  267. }
  268. /****************************************************************************************
  269. * Components : Button
  270. * Components ID : Common templateButton
  271. * Event : onclick
  272. * Argument : 01.obj : Object Event has occurred
  273. * : 02.e : Event Object
  274. * Description : 검사결과 호출
  275. ****************************************************************************************/
  276. function grup_base_btn_test_template_onclick(obj:Button, e:ClickEventInfo)
  277. {
  278. fOpenTestTemplate("0008224", "0008224001");
  279. }
  280. function grup_base_cbo_0008224001_onitemclick(obj:Combo, e:ListBoxClickEventInfo)
  281. {
  282. openExtnUnitFormOfComnMediForm("0008224001");
  283. }]]></Script>
  284. </Form>
  285. </FDL>