123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 판정코드 관리
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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="">
- <init>
- <baseinfo>
- <healexamdetlflag/>
- </baseinfo>
- </init>
- <main>
- <codeinfo>
- <item>
- <healexamdetlflag/>
- <judgseq/>
- <judgflag/>
- <judgdetlflag/>
- <judgflagnm/>
- <testcd/>
- <testnm/>
- <manwomflag/>
- <agemax/>
- <agemin/>
- <dgflag/>
- <judgcd/>
- <judgdetlcd/>
- <judgnm/>
- <judgrslt/>
- <onersltref/>
- <refmax/>
- <refmin/>
- <charref1/>
- <charref2/>
- <charref3/>
- <charref4/>
- <charref5/>
- <etcrslt/>
- <rems/>
- <instcd/>
- <dulppkgcd/>
- <dulppkgnm/>
- </item>
- </codeinfo>
- </main>
- <send>
- <item>
- <healexamdetlflag/>
- <instcd/>
- </item>
- </send>
- </root>
- </instance>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
-
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/healexamdetlflag"/>
- <submission id="TXAHB00104" method="post" ref="/root/main/codeinfo/item" replace="instance" resultref="/root/send/item"/>
- <submission id="TRAHA02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/codeinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- *기본정보 가져오기
- */
- function fGetBaseInfo(){
-
- zbcfGetCodeList( new Array("A0070"),
- new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
-
- ) );
- model.makeValue("/root/send/item/instcd",getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/item/healexamdetlflag","G01");
- // submit("TRAHA02701");
- model.refresh();
-
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1207;">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:212px; height:14px; ">일반건강검진 자동판정 코드 관리</caption>
- </group>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:15px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:5px; top:21px; width:86px; height:17px; ">검진구분 :</caption>
- <select1 id="radio1" ref="/root/send/item/healexamdetlflag" overflow="visible" appearance="full" cols="10" style="left:95px; top:20px; width:865px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_rsrvlst" nodeset="/root/main/codeinfo/item" caption="판정구분^판정일련번호^판정구분^판정세부코드^판정명^검사코드^검사명^남여구분^나이상^나이하^1/2차구분^판정코드^판정상세코드^판정명^판정결과^1차검사참조여부^참고치상^참고치하^문자결과1^문자결과2^문자결과3^문자결과4^문자결과5^기타결과^2차검사패키지코드^2차검사패키지명^기관코드^brthareacnts" colsep="^" colwidth="89, 56, 54, 72, 120, 74, 82, 55, 44, 49, 49, 59, 76, 120, 132, 64, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1195px; height:675px; ">
- <col explorerbar="sortshow" ref="healexamdetlflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshow" ref="judgseq" type="input" visibility="hidden"/>
- <col ref="judgflag"/>
- <col ref="judgdetlflag"/>
- <col ref="judgflagnm" type="inputbutton"/>
- <col ref="testcd" type="inputbutton"/>
- <col ref="testnm" type="input"/>
- <col ref="manwomflag" type="combo" format="yyyy-mm-dd hh:nn">
- <choices>
- <item>
- <label>남</label>
- <value>1</value>
- </item>
- <item>
- <label>여</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="agemax" type="input" format="yyyy-mm-dd"/>
- <col ref="agemin" type="input"/>
- <col ref="dgflag" type="combo">
- <choices>
- <item>
- <label>1차</label>
- <value>1</value>
- </item>
- <item>
- <label>2차</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="judgcd" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="judgdetlcd"/>
- <col ref="judgnm" type="inputbutton"/>
- <col ref="judgrslt" type="input"/>
- <col ref="onersltref" type="combo">
- <choices>
- <item>
- <label>참조</label>
- <value>1</value>
- </item>
- <item>
- <label>참조하지 않음</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="refmax" type="input"/>
- <col ref="refmin" type="input"/>
- <col ref="charref1" type="input"/>
- <col ref="charref2" type="input"/>
- <col ref="charref3" type="input"/>
- <col ref="charref4" type="input"/>
- <col ref="charref5" type="input"/>
- <col ref="etcrslt" type="input"/>
- <col ref="dulppkgcd" type="input"/>
- <col ref="dulppkgnm" type="inputbutton"/>
- <col ref="instcd" type="input"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if( grd_rsrvlst.col == grd_rsrvlst.colRef("testcd")) {
- model.removenode("/root/tmp");
- fGetCalScorCd( "cd", "", "U"/*bMultiyn*/ , "/root/temp/templst" /*vMultiDestXPath*/, "" /*vCdDestXPath*/, "" /*vNmDestXPath*/, "" /*vAmtDestXPath*/);
- if (model.getValue("/root/tmp/sel/testcd")!=""){
- var idx = grd_rsrvlst.row;
- model.makeValue("/root/main/codeinfo/item["+idx+"]/testcd",model.getValue("/root/tmp/sel/testcd"));
- model.makeValue("/root/main/codeinfo/item["+idx+"]/testnm",model.getValue("/root/tmp/sel/testnm"));
- }
- } else if (grd_rsrvlst.col==grd_rsrvlst.colRef("judgflagnm")){
- fGetAutoCode("1"); //세부정보구분 , 1/2차구분
- } else if (grd_rsrvlst.col==grd_rsrvlst.colRef("dulppkgnm")){
- fGetPkgCd("SMAHA00100", "P", "N","nm" , "" , model.getValue("/root/send/item/healexamdetlflag"), "" , "/root/main/info/rsrvacptinfo/item");
- var idx = grd_rsrvlst.row;
- model.makeValue("/root/main/codeinfo/item["+idx+"]/dulppkgcd",model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
- model.makeValue("/root/main/codeinfo/item["+idx+"]/dulppkgnm",model.getValue("/root/main/info/rsrvacptinfo/item/pkgnm"));
- model.refresh();
-
- }else {
- if (model.getValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/dgflag")!=""){
- fGetAutoCode("2",model.getValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/dgflag")); //세부정보구분 , 1/2차구분
- }else{
- messageBox("1/2차구분을", "E007");
- }
- }
- ]]>
- </script>
- </datagrid>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(var i=1;i<grd_rsrvlst.rows;i++){
- model.makeValue("/root/main/item["+i+"]/instcd",getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/main/item["+i+"]/judgseq",i);
- }
- submit("TXAHB00104");
- model.removeNodeset("/root/main/codeinfo");
-
- model.removenodeset("root/send/item");
- model.removenodeset("root/send");
- model.makeValue("/root/send/instcd",getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/healexamdetlflag","G01");
-
- model.makeValue("/root/send/item/instcd",getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/item/healexamdetlflag","G01");
-
- submit("TRAHA02701");
-
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_del" class="btn2_letter3" style="left:1136px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_sicklst.addStatus(grd_sicklst.row, "delete");
- deleteSelectedRows(grd_rsrvlst,true);
- grd_rsrvlst.addStatus(grd_rsrvlst.row, "delete");
- grd_rsrvlst.rowStatus(grd_rsrvlst.row) = 4;
- model.makeValue("/root/main/codeinfo/item["+grd_rsrvlst.row+"]/mode" , "D");
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter3" style="left:1080px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rsrvlst.addRow();
- grd_rsrvlst.valueMatrix(grd_rsrvlst.rows -1,grd_rsrvlst.colRef("manwomflag")) = "1";
- grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("agemax")) = "200";
- grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("agemin")) = "0";
- grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("dgflag")) = "1";
- grd_rsrvlst.valueMatrix(grd_rsrvlst.rows-1,grd_rsrvlst.colRef("onersltref")) = "2";
-
- grd_rsrvlst.editCell();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter9" style="left:958px; top:50px; width:119px; height:19px; ">
- <caption>질환별 2차검진설정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPAHB01200");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|