123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769 |
-
- /*
-
- 통증사정도구(SMMNH014.xrw - JScript )
-
- - Version :
- 1) : Ver.1.00.01
- */
-
- /**
- * @group :
- * @ver : 2008.05.19
- * @by : 하재륜
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 통증사정도구 환자리스트를 조회
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSearch(){
-
- model.removeNodeset("/root/main/htfa");
- model.removeNodeset("/root/main/inpt");
- model.removenode("/root/send");
- model.makeValue("/root/send/gubun", model.getValue("/root/hidden/gubun"));
- if( model.getValue("/root/hidden/gubun") == "L" ){
- model.makeValue("/root/send/fromdd", model.getValue("/root/hidden/fromdd"));
- model.makeValue("/root/send/todd", model.getValue("/root/hidden/todd"));
- }
- submit("TRMNH01401");
-
- }
-
-
- /**
- * @group :
- * @ver : 2007.05.21
- * @by : 하재륜
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자별 통증사정도구 기록 조회
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPcoiSearch(){
- if(model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/pid")==""){
- return;
- }
- //조회조건일자 5일치, 등록번호, 생성일자, 기록구분(토글sheet I, II)
- model.removenode("/root/send");
- model.makeValue("/root/send/pid", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/pid"));
- model.makeValue("/root/send/indd", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/indd"));
- model.makeValue("/root/send/cretno", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/cretno"));
- model.makeValue("/root/send/cretdd", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/cretdd"));
- model.makeValue("/root/send/crettm", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/crettm"));
- model.makeValue("/root/send/chrtpcl", toggle);
- model.makeValue("/root/send/dday", ipt_fromdd.value);
-
- //sheet I이 활성화 된 상태
- if(toggle == 1){
-
- model.removeNodeset("/root/main/inpt");
- submit("TRMNH01403");
-
- if(grd_inptlist.rows < 2){
- model.copyNode("/root/main/inpt","/root/temp/inpt");
- model.refresh();
- }
-
- //그리드의 젤 첫번째쎌(헤더성)을 readonly상태로 변경
- for(var i=1 ; i< grd_inptlist.rows ; i++) {
-
- if((grd_pasmlist.valueMatrix(i,1)=="VAS") ||
- (grd_pasmlist.valueMatrix(i,1)=="Pain Mode-Site")){
- grd_pasmlist.isReadOnly(i, 1) = true;
- }
- }
- for(var i=1 ; i< grd_inptlist.rows ; i++) {
- for(j=1 ; j < 11 ; j++ ){
- tmp = grd_inptlist.valueMatrix(i,j);
- tmplng = tmp.length-2;
- tmp = grd_inptlist.valueMatrix(i,j).substring(tmplng, tmp.length);
- result = grd_inptlist.valueMatrix(i,j).substring(0, tmplng);
- if(tmp =='@@'){
- grd_inptlist.valueMatrix(i,j) = result;
- grd_inptlist.cellStyle("color", i, j, i, j) = "#3366FF";
- }else{
- grd_inptlist.cellStyle("color", i, j, i, j) = "#000000";
- }
- }
- }
- for(var i=1 ; i< grd_pasmlist.rows ; i++) {
- for(j=1 ; j < 11 ; j++ ){
- tmp = grd_pasmlist.valueMatrix(i,j);
- tmplng = tmp.length-2;
- tmp = grd_pasmlist.valueMatrix(i,j).substring(tmplng, tmp.length);
- result = grd_pasmlist.valueMatrix(i,j).substring(0, tmplng);
- if(tmp =='@@'){
- grd_pasmlist.valueMatrix(i,j) = result;
- grd_pasmlist.cellStyle("color", i, j, i, j) = "#3366FF";
- }else{
- grd_pasmlist.cellStyle("color", i, j, i, j) = "#000000";
- }
- }
- }
-
- //KPS(%)의 입력상태를 readonly상태로 변경
- grd_inptlist.isReadOnly(1, 2) = true;
- grd_inptlist.isReadOnly(1, 4) = true;
- grd_inptlist.isReadOnly(1, 6) = true;
- grd_inptlist.isReadOnly(1, 8) = true;
- grd_inptlist.isReadOnly(1, 10) = true;
-
- //VAS의 입력상태를 readonly상태로 변경
- grd_pasmlist.isReadOnly(1, 2) = true;
- grd_pasmlist.isReadOnly(1, 4) = true;
- grd_pasmlist.isReadOnly(1, 6) = true;
- grd_pasmlist.isReadOnly(1, 8) = true;
- grd_pasmlist.isReadOnly(1, 10) = true;
-
-
- //KPS(%)의 입력 셀의 배경색, 글씨색을 (분홍/빨강)으로 변경
- grd_inptlist.cellStyle("background-color", 1, 2, 1,2) = "#FFF0FF";
- grd_inptlist.cellStyle("color", 1, 2, 1, 2) = "#FF0000";
-
- grd_inptlist.cellStyle("background-color", 1, 4, 1,4) = "#FFF0FF";
- grd_inptlist.cellStyle("color", 1, 4, 1, 4) = "#FF0000";
-
- grd_inptlist.cellStyle("background-color", 1, 6, 1,6) = "#FFF0FF";
- grd_inptlist.cellStyle("color", 1, 6, 1, 6) = "#FF0000";
-
- grd_inptlist.cellStyle("background-color", 1, 8, 1,8) = "#FFF0FF";
- grd_inptlist.cellStyle("color", 1, 8, 1, 8) = "#FF0000";
-
- grd_inptlist.cellStyle("background-color", 1, 10, 1,10) = "#FFF0FF";
- grd_inptlist.cellStyle("color", 1,10, 1, 10) = "#FF0000";
-
-
- //VAS의 입력 셀의 배경색, 글씨색을 (분홍/빨강)으로 변경
- grd_pasmlist.cellStyle("background-color", 1, 2, 1,2) = "#FFF0FF";
- grd_pasmlist.cellStyle("color", 1, 2, 1, 2) = "#FF0000";
-
- grd_pasmlist.cellStyle("background-color", 1, 4, 1,4) = "#FFF0FF";
- grd_pasmlist.cellStyle("color", 1, 4, 1, 4) = "#FF0000";
-
- grd_pasmlist.cellStyle("background-color", 1, 6, 1,6) = "#FFF0FF";
- grd_pasmlist.cellStyle("color", 1, 6, 1, 6) = "#FF0000";
-
- grd_pasmlist.cellStyle("background-color", 1, 8, 1,8) = "#FFF0FF";
- grd_pasmlist.cellStyle("color", 1, 8, 1, 8) = "#FF0000";
-
- grd_pasmlist.cellStyle("background-color", 1, 10, 1,10) = "#FFF0FF";
- grd_pasmlist.cellStyle("color", 1,10, 1, 10) = "#FF0000";
-
-
-
- }
-
- //Sheet II가 활성화 된 상태
- else if(toggle == 2){
- model.removeNodeset("/root/main/inpt");
- submit("TRMNH01404");
- if(grd_inptlist2.rows < 2){
- model.copyNode("/root/main/inpt","/root/temp/inpt");
- model.refresh();
- }else{
- var supitemCd = '';
- var staiud = ''; var dday = '';
- var staiud_1 = ''; var dday_1 = '';
- for(var i = 1; i < grd_inptlist2.rows ; i++){
- supitemCd = model.getValue('/root/main/inpt/inptlist2' + "[" + i + "]/supitemcd");
- staiud = model.getValue('/root/main/inpt/inptlist2' + "[" + i + "]/staiud");
- staiud_1 = model.getValue('/root/main/inpt/inptlist2' + "[" + i + "]/staiud_1");
- dday = model.getValue('/root/main/inpt/inptlist2' + "[" + i + "]/dday");
- dday_1 = model.getValue('/root/main/inpt/inptlist2' + "[" + i + "]/dday_1");
- if((supitemCd == 'IJ'|| supitemCd == 'AC')
- && staiud == '' && dday == ''
- && staiud_1 != '' && dday_1 != ''
- && staiud_1 == dday_1){
- model.setValue('/root/main/inpt/inptlist2' + "[" + i + "]/dday", dday_1);
- }
- }
- }
-
- //그리드의 입력필드를 readonly상태로 변경( Symptom영역은 팝업을 호출하여 기록함 )
- for(var i=1 ; i< grd_inptlist2.rows ; i++) {
- if((grd_inptlist2.valueMatrix(i,1)=="가래(sputum)") ||
- (grd_inptlist2.valueMatrix(i,1)=="가려움(itching)") ||
- (grd_inptlist2.valueMatrix(i,1)=="구강건조(dry mouth)") ||
- (grd_inptlist2.valueMatrix(i,1)=="구내염(stomatitis)") ||
- (grd_inptlist2.valueMatrix(i,1)=="구토(vomiting)") ||
- (grd_inptlist2.valueMatrix(i,1)=="기면(drowsyness)") ||
- (grd_inptlist2.valueMatrix(i,1)=="기침(cough)") ||
- (grd_inptlist2.valueMatrix(i,1)=="딸꾹질(hiccup)") ||
- (grd_inptlist2.valueMatrix(i,1)=="발작(seizure)") ||
- (grd_inptlist2.valueMatrix(i,1)=="배뇨곤란(dysuria)") ||
- (grd_inptlist2.valueMatrix(i,1)=="변비(constipation)") ||
- (grd_inptlist2.valueMatrix(i,1)=="복수(ascites)") ||
- (grd_inptlist2.valueMatrix(i,1)=="부종(edema)") ||
- (grd_inptlist2.valueMatrix(i,1)=="상처(wound)") ||
- (grd_inptlist2.valueMatrix(i,1)=="설사(diarrhea)") ||
- (grd_inptlist2.valueMatrix(i,1)=="식욕부진(anorexia)") ||
- (grd_inptlist2.valueMatrix(i,1)=="연하곤란(dysphagia)") ||
- (grd_inptlist2.valueMatrix(i,1)=="오심(nausea)") ||
- (grd_inptlist2.valueMatrix(i,1)=="허약(weakness)") ||
- (grd_inptlist2.valueMatrix(i,1)=="호흡곤란(dyspnea)") ||
- (grd_inptlist2.valueMatrix(i,1)=="수면장애(insomnia)") ||
- (grd_inptlist2.valueMatrix(i,1)=="섬망(delirium)") ||
- (grd_inptlist2.valueMatrix(i,1)=="우울(depression)") ||
- (grd_inptlist2.valueMatrix(i,1)=="불안(anxiety)") ||
- (grd_inptlist2.valueMatrix(i,1)=="두려움(fear)") ||
- (grd_inptlist2.valueMatrix(i,1)=="수치감(shame)") ||
- (grd_inptlist2.valueMatrix(i,1)=="슬픔(sadness)") ||
- (grd_inptlist2.valueMatrix(i,1)=="외로움(loneliness)") ||
- (grd_inptlist2.valueMatrix(i,1)=="양가감정(ambivalence)")||
- (grd_inptlist2.valueMatrix(i,1)=="죄책감(guilty feeling)")){
- grd_inptlist2.isReadOnly(i, 2) = true;
- grd_inptlist2.isReadOnly(i, 4) = true;
- grd_inptlist2.isReadOnly(i, 6) = true;
- grd_inptlist2.isReadOnly(i, 8) = true;
- grd_inptlist2.isReadOnly(i, 10) = true;
- }
- for(j=1 ; j < 11 ; j++ ){
- // tmp = grd_inptlist2.valueMatrix(i,j).substring(2, 4);
- tmp = grd_inptlist2.valueMatrix(i,j);
- tmplng = tmp.length-2;
- tmp = grd_inptlist2.valueMatrix(i,j).substring(tmplng, tmp.length);
- result = grd_inptlist2.valueMatrix(i,j).substring(0, tmplng);
- if(tmp =='@@'){
- grd_inptlist2.valueMatrix(i,j) = result;
- grd_inptlist2.cellStyle("color", i, j, i, j) = "#3366FF";
- }else{
- grd_inptlist2.cellStyle("color", i, j, i, j) = "#000000";
- }
- }
- }
- model.refresh();
-
- }
-
- }
-
-
-
- /**
- * @group :
- * @ver : 2007.05.18
- * @by : 하재륜
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 통증사정도구 저장 (
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
-
- function fSave(){
- if(model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/pid")==""){
- return;
- }
- var sPassData =
- "pid" // 01.등록번호
- + "▦cretdd" // 02.생성일자
- + "▦crettm" // 02_1.생성시간
- + "▦chrtpcl" // 03.기록구분(1: sheet I , 2: sheet II)
- + "▦supitemcd" // 04.상위임상항목코드
- + "▦recitemcd" // 05.기록항목코드
- + "▦supitem" // 06.상위기록항목명
- + "▦recitem" // 06_1.기록항목명
- + "▦refenum" // 07.조회순서
- + "▦dday" // 08.값0
- + "▦staiud" // 09.비교값0
- + "▦recdd" // 10.기록일자0
- + "▦suprefenum" // 11.상위조회순서
- + "▦dday_1" // 12.값1
- + "▦staiud_1" // 13.비교값1
- + "▦recdd_1" // 14.기록일자1
- + "▦dday_2" // 15.값2
- + "▦staiud_2" // 16.비교값2
- + "▦recdd_2" // 17.기록일자2
- + "▦dday_3" // 18.값3
- + "▦staiud_3" // 19.비교값3
- + "▦recdd_3" // 20.기록일자3
- + "▦dday_4" // 21.값4
- + "▦staiud_4" // 22.비교값4
- + "▦recdd_4" // 23.기록일자4
- + "▩" ;
-
- //sheet I 저장
- if(toggle ==1){
-
- // kps , M/S
- for (i=1;i < grd_inptlist.rows; i++ ) {
- recitem = model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/recitem");
- if(recitem == ""){
- continue;
- }
- sPassData +=
- model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/pid" ) // 01.등록번호
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/cretdd" ) // 02.생성일자
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/crettm" ) // 02_1.생성시간
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/chrtpcl" ) // 03.기록구분(1: sheet I , 2: sheet II
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/supitemcd" ) // 04.상위임상항목코드
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/recitemcd" ) // 05.기록항목코드
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/supitem" ) // 06.상위기록항목명
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/recitem" ) // 06_1.기록항목명
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/refenum" ) // 07.조회순서
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/dday" ) // 08.값
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/staiud" ) // 09.비교값
- + "▦" + grd_inptlist.valueMatrix(0,3) // 10.기록일자
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/suprefenum") // 11.상위조회순서
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/dday_1" ) // 12.값1
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/staiud_1" ) // 13.비교값1
- + "▦" + grd_inptlist.valueMatrix(0,5) // 14.기록일자1
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/dday_2" ) // 15.값2
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/staiud_2" ) // 16.비교값2
- + "▦" + grd_inptlist.valueMatrix(0,7) // 17.기록일자2
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/dday_3" ) // 18.값3
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/staiud_3" ) // 19.비교값3
- + "▦" + grd_inptlist.valueMatrix(0,9) // 20.기록일자3
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/dday_4" ) // 21.값4
- + "▦" + model.getValue("/root/main/inpt/inptlist" + "["+ i + "]/staiud_4" ) // 22.비교값4
- + "▦" + grd_inptlist.valueMatrix(0,11) // 23.기록일자4
- + "▩" ;
- } //kps , M/S
- // Pain assess.
- for (i=1;i < grd_pasmlist.rows; i++ ) {
- recitem = model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/recitem");
- if(recitem == ""){
- continue;
- }
- sPassData +=
- model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/pid" ) // 01.등록번호
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/cretdd" ) // 02.생성일자
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/crettm" ) // 02_1.생성시간
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/chrtpcl" ) // 03.기록구분(1: sheet I , 2: sheet II
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/supitemcd" ) // 04.상위임상항목코드
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/recitemcd" ) // 05.기록항목코드
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/supitem" ) // 06.상위기록항목명
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/recitem" ) // 06_1.기록항목명
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/refenum" ) // 07.조회순서
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/dday" ) // 08.값
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/staiud" ) // 09.비교값
- + "▦" + grd_pasmlist.valueMatrix(0,3) // 10.기록일자
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/suprefenum") // 11.상위조회순서
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/dday_1" ) // 12.값1
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/staiud_1" ) // 13.비교값1
- + "▦" + grd_pasmlist.valueMatrix(0,5) // 14.기록일자1
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/dday_2" ) // 15.값2
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/staiud_2" ) // 16.비교값2
- + "▦" + grd_pasmlist.valueMatrix(0,7) // 17.기록일자2
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/dday_3" ) // 18.값3
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/staiud_3" ) // 19.비교값3
- + "▦" + grd_pasmlist.valueMatrix(0,9) // 20.기록일자3
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/dday_4" ) // 21.값4
- + "▦" + model.getValue("/root/main/inpt/pasmlist" + "["+ i + "]/staiud_4" ) // 22.비교값4
- + "▦" + grd_pasmlist.valueMatrix(0,11) // 23.기록일자4
- + "▩" ;
- // alert(grd_pasmlist.rows);
- } //Pain assess.
- // I/O , vital sign
- for (i=1;i < grd_iovslist.rows; i++ ) {
- recitem = model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/recitem");
- if(recitem == ""){
- continue;
- }
- sPassData +=
- model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/pid" ) // 01.등록번호
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/cretdd" ) // 02.생성일자
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/crettm" ) // 02_1.생성시간
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/chrtpcl" ) // 03.기록구분(1: sheet I , 2: sheet II
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/supitemcd" ) // 04.상위임상항목코드
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/recitemcd" ) // 05.기록항목코드
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/supitem" ) // 06.상위기록항목명
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/recitem" ) // 06_1.기록항목명
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/refenum" ) // 07.조회순서
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/dday" ) // 08.값
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/staiud" ) // 09.비교값
- + "▦" + grd_iovslist.valueMatrix(0,3) // 10.기록일자
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/suprefenum") // 11.상위조회순서
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/dday_1" ) // 12.값1
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/staiud_1" ) // 13.비교값1
- + "▦" + grd_iovslist.valueMatrix(0,5) // 14.기록일자1
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/dday_2" ) // 15.값2
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/staiud_2" ) // 16.비교값2
- + "▦" + grd_iovslist.valueMatrix(0,7) // 17.기록일자2
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/dday_3" ) // 18.값3
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/staiud_3" ) // 19.비교값3
- + "▦" + grd_iovslist.valueMatrix(0,9) // 20.기록일자3
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/dday_4" ) // 21.값4
- + "▦" + model.getValue("/root/main/inpt/iovslist" + "["+ i + "]/staiud_4" ) // 22.비교값4
- + "▦" + grd_iovslist.valueMatrix(0,11) // 23.기록일자4
- + "▩" ;
- } // I/O , vital sign
- //Pain Control
- for (i=1;i < grd_painlist.rows; i++ ) {
- recitem = model.getValue("/root/main/inpt/painlist" + "["+ i + "]/recitem");
- if(recitem == ""){
- continue;
- }
- sPassData +=
- model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/pid" ) // 01.등록번호
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/cretdd" ) // 02.생성일자
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/crettm" ) // 02_1.생성시간
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/chrtpcl" ) // 03.기록구분(1: sheet I , 2: sheet II
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/supitemcd" ) // 04.상위임상항목코드
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/recitemcd" ) // 05.기록항목코드
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/supitem" ) // 06.상위기록항목명
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/recitem" ) // 06_1.기록항목명
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/refenum" ) // 07.조회순서
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/dday" ) // 08.값
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/staiud" ) // 09.비교값
- + "▦" + grd_painlist.valueMatrix(0,3) // 10.기록일자
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/suprefenum") // 11.상위조회순서
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/dday_1" ) // 12.값1
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/staiud_1" ) // 13.비교값1
- + "▦" + grd_painlist.valueMatrix(0,5) // 14.기록일자1
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/dday_2" ) // 15.값2
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/staiud_2" ) // 16.비교값2
- + "▦" + grd_painlist.valueMatrix(0,7) // 17.기록일자2
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/dday_3" ) // 18.값3
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/staiud_3" ) // 19.비교값3
- + "▦" + grd_painlist.valueMatrix(0,9) // 20.기록일자3
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/dday_4" ) // 21.값4
- + "▦" + model.getValue("/root/main/inpt/painlist" + "["+ i + "]/staiud_4" ) // 22.비교값4
- + "▦" + grd_painlist.valueMatrix(0,11) // 23.기록일자4
- + "▩" ;
- } //Pain Control
- }
- //sheet II 저장
- else if(toggle ==2){
- //sheetII
- for (i=1;i < grd_inptlist2.rows; i++ ) {
- recitem = model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/recitem");
- if(recitem == ""){
- continue;
- }
- sPassData +=
- model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/pid" ) // 01.등록번호
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/cretdd" ) // 02.생성일자
- + "▦" + model.getValue("/root/main/htfa/htfalist" + "["+ grd_htfalist.row + "]/crettm" ) // 02_1.생성시간
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/chrtpcl" ) // 03.기록구분(1: sheet I , 2: sheet II
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/supitemcd" ) // 04.상위임상항목코드
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/recitemcd" ) // 05.기록항목코드
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/supitem" ) // 06.상위기록항목명
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/recitem" ) // 06_1.기록항목명
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/refenum" ) // 07.조회순서
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/dday" ) // 08.값
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/staiud" ) // 09.비교값
- + "▦" + grd_inptlist2.valueMatrix(0,3) // 10.기록일자
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/suprefenum") // 11.상위조회순서
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/dday_1" ) // 12.값1
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/staiud_1" ) // 13.비교값1
- + "▦" + grd_inptlist2.valueMatrix(0,5) // 14.기록일자1
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/dday_2" ) // 15.값2
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/staiud_2" ) // 16.비교값2
- + "▦" + grd_inptlist2.valueMatrix(0,7) // 17.기록일자2
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/dday_3" ) // 18.값3
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/staiud_3" ) // 19.비교값3
- + "▦" + grd_inptlist2.valueMatrix(0,9) // 20.기록일자3
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/dday_4" ) // 21.값4
- + "▦" + model.getValue("/root/main/inpt/inptlist2" + "["+ i + "]/staiud_4" ) // 22.비교값4
- + "▦" + grd_inptlist2.valueMatrix(0,11) // 23.기록일자4
- + "▩" ;
- } //Pain Control
- }
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/sPassData", sPassData);
-
- submit("TXMNH01402");
- }
-
-
-
- /**
- * @group :
- * @ver : 2007.04.23
- * @by : 하재륜
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 로드시
- * @param :
- * @return : 입력한날짜 + 날자
- * @---------------------------------------------------
- */
- function getAddDay(inputday,addend){
- var backDate ="";
- var rt = 0;
- var yyyy = inputday.substring(0,4) +"";
- var mm = inputday.substring(4,6) +"";
- var dd = inputday.substring(6,8) +"";
- var startDate = new Date(yyyy,(eval(mm)-1),dd);
- startDate.setTime(startDate.getTime()+(86400000*addend));
- NowYear = startDate.getYear();// 년
- NowMonth = startDate.getMonth()+1;// 월
- NowDay = startDate.getDate(); // 일
- backDate += NowYear ; //년도
- if (NowMonth < 10 ) backDate += "0" + NowMonth ;
- else backDate += (startDate.getMonth() + 1);
- if (NowDay < 10 ) backDate += "0" + NowDay ;
- else backDate += (startDate.getDate());
- return backDate ;
- }
-
-
-
- /**
- * @group :
- * @ver : 2007.11.22
- * @by : dhkim
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : VAS/KPS 이력등록 팝업을 호출한다.
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
-
- function fOpenVasKpsPopup(popGbn){
- var grdInptRow;
- var grdInptCol
- if(popGbn=='VAS'){
- grdInptRow = grd_pasmlist.row; //현재row index
- grdInptCol = grd_pasmlist.col; //현재col index
- }else{
- grdInptRow = grd_inptlist.row; //현재row index
- grdInptCol = grd_inptlist.col; //현재col index
- }
-
-
- var grdHtfaRow = grd_htfalist.row; //환자내역그리드의 현재 row index
-
- //hidden컬럼이 각각 하나씩 있어서 col idx가 2, 4, 6, 8, 10인 것만 팝업을 호출 ...
- if((grdInptCol==2) || (grdInptCol==4) || (grdInptCol==6) || (grdInptCol==8) || (grdInptCol==10)) {
- if(popGbn=='VAS'){
- var pid = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/pid"); //등록번호
- var cretdd = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/cretdd"); //생성일자
- var crettm = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/crettm"); //생성시간
- var instcd = model.getValue("/root/main/inpt/pasmlist[" + grdInptRow + "]/instcd"); //기관코드
- var recitemcd = model.getValue("/root/main/inpt/pasmlist[" + grdInptRow + "]/recitemcd"); //기록항목코드
- var recdd; //기록일자
- var vashval = grd_pasmlist.valueMatrix(grdInptRow, grdInptCol); //통증사전에 들어있는 현재그리드 row, col의 값
- var spid = model.getValue("/root/main/inpt/pasmlist[" + grdInptRow + "]/pid"); //통증사정에 들어있는 현재그리드 row의 pid값
- }else{
- var pid = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/pid"); //등록번호
- var cretdd = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/cretdd"); //생성일자
- var crettm = model.getValue("/root/main/htfa/htfalist[" + grdHtfaRow + "]/crettm"); //생성시간
- var instcd = model.getValue("/root/main/inpt/inptlist[" + grdInptRow + "]/instcd"); //기관코드
- var recitemcd = model.getValue("/root/main/inpt/inptlist[" + grdInptRow + "]/recitemcd"); //기록항목코드
- var recdd; //기록일자
- var vashval = grd_inptlist.valueMatrix(grdInptRow, grdInptCol); //통증사전에 들어있는 현재그리드 row, col의 값
- var spid = model.getValue("/root/main/inpt/inptlist[" + grdInptRow + "]/pid"); //통증사정에 들어있는 현재그리드 row의 pid값
- }
- //그리드에서 현재 포커스가 있는 col index를 얻어와서 기록일자값을 세팅
- if(popGbn=='VAS'){
- if(grdInptCol==2)
- recdd = grd_pasmlist.valueMatrix(0,3);
- else if(grdInptCol==4)
- recdd = grd_pasmlist.valueMatrix(0,5);
- else if(grdInptCol==6)
- recdd = grd_pasmlist.valueMatrix(0,7);
- else if(grdInptCol==8)
- recdd = grd_pasmlist.valueMatrix(0,9);
- else if(grdInptCol==10)
- recdd = grd_pasmlist.valueMatrix(0,11);
- }else {
- if(grdInptCol==2)
- recdd = grd_inptlist.valueMatrix(0,3);
- else if(grdInptCol==4)
- recdd = grd_inptlist.valueMatrix(0,5);
- else if(grdInptCol==6)
- recdd = grd_inptlist.valueMatrix(0,7);
- else if(grdInptCol==8)
- recdd = grd_inptlist.valueMatrix(0,9);
- else if(grdInptCol==10)
- recdd = grd_inptlist.valueMatrix(0,11);
- }
-
-
- //팝업호출시 넘겨줄 파라메터 값을 세팅한다.
- setParameter("pid", pid);
- setParameter("cretdd", cretdd);
- setParameter("crettm", crettm);
- setParameter("instcd", instcd);
- setParameter("recitemcd", recitemcd);
- setParameter("recdd", recdd);
- setParameter("vas_row", grdInptRow);
- setParameter("vas_col", grdInptCol);
- setParameter("vashval", vashval);
- setParameter("spid", spid);
- setParameter("popGbn", popGbn);//KPS와 VAS를 구분한다.
-
- popGbn = (popGbn=='VAS')?'SMMNH03300':(popGbn=='KPS')?'SMMNH03700':'';
- if(popGbn == '')
- return;
-
- //VAS및 KPS 이력 등록 하는 팝업호출
- var left = event.screenX-300;
- var top = event.screenY-150;
- modal(popGbn,1,left,top);
-
- //넘겨준 parameter값을 clear한다.
- clearParameter("pid");
- clearParameter("cretdd");
- clearParameter("crettm");
- clearParameter("instcd");
- clearParameter("recitemcd");
- clearParameter("recdd");
- clearParameter("vas_row");
- clearParameter("vas_col");
- clearParameter("vashval");
- clearParameter("spid");
- clearParameter("popGbn");
- }
-
- }
-
-
- /*
- * 2007-12-17
- * Sheet I 조회시 Orientation 콤보데이터가 코드로 보여지는 버그를 보완
- */
- function fShowOrientation(){
-
- var refArray = new Array("dday", "dday_1", "dday_2", "dday_3", "dday_4");
- for( var i = 0; i < refArray.length; i++ )
- grd_inptlist.cellComboNodeset(11, grd_inptlist.colRef(refArray[i])) = "/root/init/M0224list/M0224";
-
- }
- /*
- * 2008-05-21
- * 날자 선택시 그리드 날자 변경
- */
- function fChangeGridDate(){
-
- grd_inptlist.valueMatrix(0,2) = (ipt_fromdd.value).substring(4,6)+"/"+(ipt_fromdd.value).substring(6,8);
- grd_inptlist.valueMatrix(0,3) = ipt_fromdd.value;
- grd_inptlist.valueMatrix(0,4) = (getAddDay(ipt_fromdd.value,-1)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-1)).substring(6,8);
- grd_inptlist.valueMatrix(0,5) = getAddDay(ipt_fromdd.value,-1);
- grd_inptlist.valueMatrix(0,6) = (getAddDay(ipt_fromdd.value,-2)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-2)).substring(6,8);
- grd_inptlist.valueMatrix(0,7) = getAddDay(ipt_fromdd.value,-2);
- grd_inptlist.valueMatrix(0,8) = (getAddDay(ipt_fromdd.value,-3)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-3)).substring(6,8);
- grd_inptlist.valueMatrix(0,9) = getAddDay(ipt_fromdd.value,-3);
- grd_inptlist.valueMatrix(0,10) = (getAddDay(ipt_fromdd.value,-4)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-4)).substring(6,8);
- grd_inptlist.valueMatrix(0,11) = getAddDay(ipt_fromdd.value,-4);
- grd_pasmlist.valueMatrix(0,2) = (ipt_fromdd.value).substring(4,6)+"/"+(ipt_fromdd.value).substring(6,8);
- grd_pasmlist.valueMatrix(0,3) = ipt_fromdd.value;
- grd_pasmlist.valueMatrix(0,4) = (getAddDay(ipt_fromdd.value,-1)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-1)).substring(6,8);
- grd_pasmlist.valueMatrix(0,5) = getAddDay(ipt_fromdd.value,-1);
- grd_pasmlist.valueMatrix(0,6) = (getAddDay(ipt_fromdd.value,-2)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-2)).substring(6,8);
- grd_pasmlist.valueMatrix(0,7) = getAddDay(ipt_fromdd.value,-2);
- grd_pasmlist.valueMatrix(0,8) = (getAddDay(ipt_fromdd.value,-3)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-3)).substring(6,8);
- grd_pasmlist.valueMatrix(0,9) = getAddDay(ipt_fromdd.value,-3);
- grd_pasmlist.valueMatrix(0,10) = (getAddDay(ipt_fromdd.value,-4)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-4)).substring(6,8);
- grd_pasmlist.valueMatrix(0,11) = getAddDay(ipt_fromdd.value,-4);
- grd_iovslist.valueMatrix(0,2) = (ipt_fromdd.value).substring(4,6)+"/"+(ipt_fromdd.value).substring(6,8);
- grd_iovslist.valueMatrix(0,3) = ipt_fromdd.value;
- grd_iovslist.valueMatrix(0,4) = (getAddDay(ipt_fromdd.value,-1)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-1)).substring(6,8);
- grd_iovslist.valueMatrix(0,5) = getAddDay(ipt_fromdd.value,-1);
- grd_iovslist.valueMatrix(0,6) = (getAddDay(ipt_fromdd.value,-2)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-2)).substring(6,8);
- grd_iovslist.valueMatrix(0,7) = getAddDay(ipt_fromdd.value,-2);
- grd_iovslist.valueMatrix(0,8) = (getAddDay(ipt_fromdd.value,-3)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-3)).substring(6,8);
- grd_iovslist.valueMatrix(0,9) = getAddDay(ipt_fromdd.value,-3);
- grd_iovslist.valueMatrix(0,10) = (getAddDay(ipt_fromdd.value,-4)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-4)).substring(6,8);
- grd_iovslist.valueMatrix(0,11) = getAddDay(ipt_fromdd.value,-4);
-
- grd_painlist.valueMatrix(0,2) = (ipt_fromdd.value).substring(4,6)+"/"+(ipt_fromdd.value).substring(6,8);
- grd_painlist.valueMatrix(0,3) = ipt_fromdd.value;
- grd_painlist.valueMatrix(0,4) = (getAddDay(ipt_fromdd.value,-1)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-1)).substring(6,8);
- grd_painlist.valueMatrix(0,5) = getAddDay(ipt_fromdd.value,-1);
- grd_painlist.valueMatrix(0,6) = (getAddDay(ipt_fromdd.value,-2)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-2)).substring(6,8);
- grd_painlist.valueMatrix(0,7) = getAddDay(ipt_fromdd.value,-2);
- grd_painlist.valueMatrix(0,8) = (getAddDay(ipt_fromdd.value,-3)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-3)).substring(6,8);
- grd_painlist.valueMatrix(0,9) = getAddDay(ipt_fromdd.value,-3);
- grd_painlist.valueMatrix(0,10) = (getAddDay(ipt_fromdd.value,-4)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-4)).substring(6,8);
- grd_painlist.valueMatrix(0,11) = getAddDay(ipt_fromdd.value,-4);
-
- grd_inptlist2.valueMatrix(0,2) = (ipt_fromdd.value).substring(4,6)+"/"+(ipt_fromdd.value).substring(6,8);
- grd_inptlist2.valueMatrix(0,3) = ipt_fromdd.value;
- grd_inptlist2.valueMatrix(0,4) = (getAddDay(ipt_fromdd.value,-1)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-1)).substring(6,8);
- grd_inptlist2.valueMatrix(0,5) = getAddDay(ipt_fromdd.value,-1);
- grd_inptlist2.valueMatrix(0,6) = (getAddDay(ipt_fromdd.value,-2)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-2)).substring(6,8);
- grd_inptlist2.valueMatrix(0,7) = getAddDay(ipt_fromdd.value,-2);
- grd_inptlist2.valueMatrix(0,8) = (getAddDay(ipt_fromdd.value,-3)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-3)).substring(6,8);
- grd_inptlist2.valueMatrix(0,9) = getAddDay(ipt_fromdd.value,-3);
- grd_inptlist2.valueMatrix(0,10) = (getAddDay(ipt_fromdd.value,-4)).substring(4,6)+"/"+(getAddDay(ipt_fromdd.value,-4)).substring(6,8);
- grd_inptlist2.valueMatrix(0,11) = getAddDay(ipt_fromdd.value,-4);
-
- }
-
-
- /**
- * @group :
- * @ver : 2015.06.18
- * @by : 임지원
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 통증사정도구 Sheet II를 select하여 출력
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fPrint(){
-
- var xGetList="/root/main/inpt/inptlist2";
- var xTmpList="/root/tmp/printinfo";
-
- model.makeValue(xTmpList+"/pid", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/pid"));
- model.makeValue(xTmpList+"/hngnm", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/hngnm"));
- model.makeValue(xTmpList+"/roomcd", model.getValue("/root/main/htfa/htfalist["+grd_htfalist.row+"]/roomcd"));
-
- model.makeValue(xTmpList+"/grdcaption1", grd_inptlist2.valueMatrix(0,2));
- model.makeValue(xTmpList+"/grdcaption2", grd_inptlist2.valueMatrix(0,4));
- model.makeValue(xTmpList+"/grdcaption3", grd_inptlist2.valueMatrix(0,6));
- model.makeValue(xTmpList+"/grdcaption4", grd_inptlist2.valueMatrix(0,8));
- model.makeValue(xTmpList+"/grdcaption5", grd_inptlist2.valueMatrix(0,10));
-
- if( chk_dethbfc.value == "Y" ) {
- model.setValue(xTmpList+"/cond/dethbfc", "Y");
- copyNodesetType(xTmpList+"/dethbfc",xGetList +"[supitemcd = 'IMJM0001']","replace", model, model);
- }
- if( chk_dethcare.value == "Y" ) {
- model.setValue(xTmpList+"/cond/dethcare", "Y");
- copyNodesetType(xTmpList+"/dethcare",xGetList +"[supitemcd = 'ACDM0002']","replace", model, model);
- }
- if( chk_dethaftcare.value == "Y" ) {
- model.setValue(xTmpList+"/cond/dethaftcare", "Y");
- copyNodesetType(xTmpList+"/dethaftcare",xGetList +"[supitemcd = 'ACFM0001']","replace", model, model);
- }
- model.refresh();
-
- exeReportPreview("RPMNH01400", "XMLSTR");
-
- }
-
-
-
-
-
-
|