123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423 |
- <?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>
- <statslist>
- <item>
- <title/>
- <inreplcnt/>
- <inreplpatcnt/>
- <innonreplcnt/>
- <innonreplpatcnt/>
- <inexeccnt/>
- <inpatcnt/>
- <inprcpcnt/>
- <outreplcnt/>
- <outreplpatcnt/>
- <outnonreplcnt/>
- <outnonreplpatcnt/>
- <outexeccnt/>
- <outpatcnt/>
- <outprcpcnt/>
- </item>
- </statslist>
- </main>
- <send>
- <srchfromdd/>
- <srchtodd/>
- <srchioflag>A</srchioflag>
- <srchwardcd/>
- <wardcd/>
- <wardnm/>
- <drugcd/>
- <drugnm/>
- <sympcnts/>
- <symp/>
- <casrslt/>
- <serigrde/>
- <sympmnftgrde/>
- <comflag/>
- <comdesc/>
- <comnm/>
- <prodcmpycd/>
- <prodcmpynm/>
- <totscr/>
- <naranjocmt/>
- </send>
- <init>
- <baseinfo>
- <tmedcnst>
- <A0036/>
- </tmedcnst>
- </baseinfo>
- </init>
- <hidden>
- <srchinfo>
- <srchfromdd/>
- <srchtodd/>
- <wardcd/>
- <wardnm/>
- <drugcd/>
- <drugnm/>
- <sympcnts/>
- <casrslt/>
- <serigrde/>
- <sympmnftgrde/>
- <comflag/>
- <comdesc/>
- <prodcmpycd/>
- <prodcmpynm/>
- <totscr/>
- <naranjocmt/>
- </srchinfo>
- </hidden>
- <temp>
- <srchgrupid>
- <drugcd/>
- <comflag/>
- </srchgrupid>
- <srchinfo>
- <ward/>
- </srchinfo>
- <receivedata>
- <receiveref/>
- <srchflag/>
- <srchcnts/>
- <drugkind/>
- <receivedrugpnm/>
- <receivedrugflag/>
- <receivedrugcom/>
- </receivedata>
- <drugcd/>
- <drugcdlist>
- <drugcdlist>
- <drugcd/>
- <drugnm/>
- <comdesc/>
- <prodcmpycd/>
- <prodcmpynm/>
- </drugcdlist>
- </drugcdlist>
- </temp>
- <popdata1/>
- </root>
- </instance>
- <submission id="TRADC00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/srchgrupid" replace="instance" resultref="/root/temp/drugcdlist"/>
- <submission id="TRADS02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statslist"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
- <script type="javascript">
- <![CDATA[
- function fInit() {
- var rexObj = makeReportPreview(0,106,1195,634);
-
- // 날짜 초기화
- var d = new Date();
-
- ipt_fromdd.value = d.getAddDate(-7).getDateFormat();
- ipt_todd.value = getCurrentDate();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //do something
- fInit();
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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:200px; height:13px; ">약물부작용 통계</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:100px; x2:1195px; y2:100px; "/>
- <group id="group1" style="left:0px; top:10px; width:1195px; height:85px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_4" style="x1:1110px; y1:6px; x2:1110px; y2:76px; "/>
- <button id="btn_sea" class="btn1_letter2" navindex="15" style="left:1120px; top:29px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (submit("TRADS02201")) {
- exeReportPreview("RPADS01714", "XMLSTR", "/root/main/statslist/item");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:15px; top:15px; width:97px; height:17px; ">회신일자 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:115px; top:15px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="3" inputtype="date" format="yyyy-mm-dd" style="left:233px; top:15px; width:100px; height:19px; "/>
- <caption id="caption5" class="search_no_b" style="left:218px; top:15px; width:12px; height:17px; ">~</caption>
- <caption id="caption3" class="search_name" style="left:15px; top:55px; width:86px; height:17px; ">유해증상 :</caption>
- <caption id="caption4" class="search_name" style="left:620px; top:15px; width:86px; height:17px; ">처방코드 :</caption>
- <caption id="caption10" class="search_name" style="left:345px; top:55px; width:86px; height:17px; ">인과관계 :</caption>
- <caption id="caption12" class="search_name" style="left:620px; top:55px; width:85px; height:17px; ">심각도 :</caption>
- <caption id="caption13" class="search_name" style="left:845px; top:55px; width:111px; height:17px; ">증상발현정도 :</caption>
- <select1 id="cmb_serigrde" ref="/root/send/serigrde" class="combo_search" navindex="13" appearance="minimal" style="left:705px; top:55px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value></value>
- </item>
- <item>
- <label>serious</label>
- <value>S</value>
- </item>
- <item>
- <label>non-serious</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="chk_ioflag" ref="/root/send/srchioflag" class="radio_search" navindex="4" appearance="full" cols="3" overflow="visible" sep="," style="left:415px; top:15px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:346px; top:15px; width:70px; height:17px; ">구 분 :</caption>
- <input id="ipt_drugnm" ref="/root/send/drugnm" class="input_search" navindex="7" style="left:965px; top:15px; width:140px; height:19px; "/>
- <input id="ipt_drugcd" ref="/root/send/drugcd" class="input_search" navindex="5" style="left:715px; top:15px; width:140px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (ipt_drugcd.value == "") {
- ipt_drugnm.value = "";
- }
- ]]>
- </script>
- </input>
- <button id="btn_drugcd" class="icon_search" navindex="6" style="left:859px; top:15px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //DIF검색
- model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref");
- model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm");
- model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag");
- model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom");
- model.makeValue("/root/temp/reqdata/send/reqpid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.resetInstanceNode("/root/temp/receivedata");
-
- modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata");
- //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata");
- if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){
- if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){
- var drugcd = model.getValue("/root/temp/receivedata/receiveref");
- var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm");
- var sReceivedrugflag = model.getValue("/root/temp/receivedata/receivedrugflag");
-
- if(sReceivedrugflag != "") {
- model.setValue("/root/send/comflag", sReceivedrugflag);
- } else {
- model.setValue("/root/send/comflag", "C");
- }
- model.setValue("/root/send/drugcd", drugcd);
-
- if(model.getValue("/root/send/comflag") != "O") {
- model.setValue("/root/temp/srchgrupid/drugcd", drugcd);
- model.setValue("/root/temp/srchgrupid/comflag", model.getValue("/root/send/comflag"));
- submit("TRADC00604");
-
- model.setValue("/root/send/drugnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm"));
- model.setValue("/root/send/comnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/comdesc"));
- model.setValue("/root/send/prodcmpycd" , model.getValue("/root/temp/drugcdlist/drugcdlist/prodcmpycd"));
- model.setValue("/root/send/prodcmpynm" , model.getValue("/root/temp/drugcdlist/drugcdlist/prodcmpynm"));
- } else {
- model.setValue("/root/send/drugnm" , drugcdnm);
- }
- model.refresh();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:885px; top:15px; width:86px; height:17px; ">약물명 :</caption>
- <select1 id="cmb_sympmnftgrde" ref="/root/send/sympmnftgrde" class="combo_search" navindex="14" appearance="minimal" style="left:965px; top:55px; width:130px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value></value>
- </item>
- <item>
- <label>경증</label>
- <value>1</value>
- </item>
- <item>
- <label>중등증</label>
- <value>2</value>
- </item>
- <item>
- <label>중증</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="btn_sympcnts" class="icon_search" navindex="9" style="left:314px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
-
- modal("SPADC62901",0,100,150,"SPADC62901","/root/temp/tempsymp","/root/hidden/tempsymp");
-
- //팝어창에서 정상적으로 확인을 하였을 경우만 set 한다.(닫기 버튼 눌렀을 경우 제외)
- if(model.getValue("/root/temp/returnsymp/cnfmyn") == "Y"){
- if(model.getValue("/root/temp/returnsymp/symp") == "" || model.getValue("/root/temp/returnsymp/sympcnts") == "") {
- model.setValue("/root/send/symp", "");
- model.makeValue("/root/send/sympcnts", "");
- model.makeValue("/root/send/sympno", "");
- } else {
- model.setValue("/root/send/symp", model.getValue("/root/temp/returnsymp/symp") + "^" + model.getValue("/root/temp/returnsymp/sympcnts"));
- model.makeValue("/root/send/sympcnts", model.getValue("/root/temp/returnsymp/sympcnts"));
- model.makeValue("/root/send/sympno", model.getValue("/root/temp/returnsymp/symp") );
- }
- model.refresh();
- }
-
- ]]>
- </script>
- </button>
- <input id="ipt_sympcnts" ref="/root/send/sympcnts" class="input_search" disabled="true" navindex="8" style="left:115px; top:55px; width:195px; height:19px; "/>
- <button id="casrsltbtn" class="icon_search" navindex="11" style="left:579px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //Naranjo Algorithm
- model.makeValue("/root/hidden/casrslt","");
- model.makeValue("/root/hidden/totscr","");
- model.makeValue("/root/hidden/naranjocmt","");
-
- modal("SPADC62600",0,200,300,"SPADC62600","/root/popdata1","/root/popdata");
- if ( model.getValue("/root/hidden/casrslt") != ""){
- model.setValue( "/root/send/casrslt" , model.getValue("/root/hidden/casrslt") );
- //model.setValue( "/root/send/totscr" , model.getValue("/root/hidden/totscr") );
- model.setValue( "/root/send/naranjocmt" , model.getValue("/root/hidden/naranjocmt") );
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_casrslt" ref="/root/send/casrslt" class="combo_search" navindex="10" appearance="minimal" style="left:435px; top:55px; width:140px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value></value>
- </item>
- <item>
- <label>DDefault</label>
- <value>0</value>
- </item>
- <item>
- <label>Possible</label>
- <value>1</value>
- </item>
- <item>
- <label>Probable</label>
- <value>2</value>
- </item>
- <item>
- <label>Definite</label>
- <value>3</value>
- </item>
- <item>
- <label>Certain</label>
- <value>4</value>
- </item>
- <item>
- <label>probable/likely</label>
- <value>5</value>
- </item>
- <item>
- <label>possible</label>
- <value>6</value>
- </item>
- <item>
- <label>unlikely</label>
- <value>7</value>
- </item>
- <item>
- <label>conditional/unclassified</label>
- <value>8</value>
- </item>
- <item>
- <label>unassessible/unclassifiable</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <!--
- <button id="btn_koralgo" class="icon_search" navindex="12" style="left:599px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/hidden/koralgo", model.getValue("/root/send/koralgo"));
- model.makeValue("/root/hidden/totscr", model.getValue("/root/send/totscr"));
-
- model.makeValue("/root/popdata1/koralgo", model.getValue("/root/send/koralgo"));
-
- modal("SPADC62800",0,200,300,"SPADC62800","/root/popdata1","/root/popdata");
-
- model.setValue( "/root/hidden/srchinfo/koralgo" , model.getValue("/root/hidden/koralgo") );
- model.setValue( "/root/send/totscr" , model.getValue("/root/hidden/totscr") );
- ]]>
- </script>
- </button>
- -->
- </group>
- <select id="chk_ward" ref="/root/send/srchwardcd" class="checkbox_search" visibility="hidden" overflow="visible" appearance="full" cols="8" direction="downacross" sep="," style="left:360px; top:40px; width:205px; height:15px; background-color:#e5eae9; border-style:none; ">
- <choices>
- <itemset nodeset="/root/hidden/deptlist/ward">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var tmpVal = model.getValue("/root/send/srchwardcd");
- var wardCode = "";
- if(chk_ward.mouseRow == 0 && chk_ward.mouseCol == 0 ){
- if (tmpVal.indexOf("T") > -1) {
- var wardCnt = model.getXPathValue("count(/root/hidden/deptlist/ward)");
- for (var i = 1; i <= wardCnt; i++) {
- wardCode += model.getValue("/root/hidden/deptlist/ward["+i+"]/wardcd")+",";
- }
- }
- model.setValue("/root/send/srchwardcd", wardCode);
- chk_ward.refresh();
- }
- if (tmpVal.indexOf("T") > -1 ){
- ipt_wardnm.value = chk_ward.label.substr(3,chk_ward.label.length);
- } else {
- ipt_wardnm.value = chk_ward.label;
- }
- // if(isSearchString(model.getValue("/root/temp/srchinfo/ward"),"T")){
- ]]>
- </script>
- </select>
- </group>
- </xhtml:body>
- </xhtml:html>
|