SMMMR00301_외래경과JCI.xfdl 20 KB

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