123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMR00201" position="absolute 0 0 595 684" titletext="외래초진JCI" oninit="SMMMR00201_oninit" onload="SMMMR00201_onload" tooltiptext="치료계획을 달성하기 위한 구체적 또는 수치화된 목표로 기재해주세요">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 595 684" id="grup_base" anchor="all">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 602 593 608" linetype="horizontal" id="line8" class="line_2" anchor="left top right"/>
- <Static text="과거력 " position="absolute 0 157 65 241" align="align:center middle;" id="lbl_0000098001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <Button position="absolute 43 198 63 218" id="btn_comn_0000098001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Button position="absolute 43 219 63 239" id="btn_etcrec_0000098001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
- <Button position="absolute 22 219 42 239" id="btn_fmy_0000098001" class="btn_Fmytree" visible="true" tooltiptext="가계도편집창 열기"/>
- <Shape position="absolute 0 525 593 531" linetype="horizontal" id="line2" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 448 593 454" linetype="horizontal" id="line4" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 382 593 388" linetype="horizontal" id="line6" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 305 593 311" linetype="horizontal" id="line5" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 240 593 246" linetype="horizontal" id="line7" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 153 593 159" linetype="horizontal" id="line1" class="line_2" anchor="left top right"/>
- <Shape position="absolute 0 71 593 77" linetype="horizontal" id="line3" class="line_2" anchor="left top right"/>
- <Button position="absolute 43 354 63 374" id="btn_comn_0000079001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Static text="주호소 " position="absolute 0 0 65 72" align="align:center middle;" id="lbl_0000931001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <Static text="현병력 " position="absolute 0 75 65 154" align="align:center middle;" id="lbl_0001173001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <Button position="absolute 22 132 42 152" id="btn_imge_0001173001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
- <Button position="absolute 1 219 21 239" id="btn_imge_0000098001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
- <Static text="계통문진 " position="absolute 0 309 65 383" align="align:center middle;" id="lbl_0000079001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <Static text="신체검진 " position="absolute 0 386 65 449" align="align:center middle;" id="lbl_0000570001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <Static text="추정진단 " position="absolute 0 452 65 526" align="align:center middle;" id="lbl_0001019001" class="cell_1" style="font:Dotum,9,bold;" onclick="Static_onclick" anchor="left top"/>
- <Button position="absolute 22 427 42 447" id="btn_imge_0000570001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
- <Div position="absolute 67 0 593 72" id="ivw_0000931001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 157 593 241" id="ivw_0000098001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 309 593 383" id="ivw_0000079001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 606 593 682" id="ivw_0022826001" class="div_DA_cell" anchor="all"/>
- <Div position="absolute 67 386 593 449" id="ivw_0000570001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 244 593 306" id="ivw_0000969001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 452 593 526" id="ivw_0001019001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 75 593 154" align="align:center middle;" id="ivw_0001173001" class="div_DA_cell" anchor="left top right"/>
- <Div position="absolute 67 529 593 603" id="ivw_0000080001" class="div_DA_cell" anchor="left top right"/>
- <Static position="absolute 67 386 593 449" id="cap_0000570001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Static position="absolute 67 309 593 383" id="cap_0000079001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Static position="absolute 67 157 593 241" id="cap_0000098001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Static position="absolute 67 452 593 526" id="cap_0001019001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Static position="absolute 67 244 593 306" id="cap_0000969001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Static position="absolute 67 529 593 603" id="cap_0000080001" class="sta_DA_Imgcaption" anchor="left top right"/>
- <Button position="absolute 1 132 21 152" id="btn_comn_0001173001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Button position="absolute 43 406 63 426" id="btn_comn_0000570001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Button position="absolute 43 504 63 524" id="btn_comn_0001019001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Button position="absolute 43 636 63 656" id="btn_comn_0022826001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Button position="absolute 22 484 64 503" id="btn_diag_0001019001" class="btn2" text="진단" tooltiptext="진단가져오기"/>
- <Button position="absolute 22 361 42 381" id="btn_imge_0000079001" class="btn_picture" text="" tooltiptext="이미지편집창 열기"/>
- <Button position="absolute 43 132 63 152" id="btn_etcrec_0001173001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
- <Button position="absolute 43 361 63 381" id="btn_etcrec_0000079001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
- <Button position="absolute 43 427 63 447" id="btn_etcrec_0000570001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
- <TextArea position="absolute 67 606 593 682" id="tar_0022826001" ontextchanged="fComnFormMtxChanged" anchor="all"/>
- <TextArea position="absolute 67 0 593 72" id="tar_0000931001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <TextArea position="absolute 67 309 593 383" id="tar_0000079001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <TextArea position="absolute 67 386 593 449" id="tar_0000570001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <TextArea position="absolute 67 157 593 241" id="tar_0000098001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <Button position="absolute 43 504 63 524" id="btn_etcrec_0001019001" class="btn_Assrecord" visible="true" tooltiptext="추가기록창 열기"/>
- <Static text="Care Plan & Goal" position="absolute 0 606 65 682" align="align:center middle;" id="lbl_0022826001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top bottom" onclick="Static_0022826001_onclick" tooltiptext="치료계획을 달성하기 위한 구체적 또는 수치화된 목표로 기재해주세요"/>
- <TextArea position="absolute 67 244 593 306" id="tar_0000969001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <Button position="absolute 43 252 63 272" id="btn_comn_0000969001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Static text="통증 " position="absolute 0 244 65 306" align="align:center middle;" id="lbl_0000969001" class="cell_1" style="font:Dotum,9,bold;" anchor="left top" onclick="Static_onclick"/>
- <TextArea position="absolute 67 452 593 526" id="tar_0001019001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <TextArea position="absolute 67 75 593 154" id="tar_0001173001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <TextArea position="absolute 67 529 593 603" id="tar_0000080001" ontextchanged="fComnFormMtxChanged" anchor="left top right"/>
- <Button position="absolute 43 580 63 600" id="btn_comn_0000080001" class="btn_list" visible="false" text="" tooltiptext="상용구관리 열기"/>
- <Static text="계획 " position="absolute 0 529 65 603" align="align:center middle;" id="lbl_0000080001" class="cell_1" style="font:Dotum,9,bold;" onclick="Static_onclick" anchor="left top"/>
- <Button position="absolute 22 582 64 601" id="btn_prcp_0000080001" class="btn2" text="처방" tooltiptext="처방가져오기"/>
- <Combo position="absolute 1 342 23 361" id="cbo_0000079001" class="combo_search" innerdataset="ds_init_cbo_0000079001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 1 408 23 427" id="cbo_0000570001" class="combo_search" innerdataset="ds_init_cbo_0000570001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 0 484 22 503" id="cbo_0001019001" class="combo_search" innerdataset="ds_init_cbo_0001019001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 1 113 23 132" id="cbo_0001173001" class="combo_search" innerdataset="ds_init_cbo_0001173001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 1 582 23 601" id="cbo_0000080001" class="combo_search" innerdataset="ds_init_cbo_0000080001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 1 180 23 199" id="cbo_0000098001" class="combo_search" innerdataset="ds_init_cbo_0000098001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 2 662 24 681" id="cbo_0022826001" class="combo_search" innerdataset="ds_init_cbo_0022826001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- <Combo position="absolute 1 285 23 304" id="cbo_0000969001" class="combo_search" innerdataset="ds_init_cbo_0000969001" datacolumn="formnminfo" codecolumn="formdegnseq" tooltiptext="확장서식 열기" visible="false"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cbo_0000079001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0000570001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0001019001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0001173001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0000080001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0000098001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0022826001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cbo_0000969001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formnminfo" type="STRING"/>
- <Column id="formdegnseq" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset firefirstcount="0" firenextcount="0" id="ds_data_recitem">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="rechistseq" type="STRING" size="256"/>
- <Column id="recitemno" type="STRING" size="256"/>
- <Column id="fstlevlitemcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="formdegnseq" type="STRING" size="256"/>
- <Column id="degnitemno" type="STRING" size="256"/>
- <Column id="degnitemcd" type="STRING" size="256"/>
- <Column id="degnitemkind" type="STRING" size="256"/>
- <Column id="degnitemlevlno" type="STRING" size="256"/>
- <Column id="degnitemnm" type="STRING" size="256"/>
- <Column id="degnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermcd" type="STRING" size="256"/>
- <Column id="rectermnm" type="STRING" size="256"/>
- <Column id="recrefcd" type="STRING" size="256"/>
- <Column id="recitemnm" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="unitnm" type="STRING" size="256"/>
- <Column id="recimge" type="BLOB"/>
- <Column id="srcimge" type="BLOB"/>
- <Column id="rowno" type="STRING" size="256"/>
- <Column id="colno" type="STRING" size="256"/>
- <Column id="supdegnitemno" type="STRING" size="256"/>
- <Column id="extdegnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermflag" type="STRING" size="256"/>
- <Column id="degnunitcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_fmyrecItemRef" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fstlevlitemcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="recimge" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_unitrecitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="rechistseq" type="STRING" size="256"/>
- <Column id="recitemno" type="STRING" size="256"/>
- <Column id="fstlevlitemcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="formdegnseq" type="STRING" size="256"/>
- <Column id="degnitemno" type="STRING" size="256"/>
- <Column id="degnitemcd" type="STRING" size="256"/>
- <Column id="degnitemkind" type="STRING" size="256"/>
- <Column id="degnitemlevlno" type="STRING" size="256"/>
- <Column id="degnitemnm" type="STRING" size="256"/>
- <Column id="degnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermcd" type="STRING" size="256"/>
- <Column id="rectermnm" type="STRING" size="256"/>
- <Column id="recrefcd" type="STRING" size="256"/>
- <Column id="recitemnm" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="unitnm" type="STRING" size="256"/>
- <Column id="recimge" type="BLOB"/>
- <Column id="srcimge" type="BLOB"/>
- <Column id="rowno" type="STRING" size="256"/>
- <Column id="colno" type="STRING" size="256"/>
- <Column id="supdegnitemno" type="STRING" size="256"/>
- <Column id="extdegnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermflag" type="STRING" size="256"/>
- <Column id="degnunitcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-03-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-03-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_commonxp::EMRCommon.xjs"
- include "emr_prcpmngtxp::MMO001.xjs"
- include "emr_medirecxp::MMRCommon.xjs"
- include "emr_medirecxp::MMRBind.xjs"
- include "emr_medirecxp::MMR00201.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 부분서식 완료시 fOnLoadComplete 호출
- ****************************************************************************************/
- function lf_onloadcomplete(){
- fOnLoadComplete();
- }
- /****************************************************************************************
- * Function : lf_getUnitFormRecData
- * Description : 기록정보 조합
- ****************************************************************************************/
- function lf_getUnitFormRecData(mode, tmp)
- {
- // MMRcommon.xjs
- return lf_getRecDS(gItemCds, mode, tmp);
- }
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- function cf_(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- //sysf_trace("***** cf_ *****");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMR00201
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SMMMR00201_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMMR00201
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SMMMR00201_onload(obj:Form, e:LoadEventInfo)
- {
- lf_makeRecitem();
-
- fFormReady();
-
- initFormAtLast_MMR01100I();
-
- fCompRightMenuInit(grup_base.tar_0000931001);//주호소
- fCompRightMenuInit(grup_base.tar_0001173001);//현병력
- fCompRightMenuInit(grup_base.tar_0000098001);//과거력
- fCompRightMenuInit(grup_base.tar_0000969001);//통증
- fCompRightMenuInit(grup_base.tar_0000079001);//계통문진
- fCompRightMenuInit(grup_base.tar_0000570001);//신체검진
- fCompRightMenuInit(grup_base.tar_0001019001);//추정진단
- fCompRightMenuInit(grup_base.tar_0000080001);//계획
- fCompRightMenuInit(grup_base.tar_0022826001);//careplan
-
- }
- /****************************************************************************************
- * Components : Static
- * Components ID : Common Static
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택된 Label의 부분서식을 로드하고 펼치거나 접는다.
- ****************************************************************************************/
- function Static_onclick(obj:Static, e:ClickEventInfo)
- {
- expandSection(gItemCds, obj);
- }
- /****************************************************************************************
- * Components : Static
- * Components ID : Common Static
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 선택된 Label의 부분서식을 로드하고 펼치거나 접는다.
- ****************************************************************************************/
- function Static_0022826001_onclick(obj:Static, e:ClickEventInfo)
- {
- expandSection(gItemCds, obj);
- expandSection_MMR00201(obj, e);//20091208 dhkim care plan 확장
- }
- ]]></Script>
- </Form>
- </FDL>
|