123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLVJ90300_종합검증접수결과.xrw
- * 설 명 : 종합검증접수결과
- * 설 계 자 : (주)에이씨케이 - 송요셉
- * 작 성 자 : (주)에이씨케이 - 송요셉
- * 작 성 일 : 2007.09.04
- * 수정이력 :
- * 기 타 :
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <testlist/>
- <pid/>
- <patnm/>
- <sexage/>
- <orddeptroom/>
- <verimthd/>
- <verimthdother/>
- <readcont/>
- <addreadcont/>
- <readno/>
- <orddd/>
- <atdrnm/>
- <readdt/>
- <readid/>
- <readnm/>
- <usernm/>
- <licnsno/>
- <termhngnm/>
- <prcpdd/>
- <execprcpuniqno/>
- <instcd/>
- <count/>
- <usercount/>
- </patinfo>
- <spclrslt>
- <check/>
- <prcpnm/>
- <reptrslt/>
- <spcscrnnm/>
- <prcpcd/>
- <spccd/>
- <bcolldt/>
- <lstreptdt/>
- <spcacptdt/>
- <spcacptid/>
- <ref/>
- </spclrslt>
- <spclrslt2>
- <check/>
- <prcpnm/>
- <reptrslt/>
- <spcscrnnm/>
- <prcpcd/>
- <spccd/>
- <bcolldt/>
- <lstreptdt/>
- <spcacptdt/>
- <spcacptid/>
- <ref/>
- </spclrslt2>
- <testlist>
- <testlrgnm/>
- </testlist>
- <rslt>
- <rsltlist>
- <header/>
- <row>
- <a/>
- <b/>
- <c/>
- <d/>
- <e/>
- </row>
- </rsltlist>
- </rslt>
- <cert>
- <certdata/>
- </cert>
- <getUsernm>
- <usernm/>
- </getUsernm>
- </main>
- <send>
- <pid/>
- <readkind/>
- <search/>
- <cmtlist/>
- <rptchk/>
- <rptother/>
- <addreadcont/>
- <data1/>
- <data2/>
- <rsltstat/>
- <readcont/>
- <bcno/>
- <chk1/>
- <chk2/>
- <chk3/>
- <chk4/>
- <chk5/>
- <chk6/>
- <orddd/>
- <getgbn/>
- <signbfcnts/>
- <signafcnts/>
- <execprcpuniqno/>
- </send>
- <init>
- <readcmtlist>
- <chk/>
- <readcmtcd/>
- <readcmttitl/>
- <readcmtcnts/>
- </readcmtlist>
- <readcmtlist2>
- <chk/>
- <readcmtcd/>
- <readcmttitl/>
- <readcmtcnts/>
- </readcmtlist2>
- </init>
- <hidden>
- <ref>
- <pid/>
- <notipsn/>
- <end/>
- <orddd/>
- <userid/>
- </ref>
- <cmtref>
- <readkind>0</readkind>
- <search/>
- <viewcap/>
- </cmtref>
- <cancelbcno>
- <bcno/>
- <cancelgbn/>
- <resncd/>
- <resndesc/>
- <pid/>
- <spcstat/>
- <resncdkind/>
- <cancelgrd>
- </cancelgrd>
- </cancelbcno>
- <cancelgrd>
- <chk/>
- <tclscd/>
- <testcd/>
- <tclsnm/>
- <bcno/>
- <orddeptnm/>
- <atdrid/>
- <spccd/>
- <rsltstat/>
- <prcpgenrflag/>
- <sectcd/>
- <tsectcd/>
- <execprcpuniqno/>
- </cancelgrd>
- <popupmenu/>
- <bcno/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
-
- model.removeNodeset("/root/init/readcmtlist");
- model.removeNodeset("/root/init/readcmtlist2");
- open("SPLVJ90100");
- submit("TRLVJ90302");
-
- // 초기정보 조회
- model.makeValue("/root/send/codeflag", "0124|"); // 0124= 병원명칭
- submit("TRLZZ00101");
-
- ]]>
- </script>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/ENRSignEngine.js"/>
- <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/getUsernm"/>
- <submission id="TRLVJ90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/"/>
- <submission id="TRLVJ90302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/"/>
- <submission id="TXLVJ90301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/Msg"/>
- <submission id="TXLVJ90302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLLJ00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/cancelbcno" replace="instance" resultref="/root/main/MSG"/>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/LB0124"/>
- <script type="javascript" ev:event="xforms-model-destruct">
- <![CDATA[
- submit("TXLVJ90303");
- model.removeNodeset("/root/main/readcmtlist");
- model.removeNodeset("/root/main/readcmtlist2");
- ]]>
- </script>
- <submission id="TXLVJ90303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- submit("TXLVJ90303");
- model.removeNodeset("/root/main/readcmtlist");
- model.removeNodeset("/root/main/readcmtlist2");
- ]]>
- </script>
- <submission id="TXLVJ90304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
-
- function fgetreadrsltlist(flag){
- setParameter("condparam", "S" + "▦" + model.getvalue("/root/main/patinfo/prcpdd")+ "▦"
- + model.getvalue("/root/main/patinfo/execprcpuniqno") + "▦"
- + model.getvalue("/root/main/patinfo/instcd") );
- //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- if(flag == 1){
- btn_LstRept.visible = true;
- setbtn.visible = false;
- cancelbtn.visible = false;
- model.setValue("/root/send/getgbn", "1");
- }
- else{
- btn_LstRept.visible = false;
- setbtn.visible = true;
- cancelbtn.visible = true;
- model.setValue("/root/send/getgbn", "2");
- }
- model.setValue("/root/send/pid", model.getValue("/root/hidden/ref/pid"));
- model.setValue("/root/send/orddd", model.getValue("/root/hidden/ref/orddd"));
-
- if(flag == 1) {
- submit("TXLVJ90302");
- }
-
- var cols = alltestlist.cols-alltestlist.fixedCols;
- var rows = alltestlist.rows-alltestlist.fixedRows;
- //alert(cols)
- for( var i = 0; i < cols; i++ ) {
- alltestlist.removeColumn(false);
- }
-
- for( var i = 0; i < rows; i++ ) {
- alltestlist.removeRow(false);
- }
-
-
- model.removeNodeset("/root/main/spclrslt");
- model.removeNodeset("/root/main/spclrslt2");
- model.removeNodeset("/root/main/patinfo");
- model.removeNodeset("/root/main/testlist");
- //model.removeNodeset("/root/main/alltestlist");
- model.removeNodeset("/root/main/rslt/");
- model.removeNodeset("/root/main/rsltrow");
-
- submit("TRLVJ90301");
-
- ftestlist();
- fwritemthd();
- fcolor();
- fSetAllTestList();
- }
-
- function fSetAllTestList(){
-
- var gridCaption = model.getValue("/root/main/rsltrow/rsltlist/header/caption");
-
- if(gridCaption == "") return;
- //ref 정보
- var gridColRef = model.getValue("/root/main/rsltrow/rsltlist/header/colref");
- var gridColRefArray = gridColRef.split("^");
-
- var gridColType = model.getValue("/root/main/rsltrow/rsltlist/header/type");
- var gridColTypeArray = gridColType.split("^");
-
- for( var i = 0; i < gridColRefArray.length ; i++ ) {
-
- alltestlist.addColumn("ref:" + gridColRefArray[i] + "; type:"+gridColTypeArray[i]+"; ", false);
- }
- alltestlist.colWidth(1) = 140;
-
- alltestlist.colWidth(2) = 60;
-
-
- for( i = 3; i < alltestlist.cols - 4; i++ ) {
-
- if(i == alltestlist.cols - 1){
- alltestlist.colWidth(i-2) = 100;
- alltestlist.colAttribute(i, "visibility") = "hidden";
- }else{
-
- if(i%3 != 0){
- alltestlist.colAttribute(i, "visibility") = "hidden";
- }
-
- alltestlist.colWidth(i) = 60;
- }
-
- }
- //alltestlist.colAttribute(alltestlist.cols - 4, "visibility") = "hidden";
- alltestlist.colAttribute(alltestlist.cols - 3, "visibility") = "hidden";
- alltestlist.colAttribute(alltestlist.cols - 2, "visibility") = "hidden";
- //alltestlist.colAttribute(alltestlist.cols - 1, "visibility") = "hidden";
-
-
- alltestlist.caption = gridCaption;
-
- var node = instance1.selectSingleNode("/root/main/rslt");
- node.replaceChild(instance1.root.main.rsltrow.rsltlist, instance1.root.main.rslt.rsltlist);
-
- alltestlist.rowheight(0) = 30;
- alltestlist.rebuild();
- alltestlist.colStyle(1, "data" ,"text-align") = "left";
- model.refresh();
-
- }
-
- function fwritemthd() {
- if(model.getValue("/root/main/patinfo/verimthd") != ''){
- var code = model.getValue("/root/main/patinfo/verimthd");
- var newcode = '';
-
- for(i=0;i<6;i++){
- if(code.charAt(i)=='Y'){
- newcode = newcode + ""+(i+1)+"▦";
- }
- }
- model.setValue("/root/main/patinfo/verimthd", newcode);
-
- }
- }
-
- function fgetreadlsit() {
- model.removeNodeset("/root/init/readcmtlist");
- model.removeNodeset("/root/init/readcmtlist2");
- model.setValue("/root/send/readkind", model.getValue("/root/hidden/cmtref/readkind"));
- model.setValue("/root/send/search", model.getValue("/root/hidden/cmtref/search"));
- submit("TRLVJ90302");
- }
-
- function fviewtext() {
- model.setValue("/root/hidden/cmtref/search" , '');
- model.refresh();
- if(model.getValue("/root/hidden/cmtref/readkind") == 0){
- input1.visible = false;
- }
- else{
- input1.visible = true;
- }
- }
-
- function fcmtmove(cmtcode) {
- if(cmtcode == 1) {
- for(i = 1; i < readcmtlist.rows ; i++){
- if(model.getValue("/root/init/readcmtlist["+i+"]/chk") == '1'){
- if(model.getValue("/root/main/patinfo/readcont") != ''){
- if(model.getValue("/root/main/patinfo/readcont").indexOf(model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/main/patinfo/readcont") + "\n" +
- model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist["+i+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist["+i+"]/chk", '0');
- }
- }
- }
- else if(cmtcode == 2){
- for(i = 1; i < readcmtlist.rows ; i++){
- if(model.getValue("/root/init/readcmtlist["+i+"]/chk") == '1'){
- if(model.getValue("/root/main/patinfo/addreadcont") != ''){
- if(model.getValue("/root/main/patinfo/addreadcont").indexOf(model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/addreadcont", model.getValue("/root/main/patinfo/addreadcont") + "\n" +
- model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist["+i+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/addreadcont", model.getValue("/root/init/readcmtlist["+i+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist["+i+"]/chk", '0');
- }
- }
- }
- else{
- if(model.getValue("/root/main/patinfo/readcont") != ''){
- if(model.getValue("/root/main/patinfo/readcont").indexOf(model.getValue("/root/init/readcmtlist["+readcmtlist.row+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/main/patinfo/readcont") + "\n" +
- model.getValue("/root/init/readcmtlist["+readcmtlist.row+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist["+readcmtlist.row+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/init/readcmtlist["+readcmtlist.row+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist["+readcmtlist.row+"]/chk", '0');
- }
- readcmtlist.row= -1;
- btn1.visible = false;
- btn2.visible = false;
- readcmtlist.rebuild();
- model.refresh();
-
- }
-
- function fcmtmove2(cmtcode) {
- if(cmtcode == 1) {
- for(i = 1; i < readcmtlist2.rows ; i++){
- if(model.getValue("/root/init/readcmtlist2["+i+"]/chk") == '1'){
- if(model.getValue("/root/main/patinfo/readcont") != ''){
- if(model.getValue("/root/main/patinfo/readcont").indexOf(model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/main/patinfo/readcont") + "\n" +
- model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist2["+i+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist2["+i+"]/chk", '0');
- }
- }
- }
- else if(cmtcode == 2){
- for(i = 1; i < readcmtlist2.rows ; i++){
- if(model.getValue("/root/init/readcmtlist2["+i+"]/chk") == '1'){
- if(model.getValue("/root/main/patinfo/addreadcont") != ''){
- if(model.getValue("/root/main/patinfo/addreadcont").indexOf(model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/addreadcont", model.getValue("/root/main/patinfo/addreadcont") + "\n" +
- model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist2["+i+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/addreadcont", model.getValue("/root/init/readcmtlist2["+i+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist2["+i+"]/chk", '0');
- }
- }
- }
- else{
- if(model.getValue("/root/main/patinfo/readcont") != ''){
- if(model.getValue("/root/main/patinfo/readcont").indexOf(model.getValue("/root/init/readcmtlist2["+readcmtlist2.row+"]/readcmtcnts")) == -1){
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/main/patinfo/readcont") + "\n" +
- model.getValue("/root/init/readcmtlist2["+readcmtlist2.row+"]/readcmtcnts"));
- }
- else{
- alert(model.getValue("/root/init/readcmtlist2["+readcmtlist2.row+"]/readcmttitl") + "는 선택되었습니다.");
- }
- }
- else{
- model.setValue("/root/main/patinfo/readcont", model.getValue("/root/init/readcmtlist2["+readcmtlist2.row+"]/readcmtcnts"));
- }
- model.setValue("/root/init/readcmtlist2["+readcmtlist2.row+"]/chk", '0');
- }
- readcmtlist2.row = -1;
- btn1.visible = false;
- btn2.visible = false;
- readcmtlist2.rebuild();
- model.refresh();
-
- }
-
-
-
- function fbtnview() {
- btn1.visible = true;
- btn2.visible = true;
- }
-
-
- function fmakeString(rsltstat) {
- var list = "\n";
- list = list + "등록번호 : " + model.getValue("/root/main/patinfo/pid") + "\n";
- list = list + "환자명 : " + model.getValue("/root/main/patinfo/patnm") + "\n";
- list = list + "성별/나이 : " + model.getValue("/root/main/patinfo/sexage") + "\n";
- list = list + "진료병동 : " + model.getValue("/root/main/patinfo/orddeptnm") + "\n";
- list = list + "병실 : " + model.getValue("/root/main/patinfo/roomcd") + "\n\n"
- + "----------------------------------------------------------------------------------------\n\n";
- list = list + "비정상 결과 혹은 유의한 결과 항목\n\n"
- + "검사항목 결과치 검체명\n";
-
-
- for(i=1;i < spclrslt.rows;i++){
-
- list = list + model.getValue("/root/main/spclrslt["+i+"]/prcpnm").getRightPad(50," ") + " "
- + model.getValue("/root/main/spclrslt["+i+"]/reptrslt").getRightPad(20," ") + " "
- + model.getValue("/root/main/spclrslt["+i+"]/spcscrnnm").getRightPad(50," ") + "\n";
-
- }
-
- for(i=1;i < spclrslt2.rows;i++){
-
- list = list + model.getValue("/root/main/spclrslt2["+i+"]/prcpnm").getRightPad(50," ") + " "
- + model.getValue("/root/main/spclrslt2["+i+"]/reptrslt").getRightPad(20," ") + " "
- + model.getValue("/root/main/spclrslt2["+i+"]/spcscrnnm").getRightPad(50," ") + "\n";
-
- }
-
- list = list + "----------------------------------------------------------------------------------------\n\n" +
- "검증방법\n\n";
- var code = checkbox1.label;
- var newcode = '';
- for(i=0;i<code.length;i++){
- if(code.charAt(i)=='▦'){
- newcode = newcode + "\n";
- }
- else{
- newcode = newcode + code.charAt(i);
- }
- }
- list = list + newcode;
- if(code.indexOf("Others") != -1){
- list = list + " " +input4.label;
- }
- list = list + "\n\n----------------------------------------------------------------------------------------\n\n" +
- "검증 / 판독소견 / 추천\n\n" + readcmtcnts.label + "\n\n";
- list = list + "----------------------------------------------------------------------------------------\n\n" +
- "추가보고\n\n" + textarea2.label + "\n\n";
- model.setValue("/root/send/cmtlist", list);
- freadmthd();
- readcont = readcmtcnts.label;
- addreadcont = textarea2.label;
- model.setValue("/root/send/addreadcont", addreadcont);
- model.setValue("/root/send/readcont", readcont);
- model.setValue("/root/send/bcno", model.getValue("/root/main/patinfo/bcno"));
- model.setValue("/root/send/bcno", model.getValue("/root/main/patinfo/bcno"));
- model.setValue("/root/send/data1", spclrslt.getUpdateDataAll(i));
- model.setValue("/root/send/data2", spclrslt2.getUpdateDataAll(i));
- model.setValue("/root/send/rsltstat", rsltstat);
- model.removeNodeset("/root/main/patinfo")
- model.removeNodeset("/root/main/spclrslt")
- model.removeNodeset("/root/main/spclrslt2")
- model.removeNodeset("/root/main/testlist")
- model.removeNodeset("/root/main/rsltrow/rsltlist/row")
- model.removeNodeset("/root/main/rsltrow/rsltlist/header")
-
- submit("TXLVJ90301");
- model.removeNodeset("/root/spclist")
-
- if(model.getValue("/root/spclist/Msg") != ""){
- alert("이미 검증한 환자입니다.");
- return;
- }
-
- fgetreadrsltlist();
-
- model.removeNodeset("/root/main/cert/certdata");
- model.makeNode("/root/main/cert/certdata");
- copyNodesetType("/root/main/cert/certdata", "/root/main");
-
- //----------------
- // 암호화자료 생성
- model.refresh();
- if(rsltstat == 1){
-
- if (Sign.signprocess()) {
- model.setValue("/root/send/execprcpuniqno", model.getValue("/root/main/patinfo/execprcpuniqno"));
- model.setValue("/root/send/rsltstat", 10);
- model.setValue("/root/send/signbfcnts", Sign.signedInfos[1]); // 인증 전 자료
- model.setValue("/root/send/signafcnts", Sign.signedInfos[2]); // 인증 후 자료
- submit("TXLVJ90301");
- } else {
- return false;
- }
- }
-
- open("SPLVJ90100");
-
-
- }
-
- function freadmthd() {
- var code = model.getValue("/root/main/patinfo/verimthd");
- var newcode = '';
- for(i=1;i<7;i++){
- if(code.indexOf(''+i+'')!=-1){
- newcode = newcode + 'Y';
- }
- else{
- newcode = newcode + 'N';
- }
- }
- model.setValue("/root/send/rptchk", newcode);
- model.setValue("/root/send/rptother", model.getValue("/root/main/patinfo/verimthdother"));
-
- }
-
- function fchkvalue() {
- var code = model.getValue("/root/main/patinfo/verimthd");
- if(code.indexOf('1')!=-1){
- model.setValue("/root/send/chk1" , "●");
- }else{
- model.setValue("/root/send/chk1" , "○");
- }
- if(code.indexOf('2')!=-1){
- model.setValue("/root/send/chk2" , "●");
- }else{
- model.setValue("/root/send/chk2" , "○");
- }
- if(code.indexOf('3')!=-1){
- model.setValue("/root/send/chk3" , "●");
- }else{
- model.setValue("/root/send/chk3" , "○");
- }
- if(code.indexOf('4')!=-1){
- model.setValue("/root/send/chk4" , "●");
- }else{
- model.setValue("/root/send/chk4" , "○");
- }
- if(code.indexOf('5')!=-1){
- model.setValue("/root/send/chk5" , "●");
- }else{
- model.setValue("/root/send/chk5" , "○");
- }
- if(code.indexOf('6')!=-1){
- model.setValue("/root/send/chk6" , "●");
- }else{
- model.setValue("/root/send/chk6" , "○");
- }
- }
-
- function fviewreport() {
- //makeReportPreview(0,50,1194,600);
- fchkvalue();
- for(i=1 ; i < spclrslt2.rows ; i++){
- spclrslt.addRow(false);
- a = spclrslt.row;
- model.makeNode("/root/main/spclrslt["+a+"]/check");
- model.makeNode("/root/main/spclrslt["+a+"]/prcpnm");
- model.makeNode("/root/main/spclrslt["+a+"]/reptrslt");
- model.makeNode("/root/main/spclrslt["+a+"]/spcscrnnm");
- model.makeNode("/root/main/spclrslt["+a+"]/prcpcd");
- model.makeNode("/root/main/spclrslt["+a+"]/spccd");
- model.copyNode("/root/main/spclrslt["+a+"]","/root/main/spclrslt2["+i+"]");
- }
-
- if ( model.getvalue("/root/main/patinfo/instcd") == "032" ) {
- // 칠곡
- model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine" + "\n" +
- "Kyungpook National University Hospital Daegu, Korea");
- model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + " " + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과");
- } else {
- // 삼덕
- model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine"+ "\n" +
- "Kyungpook National University Hospital Daegu, Korea");
- model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + " " + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과" + " " + "053) 420-5278");
- }
- //model.setValue("/root/main/patinfo/usernm", model.getValue("/root/main/patinfo/readnm")); //+ model.getValue("/root/main/patinfo/usernm")) ;
-
- //alert(spclrslt.rows);
- if(spclrslt.rows > 1){
- // alert("1");
- exeReportPreview("RPLVJ90301", "XMLSTR", "/root/send");
- }else{
- // alert("2");
- exeReportPreview("RPLVJ90302", "XMLSTR", "/root/send");
- }
-
- }
- function fviewreport2() {
- //makeReportPreview(0,50,1194,600);
- fchkvalue();
- for(i=1 ; i < spclrslt2.rows ; i++){
- spclrslt.addRow(false);
- a = spclrslt.row;
- model.makeNode("/root/main/spclrslt["+a+"]/check");
- model.makeNode("/root/main/spclrslt["+a+"]/prcpnm");
- model.makeNode("/root/main/spclrslt["+a+"]/reptrslt");
- model.makeNode("/root/main/spclrslt["+a+"]/spcscrnnm");
- model.makeNode("/root/main/spclrslt["+a+"]/prcpcd");
- model.makeNode("/root/main/spclrslt["+a+"]/spccd");
- model.copyNode("/root/main/spclrslt["+a+"]","/root/main/spclrslt2["+i+"]");
- }
- //model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + "\n" + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과");
- //model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine");
-
- if ( model.getvalue("/root/main/patinfo/instcd") == "032" ) {
- // 칠곡
- model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine" + "\n" +
- "Kyungpook National University Hospital Daegu, Korea");
- model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + " " + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과");
- } else {
- // 삼덕
- model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine"+ "\n" +
- "Kyungpook National University Hospital Daegu, Korea");
- model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + " " + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과" + " " + "053) 420-5278");
- }
- //model.makeValue("/root/main/patinfo/hospengnm", "Department of Laboratory Medicine"+ "\n" +
- // "Kyungpook National University Hospital Daegu, Korea");
- //model.makeValue("/root/main/patinfo/hospnm", model.getvalue("/root/init/init/LB0124/etc02") + " " + model.getvalue("/root/init/init/LB0124/nm") + " 진단검사의학과" + " " + "053) 420-5278");
-
- //exeReportPreview("RPLVJ90301", "XMLSTR", "/root/send", "", true, "", "", "", "",true);
- //exeReportPreview("RPLNP00500", "XMLSTR", "", "");
-
- //model.setValue("/root/main/patinfo/usernm", model.getValue("/root/main/patinfo/readnm"));
-
- if(spclrslt.rows > 1){
- //exeReportPreview("RPLVJ90301", "XMLSTR", "", "", true, "", "", "", "",true);
- exeReportPreview("RPLVJ90301", "XMLSTR", "/root/send", "", "true", "", "", "", "","true");
- model.setValue("/root/send/bcno",model.getValue("/root/main/patinfo[1]/bcno"));
- submit("TXLVJ90304");
- }else{
- //exeReportPreview("RPLVJ90302", "XMLSTR", "/root/send", "", true, "", "", "", "",true);
- exeReportPreview("RPLVJ90302", "XMLSTR", "/root/send", "", "true", "", "", "", "","true");
- model.setValue("/root/send/bcno",model.getValue("/root/main/patinfo[1]/bcno"));
- submit("TXLVJ90304");
- //exeReportPreview("RPLVJ90302", "XMLSTR", "/root/send", "", true);
- }
- }
-
- function fviewspcd(seq){
- if(seq == 1){
- var row = spclrslt.mouseRow;
- var col = spclrslt.mouseCol;
- if(row >= 1 && row <= spclrslt.rows && col == 2){
- view.value = "채취일 : " + model.getValue("/root/main/spclrslt["+row+"]/bcolldt") + "\n접수일 : " + model.getValue("/root/main/spclrslt["+row+"]/spcacptdt")
- + "\n검사자 : " + model.getValue("/root/main/spclrslt["+row+"]/spcacptid");
- model.refresh();
- view.visible = true;
- }
-
- }
- else{
- var row = spclrslt2.mouseRow;
- var col = spclrslt2.mouseCol;
- if(row >= 1 && row <= spclrslt2.rows && col == 2){
- view2.value = "채취일 : " + model.getValue("/root/main/spclrslt2["+row+"]/bcolldt") + "\n접수일 : " + model.getValue("/root/main/spclrslt2["+row+"]/spcacptdt")
- + "\n검사자 : " + model.getValue("/root/main/spclrslt2["+row+"]/spcacptid");
- model.refresh();
- view2.visible = true;
- }
-
- }
- }
-
- function ftestlist() {
- var teststring = '';
- for(i=1; i<testlist.rows ; i++) {
- if(i == 1){
- teststring = model.getValue("/root/main/testlist["+i+"]/testlrgnm");
- }
- if(i > 1 && teststring.indexOf(model.getValue("/root/main/testlist["+i+"]/testlrgnm")) == -1){
- teststring = teststring + ", "+ model.getValue("/root/main/testlist["+i+"]/testlrgnm");
- }
- }
- if(0 < teststring.length){
- model.setValue("/root/main/patinfo/testlist", teststring);
- }else{
- alert("검사항목이 없습니다.");
- return;
- }
-
- }
-
-
- function fcolor() {
- for(i=0; i < spclrslt.rows ; i++) {
- if(model.getValue("/root/main/spclrslt["+i+"]/reptrslt").indexOf('▲') != -1){
- spclrslt.cellstyle("background-color", i, 2, i, 2) = "#ffc0cb";
- }
- else{
- spclrslt.cellstyle("background-color", i, 2, i, 2) = "#e6e6fa";
- }
- }
- for(i=0; i < spclrslt2.rows ; i++) {
- if(model.getValue("/root/main/spclrslt2["+i+"]/reptrslt").indexOf('▲') != -1){
- spclrslt2.cellstyle("background-color", i, 2, i, 2) = "#ffc0cb";
- }
- else{
- spclrslt2.cellstyle("background-color", i, 2, i, 2) = "#e6e6fa";
- }
- }
- model.refresh();
- }
-
- function fcalcelbcno(){
- model.setValue("/root/hidden/cancelbcno/bcno", model.getValue("/root/main/patinfo[1]/bcno"));
- model.setValue("/root/hidden/cancelbcno/cancelgbn", "04");
- model.setValue("/root/hidden/cancelbcno/resncd", "04000");
- model.setValue("/root/hidden/cancelbcno/resndesc", "검체 Clot 됨");
- model.setValue("/root/hidden/cancelbcno/resncdkind", "04");
- model.setValue("/root/hidden/cancelbcno/pid", model.getValue("/root/main/patinfo[1]/pid"));
- model.setValue("/root/hidden/cancelbcno/spcstat", "4");
- model.setValue("/root/hidden/cancelgrd/chk", "true");
- model.setValue("/root/hidden/cancelgrd/bcno", model.getValue("/root/main/patinfo[1]/bcno"));
- model.setValue("/root/hidden/cancelgrd/spccd", "700");
- model.setValue("/root/hidden/cancelgrd/tclscd", "LAA100");
- model.setValue("/root/hidden/cancelgrd/testcd", "LAA100");
- model.setValue("/root/hidden/cancelgrd/orddeptnm", "2110000000");
- model.setValue("/root/hidden/cancelgrd/prcpgenrflag", "I");
- model.setValue("/root/hidden/cancelgrd/sectcd", "L");
- model.setValue("/root/hidden/cancelgrd/tsectcd", "L1");
- model.setValue("/root/hidden/cancelgrd/execprcpuniqno", model.getValue("/root/main/patinfo[1]/execprcpuniqno"));
-
- model.setValue("/root/hidden/cancelbcno/cancelgrd", datagrid1.getUpdateDataAll(2));
-
- submit("TXLLJ00301");
-
- }
-
-
- function fpopupmenu() {
- model.removeNodeset("/root/hidden/popupmenu");
- var i = 1;
-
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/name" , "▶ 삭제");
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/func" , "fbfrslt");
-
- if(spclrslt.isCell(event.target) && spclrslt.mouseRow >= spclrslt.fixedrows){
- setPopupMenu("spclrslt", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- function fpopupmenu2() {
- model.removeNodeset("/root/hidden/popupmenu");
- var i = 1;
-
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/name" , "▶ 삭제");
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/func" , "fbfrslt2");
-
- if(spclrslt2.isCell(event.target) && spclrslt2.mouseRow >= spclrslt2.fixedrows){
- setPopupMenu("spclrslt2", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- function fpopupmenu3() {
- model.removeNodeset("/root/hidden/popupmenu");
- var i = 1;
- var cols = alltestlist.cols - 4;
- var mocol = alltestlist.mousecol;
- var morow = alltestlist.mouserow;
-
- if(mocol > 2 && mocol < cols){
- if(alltestlist.valueMatrix(morow,mocol) != ""){
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/name" , "▶ 추가");
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/func" , "fbfrslt3");
-
- if(alltestlist.isCell(event.target) && alltestlist.mouseRow >= alltestlist.fixedrows){
- setPopupMenu("alltestlist", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }else{
- if(model.getValue("/root/main/rslt/rsltlist/row["+morow+"]/prcpcd") == "LHR105"){
- if(event.button == 3){ // 라이트클릭 메뉴만들기...
- model.makeNode("/root/hidden/popupmenu/grid");
- model.makeNode("/root/hidden/popupmenu/grid/item");
-
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/name" , "▶ XE2100결과");
- model.makeValue("/root/hidden/popupmenu/grid/item["+i+"]/func" , "fbfrslt4");
-
- if(alltestlist.isCell(event.target) && alltestlist.mouseRow >= alltestlist.fixedrows){
- setPopupMenu("alltestlist", false, "/root/hidden/popupmenu/grid/item", "name", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- }
- }
-
- }
- }
-
-
- function fbfrslt(){
- model.removenode("/root/main/spclrslt["+ spclrslt.row +"]");
- fcolor();
-
- }
-
- function fbfrslt2(){
- model.removenode("/root/main/spclrslt2["+ spclrslt2.row +"]");
- fcolor();
-
- }
-
- function fbfrslt3(){
- if(spclrslt.rows < 10){
- spclrslt.addrow(false);
- var Row = spclrslt.rows - 1;
- model.setValue("/root/main/spclrslt["+ Row +"]/check", "1");
- model.setValue("/root/main/spclrslt["+ Row +"]/prcpnm", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/tclsnm"));
- model.setValue("/root/main/spclrslt["+ Row +"]/reptrslt", alltestlist.valueMatrix(alltestlist.row,alltestlist.col));
- model.setValue("/root/main/spclrslt["+ Row +"]/spcscrnnm", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/spcnm"));
- model.setValue("/root/main/spclrslt["+ Row +"]/prcpcd", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/prcpcd"));
- model.setValue("/root/main/spclrslt["+ Row +"]/spccd", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/spccd"));
- model.setValue("/root/main/spclrslt["+ Row +"]/lastreptdt", alltestlist.valueMatrix(alltestlist.row,alltestlist.col+1));
- model.setValue("/root/main/spclrslt["+ Row +"]/ref", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/ref"));
- model.setValue("/root/main/spclrslt["+ Row +"]/rsltunit", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/rsltunit"));
-
- }else{
- spclrslt2.addrow(false);
- var Row = spclrslt2.rows - 1;
- model.setValue("/root/main/spclrslt2["+ Row +"]/check", "1");
- model.setValue("/root/main/spclrslt2["+ Row +"]/prcpnm", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/tclsnm"));
- model.setValue("/root/main/spclrslt2["+ Row +"]/reptrslt", alltestlist.valueMatrix(alltestlist.row,alltestlist.col));
- model.setValue("/root/main/spclrslt2["+ Row +"]/spcscrnnm", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/spcnm"));
- model.setValue("/root/main/spclrslt2["+ Row +"]/prcpcd", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/prcpcd"));
- model.setValue("/root/main/spclrslt2["+ Row +"]/spccd", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/spccd"));
- model.setValue("/root/main/spclrslt2["+ Row +"]/lastreptdt", alltestlist.valueMatrix(alltestlist.row,alltestlist.col+1));
- model.setValue("/root/main/spclrslt2["+ Row +"]/ref", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/ref"));
- model.setValue("/root/main/spclrslt2["+ Row +"]/rsltunit", model.getValue("/root/main/rslt/rsltlist/row["+alltestlist.row+"]/rsltunit"));
-
- }
-
-
- model.refresh();
- }
-
- function fbfrslt4(){
- model.setValue("/root/hidden/bcno", alltestlist.valueMatrix(alltestlist.row,alltestlist.col+2));
- modal("SPLLR91500 ","","","","","/root/hidden/bcno","/root/send/bcno");
- model.refresh();
- }
-
-
-
-
-
- function signbfcnts(){
-
- model.removeNodeset("/root/main/cert/certdata");
- model.makeNode("/root/main/cert/certdata");
- copyNodesetType("/root/main/cert/certdata", "/root");
-
- //----------------
- // 암호화자료 생성
- if (Sign.signprocess()) {
- model.setValue("/root/send/signbfcnts", Sign.signedInfos[1]); // 인증 전 자료
- model.setValue("/root/send/signafcnts", Sign.signedInfos[2]); // 인증 후 자료
- } else {
- return false;
- }
- }
-
-
- function fMake_SignData() {
- Sign.addnode("/root/main/cert/certdata");
- }
-
-
-
- function getFindSell() {
-
- var searchtext = model.getvalue("/root/hidden/cmtref/search");
-
-
- var findrow1 = readcmtlist.FindRow(searchtext, 1, 4, false, false);
- var findrow2 = readcmtlist2.FindRow(searchtext, 1, 4, false, false);
-
- if(findrow1 != -1){
- readcmtlist.row = findrow1;
- readcmtlist.topRow = findrow1;
- }
- if(findrow2 != -1){
- readcmtlist2.row = findrow2;
- readcmtlist2.topRow = findrow2;
- }
-
- }
-
- function fKeyEvent(){
-
- if(event.keyCode == "13"){
-
- if(event.target == "ipt_testpsn"){
-
- model.setvalue("/root/hidden/ref/userid",ipt_testpsn.currentText.toUpperCase());
- model.refresh();
- fUserNMRef();
- ipt_testpsn.selBegin = 0;
- ipt_testpsn.selEnd = ipt_testpsn.currentText.length;
- model.setFocus("ipt_testpsn");
- }
- }
- }
-
- function fUserNMRef(){
-
- if(model.getvalue("/root/hidden/ref/userid") != ""){
-
- model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/ref/userid"));
- submit("TRLZZ00104");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">종합검증접수결과</caption>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption31" class="tit_2" style="left:5px; top:15px; width:115px; height:14px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">환자정보</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:30px; x2:725px; y2:30px; "/>
- <caption id="caption32" class="cell_1" style="left:0px; top:35px; width:90px; height:23px; vertical-align:middle; ">Lab No</caption>
- <output id="output3" ref="/root/main/patinfo/readno" class="output_fix" style="left:93px; top:37px; width:132px; height:19px; "/>
- <line id="line15" class="line_3" style="x1:0px; y1:58px; x2:725px; y2:58px; "/>
- <line id="line16" class="line_1" style="x1:0px; y1:85px; x2:725px; y2:85px; "/>
- <caption id="caption37" class="tit_2" style="left:5px; top:70px; width:281px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">비정상 결과 혹은 유의한 결과를 보이는 항목</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:360px; x2:725px; y2:360px; "/>
- <caption id="caption38" class="tit_2" style="left:0px; top:345px; width:115px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검증방법</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:440px; x2:695px; y2:440px; "/>
- <caption id="caption39" class="tit_2" style="left:0px; top:425px; width:185px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검증/판독 소견/추천</caption>
- <button id="button2" class="btn2_letter5" style="left:650px; top:10px; width:75px; height:19px; ">
- <caption>리스트조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SPLVJ90100");
-
- ]]>
- </script>
- </button>
- <datagrid id="spclrslt" nodeset="/root/main/spclrslt" backcoloralternate="transparent" caption="^검사명^결과치^참고치^단위^보고일시^검체명^prcpcd^spccd^bcolldt^spcacptdt^spcacptid" colsep="^" colwidth="20, 120, 70, 60, 70,120, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" navindex="2" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:90px; width:362px; height:250px; border-color:#c0c0c0; ">
- <col checkimage="../../../lis\commonweb\images\chkRPT1.gif" checkvalue="1,0" ref="check" type="checkbox" uncheckimage="../../../lis\commonweb\images\chkRPT0.gif" style="text-align:center; "/>
- <col ref="prcpnm"/>
- <col ref="reptrslt" style="text-align:center; "/>
- <col ref="ref"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="spcscrnnm"/>
- <col ref="prcpcd" visibility="hidden" style="left:339px; top:23px; width:30px; height:23px; "/>
- <col ref="spccd" visibility="hidden"/>
- <col ref="bcolldt" visibility="hidden"/>
- <col ref="spcacptdt" visibility="hidden"/>
- <col ref="spcacptid" visibility="hidden"/>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- //view.visible = false;
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- //fviewspcd(1);
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fpopupmenu();
- ]]>
- </script>
- </datagrid>
- <output id="output2" ref="/root/main/patinfo/testlist" class="output_fix" style="left:323px; top:37px; width:402px; height:19px; "/>
- <line id="line2" class="line_2" style="x1:365px; y1:34px; x2:658px; y2:34px; "/>
- <caption id="caption2" class="cell_1" style="left:230px; top:35px; width:90px; height:23px; vertical-align:middle; ">검증항목</caption>
- <select id="checkbox1" ref="/root/main/patinfo/verimthd" overflow="visible" appearance="full" cellspacing="100" cols="2" sep="▦" style="left:0px; top:365px; width:520px; height:53px; border-style:none; ">
- <choices>
- <item>
- <label>Calibration Verification</label>
- <value>1</value>
- </item>
- <item>
- <label>Internal Quality Control</label>
- <value>2</value>
- </item>
- <item>
- <label>Delta Check Verification</label>
- <value>3</value>
- </item>
- <item>
- <label>Panic/Alert Value Verification</label>
- <value>4</value>
- </item>
- <item>
- <label>Repeat / Recheck</label>
- <value>5</value>
- </item>
- <item>
- <label>Others :</label>
- <value>6</value>
- </item>
- </choices>
- </select>
- <switch id="switch1" style="left:735px; top:32px; width:450px; height:673px; ">
- <case id="case1" style="left:0px; top:0px; width:878px; height:663px; ">
- <datagrid id="readcmtlist" nodeset="/root/init/readcmtlist" backcoloralternate="transparent" caption="^소견코드^소견명^소견" colsep="^" colwidth="25, 1, 182, 1" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" navindex="2" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:35px; width:210px; height:620px; border-color:#c0c0c0; ">
- <col checkvalue="1,0" ref="chk" type="checkbox"/>
- <col ref="readcmtcd" visibility="hidden" style="left:20px; top:23px; width:166px; height:23px; "/>
- <col ref="readcmttitl"/>
- <col ref="readcmtcnts" type="output" visibility="hidden"/>
- <col ref="upreadcmtcnts" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbtnview();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fcmtmove();
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_1" style="x1:0px; y1:30px; x2:445px; y2:30px; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:15px; width:75px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">소견조회</caption>
- <input id="input1" ref="/root/hidden/cmtref/search" style="left:323px; top:10px; width:122px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13"){
-
- model.setvalue("/root/hidden/cmtref/search",input1.currentText);
- getFindSell();
- model.refresh();
- input1.selBegin = 0;
- input1.selEnd = input1.currentText.length;
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_SectCd" ref="/root/hidden/cmtref/readkind" visibility="hidden" appearance="minimal" itemcount="10" style="left:83px; top:10px; width:82px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fviewtext();
- ]]>
- </script>
- <choices>
- <item>
- <label>전체</label>
- <value>0</value>
- </item>
- <item>
- <label>코드명</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <button id="button12" class="btn2_letter4" visibility="hidden" style="left:169px; top:9px; width:64px; height:19px; ">
- <caption>소견조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fgetreadlsit();
- ]]>
- </script>
- </button>
- <datagrid id="readcmtlist2" nodeset="/root/init/readcmtlist2" backcoloralternate="transparent" caption="^소견코드^소견명^소견" colsep="^" colwidth="25, 1, 190, 1" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" navindex="2" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:211px; top:35px; width:234px; height:620px; border-color:#c0c0c0; ">
- <col checkvalue="1,0" ref="chk" type="checkbox"/>
- <col ref="readcmtcd" visibility="hidden" style="left:20px; top:23px; width:166px; height:23px; "/>
- <col ref="readcmttitl"/>
- <col ref="readcmtcnts" type="output" visibility="hidden"/>
- <col ref="upreadcmtcnts" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fbtnview();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fcmtmove2();
- ]]>
- </script>
- </datagrid>
- <caption id="caption8" style="left:280px; top:11px; width:40px; height:19px; ">검색 :</caption>
- </case>
- <case id="case2" selected="true" style="left:0px; top:0px; width:878px; height:663px; ">
- <datagrid id="alltestlist" nodeset="/root/main/rslt/rsltlist/row" class="datagrid2" colsep="^" dataheight="23" ellipsis="true" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" navindex="2" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:2px; top:35px; width:443px; height:605px; text-align:center; border-color:#c0c0c0; ">
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fpopupmenu3();
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:5px; top:15px; width:126px; height:14px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사결과</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:30px; x2:445px; y2:30px; "/>
- </case>
- </switch>
- <input id="input4" ref="/root/main/patinfo/verimthdother" class="input_default" style="left:320px; top:398px; width:165px; height:19px; "/>
- <textarea id="readcmtcnts" ref="/root/main/patinfo/readcont" style="left:0px; top:445px; width:695px; height:125px; "/>
- <caption id="caption5" class="tit_2" style="left:0px; top:580px; width:185px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">추가보고</caption>
- <textarea id="textarea2" ref="/root/main/patinfo/addreadcont" style="left:0px; top:600px; width:695px; height:60px; "/>
- <line id="line8" class="line_1" style="x1:0px; y1:595px; x2:695px; y2:595px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:670px; width:185px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">보고일</caption>
- <button id="button4" class="btn_sw" group="tab" style="left:735px; top:10px; width:225px; height:22px; ">
- <caption>결과예문</caption>
- <toggle case="case1" ev:event="onclick"/>
- </button>
- <button id="button5" class="btn_sw" group="tab" style="left:960px; top:10px; width:225px; height:22px; ">
- <caption>일자별 검사결과</caption>
- <toggle case="case2" ev:event="onclick"/>
- </button>
- <case id="case2"/>
- <datagrid id="spclrslt2" nodeset="/root/main/spclrslt2" backcoloralternate="transparent" caption="^검사명^결과치^참고치^단위^보고일시^검체명^prcpcd^spccd^bcolldt^spcacptdt^spcacptid" colsep="^" colwidth="20, 120, 70, 60, 70,120, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" navindex="2" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:362px; top:90px; width:363px; height:250px; text-align:center; border-color:#c0c0c0; ">
- <col checkimage="../../../lis\commonweb\images\chkRPT1.gif" checkvalue="1,0" ref="check" type="checkbox" uncheckimage="../../../lis\commonweb\images\chkRPT0.gif" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:left; "/>
- <col ref="reptrslt"/>
- <col ref="ref"/>
- <col ref="rsltunit"/>
- <col ref="lastreptdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="spcscrnnm"/>
- <col ref="prcpcd" visibility="hidden"/>
- <col ref="spccd" visibility="hidden"/>
- <col ref="bcolldt" visibility="hidden"/>
- <col ref="spcacptdt" visibility="hidden"/>
- <col ref="spcacptid" visibility="hidden"/>
- <script type="javascript" ev:event="onmouseout">
- <![CDATA[
- //view2.visible = false;
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseover">
- <![CDATA[
- //fviewspcd(0);
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fpopupmenu2();
- ]]>
- </script>
- </datagrid>
- <button id="btn1" class="icon_left" visibility="hidden" style="left:702px; top:440px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fcmtmove(1);
- fcmtmove2(1);
- ]]>
- </script>
- </button>
- <button id="btn2" class="icon_left" visibility="hidden" style="left:702px; top:595px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fcmtmove(2);
- fcmtmove2(2);
- ]]>
- </script>
- </button>
- <caption id="view" ref="/root/hidden/cmtref/viewcap" visibility="hidden" style="left:115px; top:115px; width:165px; height:65px; color:#000000; vertical-align:top; background-color:transparent; gradient:linear(0,0,100%,100%,#ccecff,white,1); ">caption12</caption>
- <caption id="view2" ref="/root/hidden/cmtref/viewcap" visibility="hidden" style="left:478px; top:115px; width:160px; height:65px; color:#000000; vertical-align:top; background-color:transparent; gradient:linear(0,0,100%,100%,#ccecff,white,1); ">caption12</caption>
- <datagrid id="testlist" nodeset="/root/main/testlist" visibility="hidden" caption="검증항목" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:575px; top:280px; width:105px; height:75px; ">
- <col ref="testlrgnm"/>
- </datagrid>
- <datagrid id="datagrid1" nodeset="/root/hidden/cancelgrd" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:365px; top:660px; width:350px; height:40px; ">
- <col ref="chk"/>
- <col ref="tclscd"/>
- <col ref="testcd"/>
- <col ref="tclsnm"/>
- <col ref="bcno"/>
- <col ref="orddeptnm"/>
- <col ref="atdrid"/>
- <col ref="spccd"/>
- <col ref="rsltstat"/>
- <col ref="prcpgenrflag"/>
- <col ref="sectcd"/>
- <col ref="tsectcd"/>
- <col ref="execprcpuniqno"/>
- </datagrid>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_LstRept" class="btn4_letter4" visibility="hidden" style="left:1046px; top:3px; width:80px; height:22px; ">
- <caption>결과저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fmakeString(1);
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //fSetClear();
- ]]>
- </script>
- </button>
- <button id="setbtn" class="btn4_letter4" visibility="hidden" style="left:1046px; top:3px; width:80px; height:22px; ">
- <caption>수정보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fmakeString(3);
- ]]>
- </script>
- </button>
- <button id="cancelbtn" class="btn4_letter4" visibility="hidden" style="left:965px; top:3px; width:80px; height:22px; ">
- <caption>취소보고</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fcalcelbcno();
- fmakeString(4);
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn6_letter2" style="left:0px; top:3px; width:96px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fviewreport2();
- ]]>
- </script>
- </button>
- <button id="button6" class="btn6_letter2" style="left:57px; top:3px; width:123px; height:22px; ">
- <caption>보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fviewreport();
-
- ]]>
- </script>
- </button>
- <caption id="caption4" visibility="hidden" style="left:430px; top:5px; width:15px; height:20px; text-align:center; ">/</caption>
- <output id="output4" ref="/root/main/patinfo/usercount" visibility="hidden" style="left:445px; top:5px; width:25px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:116px; top:3px; width:60px; height:23px; vertical-align:middle; ">검증인수</caption>
- <output id="output5" ref="/root/main/patinfo/count" class="output_fix" style="left:178px; top:5px; width:57px; height:19px; "/>
- <input id="ipt_testpsn" ref="/root/hidden/ref/userid" class="input_essential" visibility="hidden" imemode="disabled" _chartype="upper" style="left:795px; top:6px; width:76px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <output id="opt_testpsn" ref="/root/main/getUsernm/usernm" class="output_fix" visibility="hidden" style="left:873px; top:6px; width:82px; height:19px; "/>
- <caption id="caption16" class="tit_2" visibility="hidden" style="left:725px; top:11px; width:60px; height:13px; ">검사자</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|