123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>통증관리기록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <!-- 그리드인스턴스 -->
- <detlgrup>
- <detlgruplist>
- <stat/>
- <obspartnm/>
- <!-- 통증부위명-->
- <direcnm/>
- <!-- 방향 -->
- <cause/>
- <!-- 원인명 -->
- <flag/>
- <!-- 구분 -->
- <recdd/>
- <!-- 사정일자 -->
- <rectm/>
- <!-- 사정시간 -->
- <symptomid/>
- <!-- 통증양상명칭 -->
- <freq/>
- <!-- 빈도 -->
- <term/>
- <!-- 기간 -->
- <termtm/>
- <!-- 기간(분 전) -->
- <termth/>
- <!-- 기간(시간 전) -->
- <termdd/>
- <!-- 기간(일 전) -->
- <pnt/>
- <!-- 통증점수 -->
- <resn/>
- <!-- 악화/완화요인 -->
- <drugarbt/>
- <!-- 약물중재 -->
- <nondrugarbt/>
- <!-- 비약물중재 -->
- <arbitration/>
- <!-- 약물및비약물중재 -->
- <valu/>
- <!-- 반응평가 -->
- <pid/>
- <!--환자 번호-->
- <instcd/>
- <!--사업장코드-->
- <obsrecseq/>
- <!--통증관리기록순번-->
- <direcid/>
- <!--통증방향ID-->
- <causeid/>
- <!--원인ID-->
- <symptom/>
- <!--통증양상ID-->
- <stat2/>
- <grupcd/>
- <sel/>
- <obspartid/>
- <freqid/>
- <pntid/>
- <lastupdtrid/>
- <genrdd/>
- <genrtm/>
- <recrnm/>
- <tool/>
- <toolid/>
- <painprcpinfo/>
- </detlgruplist>
- </detlgrup>
- <!-- 중증도 및 통증사정 정보 인스턴스 -->
- <sriusgrup>
- <tims/>
- <execdd/>
- <exectm/>
- <totpnt/>
- <clsgrupkind/>
- </sriusgrup>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <patinfocond/>
- <painprcpinfo/>
- </main>
- <!-- 조회조건 인스턴스 -->
- <cond>
- <wardcd/>
- <roomcd/>
- <genrdd/>
- <genrtm/>
- <stdradio/>
- <patientnm/>
- <pid/>
- <zonecd/>
- <nextyn/>
- </cond>
- <hidden>
- <detlgrup_sameinflevl_popmenu>
- <menu>
- <name>재평가</name>
- <func>fAddSameLevlItem</func>
- </menu>
- <menu>
- <name>종료</name>
- <func>fAddSameLevlItemEnd</func>
- </menu>
- </detlgrup_sameinflevl_popmenu>
- <codelist>
- <!-- 그리드 팝업 원인 인스턴스 -->
- <getVOCause>
- <cd/>
- <cdnm/>
- </getVOCause>
- <!-- 그리드 팝업 단계 인스턴스 -->
- <getVOStage>
- <cd/>
- <cdnm/>
- </getVOStage>
- <!-- 그리드 팝업 기저부색 인스턴스 -->
- <getVOColor>
- <cd/>
- <cdnm/>
- </getVOColor>
- <!-- 그리드 콤보 단계, 삼출물 상태 인스턴스 -->
- <getVOState>
- <cd/>
- <cdnm/>
- </getVOState>
- <!-- 그리드 콤보 삼출물 양 인스턴스 -->
- <getVOAmount>
- <cd/>
- <cdnm/>
- </getVOAmount>
- <!-- 그리드 팝업 상처감염증상 인스턴스 -->
- <getVOSympTom>
- <cd/>
- <cdnm/>
- </getVOSympTom>
- <!-- 그리드 팝업 Undermining 인스턴스 -->
- <getVOAngle>
- <cd/>
- <cdnm/>
- </getVOAngle>
- <!-- 그리드 팝업 Dressing 인스턴스 -->
- <getVODressing>
- <cd/>
- <cdnm/>
- </getVODressing>
- </codelist>
- <main>
- <detlgrup/>
- </main>
- </hidden>
- <send/>
- <temp>
- <paminfo/>
- <cond>
- <settingpatient>
- <settingpatientlist/>
- </settingpatient>
- </cond>
- </temp>
- <etc/>
- <viewinfo/>
- <code>
- <codeinfo/>
- </code>
- <tmp>
- <icucdgrup>
- <icucdgruplist>
- <wardnm/>
- <wardcd/>
- </icucdgruplist>
- </icucdgrup>
- </tmp>
- </root>
- </instance>
- <!-- [피부욕창관찰기록,통증관리기록] 콤보 공통코드 조회 submission -->
- <!-- 기준자료 조회이며 피부욕장관찰기록은 사용하나 통증은 현재 사용안함-->
- <submission id="TRMNW04701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/codelist"/>
- <!-- 피부욕창관찰기록, 통증관리기록 조회 submission -->
- <!--중증도및욕창 위험사정 조회 submission -->
- <submission id="TRMNW04703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/sriusgrup"/>
- <!-- 병동, 내환자 조회 submission -->
- <!-- 병실조회 submission -->
- <submission id="TRMNR01003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/roomcdgruplist"/>
- <!-- 병실의 환자 조회 submission -->
- <submission id="TRMNR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/patientgruplist"/>
- <!-- 등록번호에 해당되는 환자의 병동정보 조회 -->
- <submission id="TRMNW04707" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="root/main/patinfolist"/>
- <!-- 통증관리기록 입력/수정/삭제 submisiion -->
- <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
- <submission id="TRMNW04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/icucdgrup"/>
- <!--(20110316) 경북대 응급실 사용 - 구역정보 -->
- <!--(20110317) 경북대 응급실 사용 - 해당 환자 구역정보 -->
- <!-- script start -->
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNW4800.js"/>
- <!-- 피부욕창, 통증관리 기록 에서 사용하는 스크립트 -->
- <script type="javascript" src="../../../emr/carerecweb/js/CareRec.js"/>
- <!-- 간호기록공통스크립트 -->
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <!-- 개발공통 스크립트 -->
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <!-- 간호인증용 스크립트 -->
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var msg = '전체 - 기록된 모든 기록 조회 \r\n종료전(전체) - 기록된 등록/사정의 모든 기록 조회 \r\n종료전(최근입력만) - 등록과 가장 최근의 사정된 기록 조회 \r\n종료 - 종료된 발생부위의 등록과 종료된 기록 조회 ';
- rdo_stdradio.hint = msg;
- model.removeNodeset("/root/main/detlgrup");
- model.refresh();
-
- //초기화(조회조건 세팅, 병동조회)
- finit();
-
- ]]>
- </script>
- <submission id="TRMNW04802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlgrup"/>
- <submission id="TRMNW04705" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init"/>
- <submission id="TXMNW04810" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/detlgrup"/>
- <submission id="TRMNW04708" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/viewinfo/viewdetlgrup"/>
- <submission id="TXMNW04713" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/detlgrup"/>
- <submission id="TRMNW04808" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/viewinfo/viewdetlgrup"/>
- <submission id="TXMNW04813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/detlgrup"/>
- <submission id="TXMNW04814" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/detlgrup"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- <submission id="TRMNR00908" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/settingpatient"/>
- <submission id="TRMNR00921" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cond/settingpatient"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:164px; height:14px; ">
- <![CDATA[통증관리기록 & 통증관리]]>
- </caption>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(getUserId() == 'DEV512' || getUserId() == 'ENR' || getUserId() == 'dev512' || getUserId() == 'enr'){
- HC_homecarecd = opener.javascript.getParameter('homecarecd');//'3090100000';//'3090100000';//
- HC_ioflag = opener.javascript.getParameter('ioflag');//'O';//'I';//
- var pid = opener.javascript.getParameter('pid'); //'551121110';//'11524296';//
- var hngnm = opener.javascript.getParameter('hngnm'); //'김미연';//'이상월';//
- var wardcd = opener.javascript.getParameter('wardcd');//'';//'3050107000';//
- var roomcd = opener.javascript.getParameter('roomcd');//'';//'4003';//
-
- alert('homcarecd :' + HC_homecarecd + ', hc_ioflag :' + HC_ioflag + ', pid : ' + pid + ', hngnm : ' + hngnm + ', wardcd : ' + wardcd + ', roomcd : ' + roomcd);
-
- }
- ]]>
- </script>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:752px; ">
- <!-- 조회조건 영역 시작 -->
- <!-- 조회조건 영역 종료 -->
- <!-- 그리드영역 시작 -->
- <!-- 그리드영역 종료 -->
- <switch id="switch1" style="left:0px; top:30px; width:1190px; height:715px; ">
- <case id="rec" selected="true">
- <group id="grp_sea" style="left:0px; top:5px; width:1185px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1185px; height:70px; font-family:굴림; ">3</shape>
- <!-- 병동 combo -->
- <caption id="ctn_ward" class="search_name" style="left:10px; top:14px; width:74px; height:17px; font-family:굴림; ">병 동 :</caption>
- <select1 id="cmb_wardcd" ref="/root/cond/wardcd" class="combo_s_essential" appearance="minimal" style="left:85px; top:14px; width:139px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/init/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(getNodesetCount("/root/temp/cond/settingpatient/settingpatientlist") > 0){
- model.setValue("/root/temp/cond/settingpatient/settingpatientlist", '');
- }
- // 응급실인 경우 (2011.03.16 Ahn)
- fGetWardChngInfo("N");
-
- //병실정보 조회
- fSearchRoomcd();
- model.setFocus("cmb_roomcd");
-
- if(eERFLAG == "Y"){
- cmb_roomcd.value = model.getValue("/root/roomcdgrup/roomcdgruplist[1]/roomcd");
- //선택한 병실에 해당하는 환자리스트 조회
- fGetCareComPatList(cmb_wardcd.value, cmb_roomcd.value, cmb_zone.value);
- model.setFocus("cmb_erpat");
- }
-
-
- ]]>
- </script>
- </select1>
- <!-- 병실 combo -->
- <caption id="ctn_room" class="search_name" style="left:245px; top:14px; width:69px; height:17px; font-family:굴림; ">병 실 :</caption>
- <select1 id="cmb_roomcd" ref="/root/cond/roomcd" class="combo_search" appearance="minimal" style="left:315px; top:14px; width:71px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/roomcdgrup/roomcdgruplist">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(getNodesetCount("/root/temp/cond/settingpatient/settingpatientlist") > 0){
- model.setValue("/root/temp/cond/settingpatient/settingpatientlist", '');
- }
- //해당병실의 환자를 조회
- fSearchPatInfo();
- ]]>
- </script>
- </select1>
- <!-- 환자명 combo -->
- <caption id="ctn_pid" class="search_name" style="left:400px; top:15px; width:139px; height:17px; font-family:굴림; ">환자명/등록번호 :</caption>
- <select1 id="cmb_patientnm" ref="/root/cond/patientnm" class="combo_search" appearance="minimal" style="left:539px; top:15px; width:121px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/patientgrup/patientgruplist">
- <label ref="patientnm"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- if(getNodesetCount("/root/temp/cond/settingpatient/settingpatientlist") > 0){
- model.setValue("/root/temp/cond/settingpatient/settingpatientlist", '');
- }
-
- //통증기록조회
- var pid = model.getValue(cmb_patientnm.attribute('ref'));
-
- if(pid == ''){
- pid = model.getValue(ipt_pid.attribute('ref'));
- }else{
- //병실내 환자정보 선택시 환자등록번호 setting
- model.setValue(ipt_pid.attribute('ref'), pid);
- model.refresh();
- }
-
- fSearch();
-
-
- var sPid = model.getValue(ipt_pid.attribute('ref'));
- var sOrdtype = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/ordtype" );
- var sIndd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/indd" );
- var sCretno = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/cretno" );
- var sInstcd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/instcd" );
-
- param = sOrdtype + "▦"
- + sPid + "▦"
- + sIndd + "▦"
- + sCretno + "▦"
- + sInstcd + "▦"
- + "▦" ;
-
- setParameter("condparam", param);
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- model.makeNode(xPamInfoPath);
- var node = getPatientInfoDetails(xPamInfoPath) ;
-
- if(getNodesetCount("/root/temp/cond/settingpatient/settingpatientlist") > 0){
- model.setValue(cmb_mypatlist.attribute("ref"), sPid);
- cmb_mypatlist.refresh();
- }
- ]]>
- </script>
- </select1>
- <!-- 등록번호 inputbox -->
- <input id="ipt_pid" ref="/root/cond/pid" class="input_search" maxlength="10" style="left:669px; top:15px; width:70px; height:19px; font-family:굴림; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode == "13") {
- setInputNodeCurText();
- var pid = model.getValue("/root/cond/pid");
- if(pid == "" ){
- messageBox("등록번호","C001");
- model.setfocus("ipt_pid");
- return;
-
- }else{
- if(!HC_isHomeCare || (HC_isHomeCare && HC_ioflag == 'I')){
- //등록번호에 해당되는 병동, 병실정보를 조회한다.
- fGetPidWardInfo(pid, "Chg");
- }
-
- fSearchRecInfo();
- //조회후 그리드의 발생부위, 발생일자를 머지
- fMergeGenrAreaDD();
-
- }
- }
- ]]>
- </script>
- </input>
- <!-- 환자검색 돋보기 button -->
- <button id="btn_patSearch" class="icon_search" style="left:747px; top:16px; width:16px; height:16px; font-family:굴림; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/cond");
- //환자번호 copy
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.setValue("/root/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/cond/patientnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
-
- model.refresh();
- }
-
- var pid = model.getValue('/root/cond/pid');
- //환자번호를 가지고 병동, 병실을 조회하여 조회조건에 세팅한다.
- fGetPidWardInfo(pid);
-
- //통증 기록 조회
- fSearch();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="search_name" style="left:400px; top:40px; width:86px; height:17px; font-family:굴림; ">기준일시 :</caption>
- <!-- 기준일시(발생일자) inputdatebox -->
- <input id="ipt_genrdd" ref="/root/cond/genrdd" class="input_default" inputtype="date" style="left:490px; top:40px; width:85px; height:19px; font-family:굴림; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </input>
- <!-- 기준일시(발생시간) inputbox -->
- <input id="ipt_genrtm" ref="/root/cond/genrtm" class="input_search" format="hh:nn" validateformat="true" style="left:577px; top:40px; width:52px; height:19px; font-family:굴림; ">
- <hint>
- <![CDATA[시간을 입력하세요[ ex)23:11 ]]]>
- </hint>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if(event.keyCode== 13){
- fSearch();
- }
- ]]>
- </script>
- </input>
- <!-- 조회기준 radiobutton -->
- <select1 id="rdo_stdradio" ref="/root/cond/stdradio" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:85px; top:40px; width:305px; height:19px; font-family:굴림; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>종료전(전체)</label>
- <value>1</value>
- </item>
- <item>
- <label>종료전(최근입력만)</label>
- <value>2</value>
- </item>
- <item>
- <label>종료</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select1>
- <!-- 그리드위의 중증도사정, 욕창사정 조회영역 시작 -->
- <!-- 그리드위의 중증도사정, 욕창사정 조회영역 종료 -->
- <line id="line13" class="line_4" style="x1:1020px; y1:10px; x2:1020px; y2:62px; font-family:굴림; "/>
- <caption id="ctn_searchflag" class="search_name" style="left:10px; top:40px; width:76px; height:17px; font-family:굴림; ">구 분 :</caption>
- <group id="grp_search" visibility="hidden" style="left:1020px; top:4px; width:155px; height:65px; font-family:굴림; background-color:#fffbf2; ">
- <button id="button4" class="btn1_letter2" style="left:10px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_save" style="left:1025px; top:4px; width:155px; height:65px; font-family:굴림; background-color:#fffbf2; ">
- <button id="button1" class="btn1_letter2" style="left:90px; top:7px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택 시 구역정보 기억
- eSECTIONCD = model.getValue("/root/cond/zonecd");
- fDel();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn1_letter6" style="left:5px; top:37px; width:104px; height:22px; ">
- <caption>발생부위추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- caption1.value="AAAA";
- // 선택 시 구역정보 기억
- eSECTIONCD = model.getValue("/root/cond/zonecd");
- fAddGenArea();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn1_letter4" style="left:5px; top:7px; width:80px; height:22px; ">
- <caption>인증저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택 시 구역정보 기억
- eSECTIONCD = model.getValue("/root/cond/zonecd");
- fSignSave();
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" visibility="hidden" style="left:990px; top:40px; width:20px; height:20px; font-family:굴림; ">caption1</caption>
- <select1 id="cmb_erpat" ref="/root/cond/patientnm" class="combo_s_essential" visibility="hidden" appearance="minimal" itemcount="30" style="left:539px; top:15px; width:211px; height:19px; font-family:굴림; ">
- <choices>
- <itemset nodeset="/root/patientgrup/patientgruplist">
- <label ref="etcinfo"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
-
- // 선택 시 구역정보 기억
- eSECTIONCD = model.getValue("/root/cond/zonecd");
-
- //통증기록조회
- var pid = model.getValue(cmb_erpat.attribute('ref'));
-
- if(pid == ''){
- pid = model.getValue(ipt_pid.attribute('ref'));
- }else{
- //병실내 환자정보 선택시 환자등록번호 setting
- model.setValue(ipt_pid.attribute('ref'), pid);
- model.refresh();
- }
-
- fSearch("NoChg");
- var sPid = model.getValue(ipt_pid.attribute('ref'));
- var sOrdtype = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/ordtype" );
- var sIndd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/indd" );
- var sCretno = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/cretno" );
- var sInstcd = model.getValue("/root/patientgrup/patientgruplist[pid ='"+sPid+"']/instcd" );
-
- param = sOrdtype + "▦"
- + sPid + "▦"
- + sIndd + "▦"
- + sCretno + "▦"
- + sInstcd + "▦"
- + "▦" ;
-
- setParameter("condparam", param);
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- model.makeNode(xPamInfoPath);
- var node = getPatientInfoDetails(xPamInfoPath) ;
- ]]>
- </script>
- </select1>
- <select1 id="cmb_zone" ref="/root/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:315px; top:14px; width:71px; height:19px; font-family:굴림; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
- <choices>
- <itemset nodeset="/root/temp/zoneinfo/zonelist">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //해당 병실 환자정보 clear
- if(getNodesetCount("/root/temp/cond/settingpatient/settingpatientlist") > 0){
- model.setValue("/root/temp/cond/settingpatient/settingpatientlist", '');
- }
- model.setValue('/root/cond/patientnm', '');
- model.setValue('/root/cond/pid', '');
- model.removenode('/root/patientgrup');
-
- // 응급실정보 추가 (2011.03.16 Ahn)
- //alert(cmb_room.value);
- fGetCareComPatList(cmb_wardcd.value, cmb_roomcd.value, cmb_zone.value);
- model.setFocus("cmb_erpat");
-
- ]]>
- </script>
- </select1>
- <caption id="cap_mypatlist" class="search_name" style="left:780px; top:15px; width:110px; height:17px; font-family:굴림; ">내환자 정보 :</caption>
- <select1 id="cmb_mypatlist" ref="/root/temp/cond/settingpatient/settingpatientlist" class="combo_s_essential" appearance="minimal" style="left:890px; top:15px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/cond/settingpatient/settingpatientlist">
- <label ref="patnm"/>
- <value ref="pid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSetParam("SettingPat", cmb_mypatlist.focusIndex + 1);
- //model.setFocus("body");
-
- //통증기록조회
- var pid = model.getValue(cmb_mypatlist.attribute('ref'));
- //alert(pid);
-
- if(pid == ''){
- pid = model.getValue(ipt_pid.attribute('ref'));
- }else{
- //병실내 환자정보 선택시 환자등록번호 setting
- model.setValue(ipt_pid.attribute('ref'), pid);
- model.refresh();
- }
-
- fSearch2();
-
- var sPid = model.getValue(ipt_pid.attribute('ref'));
- var sOrdtype = model.getValue("/root/temp/cond/settingpatient/settingpatientlist[pid ='"+sPid+"']/ordtype" );
- var sIndd = model.getValue("/root/temp/cond/settingpatient/settingpatientlist[pid ='"+sPid+"']/indd" );
- var sCretno = model.getValue("/root/temp/cond/settingpatient/settingpatientlist[pid ='"+sPid+"']/cretno" );
- var sInstcd = model.getValue("/root/temp/cond/settingpatient/settingpatientlist[pid ='"+sPid+"']/instcd" );
-
- param = sOrdtype + "▦"
- + sPid + "▦"
- + sIndd + "▦"
- + sCretno + "▦"
- + sInstcd + "▦"
- + "▦" ;
-
- setParameter("condparam", param);
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- model.makeNode(xPamInfoPath);
- var node = getPatientInfoDetails(xPamInfoPath) ;
-
- ]]>
- </script>
- </select1>
- </group>
- <line id="line2" class="line_1" style="x1:0px; y1:294px; x2:1188px; y2:294px; "/>
- <datagrid id="grd_detlgrup" nodeset="/root/main/detlgrup/detlgruplist" class="datagrid2" visibility="visible" allowuserresize="true" autoresize="false" autosizemouse="true" caption="상태^상태2^통증부위^방향^원인^구분^선택^사정일자^시간^통증양상^빈도^발생구분^기간
(분 전)^기간
(시간 전)^기간
(일 전)^발생구분id^기간^사정도구^통증점수^악화요인
완화요인^약물 중재^비약물 중재^약물 및 비약물 중재^환자반응평가^기록자^caption7^caption1^caption2^caption3^caption6^caption5^caption4^caption8^caption9^caption10^caption11^caption12^caption13^nondrugarbtid^pnt1^pnt2^pnt3^pnt4^pnt5^caption14^cnps1^cnps2^cnps3^cnps4" colsep="^" colwidth="30, 30, 62, 42, 100, 64, 24, 85, 38, 80, 60, 60, 60, 60, 49, 0, 119, 63, 62, 75, 68, 77, 75, 78, 75, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:296px; width:1187px; height:402px; ">
- <col ref="stat" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>i</label>
- <value>i</value>
- </item>
- <item>
- <label>u</label>
- <value>u</value>
- </item>
- <item>
- <label>d</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="stat2" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>i</label>
- <value>i</value>
- </item>
- <item>
- <label>u</label>
- <value>u</value>
- </item>
- <item>
- <label>d</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col editable="false" imemode="alpha" key="true" ref="obspartnm" type="inputbutton" maxlength="10" style="left:50px; top:43px; width:118px; height:23px; text-align:center; "/>
- <col editable="false" imemode="alpha" ref="direcnm" type="inputbutton" style="text-align:center; "/>
- <col editable="false" imemode="alpha" ref="cause" type="inputbutton" style="text-align:center; "/>
- <col disabled="true" editmode="search" imemode="alpha" ref="flag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>초기평가</label>
- <value>00</value>
- </item>
- <item>
- <label>재평가</label>
- <value>01</value>
- </item>
- <item>
- <label>종료</label>
- <value>99</value>
- </item>
- </choices>
- </col>
- <col ref="sel" type="checkbox"/>
- <col ref="recdd" type="inputdate"/>
- <col ref="rectm" type="input" format="hh:nn"/>
- <col editable="false" ref="symptom" type="inputbutton" style="text-align:center; "/>
- <col editable="false" ref="freq" type="inputbutton" style="text-align:center; "/>
- <col editable="false" ref="paingb" type="inputbutton" style="text-align:center; "/>
- <col imemode="alpha" key="true" ref="termtm" type="inputbutton" format="999" style="text-align:right; "/>
- <col imemode="alpha" key="true" ref="termth" type="inputbutton" format="999" style="text-align:right; "/>
- <col imemode="alpha" key="true" ref="termdd" type="inputbutton" format="999" style="text-align:right; "/>
- <col ref="paingbid"/>
- <col ref="term" type="input" visibility="hidden" maxlength="20" style="text-align:center; "/>
- <col editable="false" ref="tool" type="inputbutton" style="text-align:center; "/>
- <col editable="false" ref="pnt" type="inputbutton" style="text-align:center; "/>
- <col ref="resn" type="input" style="left:958px; top:32px; width:126px; height:23px; "/>
- <col ref="drugarbt" type="inputbutton"/>
- <col ref="nondrugarbt" type="inputbutton"/>
- <col ref="arbitration" type="input" visibility="hidden" style="left:1084px; top:32px; width:110px; height:23px; "/>
- <col ref="valu" type="input" style="left:1030px; top:32px; width:78px; height:23px; "/>
- <col ref="lastupdtrid" type="output"/>
- <col ref="grupcd" type="input" visibility="hidden" style="left:1161px; top:32px; width:100px; height:23px; "/>
- <col ref="pid" type="input" visibility="hidden"/>
- <col ref="obspartid" type="input" visibility="hidden" style="left:1151px; top:32px; width:100px; height:23px; "/>
- <col ref="pntid" type="input" visibility="hidden"/>
- <col ref="symptomid" type="input" visibility="hidden"/>
- <col ref="direcid" type="input" visibility="hidden"/>
- <col ref="causeid" type="input" visibility="hidden"/>
- <col ref="freqid" type="input" visibility="hidden"/>
- <col ref="obsrecseq" type="input" visibility="hidden"/>
- <col ref="genrdd" type="input" visibility="hidden"/>
- <col ref="genrtm" type="input" visibility="hidden"/>
- <col ref="recrnm" type="input" visibility="hidden"/>
- <col ref="toolid" type="input" visibility="hidden"/>
- <col ref="nondrugarbtid" type="input" visibility="hidden"/>
- <col ref="pnt1" visibility="hidden"/>
- <col ref="pnt2" visibility="hidden"/>
- <col ref="pnt3" visibility="hidden"/>
- <col ref="pnt4" visibility="hidden"/>
- <col ref="pnt5" visibility="hidden"/>
- <col ref="painprcpinfo" visibility="hidden"/>
- <col ref="cnps1" visibility="hidden"/>
- <col ref="cnps2" visibility="hidden"/>
- <col ref="cnps3" visibility="hidden"/>
- <col ref="cnps4" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var iCos = grd_detlgrup.col;
- var att = grd_detlgrup.colAttribute(iCos, "ref");
- //비약물중재 추가_20110414_SMY
- if( att == "obspartnm" || att == "direcnm" || att == "cause" || att == "symptom" || att=="freq" || att=="pnt" || att=="paingb" || att == "tool" || att == "nondrugarbt" || att == "termtm" || att == "termth" ||att == "termdd"){ //통증부위 방향 원인 통증양상 통증점수 비약물중재
- fPopupBedSoreData(grd_detlgrup.row);
- //약물중재 클릭시 처방리스트 팝업 추가_20110419_SMY
- }else if( att == "drugarbt"){
- fPopupPrcpData(grd_detlgrup.row);
- }
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //상태를 수정상태로 변경 return;
- fChangedGridCol();
-
- //체크 해제및 체크 하면 같은 그룹내의 데이터를 모두 체크 해제 및 체크상태로 바꾼다.
- /************************************ 미구현내역******************************************/
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fMouseDownGridRow();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var iCos = grd_detlgrup.col;
- var att = grd_detlgrup.colAttribute(iCos, "ref");
- if(att == "fileimg"){//첨부파일
- fOpenFilePopup();
- }else if(att == "underangle" || att == 'underdepth'){//undermining
- fPopupUndermining();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var iRow=grd_detlgrup.row;
-
- if (grd_detlgrup.col==grd_detlgrup.colRef("flag")) {
- var ChkSData=model.getValue("/root/main/detlgrup/detlgruplist" + '[' + (iRow) + ']/lastupdtrid') ;
- var ChkFlag= model.getValue("/root/main/detlgrup/detlgruplist" + '[' +(iRow) + ']/flag') ;
-
- if (ChkFlag=="00" && caption1.value=="AAAA") {
- alert(" 발생부위추가 후 초기평가 하시기 바랍니다");
- return;
- }
- }
-
- if(grd_detlgrup.col == grd_detlgrup.colRef("sel")){
-
- //체크 해제및 체크 하면 같은 그룹내의 데이터를 모두 체크 해제 및 체크상태로 바꾼다.
- /************************************ 미구현내역******************************************/
-
-
- //체크 해제하면 update상태를 select상태로 변경한다.
- fChangeStatus(grd_detlgrup.row);
-
- //발생부위별로 머지한다.
-
- fMergeGenrAreaDD();
- }
-
- if(grd_detlgrup.mouseCol == grd_detlgrup.colRef("termtm")) {
- if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/flag") == "00"){
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termtm")) = false;
- }else{
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termtm")) = true;
- return;
- }
- }
-
- if(grd_detlgrup.mouseCol == grd_detlgrup.colRef("termth")) {
- if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/flag") == "00"){
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termth")) = false;
- }else{
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termth")) = true;
- return;
- }
- }
-
- if(grd_detlgrup.mouseCol == grd_detlgrup.colRef("termdd")) {
- if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/flag") == "00"){
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termdd")) = false;
- }else{
- grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termdd")) = true;
- return;
- }
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption2" visibility="hidden" style="left:0px; top:80px; width:397px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 평가주기
- * 초기평가 : 입원 시 24시간 이내 시행
- * 재평가 : 1회/duty
- * 대상자
- - NRS, FPRS, FLACC점수 4점이상
- - 수술과 침습적 처치를 시행한 경우
- - 자가통증조절장치를 통한 지속적 주입을 하는 환자
- - 마약성 패취, 1일 2회 이상 정규적인 마약 및 일반 진통제 투여 등
- 진통제 효과가 지속적으로 유지되는 경우
- - 새로운 통증을 호소하거나 통증 양상이 변화하는 경우
- - 약물중재를 시행한 경우
- * 제외대상
- - 의식수준저하 : Deep sedation, semi-coma, coma
- - 산통]]>
- </caption>
- <caption id="caption3" visibility="hidden" style="left:395px; top:80px; width:396px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 통증관리기록
- * 초기평가 시 통증기록
- : 발생부위추가 버튼이용하여 행 추가한다.
- 이용하여 정보 선택 후 인증저장한다.
- * 재평가시 통증기록
- : 구분컬럼의 초기평가된 행에 오른쪽마우스 클릭하여 '재평가' 선택
- 행 추가 후 기록한다.
- ]]>
- </caption>
- <caption id="caption4" visibility="hidden" style="left:790px; top:80px; width:393px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 결과해석
- * NRS
- : 0점 통증없음, 경도1~4점, 중간정도5~6점, 심함7~10점(상상할 수
- 없을 정동의 심한통증)
- * FPRS
- : 0점 통증없음, 약한통증~2점, 중증도통증~4점, 심한통증~6점,
- 극심한통증~8점, 최악의통증 ~10점
- * FLACC
- : 0점 통증없음, 1~3점 약간불편함, 4~6점 중간정도 불편함, 7~10점
- 매우 불편하고 아픈상태
- ]]>
- </caption>
- <caption id="caption5" style="left:1162px; top:698px; width:26px; height:14px; ">[표]</caption>
- <caption id="caption7" visibility="hidden" style="left:0px; top:80px; width:397px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 평가주기
- * 초기평가 : 입원 시 24시간 이내 시행
- * 재평가 : 1회/duty
- * 대상자
- - NRS, FPRS, FLACC 4점이상, CNPS 3점 이상
- - 자가 통증 조절 장치를 통한 지속적 주입을 하는 환자
- - 마약성 패취, 1일 2회 이상 정규적인 마약 및 일반 진통제
- 투여 등으로 진통제의 효과가 지속적으로 유지하는 경우
- - 수술과 침습적 처치를 시행한 후
- - 새로운 통증을 호소하거나 통증 양상이 변화하는 경우
- - 통증으로 지속적 또는 정규적 약물중재 외에 추가적인 약물
- 중재를 시행한 경우
- * 제외대상
- - 의식상태가 Coma인 경우 - CPR과 같은 응급상황
- - 산통
- ]]>
- </caption>
- <caption id="caption10" visibility="hidden" style="left:395px; top:80px; width:396px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 통증관리기록
- * 초기평가 시 통증기록
- : 발생부위추가 버튼이용하여 행 추가한다.
- 이용하여 정보 선택 후 인증저장한다.
- * 재평가시 통증기록
- : 구분컬럼의 초기평가된 행에 오른쪽마우스 클릭하여 '재평가' 선택
- 행 추가 후 기록한다.
- * 통증평가 시 통증의 유무, 위치, 강도, 양상, 빈도, 기간을 사정하여
- 기록한다.(단, 재평가시에는 "기간" 기록 제외)
- * 종료시점
- - NRS, FPRS, FLACC 4점 미만, CNPS 3점 미만이고 정규적인
- 진통제 투여가 없을 경우
- ]]>
- </caption>
- <caption id="caption9" visibility="hidden" style="left:790px; top:80px; width:393px; height:212px; background-color:#ffffff; border-color:#ff0000; border-style:solid; ">
- <![CDATA[ 결과해석
- * NRS
- : 0점 통증없음, 경도1~4점, 중간정도5~6점, 심함7~10점(상상할 수
- 없을 정동의 심한통증)
- * FPRS
- : 0점 통증없음, 약한통증~2점, 중증도통증~4점, 심한통증~6점,
- 극심한통증~8점, 최악의통증 ~10점
- * FLACC
- : 0점 통증없음, 1~3점 약간불편함, 4~6점 중간정도 불편함, 7~10점
- 매우 불편하고 아픈상태
- * CNPS
- : 0점 통증없음, 1~2점 경도 통증, 3~5점 중증도 통증, 6~9점 심한통증
- ]]>
- </caption>
- <img id="img1" src="..\..\..\emr\commonweb\images\icon_btn.gif" style="left:404px; top:129px; width:14px; height:14px; background-stretch:stretch; "/>
- </case>
- <case id="graph">
- <iviewer id="iviewer1" src="..\..\..\emr\carerecweb\xrw\SMMNR08400_통증관리.xrw" style="left:0px; top:0px; width:1187px; height:710px; "/>
- </case>
- </switch>
- <button id="btn_rec" class="btn_sw" group="tab" selected="true" style="left:0px; top:9px; width:100px; height:22px; ">
- <caption>통증관리기록</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("rec");
- model.refresh();
- ]]>
- </script>
- <toggle case="case_nm" ev:event="onclick"/>
- </button>
- <button id="btn_graph" class="btn_sw" group="tab" style="left:99px; top:9px; width:100px; height:22px; ">
- <caption>통증관리</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.toggle("graph");
- model.refresh();
- ]]>
- </script>
- <toggle case="case_td" ev:event="onclick"/>
- </button>
- <select id="chk_nextyn" ref="/root/cond/nextyn" overflow="visible" appearance="full" style="left:930px; top:80px; width:80px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>환자넘기기</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_help" class="btn4_letter3" style="left:1123px; top:7px; width:68px; height:22px; ">
- <caption>도움말</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var scrnid = getScreenID();
-
- fGetHelpList(scrnid);
-
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|