1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW18000" position="absolute 0 0 1219 791" titletext="입퇴원라운지메인" onload="SMMNW18000_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 1195 21" style="" scrollbars="none">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 159 23" style="" text="입퇴원라운지메인" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" position="absolute 0 13 1195 775" style="" scrollbars="none">
- <Layouts>
- <Layout>
- <Div id="group2" position="absolute 0 10 1194 45" style="">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 1194 35" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Static id="caption1" class="search_name" position="absolute 370 8 456 25" style="font:Dotum,9,bold;" text="방문여부 :"/>
- <Shape id="line2" class="line_4" linetype="vertical" position="absolute 1053 7 1056 29" style="border:1 solid #ffe4bb #ffe4bb;" anchor="default"/>
- <Calendar id="ipt_fromdd" class="input_search" mask="yyyy-mm-dd" position="absolute 122 8 220 27" style="font:Dotum,9;" anchor="default" autoselect="true" readonly="false"/>
- <Calendar id="ipt_todd" class="input_search" position="absolute 242 8 340 27" style="font:Dotum,9;" anchor="default" autoselect="true" readonly="false"/>
- <Static id="cpt_line" class="search_no_b" position="absolute 225 8 237 25" style="font:굴림,,굴림;" text="~"/>
- <Button id="btn_search" class="btn1" position="absolute 1068 7 1124 29" style="" text="조회" onclick="group3_group2_btn_search_onclick"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_inlvflag" position="absolute 465 8 650 28" style="font:Dotum,9,bold;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">방문</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">미방문</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_excsave" class="btn1" position="absolute 1125 7 1181 29" style="" text="액셀" onclick="group3_group2_btn_excsave_onclick"/>
- <Static id="caption4" class="search_name" position="absolute 675 8 761 25" style="font:Dotum,9,bold;" text="환자명 :"/>
- <Edit id="input1" class="input_search" position="absolute 760 8 860 27" style="font:Dotum,9;" anchor="default" onkeyup="group3_group2_input1_onkeyup"/>
- <Static id="cap_ddnm" class="search_name" position="absolute 20 8 110 25" style="font:Dotum,9,bold;" text="입원일자 :"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="switch1" position="absolute 0 51 1208 760" style="" anchor="default" onchanged="group3_switch1_onchanged">
- <Tabpages>
- <Tabpage id="inlv" selected="true" anchor="default" text="입원">
- <Layouts>
- <Layout>
- <Button id="button3" class="btn21" position="absolute 1059 5 1189 24" style="font:Dotum,9;" text="간호정보조사 임시저장" onclick="group3_switch1_inlv_button3_onclick" visible="false"/>
- <Static id="caption2" class="tit_2" position="absolute 5 8 305 22" style="align:left middle;font:Dotum,9,bold;" text="입원 방문관리"/>
- <Grid id="grd_inlvlist" binddataset="ds_main_inlvinfo_inlvlist" position="absolute 0 30 1190 648" style="" onaftersort="group3_switch1_inlv_grd_inlvlist_onaftersort" oncelldblclick="group3_switch1_inlv_grd_inlvlist_oncelldblclick" cellsizingtype="col" onexpanddown="group3_switch1_inlv_grd_inlvlist_onexpanddown" selecttype="row" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22" band="left"/>
- <Column size="65" band="left"/>
- <Column size="70" band="left"/>
- <Column size="40" band="left"/>
- <Column size="35" band="left"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="45"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="210"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="60"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="성별"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="병동"/>
- <Cell col="6" text="병상"/>
- <Cell col="7" text="병실"/>
- <Cell col="8" text="병실등급"/>
- <Cell col="9" text="진료과"/>
- <Cell col="10" text="진료의"/>
- <Cell col="11" text="진단코드"/>
- <Cell col="12" text="진단명"/>
- <Cell col="13" colspan="2" text="방문저장일시" taborder="undefined"/>
- <Cell col="15" text="입실일시"/>
- <Cell col="16" text="입실일시"/>
- <Cell col="17" text="간호정보조사"/>
- <Cell col="18" colspan="2" text="혈압(고_저)" taborder="undefined"/>
- <Cell col="20" text="맥박"/>
- <Cell col="21" text="호흡"/>
- <Cell col="22" colspan="2" text="체온" taborder="undefined"/>
- <Cell col="24" text="신장"/>
- <Cell col="25" text="체중"/>
- <Cell col="26" text="SPO2"/>
- <Cell col="27" text="혈액형"/>
- <Cell col="28" text="인증저장여부"/>
- <Cell col="29" text="instcd"/>
- <Cell col="30" text="indd"/>
- <Cell col="31" text="cretno"/>
- <Cell col="32" text="ordtype"/>
- <Cell col="33" text="tocntctel"/>
- <Cell col="34" text="방문저장여부"/>
- <Cell col="35" text="진료과코드"/>
- <Cell col="36" text="진료의ID"/>
- <Cell col="37" text="진료의핸드폰번호"/>
- <Cell col="38" text="담당의ID"/>
- <Cell col="39" text="담당의"/>
- <Cell col="40" text="담당의핸드폰번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="body" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" displaytype="combo" text="bind:wardcd" combodataset="ds_item_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="6" displaytype="combo" text="bind:bedcd" combodataset="ds_item_bedcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" displaytype="normal" text="bind:roomcd"/>
- <Cell col="8" displaytype="combo" style="align:left top;" text="bind:roomgrdecd" wordwrap="char" combodataset="ds_item_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="10" style="align:left middle;" text="bind:orddrnm"/>
- <Cell col="11" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="12" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="13" displaytype="date" text="bind:inrecdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" edittype="text" style="align:center middle;" text="bind:inrectm" mask="##:##" editautoselect="true" expandshow="show"/>
- <Cell col="15" displaytype="date" text="bind:careinrmdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" text="bind:careinrmtm" mask="##:##"/>
- <Cell col="17" displaytype="combo" text="bind:recflag" combodataset="ds_codelist" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="18" text="bind:highbp"/>
- <Cell col="19" text="bind:lowbp"/>
- <Cell col="20" text="bind:pulse"/>
- <Cell col="21" text="bind:breth"/>
- <Cell col="22" text="bind:bdtp"/>
- <Cell col="23" displaytype="combo" text="bind:bdtppartcd" combodataset="ds_comcodelist_bdtppartcd_cmblist_M0375" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="24" style="align:left middle;" text="bind:bdht"/>
- <Cell col="25" style="align:left middle;" text="bind:bdwt"/>
- <Cell col="26" style="align:left middle;" text="bind:spo2"/>
- <Cell col="27" displaytype="combo" text="bind:bdbtype" combodataset="ds_comcodelist_bdbtype_cmblist_M0376" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="28" text="bind:signinfoyn"/>
- <Cell col="29" text="bind:instcd"/>
- <Cell col="30" text="bind:indd"/>
- <Cell col="31" text="bind:cretno"/>
- <Cell col="32" text="bind:ordtype"/>
- <Cell col="33" text="bind:tocntctel"/>
- <Cell col="34" text="bind:inrecyn"/>
- <Cell col="35" text="bind:orddeptcd"/>
- <Cell col="36" text="bind:medispclid"/>
- <Cell col="37" text="bind:medispclphonno"/>
- <Cell col="38" text="bind:atdoctid"/>
- <Cell col="39" text="bind:atdoctnm"/>
- <Cell col="40" text="bind:atdoctidphonno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 25 1190 28" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
- <Button id="button10" class="btn2" position="absolute 993 5 1057 24" style="" text="입실저장" onclick="group3_switch1_inlv_button10_onclick" visible="false"/>
- <Button id="button2" class="btn5" position="absolute 1039 5 1103 24" style="" text="방문저장" onclick="group3_switch1_inlv_button2_onclick"/>
- <Button id="button11" class="btn2" position="absolute 918 5 1037 24" style="" text="중증도 및 위험사정" onclick="group3_switch1_inlv_button11_onclick"/>
- <Button id="button1" class="btn5" position="absolute 1105 5 1191 24" style="" text="방문저장취소" onclick="group3_switch1_inlv_button1_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="dschlv" anchor="default" text="퇴원">
- <Layouts>
- <Layout>
- <Button id="button4" class="btn5" position="absolute 1101 5 1187 24" style="" text="방문저장취소" onclick="group3_switch1_dschlv_button4_onclick"/>
- <Button id="button5" class="btn5" position="absolute 1035 5 1099 24" style="" text="방문저장" onclick="group3_switch1_dschlv_button5_onclick"/>
- <Static id="caption3" class="tit_2" position="absolute 5 9 305 23" style="align:left middle;font:Dotum,9,bold;" text="퇴원 방문관리"/>
- <Grid id="grd_dschlvlist" binddataset="ds_main_dschlvinfo_dschlvlist" position="absolute 0 30 1190 680" style="" onaftersort="group3_switch1_dschlv_grd_dschlvlist_onaftersort" oncelldblclick="group3_switch1_dschlv_grd_dschlvlist_oncelldblclick" cellsizingtype="col" onexpanddown="group3_switch1_dschlv_grd_dschlvlist_onexpanddown" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="22"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="35"/>
- <Column size="80"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="45"/>
- <Column size="110"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="175"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="성별"/>
- <Cell col="5" text="나이"/>
- <Cell col="6" text="입원일자"/>
- <Cell col="7" text="병동"/>
- <Cell col="8" text="병상"/>
- <Cell col="9" text="병실"/>
- <Cell col="10" text="병실등급"/>
- <Cell col="11" text="진료과"/>
- <Cell col="12" text="진료의"/>
- <Cell col="13" colspan="2" text="방문저장일시" taborder="undefined"/>
- <Cell col="15" text="진단코드"/>
- <Cell col="16" text="진단명"/>
- <Cell col="17" text="instcd"/>
- <Cell col="18" text="cretno"/>
- <Cell col="19" text="ordtype"/>
- <Cell col="20" text="방문저장여부"/>
- <Cell col="21" text="진료과코드"/>
- <Cell col="22" text="진료의ID"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" text="bind:indd"/>
- <Cell col="7" displaytype="combo" style="align:left middle;" text="bind:wardcd" combodataset="ds_item_wardcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="8" displaytype="combo" style="align:left middle;" text="bind:bedcd" combodataset="ds_item_bedcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="9" text="bind:roomcd" combodataset="ds_item_roomcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="10" displaytype="combo" style="align:left middle;" text="bind:roomgrdecd" combodataset="ds_item_roomgrdecd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="11" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="12" style="align:left middle;" text="bind:orddrnm"/>
- <Cell col="13" displaytype="date" text="bind:inrecdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" edittype="text" style="align:center middle;" text="bind:inrectm" mask="##:##" expandshow="show"/>
- <Cell col="15" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="16" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="17" text="bind:instcd"/>
- <Cell col="18" text="bind:cretno"/>
- <Cell col="19" text="bind:ordtype"/>
- <Cell col="20" text="bind:inrecyn"/>
- <Cell col="21" text="bind:orddeptcd"/>
- <Cell col="22" text="bind:medispclid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 25 1190 28" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
- <Button id="button12" class="btn2" position="absolute 914 5 1033 24" style="" text="중증도 및 위험사정" onclick="group3_switch1_dschlv_button12_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="testlv" anchor="default" text="검사대기">
- <Layouts>
- <Layout>
- <Button id="button6" class="btn5" position="absolute 1101 5 1187 24" style="" text="방문저장취소" onclick="group3_switch1_testlv_button6_onclick"/>
- <Button id="button7" class="btn5" position="absolute 1035 5 1099 24" style="" text="방문저장" onclick="group3_switch1_testlv_button7_onclick"/>
- <Grid id="grd_testlvlist" binddataset="ds_main_testlvinfo_testlvlist" position="absolute 0 30 1190 680" style="" onaftersort="group3_switch1_testlv_grd_testlvlist_onaftersort" cellsizingtype="col" autoenter="select" onexpanddown="group3_switch1_testlv_grd_testlvlist_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26" band="left"/>
- <Column size="22" band="left"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="35"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="190"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="175"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="성별"/>
- <Cell col="5" text="나이"/>
- <Cell col="6" text="센터"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의"/>
- <Cell col="9" text="검사명"/>
- <Cell col="10" text="처방일자"/>
- <Cell col="11" text="예약일자"/>
- <Cell col="12" colspan="2" text="방문저장일시" taborder="undefined"/>
- <Cell col="14" text="진단코드"/>
- <Cell col="15" text="진단명"/>
- <Cell col="16" text="instcd"/>
- <Cell col="17" text="orddd"/>
- <Cell col="18" text="cretno"/>
- <Cell col="19" text="prcpno"/>
- <Cell col="20" text="방문저장여부"/>
- <Cell col="21" text="진료과코드"/>
- <Cell col="22" text="진료의ID"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" displaytype="combo" style="align:left middle;" text="bind:centcd" combodataset="ds_item_centcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" displaytype="normal" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="8" style="align:left middle;" text="bind:orddrnm"/>
- <Cell col="9" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="10" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="11" displaytype="date" text="bind:rsrvdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="12" displaytype="date" text="bind:inrecdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="13" edittype="text" style="align:center middle;" text="bind:inrectm" mask="##:##" expandshow="show"/>
- <Cell col="14" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="15" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="16" text="bind:instcd"/>
- <Cell col="17" text="bind:orddd"/>
- <Cell col="18" text="bind:cretno"/>
- <Cell col="19" text="bind:prcpno"/>
- <Cell col="20" text="bind:inrecyn"/>
- <Cell col="21" text="bind:orddeptcd"/>
- <Cell col="22" text="bind:orddrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption5" class="tit_2" position="absolute 5 10 305 24" style="align:left middle;font:Dotum,9,bold;" text="검사대기 방문관리"/>
- <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 0 25 1190 28" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="medilv" anchor="default" text="진료대기">
- <Layouts>
- <Layout>
- <Button id="button8" class="btn5" position="absolute 1101 5 1187 24" style="" text="방문저장취소" onclick="group3_switch1_medilv_button8_onclick"/>
- <Button id="button9" class="btn5" position="absolute 1035 5 1099 24" style="" text="방문저장" onclick="group3_switch1_medilv_button9_onclick"/>
- <Static id="caption7" class="tit_2" position="absolute 5 10 305 24" style="align:left middle;font:Dotum,9,bold;" text="진료대기 방문관리"/>
- <Shape id="line5" class="line_1" linetype="horizontal" position="absolute 0 25 1190 28" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
- <Grid id="grd_medilvlist" binddataset="ds_main_medilvinfo_medilvlist" position="absolute 0 30 1190 680" style="" onaftersort="group3_switch1_medilv_grd_medilvlist_onaftersort" onlbuttonup="group3_switch1_medilv_grd_medilvlist_onlbuttonup" cellsizingtype="col" autoenter="select" onexpanddown="group3_switch1_medilv_grd_medilvlist_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="22" band="left"/>
- <Column size="60" band="left"/>
- <Column size="60" band="left"/>
- <Column size="40" band="left"/>
- <Column size="35" band="left"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="80"/>
- <Column size="100"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="90"/>
- <Column size="175"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="성별"/>
- <Cell col="5" text="나이"/>
- <Cell col="6" text="센터"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="진료의"/>
- <Cell col="9" text="예약구분"/>
- <Cell col="10" text="재진예약참고사항"/>
- <Cell col="11" text="보험유형"/>
- <Cell col="12" text="보조유형"/>
- <Cell col="13" colspan="2" text="방문저장일시" taborder="undefined"/>
- <Cell col="15" text="진단코드"/>
- <Cell col="16" text="진단명"/>
- <Cell col="17" text="instcd"/>
- <Cell col="18" text="orddd"/>
- <Cell col="19" text="cretno"/>
- <Cell col="20" text="방문저장여부"/>
- <Cell col="21" text="진료과코드"/>
- <Cell col="22" text="진료의ID"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" style="align:left middle;" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" displaytype="combo" style="align:left middle;" text="bind:centcd" combodataset="ds_item_centcd" combocodecol="cd" combodatacol="nm"/>
- <Cell col="7" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="8" style="align:left middle;" text="bind:orddrnm"/>
- <Cell col="9" displaytype="combo" style="align:left middle;" text="bind:rsrvflag" combodataset="ds_comcodelist_rsrvflag_cmblist_P0341" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="10" style="align:left middle;" text="bind:remfact"/>
- <Cell col="11" displaytype="combo" style="align:left middle;" text="bind:insukind" combodataset="ds_item_insukind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="12" displaytype="combo" style="align:left middle;" text="bind:suppkind" combodataset="ds_item_suppkind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="13" displaytype="date" text="bind:inrecdd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" edittype="text" style="align:center middle;" text="bind:inrectm" mask="##:##" expandshow="show"/>
- <Cell col="15" style="align:left middle;" text="bind:diagcd"/>
- <Cell col="16" style="align:left middle;" text="bind:diagnm"/>
- <Cell col="17" text="bind:instcd"/>
- <Cell col="18" text="bind:orddd"/>
- <Cell col="19" text="bind:cretno"/>
- <Cell col="20" text="bind:inrecyn"/>
- <Cell col="21" text="bind:orddeptcd"/>
- <Cell col="22" text="bind:orddrid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="inlvflag" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="menuflag" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="inlvflag">0</Col>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="menuflag"/>
- <Col id="patnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rtninfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="sexage"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rtninfo_rtnmsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="resultflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="resultflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bdtppartcd_cmblist" type="STRING" size="256"/>
- <Column id="bdbtype_cmblist" type="STRING" size="256"/>
- <Column id="rsrvflag_cmblist" type="STRING" size="256"/>
- <Column id="insukind_cmblist" type="STRING" size="256"/>
- <Column id="suppkind_cmblist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bdtppartcd_cmblist"/>
- <Col id="bdbtype_cmblist"/>
- <Col id="rsrvflag_cmblist"/>
- <Col id="insukind_cmblist"/>
- <Col id="suppkind_cmblist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_rtninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="inlvinfo" type="STRING" size="256"/>
- <Column id="dschlvinfo" type="STRING" size="256"/>
- <Column id="testlvinfo" type="STRING" size="256"/>
- <Column id="medilvinfo" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_comcodelist_bdtppartcd_cmblist_M0375" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_comcodelist_bdbtype_cmblist_M0376" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_comcodelist_rsrvflag_cmblist_P0341" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_comcodelist_insukind_cmblist_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_comcodelist_suppkind_cmblist_P0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_inlvinfo_inlvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_dschlvinfo_dschlvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_testlvinfo_testlvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_medilvinfo_medilvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_rtninfo_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_suppkindhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_bedcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_roomgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_roomgrdelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_roomtypecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_proccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_centcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_hospgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_naticd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_erorddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_insucd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_item_uncocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_inlvinfo_inlvlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group2.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group3.group2.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item2" compid="group3.group2.rdo_inlvflag" propid="value" datasetid="ds_main_cond" columnid="inlvflag"/>
- <BindItem id="item3" compid="group3.group2.input1" propid="value" datasetid="ds_main_cond" columnid="patnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SMMNW17300
- * Creator : yjh
- * Make Date : 2017-01-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-01-09 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- //include "emr_wardcarexp::SMMNW18000.xjs";
- // header파일 중 SMMNW18000.js 파일 시작
- var xInlvListPath = "ds_main_inlvinfo_inlvlist"; //입원방문관리
- var xDschlvListPath = "ds_main_dschlvinfo_dschlvlist"; //퇴원방문관리
- var xTestlvListPath = "ds_main_testlvinfo_testlvlist"; //검사대기방문관리
- var xMedilvListPath = "ds_main_medilvinfo_medilvlist"; //진료대기방문관리
- function SMMNW18000_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fInitialize();
- }
- // 초기화
- function fInitialize(){
- //grdf_setRowTypeIcon(group3.switch1.inlv.grd_inlvlist, 0);
- //grdf_setRowTypeIcon(group3.switch1.testlv.grd_testlvlist, 0);
- var arrParam = [
- { dsNm: "ds_comcodelist_bdtppartcd_cmblist_M0375",cdGrpId: "M0375" },
- { dsNm: "ds_comcodelist_bdbtype_cmblist_M0376", cdGrpId: "M0376" },
- { dsNm: "ds_comcodelist_rsrvflag_cmblist_P0341", cdGrpId: "P0341" },
- { dsNm: "ds_comcodelist_insukind_cmblist_P0008", cdGrpId: "P0008" },
- { dsNm: "ds_comcodelist_suppkind_cmblist_P0010", cdGrpId: "P0010" }
- ];
- appf_getCodeList(arrParam, true);
- fGetNursHardCdInfo("'R2'", utlf_getCurrentDate());
- ds_main_inlvinfo_inlvlist.clearData();
- ds_send.clearData();
- ds_send.addRow();
- ds_main_cond.setColumn( 0, "fromdd",utlf_getCurrentDate());
- ds_main_cond.setColumn( 0, "todd",utlf_getCurrentDate());
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_item_disccd=disccd ds_item_insukind=insukind ds_item_suppkind=suppkind ds_item_suppkindhist=suppkindhist ds_item_orddeptcd=orddeptcd ds_item_orddrid=orddrid ds_item_wardcd=wardcd ds_item_roomcd=roomcd ds_item_bedcd=bedcd ds_item_roomgrdecd=roomgrdecd ds_item_roomgrdelist=roomgrdelist ds_item_roomtypecd=roomtypecd ds_item_flag=flag ds_item_proccd=proccd ds_item_centcd=centcd ds_item_hospgrde=hospgrde ds_item_naticd=naticd ds_item_erorddrid=erorddrid ds_item_insucd=insucd ds_item_uncocd=uncocd";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00106";
- tranf_submit(oParam);
- var instcd = sysf_getUserInfo("dutplceinstcd");
- dsf_makeValue( ds_send_data1, "sess_posinstcd", "string", instcd);
- // submit("TRPMI00405");
- var oParam = {};
- oParam.id = "TRPMI00405";
- oParam.service = "ipatmngtapp.InhospUpdt";
- oParam.method = "reqGetRoomGrdeInfoList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_=roomgrdelist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI00405";
- tranf_submit(oParam);
- // model.toggle("group3.switch1.inlv");
- // group3.group2.cap_ddnm.attribute("left") = "20";
- // group3.group2.cap_ddnm.attribute("width") = "90";
- // group3.group2.cap_ddnm.text = "입원일자 :";
- // ds_main_cond.setColumn( 0, "menuflag", "group3.switch1.inlv");
- //model.refresh();
- //fSearch();
- }
- // 방문조회
- function fSearch(){
- var fromdd = ds_main_cond.getColumn(0, "fromdd");
- var todd = ds_main_cond.getColumn(0, "todd");
- if(utlf_getDateInterval(fromdd, todd) > 2){
- sysf_messageBox("조회기간은 3일 이상을 넘을 수", "I004");
- group3.group2.ipt_todd.setFocus();
- return;
- }
- //trace('aaa :'+group3.switch1.tabindex);
- if (group3.switch1.tabindex == 0 ) {
- fSearchinlv();
- } else if (group3.switch1.tabindex == 1 ) {
- fSearchdschlv();
- } else if (group3.switch1.tabindex == 2 ) {
- fSearchtestlv();
- } else if (group3.switch1.tabindex == 3 ) {
- fSearchmedilv();
- }else {
- fSearchinlv();
- }
- }
- // 입원방문조회
- function fSearchinlv(){
- ds_main_inlvinfo_inlvlist.clearData();
-
-
- // submit("TRMNW18000");
- var oParam = {};
- oParam.id = "TRMNW18000";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetInlvList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_inlvinfo_inlvlist=inlvlist";
- oParam.async = true;
- oParam.callback = "cf_TRMNW18000";
- tranf_submit(oParam);
-
- }
- function cf_TRMNW18000(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- ds_main_inlvinfo_inlvlist.updatecontrol = false;
- ds_main_inlvinfo_inlvlist.enableevent = false;
-
- ds_main_inlvinfo_inlvlist.addColumn("check","string");
- ds_main_inlvinfo_inlvlist.addColumn("recflag","string");
- for (i=0; i<ds_main_inlvinfo_inlvlist.rowcount; i++){
- ds_main_inlvinfo_inlvlist.setColumn(i,"recflag","01");
- }
-
- ds_main_inlvinfo_inlvlist.enableevent = true;
- ds_main_inlvinfo_inlvlist.updatecontrol = true;
- //trace(ds_main_inlvinfo_inlvlist.saveXML());
- }
- // 퇴원방문조회
- function fSearchdschlv(){
- ds_main_dschlvinfo_dschlvlist.clearData();
- ds_send.copyData(ds_main_cond);
- // submit("TRMNW18010");
- var oParam = {};
- oParam.id = "TRMNW18010";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetDschlvList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_dschlvinfo_dschlvlist=dschlvlist";
- oParam.async = true;
- oParam.callback = "cf_TRMNW18010";
- tranf_submit(oParam);
-
- }
- function cf_TRMNW18010(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_dschlvinfo_dschlvlist.addColumn("check","string");
- }
- // 검사대기 방문조회
- function fSearchtestlv(){
- ds_main_testlvinfo_testlvlist.clearData();
- ds_send.copyData(ds_main_cond);
- // submit("TRMNW18020");
- var oParam = {};
- oParam.id = "TRMNW18020";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetTestlvList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_testlvinfo_testlvlist=testlvlist";
- oParam.async = true;
- oParam.callback = "cf_TRMNW18020";
- tranf_submit(oParam);
-
- }
- function cf_TRMNW18020(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- //trace(ds_main_testlvinfo_testlvlist.saveXML());
- ds_main_testlvinfo_testlvlist.addColumn("check","string");
- ds_main_testlvinfo_testlvlist.addColumn("inrecyn","string");
- }
- // 진료대기 방문조회
- function fSearchmedilv(){
- ds_main_medilvinfo_medilvlist.clearData();
- ds_send.copyData(ds_main_cond);
- // submit("TRMNW18030");
- var oParam = {};
- oParam.id = "TRMNW18030";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqGetMedilvList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_medilvinfo_medilvlist=medilvlist";
- oParam.async = true;
- oParam.callback = "cf_TRMNW18030";
- tranf_submit(oParam);
-
- }
- function cf_TRMNW18030(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_main_medilvinfo_medilvlist.addColumn("check","string");
- ds_main_medilvinfo_medilvlist.addColumn("inrecyn","string");
- }
- // 방문저장
- function fSave(){
- if (group3.switch1.tabindex == 0) {
- trace('입원');
- fSaveinlv();
- }else if (group3.switch1.tabindex == 1 ) {
- trace('퇴원');
- fSavedschlv();
- }else if (group3.switch1.tabindex == 2 ) {
- trace('검사대기');
- fSavetestlv();
- }else if (group3.switch1.tabindex == 3 ) {
- trace('진료대기');
- fSavemedilv();
- }else {
- fSaveinlv();
- }
- }
- // 입원방문저장
- function fSaveinlv(){
- var inlvinfoHeader = "check▦instcd▦pid▦indd▦cretno▦inrecdd▦inrectm▦wardcd▦bedcd▦roomcd▦roomgrdecd▦orddeptcd▦medispclid▩";
- var inlvinfoData = "";
- var vcnt = 0;
- var inrecddcnt = 0;
- var inrectmcnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_inlvinfo_inlvlist.rowcount; i++) {
- if(ds_main_inlvinfo_inlvlist.getColumn(i, "check") == "1" ){
- //var check = ds_main_inlvinfo_inlvlist.getColumn(i, "check");
- var check = "Y";
- var instcd = ds_main_inlvinfo_inlvlist.getColumn(i, "instcd");
- var pid = ds_main_inlvinfo_inlvlist.getColumn(i, "pid");
- var indd = ds_main_inlvinfo_inlvlist.getColumn(i, "indd");
- var cretno = ds_main_inlvinfo_inlvlist.getColumn(i, "cretno");
- var inrecdd = ds_main_inlvinfo_inlvlist.getColumn(i, "inrecdd");
- var inrectm = ds_main_inlvinfo_inlvlist.getColumn(i, "inrectm");
- var wardcd = ds_main_inlvinfo_inlvlist.getColumn(i, "wardcd");
- var bedcd = ds_main_inlvinfo_inlvlist.getColumn(i, "bedcd");
- var roomcd = ds_main_inlvinfo_inlvlist.getColumn(i, "roomcd");
- var roomgrdecd = ds_main_inlvinfo_inlvlist.getColumn(i, "roomgrdecd");
- var orddeptcd = ds_main_inlvinfo_inlvlist.getColumn(i, "orddeptcd");
- var medispclid = ds_main_inlvinfo_inlvlist.getColumn(i, "medispclid");
-
-
-
-
- vcnt++;
-
- if(utlf_isNull(inrecdd)){
- inrecddcnt++;
- }
- if(utlf_isNull(inrectm)){
- inrectmcnt++;
- }
- // inlvinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + indd +"▦"
- // + cretno +"▦"
- // + inrecdd +"▦"
- // + inrectm +"▦"
- // + wardcd +"▦"
- // + bedcd +"▦"
- // + roomcd +"▦"
- // + roomgrdecd +"▦"
- // + orddeptcd +"▦"
- // + medispclid +"▩";
- }
- }
- var sData = grdf_getGridUpdateData(group3.switch1.inlv.grd_inlvlist);
- //trace(sData.saveXML());
- grdf_setStatusColumn(sData, "m");
- //dsf_createDs("ds_send2_sData");
- ds_send_inlvinfo_inlvlist.clearData();
- ds_send_inlvinfo_inlvlist.copyData(sData, true);
- //trace("inrecddcnt :"+inrecddcnt+"/"+inrectmcnt);
- if(vcnt <=0 ) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inrecddcnt > 0 || inrectmcnt > 0 ){
- sysf_messageBox("방문저장일시를 입력하십시오.","C");
- }else{
- //dsf_makeValue( ds_send, "savedata", "string", inlvinfoHeader+inlvinfoData);
- var oParam = {};
- oParam.id = "TXMNW18000";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeSaveInlvInfo";
- //oParam.inds = "savedata=ds_send_inlvinfo_inlvlist:U";
- oParam.inds = "savedata=ds_send_inlvinfo_inlvlist";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18000";
- tranf_submit(oParam);
- if(vcnt > 0) {
- fSearch() ;
- }
- }
- }
- // 퇴원방문저장
- function fSavedschlv(){
- var dschlvinfoHeader = "check▦instcd▦pid▦indd▦cretno▦inrecdd▦inrectm▦wardcd▦bedcd▦roomcd▦roomgrdecd▦orddeptcd▦medispclid▩";
- var dschlvinfoData = "";
- var vcnt = 0;
- var inrecddcnt = 0;
- var inrectmcnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_dschlvinfo_dschlvlist.rowcount; i++) {
- if(ds_main_dschlvinfo_dschlvlist.getColumn(i, "check") == "1"){
- //var check = ds_main_dschlvinfo_dschlvlist.getColumn(i, "check");
- var check = "Y";
- var instcd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "instcd");
- var pid = ds_main_dschlvinfo_dschlvlist.getColumn(i, "pid");
- var indd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "indd");
- var cretno = ds_main_dschlvinfo_dschlvlist.getColumn(i, "cretno");
- var inrecdd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "inrecdd");
- var inrectm = ds_main_dschlvinfo_dschlvlist.getColumn(i, "inrectm");
- var wardcd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "wardcd");
- var bedcd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "bedcd");
- var roomcd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "roomcd");
- var roomgrdecd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "roomgrdecd");
- var orddeptcd = ds_main_dschlvinfo_dschlvlist.getColumn(i, "orddeptcd");
- var medispclid = ds_main_dschlvinfo_dschlvlist.getColumn(i, "medispclid");
- vcnt++;
-
- if(inrecdd == ""){
- inrecddcnt++;
- }
- if(inrectm == ""){
- inrectmcnt++;
- }
- dschlvinfoData += check +"▦"
- + instcd +"▦"
- + pid +"▦"
- + indd +"▦"
- + cretno +"▦"
- + inrecdd +"▦"
- + inrectm +"▦"
- + wardcd +"▦"
- + bedcd +"▦"
- + roomcd +"▦"
- + roomgrdecd +"▦"
- + orddeptcd +"▦"
- + medispclid +"▩";
- }
- }
- //dschlvinfoData = grdf_getGridUpdateData(group3.switch1.inlv.grd_inlvlist);
- if(vcnt <= 0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inrecddcnt > 0 || inrectmcnt > 0 ){
- sysf_messageBox("방문저장일시를 입력하십시오.","C");
- }else{
- //dsf_makeValue( ds_send, "savedata", "string", dschlvinfoHeader+dschlvinfoData);
- // submit("TXMNW18010");
- var oParam = {};
- oParam.id = "TXMNW18010";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeSaveDschlvInfo";
- oParam.inds = "savedata=ds_main_dschlvinfo_dschlvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18010";
- tranf_submit(oParam);
- //if(vcnt <= 0) {
- if(vcnt > 0) {
- fSearch() ;
- }
- }
- }
- // 검사대기 방문저장
- function fSavetestlv(){
- var testlvinfoHeader = "check▦instcd▦pid▦orddd▦cretno▦prcpdd▦prcpno▦inrecdd▦inrectm▦orddeptcd▦centcd▦orddrid▩";
- var testlvinfoData = "";
- var vcnt = 0;
- var inrecddcnt = 0;
- var inrectmcnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_testlvinfo_testlvlist.rowcount; i++) {
- if(ds_main_testlvinfo_testlvlist.getColumn(i, "check") == "1"){
-
- var check = ds_main_testlvinfo_testlvlist.getColumn(i, "check");
- var instcd = ds_main_testlvinfo_testlvlist.getColumn(i, "instcd");
- var pid = ds_main_testlvinfo_testlvlist.getColumn(i, "pid");
- var orddd = ds_main_testlvinfo_testlvlist.getColumn(i, "orddd");
- var cretno = ds_main_testlvinfo_testlvlist.getColumn(i, "cretno");
- var prcpdd = ds_main_testlvinfo_testlvlist.getColumn(i, "prcpdd");
- var prcpno = ds_main_testlvinfo_testlvlist.getColumn(i, "prcpno");
- var inrecdd = ds_main_testlvinfo_testlvlist.getColumn(i, "inrecdd");
- var inrectm = ds_main_testlvinfo_testlvlist.getColumn(i, "inrectm");
- var orddeptcd = ds_main_testlvinfo_testlvlist.getColumn(i, "orddeptcd");
- var centcd = ds_main_testlvinfo_testlvlist.getColumn(i, "centcd");
- var orddrid = ds_main_testlvinfo_testlvlist.getColumn(i, "orddrid");
- vcnt++;
- if(inrecdd == ""){
- inrecddcnt++;
- }
- if(inrectm == ""){
- inrectmcnt++;
- }
- // testlvinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + orddd +"▦"
- // + cretno +"▦"
- // + prcpdd +"▦"
- // + prcpno +"▦"
- // + inrecdd +"▦"
- // + inrectm +"▦"
- // + orddeptcd +"▦"
- // + centcd +"▦"
- // + orddrid +"▩";
- }
- }
- if(vcnt <= 0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inrecddcnt > 0 || inrectmcnt > 0 ){
- sysf_messageBox("방문저장일시를 입력하십시오.","C");
- }else{
- var oParam = {};
- oParam.id = "TXMNW18020";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeSaveTestlvInfo";
- oParam.inds = "savedata=ds_main_testlvinfo_testlvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18020";
- tranf_submit(oParam);
- if(vcnt >0 ) {
- fSearch() ;
- }
- }
- }
- // 진료대기 방문저장
- function fSavemedilv(){
- var medilvinfoHeader = "check▦instcd▦pid▦orddd▦cretno▦inrecdd▦inrectm▦orddeptcd▦centcd▦orddrid▩";
- var medilvinfoData = "";
- var vcnt = 0;
- var inrecddcnt = 0;
- var inrectmcnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_medilvinfo_medilvlist.rowcount; i++) {
- if(ds_main_medilvinfo_medilvlist.getColumn(i, "check") == "1"){
- // var check = ds_main_medilvinfo_medilvlist.getColumn(i, "check");
- // var instcd = ds_main_medilvinfo_medilvlist.getColumn(i, "instcd");
- // var pid = ds_main_medilvinfo_medilvlist.getColumn(i, "pid");
- // var orddd = ds_main_medilvinfo_medilvlist.getColumn(i, "orddd");
- // var cretno = ds_main_medilvinfo_medilvlist.getColumn(i, "cretno");
- // var inrecdd = ds_main_medilvinfo_medilvlist.getColumn(i, "inrecdd");
- // var inrectm = ds_main_medilvinfo_medilvlist.getColumn(i, "inrectm");
- // var orddeptcd = ds_main_medilvinfo_medilvlist.getColumn(i, "orddeptcd");
- // var centcd = ds_main_medilvinfo_medilvlist.getColumn(i, "centcd");
- // var orddrid = ds_main_medilvinfo_medilvlist.getColumn(i, "orddrid");
- vcnt++;
- var inrecdd = ds_main_medilvinfo_medilvlist.getColumn(i, "inrecdd");
- var inrectm = ds_main_medilvinfo_medilvlist.getColumn(i, "inrectm");
- if(inrecdd == ""){
- inrecddcnt++;
- }
- if(inrectm == ""){
- inrectmcnt++;
- }
- // medilvinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + orddd +"▦"
- // + cretno +"▦"
- // + inrecdd +"▦"
- // + inrectm +"▦"
- // + orddeptcd +"▦"
- // + centcd +"▦"
- // + orddrid +"▩";
- }
- }
- if(vcnt <0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inrecddcnt > 0 || inrectmcnt > 0 ){
- sysf_messageBox("방문저장일시를 입력하십시오.","C");
- }else{
- var oParam = {};
- oParam.id = "TXMNW18030";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeSaveMedilvInfo";
- oParam.inds = "savedata=ds_main_medilvinfo_medilvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18030";
- tranf_submit(oParam);
- if(vcnt >0 ) {
- fSearch() ;
- }
- }
- }
- // 방문저장취소
- function fDel(){
- if(group3.switch1.tabindex == 0) {
- fDelinlv();
- }else if(group3.switch1.tabindex == 1) {
- fDeldschlv();
- }else if(group3.switch1.tabindex == 2) {
- fDeltestlv();
- }else if(group3.switch1.tabindex == 3) {
- fDelmedilv();
- }
- }
- // 입원방문저장취소
- function fDelinlv(){
- var inlvinfoHeader = "check▦instcd▦pid▦indd▦cretno▩";
- var inlvinfoData = "";
- var vCnt = 0;
- var inreccnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_inlvinfo_inlvlist.rowcount; i++) {
- if(ds_main_inlvinfo_inlvlist.getColumn(i, "check") == "1"){
-
- vCnt++;
- var inrecyn = ds_main_inlvinfo_inlvlist.getColumn(i,"inrecyn");
- if(inrecyn == "N"){
- inreccnt ++ ;
- }
- }
- }
- if(vCnt <= 0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inreccnt > 0 ){
- sysf_messageBox("방문저장된 건만 방문저장취소가 가능합니다.","C");
- }else{
- //dsf_makeValue( ds_send, "savedata", "string", inlvinfoHeader+inlvinfoData);
- var oParam = {};
- oParam.id = "TXMNW18001";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeDelInlvInfo";
- oParam.inds = "savedata=ds_main_inlvinfo_inlvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18001";
- tranf_submit(oParam);
- if (vCnt >0 ) {
- fSearch() ;
- }
- }
- }
- // 퇴원방문저장취소
- function fDeldschlv(){
- var dschvinfoHeader = "check▦instcd▦pid▦indd▦cretno▩";
- var dschlvinfoData = "";
- var vCnt = 0;
- var inreccnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_dschlvinfo_dschlvlist.rowcount; i++) {
- if(ds_main_dschlvinfo_dschlvlist.getColumn(i, "check") == "1"){
-
- // var check = eval(xDschlvListPath).getColumn(i, "check");
- // var instcd = eval(xDschlvListPath).getColumn(i, "instcd");
- // var pid = eval(xDschlvListPath).getColumn(i, "pid");
- // var indd = eval(xDschlvListPath).getColumn(i, "indd");
- // var cretno = eval(xDschlvListPath).getColumn(i, "cretno");
- //var inrecyn = eval(xDschlvListPath).getColumn(i, "inrecyn");
- var inrecyn = ds_main_dschlvinfo_dschlvlist.getColumn(i, "inrecyn");
- vCnt++;
-
- if(inrecyn == "N"){
- inreccnt ++ ;
- }
- }
- }
- if(vCnt <= 0 ) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inreccnt > 0 ){
- sysf_messageBox("방문저장된 건만 방문저장취소가 가능합니다.","C");
- }else{
-
- var oParam = {};
- oParam.id = "TXMNW18011";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeDelDschlvInfo";
- oParam.inds = "savedata=ds_main_dschlvinfo_dschlvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18011";
- tranf_submit(oParam);
- if (vCnt >0 ) {
- fSearch() ;
- }
- }
- }
- // 검사대기 방문저장취소
- function fDeltestlv(){
- var testvinfoHeader = "check▦instcd▦pid▦orddd▦cretno▦prcpdd▦prcpno▩";
- var testlvinfoData = "";
- var vCnt = 0;
- var inreccnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_testlvinfo_testlvlist.rowcount; i++) {
- if(ds_main_testlvinfo_testlvlist.getColumn(i, "check") == "1"){
- // var check = eval(xTestlvListPath).getColumn(i, "check");
- // var instcd = eval(xTestlvListPath).getColumn(i, "instcd");
- // var pid = eval(xTestlvListPath).getColumn(i, "pid");
- // var orddd = eval(xTestlvListPath).getColumn(i, "orddd");
- // var cretno = eval(xTestlvListPath).getColumn(i, "cretno");
- // var prcpdd = eval(xTestlvListPath).getColumn(i, "prcpdd");
- // var prcpno = eval(xTestlvListPath).getColumn(i, "prcpno");
- // var inrecyn = eval(xTestlvListPath).getColumn(i, "inrecyn");
- //
- // testlvinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + orddd +"▦"
- // + cretno +"▦"
- // + prcpdd +"▦"
- // + prcpno +"▩";
- vCnt++;
- var inrecyn = ds_main_testlvinfo_testlvlist.getColumn(i, "inrecyn");
- if(inrecyn == "N"){
- inreccnt ++ ;
- }
- }
- }
- if(vCnt <= 0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inreccnt > 0 ){
- sysf_messageBox("방문저장된 건만 방문저장취소가 가능합니다.","C");
- }else{
- var oParam = {};
- oParam.id = "TXMNW18021";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeDelTestlvInfo";
- oParam.inds = "savedata=ds_main_testlvinfo_testlvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18021";
- tranf_submit(oParam);
- if (vCnt >0 ) {
- fSearch() ;
- }
- }
- }
- // 진료대기 방문저장취소
- function fDelmedilv(){
- var medivinfoHeader = "check▦instcd▦pid▦orddd▦cretno▩";
- var medilvinfoData = "";
- var vCnt = 0;
- var inreccnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_medilvinfo_medilvlist.rowcount; i++) {
- if(ds_main_medilvinfo_medilvlist.getColumn(i, "check") == "1"){
- // var check = eval(xMedilvListPath).getColumn(i, "check");
- // var instcd = eval(xMedilvListPath).getColumn(i, "instcd");
- // var pid = eval(xMedilvListPath).getColumn(i, "pid");
- // var orddd = eval(xMedilvListPath).getColumn(i, "orddd");
- // var cretno = eval(xMedilvListPath).getColumn(i, "cretno");
- // var inrecyn = eval(xMedilvListPath).getColumn(i, "inrecyn");
- //
- // medilvinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + orddd +"▦"
- // + cretno +"▩";
- vCnt++;
- var inrecyn = ds_main_medilvinfo_medilvlist.getColumn(i, "inrecyn");
- if(inrecyn == "N"){
- inreccnt ++ ;
- }
- }
- }
- if(vCnt <=0) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(inreccnt > 0 ){
- sysf_messageBox("방문저장된 건만 방문저장취소가 가능합니다.","C");
- }else{
-
- var oParam = {};
- oParam.id = "TXMNW18031";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeDelMedilvInfo";
- oParam.inds = "savedata=ds_main_medilvinfo_medilvlist:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18031";
- tranf_submit(oParam);
- if (vCnt >0 ) {
- fSearch() ;
- }
- }
- }
- function fExcel(){
- if (group3.switch1.tabindex == 0 ) {
- grdf_exportExcel(group3.switch1.inlv.grd_inlvlist, "입원방문관리_"+utlf_getCurrentDate(), "SheetName",true);
- } else if (group3.switch1.tabindex == 1 ) {
- grdf_exportExcel(group3.switch1.dschlv.grd_dschlvlist, "퇴원방문관리_"+utlf_getCurrentDate(), "SheetName",true);
- } else if (group3.switch1.tabindex == 2 ) {
- grdf_exportExcel(group3.switch1.testlv.grd_testlvlist, "검사대기방문관리_"+utlf_getCurrentDate(), "SheetName",true);
- } else if (group3.switch1.tabindex == 3 ) {
- grdf_exportExcel(group3.switch1.medilv.grd_medilvlist, "진료대기방문관리_"+utlf_getCurrentDate(), "SheetName",true);
- }
- }
- // // 입원방문 엑셀저장
- // function fExcelinlv(){
- //
- // var fileName = window.fileDialog("save", ",", false, "입원방문관리_" + utlf_getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // var col1 = group3.switch1.inlv.grd_inlvlist.colRef("wardcd");
- // var col2 = group3.switch1.inlv.grd_inlvlist.colRef("bedcd");
- // var col3 = group3.switch1.inlv.grd_inlvlist.colRef("roomcd");
- // var col4 = group3.switch1.inlv.grd_inlvlist.colRef("roomgrdecd");
- // var col5 = group3.switch1.inlv.grd_inlvlist.colRef("bdtppartcd");
- // var col6 = group3.switch1.inlv.grd_inlvlist.colRef("bdbtype");
- //
- // if (fileName != ""){
- // group3.switch1.inlv.grd_inlvlist.saveExcel(fileName, "SheetName;exportfalsecols:1;col_"+col1+":label;col_"+col2+":label;col_"+col3+":label;col_"+col4+":label;col_"+col5+":label;col_"+col6+":label;", true, false, "", "", false);
- // }
- // }
- //
- // // 퇴원방문 엑셀저장
- // function fExceldschlv(){
- //
- // var fileName = window.fileDialog("save", ",", false, "퇴원방문관리_" + utlf_getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // var col1 = group3.switch1.dschlv.grd_dschlvlist.colRef("wardcd");
- // var col2 = group3.switch1.dschlv.grd_dschlvlist.colRef("bedcd");
- // var col3 = group3.switch1.dschlv.grd_dschlvlist.colRef("roomcd");
- // var col4 = group3.switch1.dschlv.grd_dschlvlist.colRef("roomgrdecd");
- //
- // if (fileName != ""){
- // group3.switch1.dschlv.grd_dschlvlist.saveExcel(fileName, "SheetName;exportfalsecols:1;col_"+col1+":label;col_"+col2+":label;col_"+col3+":label;col_"+col4+":label;", true, false, "", "", false);
- // }
- // }
- //
- // // 검사대기방문 엑셀저장
- // function fExceltestlv(){
- //
- // var fileName = window.fileDialog("save", ",", false, "검사대기방문관리_" + utlf_getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // var col1 = group3.switch1.testlv.grd_testlvlist.colRef("centcd");
- //
- // if (fileName != ""){
- // group3.switch1.testlv.grd_testlvlist.saveExcel(fileName, "SheetName;exportfalsecols:1;col_"+col1+":label;col_", true, false, "", "", false);
- // }
- // }
- //
- // // 진료대기방문 엑셀저장
- // function fExcelmedilv(){
- //
- // var fileName = window.fileDialog("save", ",", false, "진료대기방문관리_" + utlf_getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // var col1 = group3.switch1.medilv.grd_medilvlist.colRef("centcd");
- // var col2 = group3.switch1.medilv.grd_medilvlist.colRef("rsrvflag");
- // var col3 = group3.switch1.medilv.grd_medilvlist.colRef("insukind");
- // var col4 = group3.switch1.medilv.grd_medilvlist.colRef("suppkind");
- //
- // if (fileName != ""){
- // group3.switch1.medilv.grd_medilvlist.saveExcel(fileName, "SheetName;exportfalsecols:1;col_"+col1+":label;col_"+col2+":label;col_"+col3+":label;col_"+col4+":label;", true, false, "", "", false);
- // }
- // }
- // 간호정보조사 임시저장
- function fNrInfoSave(){
- var nrinfoHeader = "check▦instcd▦pid▦indd▦cretno▦recflag▦highbp▦lowbp▦pulse▦breth▦bdtp▦bdtppartcd▦bdht▦bdwt▦spo2▦bdbtype▩";
- var nrinfoData = "";
- var checkcnt = 0;
- var recflagcnt = 0;
- var signinfoyncnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_inlvinfo_inlvlist.rowcount; i++) {
- if(ds_main_inlvinfo_inlvlist.getColumn(i, "check") == "1"){
- dsf_createDsRow("ds_send_save2", [
- {col:"check", type:"STRING", size:256, val:"Y"}
- , {col:"instcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"instcd")}
- , {col:"pid", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"pid")}
- , {col:"indd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"indd")}
- , {col:"cretno", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"cretno")}
- , {col:"recflag", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"recflag")}
- , {col:"highbp", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"highbp")}
- , {col:"lowbp", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"lowbp")}
- , {col:"pulse", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"pulse")}
- , {col:"breth", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"breth")}
- , {col:"bdtp", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bdtp")}
- , {col:"bdtppartcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bdtppartcd")}
- , {col:"bdht", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bdht")}
- , {col:"bdwt", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bdwt")}
- , {col:"spo2", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"spo2")}
- , {col:"bdbtype", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bdbtype")}
- , {col:"signinfoyn", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"signinfoyn")}
- ]);
- checkcnt++;
- // var check = eval(xInlvListPath).getColumn(i, "check");
- // var instcd = eval(xInlvListPath).getColumn(i, "instcd");
- // var pid = eval(xInlvListPath).getColumn(i, "pid");
- // var indd = eval(xInlvListPath).getColumn(i, "indd");
- // var cretno = eval(xInlvListPath).getColumn(i, "cretno");
- // var recflag = eval(xInlvListPath).getColumn(i, "recflag");
- // var highbp = eval(xInlvListPath).getColumn(i, "highbp");
- // var lowbp = eval(xInlvListPath).getColumn(i, "lowbp");
- // var pulse = eval(xInlvListPath).getColumn(i, "pulse");
- // var breth = eval(xInlvListPath).getColumn(i, "breth");
- // var bdtp = eval(xInlvListPath).getColumn(i, "bdtp");
- // var bdtppartcd = eval(xInlvListPath).getColumn(i, "bdtppartcd");
- // var bdht = eval(xInlvListPath).getColumn(i, "bdht");
- // var bdwt = eval(xInlvListPath).getColumn(i, "bdwt");
- // var spo2 = eval(xInlvListPath).getColumn(i, "spo2");
- // var bdbtype = eval(xInlvListPath).getColumn(i, "bdbtype");
- // var signinfoyn = eval(xInlvListPath).getColumn(i, "signinfoyn");
- var recflag = ds_main_inlvinfo_inlvlist.getColumn(i, "recflag");
- var signinfoyn = ds_main_inlvinfo_inlvlist.getColumn(i, "signinfoyn");
- if(recflag == ""){
- recflagcnt++;
- }
- if(signinfoyn == "Y"){
- signinfoyncnt++;
- }
- // nrinfoData += check +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + indd +"▦"
- // + cretno +"▦"
- // + recflag +"▦"
- // + highbp +"▦"
- // + lowbp +"▦"
- // + pulse +"▦"
- // + breth +"▦"
- // + bdtp +"▦"
- // + bdtppartcd +"▦"
- // + bdht +"▦"
- // + bdwt +"▦"
- // + spo2 +"▦"
- // + bdbtype +"▩";
- }
- }
-
-
- if(checkcnt <=0 ) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(signinfoyncnt > 0 ){
- sysf_messageBox("이미 인증저장된 건은 저장 또는 수정이 불가 합니다.","E");
- }else if(recflagcnt > 0 ){
- sysf_messageBox("간호정보조사지 종류를 선택하십시오.","C");
- }else{
-
- var oParam = {};
- oParam.id = "TXMNW18002";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqExeSaveNrInfo";
- oParam.inds = "savedata=ds_send_save2";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXMNW18002";
- tranf_submit(oParam);
- }
- }
- function cf_TXMNW18002(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fSearch() ;
- }
- // 입실저장
- function fSaveInroom(){
- var inroominfoHeader = "check▦stat▦inrmcnfmflag▦saveId▦chngdeptroomflag▦instcd▦pid▦indd▦cretno▦wardcd▦bedcd▦roomcd▦roomgrdecd▦orddeptcd▦ordtype▦patnm▦sexage▦toward▦toroom▦chngorddeptcd▦chngatdoctid▦atdoctnm▦atdoctidphonno▦medispclid▦orddrnm▦medispclphonno▦tocntctel▦curdd▦curtm▦userid▦usernm▩";
- var inroominfoData = "";
- var careinrmddcnt = 0 ;
- var inddcnt = 0;
- var checkcnt = 0;
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- for(var i = 0 ; i < ds_main_inlvinfo_inlvlist.rowcount; i++) {
- if(ds_main_inlvinfo_inlvlist.getColumn(i, "check") == "1"){
- checkcnt++;
- if(checkcnt > 1) {
- sysf_messageBox("입실저장은 1건만 가능합니다.","E");
- return;
- }
-
- dsf_createDsRow("ds_send_save", [
- {col:"check", type:"STRING", size:256, val:"Y"}
- , {col:"instcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"instcd")}
- , {col:"pid", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"pid")}
- , {col:"indd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"indd")}
- , {col:"cretno", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"cretno")}
- , {col:"wardcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"wardcd")}
- , {col:"bedcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"bedcd")}
- , {col:"roomcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"roomcd")}
- , {col:"roomgrdecd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"roomgrdecd")}
- , {col:"orddeptcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"orddeptcd")}
- , {col:"ordtype", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"ordtype")}
- , {col:"patnm", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"hngnm")}
- , {col:"careinrmdd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"careinrmdd")}
- , {col:"toward", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"wardcd")}
- , {col:"toroom", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"roomcd")}
- , {col:"chngorddeptcd", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"wardcd")}
- , {col:"chngatdoctid", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"atdoctid")}
- , {col:"atdoctnm", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"atdoctnm")}
- , {col:"atdoctidphonno", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"atdoctidphonno")}
- , {col:"medispclid", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"medispclid")}
- , {col:"orddrnm", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"orddrnm")}
- , {col:"medispclphonno", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"medispclphonno")}
- , {col:"tocntctel", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"tocntctel")}
- , {col:"stat", type:"STRING", size:256, val:"u"}
- , {col:"chngdeptroomflag", type:"STRING", size:256, val:"01"}
- , {col:"saveId", type:"STRING", size:256, val:"SMMNW18000"}
- , {col:"sexage", type:"STRING", size:256, val:ds_main_inlvinfo_inlvlist.getColumn(0,"sex")+"/"+ds_main_inlvinfo_inlvlist.getColumn(0,"age")}
- , {col:"curdd", type:"STRING", size:256, val:utlf_getCurrentDate()}
- , {col:"curtm", type:"STRING", size:256, val:utlf_getCurrentTime().substr(0,4)}
- , {col:"userid", type:"STRING", size:256, val:sysf_getUserId()}
- , {col:"usernm", type:"STRING", size:256, val:sysf_getUserName()}
- , {col:"ordflag", type:"STRING", size:256, val:"01"}
- , {col:"inrmcnfmflag", type:"STRING", size:256, val:"U"}
- ]);
-
- // var check = eval(xInlvListPath).getColumn(i, "check");
- // var instcd = eval(xInlvListPath).getColumn(i, "instcd");
- // var pid = eval(xInlvListPath).getColumn(i, "pid");
- // var indd = eval(xInlvListPath).getColumn(i, "indd");
- // var cretno = eval(xInlvListPath).getColumn(i, "cretno");
- // var wardcd = eval(xInlvListPath).getColumn(i, "wardcd");
- // var bedcd = eval(xInlvListPath).getColumn(i, "bedcd");
- // var roomcd = eval(xInlvListPath).getColumn(i, "roomcd");
- // var roomgrdecd = eval(xInlvListPath).getColumn(i, "roomgrdecd");
- // var orddeptcd = eval(xInlvListPath).getColumn(i, "orddeptcd");
- // var ordtype = eval(xInlvListPath).getColumn(i, "ordtype");
- // var patnm = eval(xInlvListPath).getColumn(i, "hngnm");
- // var careinrmdd = eval(xInlvListPath).getColumn(i, "careinrmdd");
- // var toward = group3.switch1.inlv.grd_inlvlist.labelMatrix(group3.switch1.inlv.grd_inlvlist.row, group3.switch1.inlv.grd_inlvlist.colRef("wardcd"));
- // var toroom = group3.switch1.inlv.grd_inlvlist.labelMatrix(group3.switch1.inlv.grd_inlvlist.row, group3.switch1.inlv.grd_inlvlist.colRef("roomcd"));
- // var chngorddeptcd = eval(xInlvListPath).getColumn(i, "wardcd");
- // var chngatdoctid = eval(xInlvListPath).getColumn(i, "atdoctid");
- // var atdoctnm = eval(xInlvListPath).getColumn(i, "atdoctnm");
- // var atdoctidphonno = eval(xInlvListPath).getColumn(i, "atdoctidphonno");
- // var medispclid = eval(xInlvListPath).getColumn(i, "medispclid");
- // var orddrnm = eval(xInlvListPath).getColumn(i, "orddrnm");
- // var medispclphonno = eval(xInlvListPath).getColumn(i, "medispclphonno");
- // var tocntctel = eval(xInlvListPath).getColumn(i, "tocntctel");
- // var stat = "u";
- // var chngdeptroomflag = "01";
- // var saveId = "SMMNW18000";
- // var sexage = eval(xInlvListPath).getColumn(i, "sex") + "/" + eval(xInlvListPath).getColumn(i, "age");
- // var curdd = utlf_getCurrentDate();
- // var curtm = utlf_getCurrentTime().substr(0,4);
- // var userid = sysf_getUserId();
- // var usernm = sysf_getUserName();
- // var ordflag = "01";
- // var inrmcnfmflag = "U";
- var careinrmdd = eval(xInlvListPath).getColumn(i, "careinrmdd");
- var indd = eval(xInlvListPath).getColumn(i, "indd");
-
- // if(careinrmdd != "-"){
- // careinrmddcnt++;
- // }
- //
- // if(indd != utlf_getCurrentDate()){
- // inddcnt++;
- // }
- // inroominfoData += check +"▦"
- // + stat +"▦"
- // + inrmcnfmflag +"▦"
- // + saveId +"▦"
- // + chngdeptroomflag +"▦"
- // + instcd +"▦"
- // + pid +"▦"
- // + indd +"▦"
- // + cretno +"▦"
- // + wardcd +"▦"
- // + bedcd +"▦"
- // + roomcd +"▦"
- // + roomgrdecd +"▦"
- // + orddeptcd +"▦"
- // + ordtype +"▦"
- // + patnm +"▦"
- // + sexage +"▦"
- // + toward +"▦"
- // + toroom +"▦"
- // + chngorddeptcd +"▦"
- // + chngatdoctid +"▦"
- // + atdoctnm +"▦"
- // + atdoctidphonno +"▦"
- // + medispclid +"▦"
- // + orddrnm +"▦"
- // + medispclphonno +"▦"
- // + tocntctel +"▦"
- // + curdd +"▦"
- // + curtm +"▦"
- // + userid +"▦"
- // + usernm +"▩";
- }
- }
- if(checkcnt <=0 ) {
- sysf_messageBox("선택된 내역이", "I004");
- return;
- }else if(careinrmddcnt > 0 ){
- sysf_messageBox("이미 입실저장된 건은 저장이 불가합니다.","E");
- }else if(inddcnt > 0 ){
- sysf_messageBox("당일 입원환자에 대해서만 입실저장이", "I006","\입원일자를 확인하십시오.","E");
- }else{
-
-
- // dsf_makeValue( ds_send, "savedata", "string", inroominfoHeader+inroominfoData);
- // ds_main_rtninfo.clearData();
- var oParam = {};
- oParam.id = "TXMNW18003";
- oParam.service = "wardcareapp.WardCareMngt";
- oParam.method = "reqSetInPatList";
- oParam.inds = "patlist=ds_send_save";
- oParam.outds = "ds_main_rtninfo_result=result ds_main_rtninfo_rtnmsg=rtnmsg ds_main_rtninfo_patinfolist=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TXMNW18003";
- tranf_submit(oParam);
- }
- }
- function cf_TXMNW18003(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
-
- var sMessage = "";
- sMessage = ds_main_rtninfo_patinfolist.getColumn(0, "pid") + " "
- + ds_main_rtninfo_patinfolist.getColumn(0, "patnm") + " "
- + ds_main_rtninfo_patinfolist.getColumn(0, "sexage") + " "
- + "입실등록되었습니다." ;
- if(ds_main_rtninfo_rtnmsg.getColumn(0, "resultflag") == "2") {
- sMessage += "\n\n입원전 검사실에서 미액팅된 검사가 존재합니다.\n입원전 검사실에 확인하십시오!!";
- }
- sysf_messageBox(sMessage, "I");
- if (utlf_isNull(sMessage)) {
- fSearch() ;
- }
- }
- function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fSearch();
- }
- function group3_group2_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
- fExcel();
- }
- function group3_group2_input1_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(event.keyCode == "13") {
- obj.updateToDataset();
- inputEnterKey("group3.group2.btn_search", "DOMActivate");
- }
- }
- function group3_switch1_inlv_button1_onclick(obj:Button, e:ClickEventInfo) {
- fDel(); // 취소
- }
- function group3_switch1_inlv_button2_onclick(obj:Button, e:ClickEventInfo) {
- fSave(); // 등록,수정
- }
- function group3_switch1_inlv_button3_onclick(obj:Button, e:ClickEventInfo) {
- fNrInfoSave(); // 간호정보조사지 임시저장,수정
- }
- function group3_switch1_inlv_grd_inlvlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- var condparam = "";
- // 상단정보 올림
- condparam = ds_main_inlvinfo_inlvlist.getColumn(group3.switch1.inlv.grd_inlvlist.row, "ordtype")
- + "▦" + ds_main_inlvinfo_inlvlist.getColumn(group3.switch1.inlv.grd_inlvlist.row, "pid")
- + "▦" + ds_main_inlvinfo_inlvlist.getColumn(group3.switch1.inlv.grd_inlvlist.row, "indd")
- + "▦" + ds_main_inlvinfo_inlvlist.getColumn(group3.switch1.inlv.grd_inlvlist.row, "cretno")
- + "▦" + ds_main_inlvinfo_inlvlist.getColumn(group3.switch1.inlv.grd_inlvlist.row, "instcd")
- + "▦" + utlf_getCurrentDate();
- frmf_setParameter("condparam", condparam);
- frmf_modal("SPMMO08900", "SPMMO08900", null, null, null, null, null, null, null, null, null, null, "M");
- //frmf_modal("SPMMO08900", "SPMMO08900", "", "1", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden", "", "", "M");
- }
- function group3_switch1_inlv_button10_onclick(obj:Button, e:ClickEventInfo) {
- fSaveInroom(); // 입실저장
- }
- function group3_switch1_inlv_button11_onclick(obj:Button, e:ClickEventInfo) {
- frmf_open("SMMNW04000", "SMMNW04000", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function group3_switch1_dschlv_button4_onclick(obj:Button, e:ClickEventInfo) {
- fDel(); // 취소
- }
- function group3_switch1_dschlv_button5_onclick(obj:Button, e:ClickEventInfo) {
- fSave(); // 등록,수정
- }
- // function group3_switch1_dschlv_grd_dschlvlist_onlbuttonup(obj:Grid, e:MouseEventInfo) {
- //
- // var xDschlvlistPath = "ds_main_dschlvinfo_dschlvlist";
- //
- // if(group3.switch1.dschlv.grd_dschlvlist.col == group3.switch1.dschlv.grd_dschlvlist.colRef("inrectm")) {
- // model.setValue(xDschlvlistPath+"["+(group3.switch1.dschlv.grd_dschlvlist.row)+"]_inrecdd", utlf_getCurrentDate());
- // model.setValue(xDschlvlistPath+"["+(group3.switch1.dschlv.grd_dschlvlist.row)+"]_inrectm", utlf_getCurrentDateTime().substring(9,13));
- // }
- //
- // }
- function group3_switch1_dschlv_grd_dschlvlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- var condparam = "";
- // 상단정보 올림
- condparam = ds_main_dschlvinfo_dschlvlist.getColumn(group3.switch1.dschlv.grd_dschlvlist.row, "ordtype")
- + "▦" + ds_main_dschlvinfo_dschlvlist.getColumn(group3.switch1.dschlv.grd_dschlvlist.row, "pid")
- + "▦" + ds_main_dschlvinfo_dschlvlist.getColumn(group3.switch1.dschlv.grd_dschlvlist.row, "indd")
- + "▦" + ds_main_dschlvinfo_dschlvlist.getColumn(group3.switch1.dschlv.grd_dschlvlist.row, "cretno")
- + "▦" + ds_main_dschlvinfo_dschlvlist.getColumn(group3.switch1.dschlv.grd_dschlvlist.row, "instcd")
- + "▦" + utlf_getCurrentDate();
- frmf_setParameter("condparam", condparam);
- frmf_modal("SPMMO08900", "SPMMO08900", null, null, null, null, null, null, null, null, null, null, "M");
- //frmf_modal("SPMMO08900", "", ""-"", "", "1", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden", "", "", "M");
- }
- function group3_switch1_dschlv_button12_onclick(obj:Button, e:ClickEventInfo) {
- frmf_open("SMMNW04000", "SMMNW04000", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function group3_switch1_testlv_button6_onclick(obj:Button, e:ClickEventInfo) {
- fDel(); // 취소
- }
- function group3_switch1_testlv_button7_onclick(obj:Button, e:ClickEventInfo) {
-
- fSave(); // 등록,수정
- }
- // function group3_switch1_testlv_grd_testlvlist_onlbuttonup(obj:Grid, e:MouseEventInfo) {
- //
- // var xTestlvlistPath = "ds_main_testlvinfo_testlvlist";
- //
- // if(group3.switch1.testlv.grd_testlvlist.col == group3.switch1.testlv.grd_testlvlist.colRef("inrectm")) {
- // model.setValue(xTestlvlistPath+"["+(group3.switch1.testlv.grd_testlvlist.row)+"]_inrecdd", utlf_getCurrentDate());
- // model.setValue(xTestlvlistPath+"["+(group3.switch1.testlv.grd_testlvlist.row)+"]_inrectm", utlf_getCurrentDateTime().substring(9,13));
- // }
- //
- // }
- function group3_switch1_medilv_button8_onclick(obj:Button, e:ClickEventInfo) {
- fDel(); // 취소
- }
- function group3_switch1_medilv_button9_onclick(obj:Button, e:ClickEventInfo) {
- fSave(); // 등록,수정
- }
- // function group3_switch1_medilv_grd_medilvlist_onlbuttonup(obj:Grid, e:MouseEventInfo) {
- //
- // var xMedilvlistPath = "ds_main_medilvinfo_medilvlist";
- //
- // if(group3.switch1.medilv.grd_medilvlist.col == group3.switch1.medilv.grd_medilvlist.colRef("inrectm")) {
- // model.setValue(xMedilvlistPath+"["+(group3.switch1.medilv.grd_medilvlist.row)+"]_inrecdd", utlf_getCurrentDate());
- // model.setValue(xMedilvlistPath+"["+(group3.switch1.medilv.grd_medilvlist.row)+"]_inrectm", utlf_getCurrentDateTime().substring(9,13));
- // }
- //
- // }
- function group3_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- ds_main_cond.setColumn( 0, "menuflag", group3.switch1.tabindex );
- ds_main_cond.setColumn( 0, "fromdd",utlf_getCurrentDate());
- ds_main_cond.setColumn( 0, "todd",utlf_getCurrentDate());
- if (obj.tabindex == 0 ) {
- group3.group2.cap_ddnm.text = "입원일자 :";
- } else if (obj.tabindex == 1 ) {
- group3.group2.cap_ddnm.text = "퇴원예고일 : ";
- } else if (obj.tabindex == 2 ) {
- group3.group2.cap_ddnm.text = "예약일자 :";
- } else if (obj.tabindex == 3 ) {
- group3.group2.cap_ddnm.text = "진료일자 :";
- }
-
- fSearch();
- }
- function group3_switch1_inlv_grd_inlvlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
-
- if (e.cell == "14" ) {
-
- ds_main_inlvinfo_inlvlist.setColumn(e.row,"inrecdd", utlf_getCurrentDate());
- ds_main_inlvinfo_inlvlist.setColumn(e.row,"inrectm", utlf_getCurrentDateTime().substring(9,13));
- }
-
- }
- function group3_switch1_dschlv_grd_dschlvlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.cell == "14" ) {
-
- ds_main_dschlvinfo_dschlvlist.setColumn(e.row,"inrecdd", utlf_getCurrentDate());
- ds_main_dschlvinfo_dschlvlist.setColumn(e.row,"inrectm", utlf_getCurrentDateTime().substring(9,13));
- }
- }
- function group3_switch1_testlv_grd_testlvlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.cell == "13" ) {
-
- ds_main_testlvinfo_testlvlist.setColumn(e.row,"inrecdd", utlf_getCurrentDate());
- ds_main_testlvinfo_testlvlist.setColumn(e.row,"inrectm", utlf_getCurrentDateTime().substring(9,13));
- }
- }
- function group3_switch1_medilv_grd_medilvlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.cell == "14" ) {
-
- ds_main_medilvinfo_medilvlist.setColumn(e.row,"inrecdd", utlf_getCurrentDate());
- ds_main_medilvinfo_medilvlist.setColumn(e.row,"inrectm", utlf_getCurrentDateTime().substring(9,13));
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|