SMANC00400_환자관리.xfdl 158 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMANC00400" position="absolute 0 0 1197 801" titletext="환자관리" oninit="SMANC00400_oninit" onload="SMANC00400_onload" onclose="SMANC00400_onclose">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 26 1194 766" id="swt_patmngt" onchanged="swt_patmngt_onchanged">
  8. <Tabpages>
  9. <Tabpage text="입원환자관리" id="case1">
  10. <Layouts>
  11. <Layout>
  12. <Div position="absolute 5 10 1187 45" align="align:center top;" id="grp_sea" class="div_SA">
  13. <Layouts>
  14. <Layout>
  15. <Button position="absolute 1121 7 1177 29" id="btn_search1" class="btn1" text="조회" onclick="swt_patmngt_case1_grp_sea_btn_search1_onclick"/>
  16. <Shape position="absolute 1109 7 1115 29" linetype="vertical" id="line13" class="line_4"/>
  17. <Static text="병동 :" position="absolute 6 9 66 26" id="caption33" class="search_name"/>
  18. <Combo position="absolute 65 24 165 43" id="cmb_ward" class="combo_s_essential" innerdataset="ds_init_cmb_ward" datacolumn="depthngnm" codecolumn="deptcd" visible="false"/>
  19. <Static text="등록번호 :" position="absolute 743 9 820 26" id="caption1" class="search_name"/>
  20. <Button position="absolute 880 10 896 26" id="btn_pid" class="icon_search" text="" onclick="swt_patmngt_case1_grp_sea_btn_pid_onclick"/>
  21. <MaskEdit position="absolute 815 8 880 27" id="ipt_pid1" class="input" mask="9999999999" onkeydown="swt_patmngt_case1_grp_sea_ipt_pid1_onkeydown" autoselect="true"/>
  22. <Edit position="absolute 899 8 959 27" id="ipt_hngnm1" class="input" enable="false" onkeydown="swt_patmngt_case1_grp_sea_ipt_hngnm1_onkeydown"/>
  23. <Radio position="absolute 154 9 259 29" id="rdo_patflag" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_patmngt_case1_grp_sea_rdo_patflag_onitemchanged">
  24. <Dataset id="innerdataset">
  25. <ColumnInfo>
  26. <Column id="codecolumn" size="256"/>
  27. <Column id="datacolumn" size="256"/>
  28. </ColumnInfo>
  29. <Rows>
  30. <Row>
  31. <Col id="codecolumn">2</Col>
  32. <Col id="datacolumn">재원</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">3</Col>
  36. <Col id="datacolumn">치료식</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Radio>
  41. <Static text="영양사 :" position="absolute 973 10 1049 27" id="caption10" class="search_name"/>
  42. <Combo position="absolute 1032 8 1107 27" id="cmb_dieter1" class="combo_search" innerdataset="ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid"/>
  43. <Calendar position="absolute 317 8 402 27" id="ipt_inddfrom" class="input_search" autoselect="true"/>
  44. <Static text="~" position="absolute 405 9 417 26" id="caption19" class="search_n_b"/>
  45. <Static text="처방일 :" position="absolute 257 10 343 27" id="caption4" class="search_name"/>
  46. <Calendar position="absolute 416 8 501 27" id="ipt_inddto" class="input_search" autoselect="true"/>
  47. <Edit id="opt_ward" taborder="1" position="absolute 54 7 148 27" readonly="true" onlbuttondown="swt_patmngt_case1_grp_sea_opt_ward_onlbuttondown"/>
  48. <Radio id="rdo_mealflag" taborder="2" columncount="3" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 590 5 730 27">
  49. <Dataset id="innerdataset">
  50. <ColumnInfo>
  51. <Column id="codecolumn"/>
  52. <Column id="datacolumn"/>
  53. </ColumnInfo>
  54. <Rows>
  55. <Row>
  56. <Col id="codecolumn">1</Col>
  57. <Col id="datacolumn">조식</Col>
  58. </Row>
  59. <Row>
  60. <Col id="codecolumn">2</Col>
  61. <Col id="datacolumn">중식</Col>
  62. </Row>
  63. <Row>
  64. <Col id="codecolumn">3</Col>
  65. <Col id="datacolumn">석식</Col>
  66. </Row>
  67. </Rows>
  68. </Dataset>
  69. </Radio>
  70. <Static id="caption32" text="끼니구분 :" class="search_name" position="absolute 512 10 594 27"/>
  71. </Layout>
  72. </Layouts>
  73. </Div>
  74. <Shape position="absolute 5 69 1188 75" linetype="horizontal" id="line38" class="line_10"/>
  75. <Grid position="absolute 5 74 1188 704" align="align:center middle;" id="grd_ipatmngt" binddataset="ds_main_data_ipatmngt_grdlist" autoenter="select" oncloseup="swt_patmngt_case1_grd_ipatmngt_oncloseup" onexpanddown="swt_patmngt_case1_grd_ipatmngt_onexpanddown" tooltiptype="hover" oncelldblclick="swt_patmngt_case1_grd_ipatmngt_oncelldblclick" cellsizingtype="col">
  76. <Formats>
  77. <Format id="default">
  78. <Columns>
  79. <Column size="24" band="left"/>
  80. <Column size="65" band="left"/>
  81. <Column size="25" band="left"/>
  82. <Column size="25" band="left"/>
  83. <Column size="25" band="left"/>
  84. <Column size="25" band="left"/>
  85. <Column size="40" band="left"/>
  86. <Column size="60" band="left"/>
  87. <Column size="40" band="left"/>
  88. <Column size="0"/>
  89. <Column size="40"/>
  90. <Column size="0"/>
  91. <Column size="60"/>
  92. <Column size="70"/>
  93. <Column size="120"/>
  94. <Column size="120"/>
  95. <Column size="0"/>
  96. <Column size="120"/>
  97. <Column size="150"/>
  98. <Column size="0"/>
  99. <Column size="70"/>
  100. <Column size="60"/>
  101. <Column size="50"/>
  102. <Column size="75"/>
  103. <Column size="300"/>
  104. <Column size="60"/>
  105. <Column size="90"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="60"/>
  111. <Column size="80"/>
  112. <Column size="150"/>
  113. </Columns>
  114. <Rows>
  115. <Row size="24" band="head"/>
  116. <Row size="24"/>
  117. </Rows>
  118. <Band id="head">
  119. <Cell/>
  120. <Cell col="1" text="등록번호"/>
  121. <Cell col="2" text="혈액"/>
  122. <Cell col="3" text="접촉"/>
  123. <Cell col="4" text="공기"/>
  124. <Cell col="5" text="비말"/>
  125. <Cell col="6" text="병실"/>
  126. <Cell col="7" text="환자명"/>
  127. <Cell col="8" text="성별"/>
  128. <Cell col="9" text="h_생년월일"/>
  129. <Cell col="10" text="나이"/>
  130. <Cell col="11" text="식사코드"/>
  131. <Cell col="12" text="보험유형"/>
  132. <Cell col="13" text="최근 처방일"/>
  133. <Cell col="14" text="변경 전 식사명"/>
  134. <Cell col="15" text="식사명"/>
  135. <Cell col="16" text="Kcal"/>
  136. <Cell col="17" text="특이사항"/>
  137. <Cell col="18" text="remark"/>
  138. <Cell col="19" text="질환구분"/>
  139. <Cell col="20" text="치료식관리"/>
  140. <Cell col="21" text="회진관리"/>
  141. <Cell col="22" text="처방"/>
  142. <Cell col="23" text="처방상태"/>
  143. <Cell col="24" text="내용"/>
  144. <Cell col="25" text="영양사"/>
  145. <Cell col="26" text="수행일자"/>
  146. <Cell col="27" text="cretno"/>
  147. <Cell col="28" text="orddeptcd"/>
  148. <Cell col="29" text="orddrid"/>
  149. <Cell col="30" text="today"/>
  150. <Cell col="31" text="처방건수"/>
  151. <Cell col="32" text="입원일자"/>
  152. <Cell col="33" text="진단명"/>
  153. </Band>
  154. <Band id="body">
  155. <Cell celltype="head" expr="currow + 1"/>
  156. <Cell col="1" text="bind:pid"/>
  157. <Cell col="2" displaytype="image" style="align:center;" text="bind:disp1img"/>
  158. <Cell col="3" displaytype="image" style="align:center;" text="bind:disp2img"/>
  159. <Cell col="4" displaytype="image" style="align:center;" text="bind:disp3img"/>
  160. <Cell col="5" displaytype="image" style="align:center;" text="bind:disp4img"/>
  161. <Cell col="6" text="bind:room"/>
  162. <Cell col="7" text="bind:hngnm"/>
  163. <Cell col="8" text="bind:sex"/>
  164. <Cell col="9" text="bind:h_brthdd"/>
  165. <Cell col="10" text="bind:age"/>
  166. <Cell col="11" text="bind:dietcd"/>
  167. <Cell col="12" text="bind:insukind"/>
  168. <Cell col="13" displaytype="date" text="bind:lastprcpdd" calendardisplaynulltype="none"/>
  169. <Cell col="14" style="align:left;" text="bind:bfdietnm"/>
  170. <Cell col="15" style="align:left;" text="bind:dietnm"/>
  171. <Cell col="16" style="align:left;" text="bind:kcal"/>
  172. <Cell col="17" style="align:left;" text="bind:prcpdelivefact"/>
  173. <Cell col="18" style="align:left;" text="bind:remark3"/>
  174. <Cell col="19" displaytype="combo" edittype="combo" text="bind:sick" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  175. <Cell col="20" displaytype="checkbox" edittype="checkbox" text="bind:curedietpatyn" expr="expr:curedietpatyn == 'Y' || curedietpatyn == '1' ? '1' : '0'"/>
  176. <Cell col="21" displaytype="checkbox" edittype="checkbox" text="bind:dietroundyn" expr="expr:dietroundyn == 'Y' || dietroundyn == '1' ? '1' : '0'"/>
  177. <Cell col="22" displaytype="checkbox" edittype="checkbox" text="bind:prcpstatus" expr="expr:prcpstatus == 'Y' || prcpstatus == '1' ? '1' : '0'"/>
  178. <Cell col="23" displaytype="combo" edittype="combo" style="align:center;" text="bind:prcpyn" combodataset="ds_cbo_prcpyn" combocodecol="value" combodatacol="label" combodisplayrowcount="20" enable="false"/>
  179. <Cell col="24" displaytype="text" edittype="text" style="align:left top;padding:4 2 2 2;" text="bind:execcnts" editautoselect="true" expandshow="show" tooltiptext="bind:execcnts"/>
  180. <Cell col="25" displaytype="combo" edittype="combo" style="align:center;" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  181. <Cell col="26" displaytype="date" edittype="date" text="bind:execdd" editautoselect="true" calendardisplaynulltype="none"/>
  182. <Cell col="27" text="bind:cretno"/>
  183. <Cell col="28" text="bind:orddeptcd"/>
  184. <Cell col="29" text="bind:orddrid"/>
  185. <Cell col="30" text="bind:today"/>
  186. <Cell col="31" text="bind:prcpcnt"/>
  187. <Cell col="32" displaytype="date" text="bind:indd" calendardisplaynulltype="none"/>
  188. <Cell col="33" style="align:left;" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  189. </Band>
  190. </Format>
  191. </Formats>
  192. </Grid>
  193. <Div position="absolute 445 265 890 537" id="grp_execcnts" visible="false">
  194. <Layouts>
  195. <Layout>
  196. <Shape position="absolute 0 0 445 272" id="rectangle1" type="rectangle" anchor="default"/>
  197. <TextArea position="absolute 5 144 440 235" id="textarea3" anchor="default" visible="true" wordwrap="word"/>
  198. <Button position="absolute 380 240 436 262" id="button4" class="btn4" text="닫기" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_button4_onclick"/>
  199. <Static text="내용" position="absolute 6 12 179 30" id="caption30" class="tit_2" anchor="default"/>
  200. <Button position="absolute 320 240 376 262" id="button300" class="btn4" text="입력" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_button300_onclick"/>
  201. <Button id="button6" taborder="1" text="생성" class="btn4" position="absolute 260 240 316 262" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_button6_onclick"/>
  202. <Static id="Static00" text="설명대상 :" position="absolute 26 38 89 50" anchor="default"/>
  203. <CheckBox id="chk_p" taborder="2" text="환자" position="absolute 103 33 154 53" truevalue="p" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_chk_p_onclick"/>
  204. <CheckBox id="chk_b" taborder="3" text="보호자" truevalue="b" position="absolute 157 33 214 53" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_chk_b_onclick"/>
  205. <CheckBox id="chk_p01" taborder="4" text="간병인" truevalue="g" position="absolute 225 33 283 53" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_chk_p01_onclick"/>
  206. <Static id="Static01" text="식사명 :" position="absolute 26 59 99 71" anchor="default"/>
  207. <Edit id="input5" taborder="5" position="absolute 102 55 202 75" anchor="default" autoselect="true"/>
  208. <Static id="Static02" text="식사 섭취량 :" position="absolute 26 81 102 93" anchor="default"/>
  209. <Static id="Static04" text="안내문을 제공하여 식사명, 제공사유, 주의사항 등 설명" position="absolute 46 100 365 112" anchor="default"/>
  210. <CheckBox id="chk_o" taborder="7" truevalue="o" position="absolute 25 95 76 115" anchor="default" onclick="swt_patmngt_case1_grp_execcnts_chk_o_onclick"/>
  211. <Static id="Static05" text="기타 :" position="absolute 26 120 63 132" anchor="default"/>
  212. <Combo id="cmb_etc" taborder="8" text="Combo00" position="absolute 68 117 439 137" innerdataset="@ds_init_basecode_etc_A0061" codecolumn="cdnm" datacolumn="cdnm" onitemchanged="swt_patmngt_case1_grp_execcnts_cmb_etc_onitemchanged"/>
  213. <Edit id="txt_etc" taborder="9" position="absolute 68 117 419 137" visible="false"/>
  214. <Static id="Static06" text="주식" position="absolute 106 81 136 93"/>
  215. <Static id="Static07" text="부식" position="absolute 209 81 239 93"/>
  216. <Combo id="cmb_etc00" taborder="10" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_patmngt_case1_grp_execcnts_cmb_etc_onitemchanged" position="absolute 132 77 192 97">
  217. <Dataset id="innerdataset">
  218. <ColumnInfo>
  219. <Column id="codecolumn" size="256"/>
  220. <Column id="datacolumn" size="256"/>
  221. </ColumnInfo>
  222. <Rows>
  223. <Row>
  224. <Col id="codecolumn">0</Col>
  225. <Col id="datacolumn">0%</Col>
  226. </Row>
  227. <Row>
  228. <Col id="codecolumn">10</Col>
  229. <Col id="datacolumn">10%</Col>
  230. </Row>
  231. <Row>
  232. <Col id="codecolumn">20</Col>
  233. <Col id="datacolumn">20%</Col>
  234. </Row>
  235. <Row>
  236. <Col id="codecolumn">30</Col>
  237. <Col id="datacolumn">30%</Col>
  238. </Row>
  239. <Row>
  240. <Col id="codecolumn">40</Col>
  241. <Col id="datacolumn">40%</Col>
  242. </Row>
  243. <Row>
  244. <Col id="codecolumn">50</Col>
  245. <Col id="datacolumn">50%</Col>
  246. </Row>
  247. <Row>
  248. <Col id="codecolumn">60</Col>
  249. <Col id="datacolumn">60%</Col>
  250. </Row>
  251. <Row>
  252. <Col id="codecolumn">70</Col>
  253. <Col id="datacolumn">70%</Col>
  254. </Row>
  255. <Row>
  256. <Col id="codecolumn">80</Col>
  257. <Col id="datacolumn">80%</Col>
  258. </Row>
  259. <Row>
  260. <Col id="codecolumn">90</Col>
  261. <Col id="datacolumn">90%</Col>
  262. </Row>
  263. <Row>
  264. <Col id="codecolumn">100</Col>
  265. <Col id="datacolumn">100%</Col>
  266. </Row>
  267. </Rows>
  268. </Dataset>
  269. </Combo>
  270. <Combo id="cmb_etc01" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_patmngt_case1_grp_execcnts_cmb_etc_onitemchanged" position="absolute 236 77 296 97">
  271. <Dataset id="innerdataset">
  272. <ColumnInfo>
  273. <Column id="codecolumn" size="256"/>
  274. <Column id="datacolumn" size="256"/>
  275. </ColumnInfo>
  276. <Rows>
  277. <Row>
  278. <Col id="codecolumn">0</Col>
  279. <Col id="datacolumn">0%</Col>
  280. </Row>
  281. <Row>
  282. <Col id="codecolumn">10</Col>
  283. <Col id="datacolumn">10%</Col>
  284. </Row>
  285. <Row>
  286. <Col id="codecolumn">20</Col>
  287. <Col id="datacolumn">20%</Col>
  288. </Row>
  289. <Row>
  290. <Col id="codecolumn">30</Col>
  291. <Col id="datacolumn">30%</Col>
  292. </Row>
  293. <Row>
  294. <Col id="codecolumn">40</Col>
  295. <Col id="datacolumn">40%</Col>
  296. </Row>
  297. <Row>
  298. <Col id="codecolumn">50</Col>
  299. <Col id="datacolumn">50%</Col>
  300. </Row>
  301. <Row>
  302. <Col id="codecolumn">60</Col>
  303. <Col id="datacolumn">60%</Col>
  304. </Row>
  305. <Row>
  306. <Col id="codecolumn">70</Col>
  307. <Col id="datacolumn">70%</Col>
  308. </Row>
  309. <Row>
  310. <Col id="codecolumn">80</Col>
  311. <Col id="datacolumn">80%</Col>
  312. </Row>
  313. <Row>
  314. <Col id="codecolumn">90</Col>
  315. <Col id="datacolumn">90%</Col>
  316. </Row>
  317. <Row>
  318. <Col id="codecolumn">100</Col>
  319. <Col id="datacolumn">100%</Col>
  320. </Row>
  321. </Rows>
  322. </Dataset>
  323. </Combo>
  324. </Layout>
  325. </Layouts>
  326. </Div>
  327. <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 61 35 184 55" style="background:white;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  328. <MaskEdit id="opt_ward00" taborder="2" mask="9999999999" class="input" position="absolute 77 -38 175 -19"/>
  329. <Static id="stc_prcpcnt" text="* 홍길동 님의 처방건수 : 0 건" position="absolute 770 52 1023 64" style="color:purple;align:right middle;font:Dotum,10, bold;"/>
  330. <Grid id="grd_ipatmngt_excel" taborder="3" binddataset="ds_main_data_ipatmngt_grdlist" autoenter="select" useinputpanel="false" oncelldblclick="swt_patmngt_case1_grd_ipatmngt_oncelldblclick" oncloseup="swt_patmngt_case1_grd_ipatmngt_oncloseup" onexpanddown="swt_patmngt_case1_grd_ipatmngt_onexpanddown" position="absolute 24 144 840 246" tooltiptype="hover" visible="false">
  331. <Formats>
  332. <Format id="default">
  333. <Columns>
  334. <Column size="24" band="left"/>
  335. <Column size="65" band="left"/>
  336. <Column size="25" band="left"/>
  337. <Column size="25" band="left"/>
  338. <Column size="25" band="left"/>
  339. <Column size="25" band="left"/>
  340. <Column size="40" band="left"/>
  341. <Column size="60" band="left"/>
  342. <Column size="40" band="left"/>
  343. <Column size="0"/>
  344. <Column size="40"/>
  345. <Column size="0"/>
  346. <Column size="60"/>
  347. <Column size="70"/>
  348. <Column size="120"/>
  349. <Column size="120"/>
  350. <Column size="0"/>
  351. <Column size="120"/>
  352. <Column size="150"/>
  353. <Column size="70"/>
  354. <Column size="70"/>
  355. <Column size="60"/>
  356. <Column size="50"/>
  357. <Column size="75"/>
  358. <Column size="300"/>
  359. <Column size="60"/>
  360. <Column size="90"/>
  361. <Column size="0"/>
  362. <Column size="0"/>
  363. <Column size="0"/>
  364. <Column size="0"/>
  365. <Column size="60"/>
  366. <Column size="80"/>
  367. <Column size="150"/>
  368. </Columns>
  369. <Rows>
  370. <Row size="24" band="head"/>
  371. <Row size="24"/>
  372. </Rows>
  373. <Band id="head">
  374. <Cell/>
  375. <Cell col="1" text="등록번호"/>
  376. <Cell col="2" text="혈액"/>
  377. <Cell col="3" text="접촉"/>
  378. <Cell col="4" text="공기"/>
  379. <Cell col="5" text="비말"/>
  380. <Cell col="6" text="병실"/>
  381. <Cell col="7" text="환자명"/>
  382. <Cell col="8" text="성별"/>
  383. <Cell col="9" text="h_생년월일"/>
  384. <Cell col="10" text="나이"/>
  385. <Cell col="11" text="식사코드"/>
  386. <Cell col="12" text="보험유형"/>
  387. <Cell col="13" text="최근 처방일"/>
  388. <Cell col="14" text="변경 전 식사명"/>
  389. <Cell col="15" text="식사명"/>
  390. <Cell col="16" text="Kcal"/>
  391. <Cell col="17" text="특이사항"/>
  392. <Cell col="18" text="remark"/>
  393. <Cell col="19" text="질환구분"/>
  394. <Cell col="20" text="치료식관리"/>
  395. <Cell col="21" text="회진관리"/>
  396. <Cell col="22" text="처방"/>
  397. <Cell col="23" text="처방상태"/>
  398. <Cell col="24" text="내용"/>
  399. <Cell col="25" text="영양사"/>
  400. <Cell col="26" text="수행일자"/>
  401. <Cell col="27" text="cretno"/>
  402. <Cell col="28" text="orddeptcd"/>
  403. <Cell col="29" text="orddrid"/>
  404. <Cell col="30" text="today"/>
  405. <Cell col="31" text="처방건수"/>
  406. <Cell col="32" text="입원일자"/>
  407. <Cell col="33" text="진단명"/>
  408. </Band>
  409. <Band id="body">
  410. <Cell celltype="head" expr="currow + 1"/>
  411. <Cell col="1" text="bind:pid"/>
  412. <Cell col="2" displaytype="normal" style="align:center;" text="bind:disp1img" expr="expr:utlf_isNull(disp1img) ? '' : 'O'"/>
  413. <Cell col="3" displaytype="normal" style="align:center;" text="bind:disp2img" expr="expr:utlf_isNull(disp2img) ? '' : 'O'"/>
  414. <Cell col="4" displaytype="normal" style="align:center;" text="bind:disp3img" expr="expr:utlf_isNull(disp3img) ? '' : 'O'"/>
  415. <Cell col="5" displaytype="normal" style="align:center;" text="bind:disp4img" expr="expr:utlf_isNull(disp4img) ? '' : 'O'"/>
  416. <Cell col="6" text="bind:room"/>
  417. <Cell col="7" text="bind:hngnm"/>
  418. <Cell col="8" text="bind:sex"/>
  419. <Cell col="9" text="bind:h_brthdd"/>
  420. <Cell col="10" text="bind:age"/>
  421. <Cell col="11" text="bind:dietcd"/>
  422. <Cell col="12" text="bind:insukind"/>
  423. <Cell col="13" displaytype="date" text="bind:lastprcpdd" calendardisplaynulltype="none"/>
  424. <Cell col="14" text="bind:bfdietnm"/>
  425. <Cell col="15" style="align:left;" text="bind:dietnm"/>
  426. <Cell col="16" style="align:left;" text="bind:kcal"/>
  427. <Cell col="17" style="align:left;" text="bind:prcpdelivefact"/>
  428. <Cell col="18" style="align:left;" text="bind:remark3"/>
  429. <Cell col="19" displaytype="combo" edittype="combo" text="bind:sick" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  430. <Cell col="20" displaytype="checkbox" edittype="checkbox" text="bind:curedietpatyn" expr="expr:curedietpatyn == 'Y' || curedietpatyn == '1' ? '1' : '0'"/>
  431. <Cell col="21" displaytype="checkbox" edittype="checkbox" text="bind:dietroundyn" expr="expr:dietroundyn == 'Y' || dietroundyn == '1' ? '1' : '0'"/>
  432. <Cell col="22" displaytype="checkbox" edittype="checkbox" text="bind:prcpstatus" expr="expr:prcpstatus == 'Y' || prcpstatus == '1' ? '1' : '0'"/>
  433. <Cell col="23" displaytype="combo" edittype="combo" style="align:center;" text="bind:prcpyn" combodataset="ds_cbo_prcpyn" combocodecol="value" combodatacol="label" combodisplayrowcount="20" enable="false"/>
  434. <Cell col="24" displaytype="text" edittype="text" style="align:left top;padding:4 2 2 2;" text="bind:execcnts" editautoselect="true" expandshow="show" tooltiptext="bind:execcnts"/>
  435. <Cell col="25" displaytype="combo" edittype="combo" style="align:center;" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  436. <Cell col="26" displaytype="date" edittype="date" text="bind:execdd" editautoselect="true" calendardisplaynulltype="none"/>
  437. <Cell col="27" text="bind:cretno"/>
  438. <Cell col="28" text="bind:orddeptcd"/>
  439. <Cell col="29" text="bind:orddrid"/>
  440. <Cell col="30" text="bind:today"/>
  441. <Cell col="31" text="bind:prcpcnt"/>
  442. <Cell col="32" displaytype="date" text="bind:indd" calendardisplaynulltype="none"/>
  443. <Cell col="33" style="align:left;" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  444. </Band>
  445. </Format>
  446. </Formats>
  447. </Grid>
  448. </Layout>
  449. </Layouts>
  450. </Tabpage>
  451. <Tabpage text="환자관리결과조회" id="case2">
  452. <Layouts>
  453. <Layout>
  454. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group1" class="div_SA">
  455. <Layouts>
  456. <Layout>
  457. <Button position="absolute 1106 7 1162 29" id="btn_search5" class="btn1" text="조회" onclick="swt_patmngt_case2_group1_btn_search5_onclick"/>
  458. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line1" class="line_4"/>
  459. <Static text="병동 :" position="absolute 11 9 71 26" id="caption2" class="search_name"/>
  460. <Combo position="absolute 75 8 175 27" id="cmb_ward1" class="combo_s_essential" innerdataset="@ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
  461. <Static text="등록번호 :" position="absolute 687 9 778 26" id="caption3" class="search_name"/>
  462. <Static text="/" position="absolute 840 9 852 26" id="caption8" class="search_n_b"/>
  463. <Button position="absolute 912 10 928 26" id="btn_pid1" class="icon_search" text="" onclick="swt_patmngt_case2_group1_btn_pid1_onclick"/>
  464. <MaskEdit position="absolute 772 8 837 27" id="ipt_pid3" class="input_s_essential" mask="9999999999" onkeydown="swt_patmngt_case2_group1_ipt_pid3_onkeydown" autoselect="true"/>
  465. <Edit position="absolute 850 8 910 27" id="ipt_hngnm3" class="input_s_essential" onkeydown="swt_patmngt_case2_group1_ipt_hngnm3_onkeydown" autoselect="true"/>
  466. <Radio position="absolute 180 9 394 29" id="rdo_rsltflag" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn">
  467. <Dataset id="innerdataset">
  468. <ColumnInfo>
  469. <Column id="codecolumn"/>
  470. <Column id="datacolumn"/>
  471. </ColumnInfo>
  472. <Rows>
  473. <Row>
  474. <Col id="codecolumn">-</Col>
  475. <Col id="datacolumn">전체</Col>
  476. </Row>
  477. <Row>
  478. <Col id="codecolumn">1</Col>
  479. <Col id="datacolumn">치료식</Col>
  480. </Row>
  481. <Row>
  482. <Col id="codecolumn">2</Col>
  483. <Col id="datacolumn">식사회진</Col>
  484. </Row>
  485. <Row>
  486. <Col id="codecolumn">3</Col>
  487. <Col id="datacolumn">CRM</Col>
  488. </Row>
  489. </Rows>
  490. </Dataset>
  491. </Radio>
  492. <Static text="영양사 :" position="absolute 940 10 1016 27" id="caption7" class="search_name"/>
  493. <Combo position="absolute 1015 8 1080 27" id="cmb_dieter4" class="combo_search" innerdataset="@ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid"/>
  494. <Calendar position="absolute 494 8 579 27" id="ipt_execddfrom" class="input_search" autoselect="true"/>
  495. <Static text="~" position="absolute 581 9 593 26" id="caption9" class="search_n_b"/>
  496. <Static text="수행일자 :" position="absolute 410 10 496 27" id="caption11" class="search_name"/>
  497. <Calendar position="absolute 594 8 679 27" id="ipt_execddto" class="input_search" autoselect="true"/>
  498. </Layout>
  499. </Layouts>
  500. </Div>
  501. <Shape position="absolute 5 69 1188 75" linetype="horizontal" id="line2" class="line_10"/>
  502. <Grid position="absolute 5 74 1188 704" align="align:center middle;" id="grd_ipatmngtrslt" binddataset="ds_main_data_ipatmngtrslt_grdlist" autoenter="select" onexpandup="swt_patmngt_case2_grd_ipatmngtrslt_onexpandup" cellsizingtype="col" autofittype="col">
  503. <Formats>
  504. <Format id="default">
  505. <Columns>
  506. <Column size="24"/>
  507. <Column size="60"/>
  508. <Column size="40"/>
  509. <Column size="60"/>
  510. <Column size="40"/>
  511. <Column size="30"/>
  512. <Column size="80"/>
  513. <Column size="150"/>
  514. <Column size="150"/>
  515. <Column size="90"/>
  516. <Column size="50"/>
  517. <Column size="50"/>
  518. <Column size="60"/>
  519. <Column size="160"/>
  520. <Column size="50"/>
  521. <Column size="70"/>
  522. </Columns>
  523. <Rows>
  524. <Row size="24" band="head"/>
  525. <Row size="24"/>
  526. </Rows>
  527. <Band id="head">
  528. <Cell/>
  529. <Cell col="1" text="등록번호"/>
  530. <Cell col="2" text="병실"/>
  531. <Cell col="3" text="환자명"/>
  532. <Cell col="4" text="성별"/>
  533. <Cell col="5" text="나이"/>
  534. <Cell col="6" text="입원일자"/>
  535. <Cell col="7" text="식사명"/>
  536. <Cell col="8" text="진단명"/>
  537. <Cell col="9" text="질환구분"/>
  538. <Cell col="10" text="치료식"/>
  539. <Cell col="11" text="식사회진"/>
  540. <Cell col="12" text="처방상태"/>
  541. <Cell col="13" text="내용"/>
  542. <Cell col="14" text="영양사"/>
  543. <Cell col="15" text="수행일자"/>
  544. </Band>
  545. <Band id="body">
  546. <Cell celltype="head" expr="expr:currow + 1"/>
  547. <Cell col="1" text="bind:pid"/>
  548. <Cell col="2" text="bind:room"/>
  549. <Cell col="3" text="bind:hngnm"/>
  550. <Cell col="4" text="bind:sex"/>
  551. <Cell col="5" text="bind:age"/>
  552. <Cell col="6" displaytype="date" text="bind:indd" calendardisplaynulltype="none"/>
  553. <Cell col="7" style="align:left middle;" text="bind:dietnm"/>
  554. <Cell col="8" style="align:left middle;" text="bind:diagnm"/>
  555. <Cell col="9" displaytype="combo" text="bind:sick" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20" enable="false"/>
  556. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:curedietpatyn" expr="expr:curedietpatyn == 'Y' || curedietpatyn == '1' ? '1' : '0'"/>
  557. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:dietroundyn" expr="expr:dietroundyn == 'Y' || dietroundyn == '1' ? '1' : '0'"/>
  558. <Cell col="12" text="bind:prcpyn"/>
  559. <Cell col="13" displaytype="text" edittype="expand" style="align:left top;padding:4 2 0 2;" text="bind:execcnts" expandshow="show"/>
  560. <Cell col="14" displaytype="combo" style="align:center;" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20" enable="false"/>
  561. <Cell col="15" displaytype="date" text="bind:execdd" calendardisplaynulltype="none"/>
  562. </Band>
  563. </Format>
  564. </Formats>
  565. </Grid>
  566. <Div id="grp_reccnts" position="absolute 490 230 943 483" style="" anchor="default" visible="false">
  567. <Layouts>
  568. <Layout>
  569. <Shape id="rectangle2" anchor="default" type="rectangle" position="absolute 0 0 445 245" style=""/>
  570. <TextArea id="textarea2" position="absolute 5 30 440 210" style="" anchor="default" readonly="true"/>
  571. <Button id="button4" class="btn4" position="absolute 380 215 436 237" style="" text="닫기" anchor="default" onclick="swt_patmngt_case2_grp_reccnts_button4_onclick"/>
  572. <Static id="caption24" class="tit_2" position="absolute 5 9 177 26" style="" text="결과내용" anchor="default"/>
  573. <Shape id="line2" class="line_10" position="absolute 5 25 440 31"/>
  574. </Layout>
  575. </Layouts>
  576. </Div>
  577. </Layout>
  578. </Layouts>
  579. </Tabpage>
  580. <Tabpage text="전화영양상담(추구관리)" id="case3">
  581. <Layouts>
  582. <Layout>
  583. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group2" class="div_SA">
  584. <Layouts>
  585. <Layout>
  586. <Button position="absolute 1111 7 1167 29" id="btn_search2" class="btn1" text="조회" onclick="swt_patmngt_case3_group2_btn_search2_onclick"/>
  587. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line3" class="line_4"/>
  588. <Static text="환자명 :" position="absolute 560 9 633 26" id="caption12" class="search_name"/>
  589. <Edit position="absolute 635 8 730 27" id="ipt_hngnm2" class="input_essential" onkeydown="swt_patmngt_case3_group2_ipt_hngnm2_onkeydown" autoselect="true"/>
  590. <Button position="absolute 735 10 751 26" id="btn_patnm2" class="icon_search" text="" onclick="swt_patmngt_case3_group2_btn_patnm2_onclick"/>
  591. <Static text="교육일자 :" position="absolute 15 9 101 26" id="caption13" class="search_name"/>
  592. <Static text="~" position="absolute 211 9 223 26" id="caption14" class="search_n_b"/>
  593. <Calendar position="absolute 107 8 207 27" id="ipt_educfromdd" class="input_essential" autoselect="true"/>
  594. <Calendar position="absolute 227 8 327 27" id="ipt_eductodd" class="input_essential" autoselect="true"/>
  595. <Static text="영양사 :" position="absolute 775 9 848 26" id="caption15" class="search_name"/>
  596. <Combo position="absolute 850 8 935 27" id="cmb_dieter2" class="combo_search" innerdataset="@ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid"/>
  597. <Button position="absolute 527 10 543 26" id="btn_pid2" class="icon_search" text="" onclick="swt_patmngt_case3_group2_btn_pid2_onclick"/>
  598. <Static text="등록번호 :" position="absolute 352 9 443 26" id="caption16" class="search_name"/>
  599. <MaskEdit position="absolute 437 8 522 27" id="ipt_pid2" class="input_essential" mask="9999999999" onkeydown="swt_patmngt_case3_group2_ipt_pid2_onkeydown" autoselect="true"/>
  600. </Layout>
  601. </Layouts>
  602. </Div>
  603. <Shape position="absolute 5 69 1188 75" linetype="horizontal" id="line4" class="line_10"/>
  604. <Grid position="absolute 5 74 1188 610" id="grd_telnutrcnst" binddataset="ds_main_data_telnutrcnst_grdlist" oncelldblclick="swt_patmngt_case3_grd_telnutrcnst_oncelldblclick" autoenter="select">
  605. <Formats>
  606. <Format id="default">
  607. <Columns>
  608. <Column size="24"/>
  609. <Column size="100"/>
  610. <Column size="0"/>
  611. <Column size="70"/>
  612. <Column size="80"/>
  613. <Column size="60"/>
  614. <Column size="60"/>
  615. <Column size="157"/>
  616. <Column size="95"/>
  617. <Column size="95"/>
  618. <Column size="65"/>
  619. <Column size="88"/>
  620. <Column size="74"/>
  621. <Column size="0"/>
  622. <Column size="0"/>
  623. <Column size="0"/>
  624. <Column size="0"/>
  625. </Columns>
  626. <Rows>
  627. <Row size="24" band="head"/>
  628. <Row size="24"/>
  629. </Rows>
  630. <Band id="head">
  631. <Cell/>
  632. <Cell col="1" text="등록번호"/>
  633. <Cell col="2" text="환자구분"/>
  634. <Cell col="3" text="입원/외래"/>
  635. <Cell col="4" text="환자명"/>
  636. <Cell col="5" text="성별"/>
  637. <Cell col="6" text="나이"/>
  638. <Cell col="7" text="질환구분"/>
  639. <Cell col="8" text="집전화"/>
  640. <Cell col="9" text="휴대전화"/>
  641. <Cell col="10" text="수행여부"/>
  642. <Cell col="11" text="수행일자"/>
  643. <Cell col="12" text="영양사"/>
  644. <Cell col="13" text="서식기록번호"/>
  645. <Cell col="14" text="영양관리유형"/>
  646. <Cell col="15" text="환자별영양관리수행일자"/>
  647. <Cell col="16" text="입원일자"/>
  648. </Band>
  649. <Band id="body">
  650. <Cell celltype="head" expr="currow + 1"/>
  651. <Cell col="1" text="bind:pid"/>
  652. <Cell col="2" text="bind:ioflag"/>
  653. <Cell col="3" text="bind:inout"/>
  654. <Cell col="4" text="bind:hngnm"/>
  655. <Cell col="5" text="bind:sex"/>
  656. <Cell col="6" text="bind:age"/>
  657. <Cell col="7" displaytype="combo" edittype="combo" text="bind:sickcd" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  658. <Cell col="8" text="bind:hometel"/>
  659. <Cell col="9" text="bind:mpphontel"/>
  660. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:execyn"/>
  661. <Cell col="11" displaytype="date" edittype="date" text="bind:telexecdd" editautoselect="true" calendardisplaynulltype="none"/>
  662. <Cell col="12" displaytype="combo" edittype="combo" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&lt;value ref=&quot;cdid&quot;/&gt;" combodatacol="cdnm" combodisplayrowcount="20"/>
  663. <Cell col="13" text="bind:formrecseq"/>
  664. <Cell col="14" text="bind:nutrmngtkind"/>
  665. <Cell col="15" text="bind:execdd"/>
  666. <Cell col="16" text="bind:orddd"/>
  667. </Band>
  668. </Format>
  669. </Formats>
  670. </Grid>
  671. <Grid position="absolute 5 640 1188 711" align="align:center middle;" id="grd_cnstcount" binddataset="ds_main_data_telnutrcnstcnt_cnstcount" autoenter="select">
  672. <Formats>
  673. <Format id="default">
  674. <Columns>
  675. <Column size="95"/>
  676. <Column size="65"/>
  677. <Column size="80"/>
  678. <Column size="80"/>
  679. <Column size="80"/>
  680. <Column size="78"/>
  681. <Column size="78"/>
  682. <Column size="78"/>
  683. <Column size="78"/>
  684. <Column size="78"/>
  685. <Column size="78"/>
  686. <Column size="78"/>
  687. <Column size="78"/>
  688. <Column size="78"/>
  689. <Column size="78"/>
  690. </Columns>
  691. <Rows>
  692. <Row size="24" band="head"/>
  693. <Row size="24"/>
  694. </Rows>
  695. <Band id="head">
  696. <Cell text="상담일자"/>
  697. <Cell col="1" text="영양사"/>
  698. <Cell col="2" text="당뇨"/>
  699. <Cell col="3" text="고혈압"/>
  700. <Cell col="4" text="심장질환"/>
  701. <Cell col="5" text="복막투석"/>
  702. <Cell col="6" text="혈액투석"/>
  703. <Cell col="7" text="암"/>
  704. <Cell col="8" text="혈액종양"/>
  705. <Cell col="9" text="신장질환"/>
  706. <Cell col="10" text="간장질환"/>
  707. <Cell col="11" text="위장질환"/>
  708. <Cell col="12" text="경장영양"/>
  709. <Cell col="13" text="비만"/>
  710. <Cell col="14" text="기타질환"/>
  711. </Band>
  712. <Band id="body">
  713. <Cell displaytype="date" edittype="date" text="bind:cnstdd" combotype="dropdown" calendardisplaynulltype="none"/>
  714. <Cell col="1" displaytype="combo" edittype="combo" text="bind:dieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm"/>
  715. <Cell col="2" displaytype="text" edittype="text" text="bind:glycospatqty"/>
  716. <Cell col="3" displaytype="text" edittype="text" text="bind:hypetspatqty"/>
  717. <Cell col="4" displaytype="text" edittype="text" text="bind:cardiacpatqty"/>
  718. <Cell col="5" displaytype="text" edittype="text" text="bind:pdpatqty"/>
  719. <Cell col="6" displaytype="text" edittype="text" text="bind:hdpatqty"/>
  720. <Cell col="7" displaytype="text" edittype="text" text="bind:cncrpatqty"/>
  721. <Cell col="8" displaytype="text" edittype="text" text="bind:blodtumpatqty"/>
  722. <Cell col="9" displaytype="text" edittype="text" text="bind:kidnpatqty"/>
  723. <Cell col="10" displaytype="text" edittype="text" text="bind:liverpatqty"/>
  724. <Cell col="11" displaytype="text" edittype="text" text="bind:stmcpatqty"/>
  725. <Cell col="12" displaytype="text" edittype="text" text="bind:etrlfdpatqty"/>
  726. <Cell col="13" displaytype="text" edittype="text" text="bind:fatpatqty"/>
  727. <Cell col="14" displaytype="text" edittype="text" text="bind:etcsickpatqty"/>
  728. </Band>
  729. </Format>
  730. </Formats>
  731. </Grid>
  732. <Button position="absolute 1000 615 1053 634" id="btn_rowadd2" class="btn2" text="행추가" onclick="swt_patmngt_case3_btn_rowadd2_onclick"/>
  733. <Button position="absolute 1055 615 1108 634" id="btn_rowdel2" class="btn2" text="행삭제" onclick="swt_patmngt_case3_btn_rowdel2_onclick"/>
  734. <Button position="absolute 1126 613 1182 635" id="btn_search4" class="btn1" text="조회" onclick="swt_patmngt_case3_btn_search4_onclick"/>
  735. <Shape position="absolute 5 635 1188 641" linetype="horizontal" id="line5" class="line_10"/>
  736. <Static text="전화영양상담" position="absolute 6 619 110 636" id="caption20" class="tit_2"/>
  737. <Static text="상담일자 :" position="absolute 315 617 401 634" id="caption17" class="search_name"/>
  738. <Static text="~" position="absolute 502 618 514 635" id="caption18" class="search_n_b"/>
  739. <Calendar position="absolute 400 615 500 634" id="ipt_cnstfromdd" class="input_s_essential"/>
  740. <Calendar position="absolute 515 615 615 634" id="ipt_cnsttodd" class="input_s_essential"/>
  741. <Static text="영양사 :" position="absolute 675 617 748 634" id="caption21" class="search_name"/>
  742. <Combo position="absolute 750 615 835 634" id="cmb_dieter3" class="combo_search" innerdataset="@ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid"/>
  743. </Layout>
  744. </Layouts>
  745. </Tabpage>
  746. <Tabpage text="집단교육" id="case4">
  747. <Layouts>
  748. <Layout>
  749. <Shape position="absolute 5 684 1188 690" linetype="vertical" id="line40" class="line_2"/>
  750. <Shape position="absolute 5 69 1188 75" linetype="horizontal" id="line6" class="line_10"/>
  751. <Grid position="absolute 5 74 1188 701" id="grd_nonregleduc" binddataset="ds_main_data_nonregleduc_grdlist" autoenter="select">
  752. <Formats>
  753. <Format id="default">
  754. <Columns>
  755. <Column size="20" band="left"/>
  756. <Column size="90"/>
  757. <Column size="60"/>
  758. <Column size="0"/>
  759. <Column size="60"/>
  760. <Column size="204"/>
  761. <Column size="120"/>
  762. <Column size="70"/>
  763. <Column size="133"/>
  764. <Column size="100"/>
  765. <Column size="100"/>
  766. <Column size="180"/>
  767. <Column size="83"/>
  768. <Column size="0"/>
  769. </Columns>
  770. <Rows>
  771. <Row size="24" band="head"/>
  772. <Row size="24"/>
  773. </Rows>
  774. <Band id="head">
  775. <Cell/>
  776. <Cell col="1" text="일자"/>
  777. <Cell col="2" text="시작시간"/>
  778. <Cell col="3" text="종료일"/>
  779. <Cell col="4" text="종료시간"/>
  780. <Cell col="5" text="주제"/>
  781. <Cell col="6" text="대상"/>
  782. <Cell col="7" text="교육인원"/>
  783. <Cell col="8" text="장소"/>
  784. <Cell col="9" text="교육자료"/>
  785. <Cell col="10" text="질환구분"/>
  786. <Cell col="11" text="기타"/>
  787. <Cell col="12" text="영양사"/>
  788. <Cell col="13" text="이전영양사"/>
  789. </Band>
  790. <Band id="body">
  791. <Cell celltype="head" expr="expr:currow + 1"/>
  792. <Cell col="1" displaytype="date" edittype="date" text="bind:educdd" editautoselect="true" calendardisplaynulltype="none"/>
  793. <Cell col="2" displaytype="text" edittype="mask" style="align:center middle;" text="bind:eductm" mask="##:##" maskchar=" " editautoselect="true"/>
  794. <Cell col="3" displaytype="date" edittype="date" text="bind:eductodd" mask="yyyy-mm-dd" editautoselect="true"/>
  795. <Cell col="4" displaytype="text" edittype="mask" style="align:center middle;" text="bind:eductotm" mask="##:##" maskchar=" " editautoselect="true"/>
  796. <Cell col="5" displaytype="text" edittype="text" text="bind:educsubj" editautoselect="true"/>
  797. <Cell col="6" displaytype="text" edittype="text" text="bind:eductrgt" editautoselect="true"/>
  798. <Cell col="7" displaytype="text" edittype="text" style="align:right middle;" text="bind:educpsnno" mask="####" maskchar=" " editautoselect="true"/>
  799. <Cell col="8" displaytype="text" edittype="text" text="bind:educplce" editautoselect="true"/>
  800. <Cell col="9" displaytype="text" edittype="text" text="bind:educmatr" editautoselect="true"/>
  801. <Cell col="10" displaytype="combo" edittype="combo" text="bind:sickcd" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  802. <Cell col="11" displaytype="text" edittype="text" text="bind:educetc" editautoselect="true"/>
  803. <Cell col="12" displaytype="combo" edittype="combo" text="bind:educdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  804. <Cell col="13" text="bind:bf_educdieter"/>
  805. </Band>
  806. </Format>
  807. </Formats>
  808. </Grid>
  809. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group3" class="div_SA">
  810. <Layouts>
  811. <Layout>
  812. <Button position="absolute 1111 7 1167 29" id="btn_search3" class="btn1" text="조회" onclick="swt_patmngt_case4_group3_btn_search3_onclick"/>
  813. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line7" class="line_4"/>
  814. <Static text="교육일자 :" position="absolute 15 9 101 26" id="caption22" class="search_name"/>
  815. <Static text="~" position="absolute 211 9 223 26" id="caption23" class="search_n_b"/>
  816. <Calendar position="absolute 107 8 207 27" align="align:center middle;" id="fromDD" class="input_default" autoselect="true"/>
  817. <Calendar position="absolute 227 8 327 27" align="align:center middle;" id="toDD" class="input_default" autoselect="true"/>
  818. </Layout>
  819. </Layouts>
  820. </Div>
  821. </Layout>
  822. </Layouts>
  823. </Tabpage>
  824. <Tabpage text="환자식불만관리" id="case5">
  825. <Layouts>
  826. <Layout>
  827. <Shape position="absolute 5 684 1188 690" linetype="vertical" id="line8" class="line_2"/>
  828. <Shape position="absolute 5 69 1188 75" linetype="horizontal" id="line9" class="line_10"/>
  829. <Grid position="absolute 5 74 1188 701" id="grd_complain" binddataset="ds_main_data_complain_grdlist">
  830. <Formats>
  831. <Format id="default">
  832. <Columns>
  833. <Column size="24"/>
  834. <Column size="60"/>
  835. <Column size="69"/>
  836. <Column size="40"/>
  837. <Column size="55"/>
  838. <Column size="55"/>
  839. <Column size="35"/>
  840. <Column size="30"/>
  841. <Column size="30"/>
  842. <Column size="120"/>
  843. <Column size="55"/>
  844. <Column size="208"/>
  845. <Column size="90"/>
  846. <Column size="40"/>
  847. <Column size="100"/>
  848. <Column size="120"/>
  849. <Column size="151"/>
  850. <Column size="60"/>
  851. <Column size="200"/>
  852. <Column size="80"/>
  853. <Column size="60"/>
  854. <Column size="200"/>
  855. <Column size="80"/>
  856. <Column size="60"/>
  857. <Column size="100"/>
  858. <Column size="60"/>
  859. </Columns>
  860. <Rows>
  861. <Row size="24" band="head"/>
  862. <Row size="24"/>
  863. </Rows>
  864. <Band id="head">
  865. <Cell/>
  866. <Cell col="1" text="구분"/>
  867. <Cell col="2" text="등록일"/>
  868. <Cell col="3" text="병실"/>
  869. <Cell col="4" text="등록번호"/>
  870. <Cell col="5" text="환자명"/>
  871. <Cell col="6" text="성별"/>
  872. <Cell col="7" text="나이"/>
  873. <Cell col="8" text="HD"/>
  874. <Cell col="9" text="진료과"/>
  875. <Cell col="10" text="담당교수"/>
  876. <Cell col="11" text="진단명"/>
  877. <Cell col="12" text="식사명"/>
  878. <Cell col="13" text="끼니"/>
  879. <Cell col="14" text="특이사항"/>
  880. <Cell col="15" text="remark"/>
  881. <Cell col="16" text="내용(불편사항)"/>
  882. <Cell col="17" text="작성자"/>
  883. <Cell col="18" text="1차관리"/>
  884. <Cell col="19" text="1차확인"/>
  885. <Cell col="20" text="영양사"/>
  886. <Cell col="21" text="2차관리"/>
  887. <Cell col="22" text="2차확인"/>
  888. <Cell col="23" text="영양사"/>
  889. <Cell col="24" text="처방일자"/>
  890. <Cell col="25" text="입원일자"/>
  891. </Band>
  892. <Band id="body">
  893. <Cell celltype="head"/>
  894. <Cell col="1" displaytype="combo" text="bind:nutflag" combodataset="ds_cbo_nutflag" combocodecol="value" combodatacol="label" enable="false"/>
  895. <Cell col="2" text="bind:regdd"/>
  896. <Cell col="3" text="bind:room"/>
  897. <Cell col="4" text="bind:pid"/>
  898. <Cell col="5" text="bind:hngnm"/>
  899. <Cell col="6" text="bind:sex"/>
  900. <Cell col="7" text="bind:age"/>
  901. <Cell col="8" text="bind:hd"/>
  902. <Cell col="9" text="bind:orddeptnm"/>
  903. <Cell col="10" text="bind:medispclnm"/>
  904. <Cell col="11" text="bind:diagnm"/>
  905. <Cell col="12" text="bind:dietnm"/>
  906. <Cell col="13" displaytype="combo" text="bind:dietmeal" combodataset="ds_cbo_dietmeal" combocodecol="value" combodatacol="label" enable="false"/>
  907. <Cell col="14" text="bind:prcpdelivefact"/>
  908. <Cell col="15" text="bind:remark3"/>
  909. <Cell col="16" text="bind:complain"/>
  910. <Cell col="17" text="bind:writeid"/>
  911. <Cell col="18" displaytype="text" edittype="text" text="bind:manage1" editautoselect="true"/>
  912. <Cell col="19" displaytype="text" edittype="text" text="bind:checkdd1" editautoselect="true"/>
  913. <Cell col="20" displaytype="text" edittype="text" text="bind:nutid1" editautoselect="true"/>
  914. <Cell col="21" displaytype="text" edittype="text" text="bind:manage2" editautoselect="true"/>
  915. <Cell col="22" displaytype="text" edittype="text" text="bind:checkdd2" editautoselect="true"/>
  916. <Cell col="23" displaytype="text" edittype="text" text="bind:nutid2" editautoselect="true"/>
  917. <Cell col="24" text="bind:prcpdd"/>
  918. <Cell col="25" text="bind:indd"/>
  919. </Band>
  920. </Format>
  921. </Formats>
  922. </Grid>
  923. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group4" class="div_SA">
  924. <Layouts>
  925. <Layout>
  926. <Button position="absolute 1106 7 1162 29" id="btn_search6" class="btn1" text="조회" onclick="swt_patmngt_case5_group4_btn_search6_onclick"/>
  927. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line10" class="line_4"/>
  928. <Static text="병동 :" position="absolute 475 10 535 27" id="caption24" class="search_name"/>
  929. <Combo position="absolute 539 9 639 28" id="cmb_ward2" class="combo_s_essential" innerdataset="@ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
  930. <Static text="등록번호/환자명 :" position="absolute 642 9 766 26" id="caption25" class="search_name"/>
  931. <MaskEdit position="absolute 770 8 845 27" id="input1" class="input" mask="9999999999" onkeydown="swt_patmngt_case5_group4_input1_onkeydown" autoselect="true"/>
  932. <Edit position="absolute 850 8 910 27" id="input2" class="input" autoselect="true"/>
  933. <Button position="absolute 915 10 931 26" id="button3" class="icon_search" text=""/>
  934. <Static text="영양사 :" position="absolute 940 10 1016 27" id="caption27" class="search_name"/>
  935. <Combo position="absolute 1015 8 1090 27" id="combo2" class="combo_search" innerdataset="@ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid"/>
  936. <Calendar position="absolute 264 8 354 27" id="input3" class="input_search" autoselect="true"/>
  937. <Static text="~" position="absolute 356 9 368 26" id="caption28" class="search_n_b"/>
  938. <Static text="등록일자 :" position="absolute 175 10 261 27" id="caption29" class="search_name"/>
  939. <Calendar position="absolute 369 8 459 27" id="input4" class="input_search" autoselect="true"/>
  940. <Static text="구분 :" position="absolute 5 10 91 27" id="caption26" class="search_name"/>
  941. <Combo position="absolute 70 8 145 27" id="combo1" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn">
  942. <Dataset id="innerdataset">
  943. <ColumnInfo>
  944. <Column id="codecolumn"/>
  945. <Column id="datacolumn"/>
  946. </ColumnInfo>
  947. <Rows>
  948. <Row>
  949. <Col id="codecolumn">
  950. </Col>
  951. <Col id="datacolumn">
  952. </Col>
  953. </Row>
  954. <Row>
  955. <Col id="codecolumn">1</Col>
  956. <Col id="datacolumn">미관리</Col>
  957. </Row>
  958. <Row>
  959. <Col id="codecolumn">2</Col>
  960. <Col id="datacolumn">1차완료</Col>
  961. </Row>
  962. <Row>
  963. <Col id="codecolumn">3</Col>
  964. <Col id="datacolumn">2차완료</Col>
  965. </Row>
  966. </Rows>
  967. </Dataset>
  968. </Combo>
  969. </Layout>
  970. </Layouts>
  971. </Div>
  972. <Div position="absolute 435 265 880 510" id="grp_manage1" visible="false">
  973. <Layouts>
  974. <Layout>
  975. <TextArea position="absolute 5 30 440 210" id="textarea1"/>
  976. <Button position="absolute 380 215 436 237" id="button1" class="btn4" text="닫기"/>
  977. <Static text="1차관리" position="absolute 10 13 183 28" id="caption31" class="tit_2"/>
  978. <Shape position="absolute 0 0 445 245" id="rectangle2" type="rectangle"/>
  979. <Button position="absolute 320 215 376 237" id="button77" class="btn4" text="입력"/>
  980. </Layout>
  981. </Layouts>
  982. </Div>
  983. <Div position="absolute 435 265 880 510" id="grp_manage2" visible="false">
  984. <Layouts>
  985. <Layout>
  986. <Shape position="absolute 0 0 445 245" id="rectangle3" type="rectangle"/>
  987. <TextArea position="absolute 5 30 440 210" id="textarea2" wordwrap="word"/>
  988. <Button position="absolute 380 215 436 237" id="button2" class="btn4" text="닫기" onclick="swt_patmngt_case5_grp_manage2_button2_onclick"/>
  989. <Static text="2차관리" position="absolute 6 13 179 30" id="caption35" class="tit_2"/>
  990. <Button position="absolute 320 215 376 237" id="button78" class="btn4" text="입력" onclick="swt_patmngt_case5_grp_manage2_button78_onclick"/>
  991. </Layout>
  992. </Layouts>
  993. </Div>
  994. </Layout>
  995. </Layouts>
  996. </Tabpage>
  997. <Tabpage id="case6" text="치료식통계">
  998. <Layouts>
  999. <Layout>
  1000. <Div id="grp_sea" taborder="0" class="div_SA" position="absolute 5 10 1187 45">
  1001. <Layouts>
  1002. <Layout>
  1003. <Button id="button7" taborder="1" text="조회" class="btn1" position="absolute 1121 7 1177 29" onclick="swt_patmngt_case6_grp_sea_button7_onclick"/>
  1004. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1109 7 1115 29"/>
  1005. <Static id="caption33" text="조회기간 :" class="search_name" position="absolute 6 9 82 26"/>
  1006. <MaskEdit id="ipt_fromdd" taborder="4" mask="####-##" class="input" position="absolute 90 7 178 26" maskchar=" " type="string" style="align:center middle;" autoselect="true"/>
  1007. <Button id="btn_before" taborder="5" position="absolute 181 9 197 26" class="icon_pre" onclick="swt_patmngt_case6_grp_sea_btn_before_onclick"/>
  1008. <Button id="btn_next" taborder="6" class="icon_next" position="absolute 199 9 215 26" onclick="swt_patmngt_case6_grp_sea_btn_next_onclick"/>
  1009. </Layout>
  1010. </Layouts>
  1011. </Div>
  1012. <Grid id="grd_mainlist" taborder="1" useinputpanel="false" position="absolute 6 71 1187 701" binddataset="ds_main_item">
  1013. <Formats>
  1014. <Format id="default">
  1015. <Columns>
  1016. <Column size="0"/>
  1017. <Column size="35"/>
  1018. <Column size="35"/>
  1019. <Column size="35"/>
  1020. <Column size="35"/>
  1021. <Column size="35"/>
  1022. <Column size="35"/>
  1023. <Column size="35"/>
  1024. <Column size="35"/>
  1025. <Column size="35"/>
  1026. <Column size="35"/>
  1027. <Column size="35"/>
  1028. <Column size="35"/>
  1029. <Column size="35"/>
  1030. <Column size="35"/>
  1031. <Column size="35"/>
  1032. <Column size="35"/>
  1033. <Column size="35"/>
  1034. <Column size="35"/>
  1035. <Column size="35"/>
  1036. <Column size="35"/>
  1037. <Column size="35"/>
  1038. <Column size="35"/>
  1039. <Column size="35"/>
  1040. <Column size="35"/>
  1041. <Column size="35"/>
  1042. <Column size="35"/>
  1043. <Column size="35"/>
  1044. <Column size="35"/>
  1045. <Column size="35"/>
  1046. <Column size="35"/>
  1047. <Column size="35"/>
  1048. <Column size="75"/>
  1049. </Columns>
  1050. <Rows>
  1051. <Row size="24" band="head"/>
  1052. <Row size="24"/>
  1053. </Rows>
  1054. <Band id="head">
  1055. <Cell text="기관코드"/>
  1056. <Cell col="1" edittype="none" text="01일"/>
  1057. <Cell col="2" edittype="none" text="02일"/>
  1058. <Cell col="3" edittype="none" text="03일"/>
  1059. <Cell col="4" edittype="none" text="04일"/>
  1060. <Cell col="5" edittype="none" text="05일"/>
  1061. <Cell col="6" edittype="none" text="06일"/>
  1062. <Cell col="7" edittype="none" text="07일"/>
  1063. <Cell col="8" edittype="none" text="08일"/>
  1064. <Cell col="9" edittype="none" text="09일"/>
  1065. <Cell col="10" edittype="none" text="10일"/>
  1066. <Cell col="11" edittype="none" text="11일"/>
  1067. <Cell col="12" edittype="none" text="12일"/>
  1068. <Cell col="13" edittype="none" text="13일"/>
  1069. <Cell col="14" edittype="none" text="14일"/>
  1070. <Cell col="15" edittype="none" text="15일"/>
  1071. <Cell col="16" edittype="none" text="16일"/>
  1072. <Cell col="17" edittype="none" text="17일"/>
  1073. <Cell col="18" edittype="none" text="18일"/>
  1074. <Cell col="19" edittype="none" text="19일"/>
  1075. <Cell col="20" edittype="none" text="20일"/>
  1076. <Cell col="21" edittype="none" text="21일"/>
  1077. <Cell col="22" edittype="none" text="22일"/>
  1078. <Cell col="23" edittype="none" text="23일"/>
  1079. <Cell col="24" edittype="none" text="24일"/>
  1080. <Cell col="25" edittype="none" text="25일"/>
  1081. <Cell col="26" edittype="none" text="26일"/>
  1082. <Cell col="27" edittype="none" text="27일"/>
  1083. <Cell col="28" edittype="none" text="28일"/>
  1084. <Cell col="29" edittype="none" text="29일"/>
  1085. <Cell col="30" edittype="none" text="30일"/>
  1086. <Cell col="31" edittype="none" text="31일"/>
  1087. <Cell col="32" edittype="none" text="총건수"/>
  1088. </Band>
  1089. <Band id="body">
  1090. <Cell text="bind:instcd"/>
  1091. <Cell col="1" text="bind:day01"/>
  1092. <Cell col="2" text="bind:day02"/>
  1093. <Cell col="3" text="bind:day03"/>
  1094. <Cell col="4" text="bind:day04"/>
  1095. <Cell col="5" text="bind:day05"/>
  1096. <Cell col="6" text="bind:day06"/>
  1097. <Cell col="7" text="bind:day07"/>
  1098. <Cell col="8" text="bind:day08"/>
  1099. <Cell col="9" text="bind:day09"/>
  1100. <Cell col="10" text="bind:day10"/>
  1101. <Cell col="11" text="bind:day11"/>
  1102. <Cell col="12" text="bind:day12"/>
  1103. <Cell col="13" text="bind:day13"/>
  1104. <Cell col="14" text="bind:day14"/>
  1105. <Cell col="15" text="bind:day15"/>
  1106. <Cell col="16" text="bind:day16"/>
  1107. <Cell col="17" text="bind:day17"/>
  1108. <Cell col="18" text="bind:day18"/>
  1109. <Cell col="19" text="bind:day19"/>
  1110. <Cell col="20" text="bind:day20"/>
  1111. <Cell col="21" text="bind:day21"/>
  1112. <Cell col="22" text="bind:day22"/>
  1113. <Cell col="23" text="bind:day23"/>
  1114. <Cell col="24" text="bind:day24"/>
  1115. <Cell col="25" text="bind:day25"/>
  1116. <Cell col="26" text="bind:day26"/>
  1117. <Cell col="27" text="bind:day27"/>
  1118. <Cell col="28" text="bind:day28"/>
  1119. <Cell col="29" text="bind:day29"/>
  1120. <Cell col="30" text="bind:day30"/>
  1121. <Cell col="31" text="bind:day31"/>
  1122. <Cell col="32" text="bind:total"/>
  1123. </Band>
  1124. </Format>
  1125. </Formats>
  1126. </Grid>
  1127. </Layout>
  1128. </Layouts>
  1129. </Tabpage>
  1130. </Tabpages>
  1131. </Tab>
  1132. <Button position="absolute 1080 103 1133 122" id="btn_rowadd3" class="btn2" text="행추가" onclick="btn_rowadd3_onclick"/>
  1133. <Button position="absolute 1025 103 1078 122" id="btn_rowdel3" class="btn2" text="행삭제" onclick="btn_rowdel3_onclick"/>
  1134. <Button position="absolute 1135 103 1185 122" id="btn_excel" class="btn7" text="엑셀" onclick="btn_excel_onclick"/>
  1135. <Static id="caption6" text="환자관리" class="tit_1" position="absolute 0 0 216 25"/>
  1136. <Button id="btn_listprnt" taborder="1" text="리스트출력" class="btn6" enable="false" position="absolute 0 770 92 792"/>
  1137. <Button id="button5" taborder="2" text="영양관리료" class="btn4" position="absolute 974 770 1066 792" onclick="button5_onclick" visible="false"/>
  1138. <Button id="btn_reset" taborder="3" text="초기화" class="btn4" position="absolute 1067 770 1135 792" onclick="btn_reset_onclick"/>
  1139. <Button id="btn_save" taborder="4" text="저장" class="btn4" position="absolute 1136 770 1192 792" onclick="btn_save_onclick"/>
  1140. </Layout>
  1141. </Layouts>
  1142. <Objects>
  1143. <Dataset id="ds_main_data_ipatmngt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_data_ipatmngt_grdlist_oncolumnchanged">
  1144. <ColumnInfo>
  1145. <Column id="prcpdd" type="STRING" size="256"/>
  1146. <Column id="pid" type="STRING" size="256"/>
  1147. <Column id="room" type="STRING" size="256"/>
  1148. <Column id="hngnm" type="STRING" size="256"/>
  1149. <Column id="sex" type="STRING" size="256"/>
  1150. <Column id="h_brthdd" type="STRING" size="256"/>
  1151. <Column id="age" type="STRING" size="256"/>
  1152. <Column id="indd" type="STRING" size="256"/>
  1153. <Column id="dietcd" type="STRING" size="256"/>
  1154. <Column id="dietnm" type="STRING" size="256"/>
  1155. <Column id="kcal" type="STRING" size="256"/>
  1156. <Column id="prcpdelivefact" type="STRING" size="256"/>
  1157. <Column id="remark3" type="STRING" size="256"/>
  1158. <Column id="diagnm" type="STRING" size="256"/>
  1159. <Column id="sick" type="STRING" size="256"/>
  1160. <Column id="curedietpatyn" type="STRING" size="256"/>
  1161. <Column id="dietroundyn" type="STRING" size="256"/>
  1162. <Column id="prcpstatus" type="STRING" size="256"/>
  1163. <Column id="prcpyn" type="STRING" size="256"/>
  1164. <Column id="cnt" type="STRING" size="256"/>
  1165. <Column id="crmyn" type="STRING" size="256"/>
  1166. <Column id="execcnts" type="STRING" size="256"/>
  1167. <Column id="execdieter" type="STRING" size="256"/>
  1168. <Column id="execdd" type="STRING" size="256"/>
  1169. <Column id="dschdd" type="STRING" size="256"/>
  1170. <Column id="rsntdschdd" type="STRING" size="256"/>
  1171. <Column id="insukind" type="STRING" size="256"/>
  1172. <Column id="cretno" type="STRING" size="256"/>
  1173. <Column id="orddeptcd" type="STRING" size="256"/>
  1174. <Column id="orddrid" type="STRING" size="256"/>
  1175. <Column id="prcpcnt" type="STRING" size="256"/>
  1176. <Column id="disp1img" type="STRING" size="256"/>
  1177. <Column id="disp2img" type="STRING" size="256"/>
  1178. <Column id="disp3img" type="STRING" size="256"/>
  1179. <Column id="disp4img" type="STRING" size="256"/>
  1180. <Column id="bfdietcd" type="STRING" size="256"/>
  1181. <Column id="bfdietnm" type="STRING" size="256"/>
  1182. </ColumnInfo>
  1183. <Rows>
  1184. <Row>
  1185. <Col id="prcpdd"/>
  1186. <Col id="pid"/>
  1187. <Col id="room"/>
  1188. <Col id="hngnm"/>
  1189. <Col id="sex"/>
  1190. <Col id="h_brthdd"/>
  1191. <Col id="age"/>
  1192. <Col id="indd"/>
  1193. <Col id="dietcd"/>
  1194. <Col id="dietnm"/>
  1195. <Col id="kcal"/>
  1196. <Col id="prcpdelivefact"/>
  1197. <Col id="remark3"/>
  1198. <Col id="diagnm"/>
  1199. <Col id="sick"/>
  1200. <Col id="curedietpatyn"/>
  1201. <Col id="dietroundyn"/>
  1202. <Col id="prcpstatus"/>
  1203. <Col id="prcpyn"/>
  1204. <Col id="cnt"/>
  1205. <Col id="crmyn"/>
  1206. <Col id="execcnts"/>
  1207. <Col id="execdieter"/>
  1208. <Col id="execdd"/>
  1209. <Col id="dschdd"/>
  1210. <Col id="rsntdschdd"/>
  1211. <Col id="insukind"/>
  1212. <Col id="cretno"/>
  1213. <Col id="orddeptcd"/>
  1214. <Col id="orddrid"/>
  1215. <Col id="prcpcnt"/>
  1216. <Col id="disp1img"/>
  1217. <Col id="disp2img"/>
  1218. <Col id="disp3img"/>
  1219. <Col id="disp4img"/>
  1220. </Row>
  1221. </Rows>
  1222. </Dataset>
  1223. <Dataset id="ds_main_data_ipatmngtrslt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_data_ipatmngtrslt_grdlist_oncolumnchanged">
  1224. <ColumnInfo>
  1225. <Column id="pid" type="STRING" size="256"/>
  1226. <Column id="room" type="STRING" size="256"/>
  1227. <Column id="hngnm" type="STRING" size="256"/>
  1228. <Column id="sex" type="STRING" size="256"/>
  1229. <Column id="age" type="STRING" size="256"/>
  1230. <Column id="indd" type="STRING" size="256"/>
  1231. <Column id="dietnm" type="STRING" size="256"/>
  1232. <Column id="kcal" type="STRING" size="256"/>
  1233. <Column id="diagnm" type="STRING" size="256"/>
  1234. <Column id="sick" type="STRING" size="256"/>
  1235. <Column id="curedietpatyn" type="STRING" size="256"/>
  1236. <Column id="dietroundyn" type="STRING" size="256"/>
  1237. <Column id="crmyn" type="STRING" size="256"/>
  1238. <Column id="execcnts" type="STRING" size="256"/>
  1239. <Column id="execdieter" type="STRING" size="256"/>
  1240. <Column id="execdd" type="STRING" size="256"/>
  1241. </ColumnInfo>
  1242. <Rows>
  1243. <Row>
  1244. <Col id="pid"/>
  1245. <Col id="room"/>
  1246. <Col id="hngnm"/>
  1247. <Col id="sex"/>
  1248. <Col id="age"/>
  1249. <Col id="indd"/>
  1250. <Col id="dietnm"/>
  1251. <Col id="kcal"/>
  1252. <Col id="diagnm"/>
  1253. <Col id="sick"/>
  1254. <Col id="curedietpatyn"/>
  1255. <Col id="dietroundyn"/>
  1256. <Col id="crmyn"/>
  1257. <Col id="execcnts"/>
  1258. <Col id="execdieter"/>
  1259. <Col id="execdd"/>
  1260. </Row>
  1261. </Rows>
  1262. </Dataset>
  1263. <Dataset id="ds_main_data_telnutrcnst_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_data_telnutrcnst_grdlist_oncolumnchanged">
  1264. <ColumnInfo>
  1265. <Column id="pid" type="STRING" size="256"/>
  1266. <Column id="ioflag" type="STRING" size="256"/>
  1267. <Column id="inout" type="STRING" size="256"/>
  1268. <Column id="hngnm" type="STRING" size="256"/>
  1269. <Column id="sex" type="STRING" size="256"/>
  1270. <Column id="age" type="STRING" size="256"/>
  1271. <Column id="sickcd" type="STRING" size="256"/>
  1272. <Column id="hometel" type="STRING" size="256"/>
  1273. <Column id="mpphontel" type="STRING" size="256"/>
  1274. <Column id="execyn" type="STRING" size="256"/>
  1275. <Column id="telexecdd" type="STRING" size="256"/>
  1276. <Column id="execdieter" type="STRING" size="256"/>
  1277. <Column id="formrecseq" type="STRING" size="256"/>
  1278. <Column id="nutrmngtkind" type="STRING" size="256"/>
  1279. <Column id="execdd" type="STRING" size="256"/>
  1280. <Column id="orddd" type="STRING" size="256"/>
  1281. </ColumnInfo>
  1282. <Rows>
  1283. <Row>
  1284. <Col id="pid"/>
  1285. <Col id="ioflag"/>
  1286. <Col id="inout"/>
  1287. <Col id="hngnm"/>
  1288. <Col id="sex"/>
  1289. <Col id="age"/>
  1290. <Col id="sickcd"/>
  1291. <Col id="hometel"/>
  1292. <Col id="mpphontel"/>
  1293. <Col id="execyn"/>
  1294. <Col id="telexecdd"/>
  1295. <Col id="execdieter"/>
  1296. <Col id="formrecseq"/>
  1297. <Col id="nutrmngtkind"/>
  1298. <Col id="execdd"/>
  1299. <Col id="orddd"/>
  1300. </Row>
  1301. </Rows>
  1302. </Dataset>
  1303. <Dataset id="ds_main_data_telnutrcnstcnt_cnstcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1304. <ColumnInfo>
  1305. <Column id="cnstdd" type="STRING" size="256"/>
  1306. <Column id="dieter" type="STRING" size="256"/>
  1307. <Column id="glycospatqty" type="STRING" size="256"/>
  1308. <Column id="hypetspatqty" type="STRING" size="256"/>
  1309. <Column id="cardiacpatqty" type="STRING" size="256"/>
  1310. <Column id="pdpatqty" type="STRING" size="256"/>
  1311. <Column id="hdpatqty" type="STRING" size="256"/>
  1312. <Column id="cncrpatqty" type="STRING" size="256"/>
  1313. <Column id="blodtumpatqty" type="STRING" size="256"/>
  1314. <Column id="kidnpatqty" type="STRING" size="256"/>
  1315. <Column id="liverpatqty" type="STRING" size="256"/>
  1316. <Column id="stmcpatqty" type="STRING" size="256"/>
  1317. <Column id="etrlfdpatqty" type="STRING" size="256"/>
  1318. <Column id="fatpatqty" type="STRING" size="256"/>
  1319. <Column id="etcsickpatqty" type="STRING" size="256"/>
  1320. </ColumnInfo>
  1321. <Rows>
  1322. <Row>
  1323. <Col id="cnstdd"/>
  1324. <Col id="dieter"/>
  1325. <Col id="glycospatqty"/>
  1326. <Col id="hypetspatqty"/>
  1327. <Col id="cardiacpatqty"/>
  1328. <Col id="pdpatqty"/>
  1329. <Col id="hdpatqty"/>
  1330. <Col id="cncrpatqty"/>
  1331. <Col id="blodtumpatqty"/>
  1332. <Col id="kidnpatqty"/>
  1333. <Col id="liverpatqty"/>
  1334. <Col id="stmcpatqty"/>
  1335. <Col id="etrlfdpatqty"/>
  1336. <Col id="fatpatqty"/>
  1337. <Col id="etcsickpatqty"/>
  1338. </Row>
  1339. </Rows>
  1340. </Dataset>
  1341. <Dataset id="ds_main_data_nonregleduc_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1342. <ColumnInfo>
  1343. <Column id="educdd" type="STRING" size="256"/>
  1344. <Column id="eductm" type="STRING" size="256"/>
  1345. <Column id="eductodd" type="STRING" size="256"/>
  1346. <Column id="eductotm" type="STRING" size="256"/>
  1347. <Column id="educsubj" type="STRING" size="256"/>
  1348. <Column id="eductrgt" type="STRING" size="256"/>
  1349. <Column id="educpsnno" type="STRING" size="256"/>
  1350. <Column id="educplce" type="STRING" size="256"/>
  1351. <Column id="educmatr" type="STRING" size="256"/>
  1352. <Column id="sickcd" type="STRING" size="256"/>
  1353. <Column id="educetc" type="STRING" size="256"/>
  1354. <Column id="educdieter" type="STRING" size="256"/>
  1355. <Column id="bf_educdieter" type="STRING" size="256"/>
  1356. </ColumnInfo>
  1357. <Rows>
  1358. <Row>
  1359. <Col id="educdd"/>
  1360. <Col id="eductm"/>
  1361. <Col id="eductodd"/>
  1362. <Col id="eductotm"/>
  1363. <Col id="educsubj"/>
  1364. <Col id="eductrgt"/>
  1365. <Col id="educpsnno"/>
  1366. <Col id="educplce"/>
  1367. <Col id="educmatr"/>
  1368. <Col id="sickcd"/>
  1369. <Col id="educetc"/>
  1370. <Col id="educdieter"/>
  1371. <Col id="bf_educdieter"/>
  1372. </Row>
  1373. </Rows>
  1374. </Dataset>
  1375. <Dataset id="ds_main_data_complain_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1376. <ColumnInfo>
  1377. <Column id="nutflag" type="STRING" size="256"/>
  1378. <Column id="regdd" type="STRING" size="256"/>
  1379. <Column id="room" type="STRING" size="256"/>
  1380. <Column id="pid" type="STRING" size="256"/>
  1381. <Column id="hngnm" type="STRING" size="256"/>
  1382. <Column id="sex" type="STRING" size="256"/>
  1383. <Column id="age" type="STRING" size="256"/>
  1384. <Column id="hd" type="STRING" size="256"/>
  1385. <Column id="orddeptnm" type="STRING" size="256"/>
  1386. <Column id="medispclnm" type="STRING" size="256"/>
  1387. <Column id="diagnm" type="STRING" size="256"/>
  1388. <Column id="dietnm" type="STRING" size="256"/>
  1389. <Column id="dietmeal" type="STRING" size="256"/>
  1390. <Column id="prcpdelivefact" type="STRING" size="256"/>
  1391. <Column id="remark3" type="STRING" size="256"/>
  1392. <Column id="complain" type="STRING" size="256"/>
  1393. <Column id="writeid" type="STRING" size="256"/>
  1394. <Column id="manage1" type="STRING" size="256"/>
  1395. <Column id="checkdd1" type="STRING" size="256"/>
  1396. <Column id="nutid1" type="STRING" size="256"/>
  1397. <Column id="manage2" type="STRING" size="256"/>
  1398. <Column id="checkdd2" type="STRING" size="256"/>
  1399. <Column id="nutid2" type="STRING" size="256"/>
  1400. <Column id="prcpdd" type="STRING" size="256"/>
  1401. <Column id="indd" type="STRING" size="256"/>
  1402. </ColumnInfo>
  1403. <Rows>
  1404. <Row>
  1405. <Col id="nutflag"/>
  1406. <Col id="regdd"/>
  1407. <Col id="room"/>
  1408. <Col id="pid"/>
  1409. <Col id="hngnm"/>
  1410. <Col id="sex"/>
  1411. <Col id="age"/>
  1412. <Col id="hd"/>
  1413. <Col id="orddeptnm"/>
  1414. <Col id="medispclnm"/>
  1415. <Col id="diagnm"/>
  1416. <Col id="dietnm"/>
  1417. <Col id="dietmeal"/>
  1418. <Col id="prcpdelivefact"/>
  1419. <Col id="remark3"/>
  1420. <Col id="complain"/>
  1421. <Col id="writeid"/>
  1422. <Col id="manage1"/>
  1423. <Col id="checkdd1"/>
  1424. <Col id="nutid1"/>
  1425. <Col id="manage2"/>
  1426. <Col id="checkdd2"/>
  1427. <Col id="nutid2"/>
  1428. <Col id="prcpdd"/>
  1429. <Col id="indd"/>
  1430. </Row>
  1431. </Rows>
  1432. </Dataset>
  1433. <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1434. <Dataset id="ds_main_item_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1435. <Dataset id="ds_send_searchitem_ipatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1436. <ColumnInfo>
  1437. <Column id="ward" type="STRING" size="256"/>
  1438. <Column id="patflag" type="STRING" size="256"/>
  1439. <Column id="inddfrom" type="STRING" size="256"/>
  1440. <Column id="inddto" type="STRING" size="256"/>
  1441. <Column id="pid" type="STRING" size="256"/>
  1442. <Column id="hngnm" type="STRING" size="256"/>
  1443. <Column id="dieter" type="STRING" size="256"/>
  1444. <Column id="mealflag" type="STRING" size="256"/>
  1445. <Column id="optward" type="STRING" size="256"/>
  1446. </ColumnInfo>
  1447. <Rows>
  1448. <Row>
  1449. <Col id="ward"/>
  1450. <Col id="patflag"/>
  1451. <Col id="inddfrom"/>
  1452. <Col id="inddto"/>
  1453. <Col id="pid"/>
  1454. <Col id="hngnm"/>
  1455. <Col id="dieter"/>
  1456. <Col id="mealflag">1</Col>
  1457. <Col id="optward"/>
  1458. </Row>
  1459. </Rows>
  1460. </Dataset>
  1461. <Dataset id="ds_send_searchitem_ipatmngtrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1462. <ColumnInfo>
  1463. <Column id="ward" type="STRING" size="256"/>
  1464. <Column id="rsltflag" type="STRING" size="256"/>
  1465. <Column id="execddfrom" type="STRING" size="256"/>
  1466. <Column id="execddto" type="STRING" size="256"/>
  1467. <Column id="pid" type="STRING" size="256"/>
  1468. <Column id="hngnm" type="STRING" size="256"/>
  1469. <Column id="dieter" type="STRING" size="256"/>
  1470. </ColumnInfo>
  1471. <Rows>
  1472. <Row>
  1473. <Col id="ward"/>
  1474. <Col id="rsltflag"/>
  1475. <Col id="execddfrom"/>
  1476. <Col id="execddto"/>
  1477. <Col id="pid"/>
  1478. <Col id="hngnm"/>
  1479. <Col id="dieter"/>
  1480. </Row>
  1481. </Rows>
  1482. </Dataset>
  1483. <Dataset id="ds_send_searchitem_telnutrcnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1484. <ColumnInfo>
  1485. <Column id="educfromdd" type="STRING" size="256"/>
  1486. <Column id="eductodd" type="STRING" size="256"/>
  1487. <Column id="pid" type="STRING" size="256"/>
  1488. <Column id="hngnm" type="STRING" size="256"/>
  1489. <Column id="dieter" type="STRING" size="256"/>
  1490. </ColumnInfo>
  1491. <Rows>
  1492. <Row>
  1493. <Col id="educfromdd"/>
  1494. <Col id="eductodd"/>
  1495. <Col id="pid"/>
  1496. <Col id="hngnm"/>
  1497. <Col id="dieter"/>
  1498. </Row>
  1499. </Rows>
  1500. </Dataset>
  1501. <Dataset id="ds_send_searchitem_telnutrcnstcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1502. <ColumnInfo>
  1503. <Column id="cnstfromdd" type="STRING" size="256"/>
  1504. <Column id="cnsttodd" type="STRING" size="256"/>
  1505. <Column id="dieter" type="STRING" size="256"/>
  1506. </ColumnInfo>
  1507. <Rows>
  1508. <Row>
  1509. <Col id="cnstfromdd"/>
  1510. <Col id="cnsttodd"/>
  1511. <Col id="dieter"/>
  1512. </Row>
  1513. </Rows>
  1514. </Dataset>
  1515. <Dataset id="ds_send_searchitem_nonregleduc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1516. <ColumnInfo>
  1517. <Column id="fromdd" type="STRING" size="256"/>
  1518. <Column id="todd" type="STRING" size="256"/>
  1519. </ColumnInfo>
  1520. <Rows>
  1521. <Row>
  1522. <Col id="fromdd"/>
  1523. <Col id="todd"/>
  1524. </Row>
  1525. </Rows>
  1526. </Dataset>
  1527. <Dataset id="ds_send_searchitem_complain" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1528. <ColumnInfo>
  1529. <Column id="nutflag" type="STRING" size="256"/>
  1530. <Column id="inddfrom" type="STRING" size="256"/>
  1531. <Column id="inddto" type="STRING" size="256"/>
  1532. <Column id="pid" type="STRING" size="256"/>
  1533. <Column id="hngnm" type="STRING" size="256"/>
  1534. <Column id="dieter" type="STRING" size="256"/>
  1535. <Column id="ward" type="STRING" size="256"/>
  1536. <Column id="manage1" type="STRING" size="256"/>
  1537. <Column id="checkdd1" type="STRING" size="256"/>
  1538. <Column id="manage2" type="STRING" size="256"/>
  1539. <Column id="checkdd2" type="STRING" size="256"/>
  1540. <Column id="indd" type="STRING" size="256"/>
  1541. <Column id="prcpdd" type="STRING" size="256"/>
  1542. <Column id="dietmeal" type="STRING" size="256"/>
  1543. <Column id="list" type="STRING" size="256"/>
  1544. </ColumnInfo>
  1545. <Rows>
  1546. <Row>
  1547. <Col id="nutflag"/>
  1548. <Col id="inddfrom"/>
  1549. <Col id="inddto"/>
  1550. <Col id="pid"/>
  1551. <Col id="hngnm"/>
  1552. <Col id="dieter"/>
  1553. <Col id="ward"/>
  1554. <Col id="manage1"/>
  1555. <Col id="checkdd1"/>
  1556. <Col id="manage2"/>
  1557. <Col id="checkdd2"/>
  1558. <Col id="indd"/>
  1559. <Col id="prcpdd"/>
  1560. <Col id="dietmeal"/>
  1561. <Col id="list"/>
  1562. </Row>
  1563. </Rows>
  1564. </Dataset>
  1565. <Dataset id="ds_send_searchitem_thdstats" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_searchitem_thdstats_oncolumnchanged">
  1566. <ColumnInfo>
  1567. <Column id="srchfromdd" type="STRING" size="256"/>
  1568. <Column id="srchtodd" type="STRING" size="256"/>
  1569. </ColumnInfo>
  1570. <Rows>
  1571. <Row>
  1572. <Col id="srchfromdd"/>
  1573. <Col id="srchtodd"/>
  1574. </Row>
  1575. </Rows>
  1576. </Dataset>
  1577. <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1578. <ColumnInfo>
  1579. <Column id="flag" type="STRING" size="256"/>
  1580. <Column id="pid" type="STRING" size="256"/>
  1581. <Column id="hngnm" type="STRING" size="256"/>
  1582. <Column id="reqdd" type="STRING" size="256"/>
  1583. <Column id="reqpsn" type="STRING" size="256"/>
  1584. <Column id="educreqcnts" type="STRING" size="256"/>
  1585. <Column id="h_cretno" type="STRING" size="256"/>
  1586. <Column id="h_orddeptcd" type="STRING" size="256"/>
  1587. <Column id="h_prcpgenrflag" type="STRING" size="256"/>
  1588. <Column id="h_orddd" type="STRING" size="256"/>
  1589. <Column id="h_formrecseq" type="STRING" size="256"/>
  1590. <Column id="execprcpuniqno" type="STRING" size="256"/>
  1591. <Column id="nutrmngtkind" type="STRING" size="256"/>
  1592. <Column id="execdd" type="STRING" size="256"/>
  1593. <Column id="manage1" type="STRING" size="256"/>
  1594. <Column id="manage2" type="STRING" size="256"/>
  1595. <Column id="execcnts" type="STRING" size="256"/>
  1596. <Column id="p" type="STRING" size="256"/>
  1597. <Column id="b" type="STRING" size="256"/>
  1598. <Column id="g" type="STRING" size="256"/>
  1599. <Column id="s1" type="STRING" size="256"/>
  1600. <Column id="s2" type="STRING" size="256"/>
  1601. <Column id="o" type="STRING" size="256"/>
  1602. <Column id="etc" type="STRING" size="256"/>
  1603. <Column id="dietnm" type="STRING" size="256"/>
  1604. </ColumnInfo>
  1605. <Rows>
  1606. <Row>
  1607. <Col id="flag"/>
  1608. <Col id="pid"/>
  1609. <Col id="hngnm"/>
  1610. <Col id="reqdd"/>
  1611. <Col id="reqpsn"/>
  1612. <Col id="educreqcnts"/>
  1613. <Col id="h_cretno"/>
  1614. <Col id="h_orddeptcd"/>
  1615. <Col id="h_prcpgenrflag"/>
  1616. <Col id="h_orddd"/>
  1617. <Col id="h_formrecseq"/>
  1618. <Col id="execprcpuniqno"/>
  1619. <Col id="nutrmngtkind"/>
  1620. <Col id="execdd"/>
  1621. <Col id="manage1"/>
  1622. <Col id="manage2"/>
  1623. <Col id="execcnts"/>
  1624. <Col id="p"/>
  1625. <Col id="b"/>
  1626. <Col id="g"/>
  1627. <Col id="s1"/>
  1628. <Col id="s2"/>
  1629. <Col id="o"/>
  1630. <Col id="etc"/>
  1631. <Col id="dietnm"/>
  1632. </Row>
  1633. </Rows>
  1634. </Dataset>
  1635. <Dataset id="ds_init_basecode_dieter_alldieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1636. <Dataset id="ds_init_basecode_sick_A0059" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1637. <Dataset id="ds_cbo_prcpyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1638. <ColumnInfo>
  1639. <Column id="label" type="STRING" size="256"/>
  1640. <Column id="value" type="STRING" size="256"/>
  1641. </ColumnInfo>
  1642. <Rows>
  1643. <Row>
  1644. <Col id="label">미처방</Col>
  1645. <Col id="value"/>
  1646. </Row>
  1647. <Row>
  1648. <Col id="label">처방완료</Col>
  1649. <Col id="value">Y</Col>
  1650. </Row>
  1651. </Rows>
  1652. </Dataset>
  1653. <Dataset id="ds_init_basecode_dieter_all" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1654. <Dataset id="ds_init_basecode_etc_A0061" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1655. <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1656. <Dataset id="ds_cbo_nutflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1657. <ColumnInfo>
  1658. <Column id="label" type="STRING" size="256"/>
  1659. <Column id="value" type="STRING" size="256"/>
  1660. </ColumnInfo>
  1661. <Rows>
  1662. <Row>
  1663. <Col id="label">미관리</Col>
  1664. <Col id="value">1</Col>
  1665. </Row>
  1666. <Row>
  1667. <Col id="label">1차완료</Col>
  1668. <Col id="value">2</Col>
  1669. </Row>
  1670. <Row>
  1671. <Col id="label">2차완료</Col>
  1672. <Col id="value">3</Col>
  1673. </Row>
  1674. </Rows>
  1675. </Dataset>
  1676. <Dataset id="ds_cbo_dietmeal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1677. <ColumnInfo>
  1678. <Column id="label" type="STRING" size="256"/>
  1679. <Column id="value" type="STRING" size="256"/>
  1680. </ColumnInfo>
  1681. <Rows>
  1682. <Row>
  1683. <Col id="label">아침</Col>
  1684. <Col id="value">1</Col>
  1685. </Row>
  1686. <Row>
  1687. <Col id="label">점심</Col>
  1688. <Col id="value">2</Col>
  1689. </Row>
  1690. <Row>
  1691. <Col id="label">저녁</Col>
  1692. <Col id="value">3</Col>
  1693. </Row>
  1694. </Rows>
  1695. </Dataset>
  1696. <Dataset id="ds_main_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1697. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1698. <ColumnInfo>
  1699. <Column id="instcd" type="STRING" size="256"/>
  1700. <Column id="dieter" type="STRING" size="256"/>
  1701. <Column id="usernm" type="STRING" size="256"/>
  1702. </ColumnInfo>
  1703. <Rows>
  1704. <Row/>
  1705. </Rows>
  1706. </Dataset>
  1707. <Dataset id="ds_init_basecode_dieter_dieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1708. <Dataset id="ds_init_basecode_dieter_intndieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1709. <Dataset id="ds_temp_ipatmngt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1710. <ColumnInfo>
  1711. <Column id="pid" type="STRING" size="256"/>
  1712. <Column id="room" type="STRING" size="256"/>
  1713. <Column id="hngnm" type="STRING" size="256"/>
  1714. <Column id="sex" type="STRING" size="256"/>
  1715. <Column id="h_brthdd" type="STRING" size="256"/>
  1716. <Column id="age" type="STRING" size="256"/>
  1717. <Column id="indd" type="STRING" size="256"/>
  1718. <Column id="dietcd" type="STRING" size="256"/>
  1719. <Column id="dietnm" type="STRING" size="256"/>
  1720. <Column id="kcal" type="STRING" size="256"/>
  1721. <Column id="prcpdelivefact" type="STRING" size="256"/>
  1722. <Column id="remark3" type="STRING" size="256"/>
  1723. <Column id="diagnm" type="STRING" size="256"/>
  1724. <Column id="sick" type="STRING" size="256"/>
  1725. <Column id="curedietpatyn" type="STRING" size="256"/>
  1726. <Column id="dietroundyn" type="STRING" size="256"/>
  1727. <Column id="prcpstatus" type="STRING" size="256"/>
  1728. <Column id="prcpyn" type="STRING" size="256"/>
  1729. <Column id="cnt" type="STRING" size="256"/>
  1730. <Column id="crmyn" type="STRING" size="256"/>
  1731. <Column id="execcnts" type="STRING" size="256"/>
  1732. <Column id="execdieter" type="STRING" size="256"/>
  1733. <Column id="execdd" type="STRING" size="256"/>
  1734. <Column id="dschdd" type="STRING" size="256"/>
  1735. <Column id="rsntdschdd" type="STRING" size="256"/>
  1736. <Column id="insukind" type="STRING" size="256"/>
  1737. <Column id="cretno" type="STRING" size="256"/>
  1738. <Column id="orddeptcd" type="STRING" size="256"/>
  1739. <Column id="orddrid" type="STRING" size="256"/>
  1740. <Column id="prcpcnt" type="STRING" size="256"/>
  1741. </ColumnInfo>
  1742. </Dataset>
  1743. <Dataset id="ds_send_data_ipattreatmngt_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1744. <Dataset id="ds_send_data_ipatmngt_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1745. <Dataset id="ds_send_data_telnutrcnst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1746. <Dataset id="ds_send_data_telnutrcnstcnt_cnstcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1747. <Dataset id="ds_send_searchitem_complain_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1748. <Dataset id="ds_send_data_nonregleduc_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1749. <Dataset id="ds_ret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1750. <ColumnInfo>
  1751. <Column id="prcpcnt" type="STRING" size="256"/>
  1752. </ColumnInfo>
  1753. </Dataset>
  1754. </Objects>
  1755. <Bind>
  1756. <BindItem id="item1" compid="swt_patmngt.case1.grp_sea.rdo_patflag" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="patflag"/>
  1757. <BindItem id="item2" compid="swt_patmngt.case1.grp_sea.ipt_inddfrom" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="inddfrom"/>
  1758. <BindItem id="item3" compid="swt_patmngt.case1.grp_sea.ipt_inddto" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="inddto"/>
  1759. <BindItem id="item4" compid="swt_patmngt.case1.grp_sea.ipt_pid1" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="pid"/>
  1760. <BindItem id="item5" compid="swt_patmngt.case1.grp_sea.ipt_hngnm1" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="hngnm"/>
  1761. <BindItem id="item6" compid="swt_patmngt.case1.grp_sea.cmb_dieter1" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="dieter"/>
  1762. <BindItem id="item7" compid="swt_patmngt.case1.grp_execcnts.chk_p" propid="value" datasetid="ds_send_popup" columnid="p"/>
  1763. <BindItem id="item8" compid="swt_patmngt.case1.grp_execcnts.chk_b" propid="value" datasetid="ds_send_popup" columnid="b"/>
  1764. <BindItem id="item9" compid="swt_patmngt.case1.grp_execcnts.chk_p01" propid="value" datasetid="ds_send_popup" columnid="g"/>
  1765. <BindItem id="item10" compid="swt_patmngt.case1.grp_execcnts.input5" propid="value" datasetid="ds_send_popup" columnid="dietnm"/>
  1766. <BindItem id="item12" compid="swt_patmngt.case1.grp_execcnts.chk_o" propid="value" datasetid="ds_send_popup" columnid="o"/>
  1767. <BindItem id="item13" compid="swt_patmngt.case1.grp_execcnts.cmb_etc" propid="value" datasetid="ds_send_popup" columnid="etc"/>
  1768. <BindItem id="item16" compid="swt_patmngt.case2.group1.cmb_ward1" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="ward"/>
  1769. <BindItem id="item17" compid="swt_patmngt.case2.group1.rdo_rsltflag" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="rsltflag"/>
  1770. <BindItem id="item18" compid="swt_patmngt.case2.group1.ipt_execddfrom" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddfrom"/>
  1771. <BindItem id="item19" compid="swt_patmngt.case2.group1.ipt_execddto" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddto"/>
  1772. <BindItem id="item20" compid="swt_patmngt.case2.group1.ipt_pid3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="pid"/>
  1773. <BindItem id="item21" compid="swt_patmngt.case2.group1.ipt_hngnm3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="hngnm"/>
  1774. <BindItem id="item22" compid="swt_patmngt.case2.group1.cmb_dieter4" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="dieter"/>
  1775. <BindItem id="item23" compid="swt_patmngt.case3.ipt_cnstfromdd" propid="value" datasetid="ds_send_searchitem_telnutrcnstcnt" columnid="cnstfromdd"/>
  1776. <BindItem id="item24" compid="swt_patmngt.case3.ipt_cnsttodd" propid="value" datasetid="ds_send_searchitem_telnutrcnstcnt" columnid="cnsttodd"/>
  1777. <BindItem id="item25" compid="swt_patmngt.case3.cmb_dieter3" propid="value" datasetid="ds_send_searchitem_telnutrcnstcnt" columnid="dieter"/>
  1778. <BindItem id="item26" compid="swt_patmngt.case4.group3.fromDD" propid="value" datasetid="ds_send_searchitem_nonregleduc" columnid="fromdd"/>
  1779. <BindItem id="item27" compid="swt_patmngt.case4.group3.toDD" propid="value" datasetid="ds_send_searchitem_nonregleduc" columnid="todd"/>
  1780. <BindItem id="item28" compid="swt_patmngt.case5.group4.combo1" propid="value" datasetid="ds_send_searchitem_complain" columnid="nutflag"/>
  1781. <BindItem id="item29" compid="swt_patmngt.case5.group4.input3" propid="value" datasetid="ds_send_searchitem_complain" columnid="inddfrom"/>
  1782. <BindItem id="item30" compid="swt_patmngt.case5.group4.input4" propid="value" datasetid="ds_send_searchitem_complain" columnid="inddto"/>
  1783. <BindItem id="item31" compid="swt_patmngt.case5.group4.cmb_ward2" propid="value" datasetid="ds_send_searchitem_complain" columnid="ward"/>
  1784. <BindItem id="item32" compid="swt_patmngt.case5.group4.input1" propid="value" datasetid="ds_send_searchitem_complain" columnid="pid"/>
  1785. <BindItem id="item33" compid="swt_patmngt.case5.group4.input2" propid="value" datasetid="ds_send_searchitem_complain" columnid="hngnm"/>
  1786. <BindItem id="item34" compid="swt_patmngt.case5.group4.combo2" propid="value" datasetid="ds_send_searchitem_complain" columnid=""/>
  1787. <BindItem id="item35" compid="swt_patmngt.case5.grp_manage2.textarea2" propid="value" datasetid="ds_send_popup" columnid="manage2"/>
  1788. <BindItem id="item36" compid="swt_patmngt.case6.grp_sea.ipt_fromdd" propid="value" datasetid="ds_send_searchitem_thdstats" columnid="srchfromdd"/>
  1789. <BindItem id="item0" compid="swt_patmngt.case1.grp_sea.opt_ward" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="optward"/>
  1790. <BindItem id="item37" compid="swt_patmngt.case1.grp_execcnts.textarea3" propid="value" datasetid="ds_send_popup" columnid="execcnts"/>
  1791. <BindItem id="item14" compid="swt_patmngt.case2.grp_reccnts.textarea2" propid="value" datasetid="ds_send_popup" columnid="execcnts"/>
  1792. <BindItem id="item38" compid="swt_patmngt.case1.grp_sea.rdo_mealflag" propid="value" datasetid="ds_send_searchitem_ipatmngt" columnid="mealflag"/>
  1793. <BindItem id="item15" compid="swt_patmngt.case1.grp_execcnts.cmb_etc00" propid="value" datasetid="ds_send_popup" columnid="s1"/>
  1794. <BindItem id="item39" compid="swt_patmngt.case1.grp_execcnts.cmb_etc01" propid="value" datasetid="ds_send_popup" columnid="s2"/>
  1795. </Bind>
  1796. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1797. * System Name :
  1798. * Job Name :
  1799. * Creator :
  1800. * Make Date : 2015-11-13
  1801. * Description :
  1802. *---------------------------------------------------------------------------------------
  1803. * Modify Date Modifier Modify Description
  1804. *---------------------------------------------------------------------------------------
  1805. * 2015-11-13 Live Converter TF->XP
  1806. *
  1807. *---------------------------------------------------------------------------------------
  1808. ****************************************************************************************/
  1809. include "com_commonxp::comm_main.xjs";
  1810. include 'com_departmentcodexp::ZSD001.xjs';
  1811. var arErrorCode = new HashArray();
  1812. function SMANC00400_oninit(obj:Form, e:InitEventInfo)
  1813. {
  1814. frmf_initForm(obj); //폼 초기화
  1815. grdf_setGridSort(swt_patmngt.case1.grd_ipatmngt);
  1816. grdf_setGridSort(swt_patmngt.case2.grd_ipatmngtrslt);
  1817. grdf_setRowTypeIcon(swt_patmngt.case5.grd_complain, 0);
  1818. }
  1819. function SMANC00400_onload(obj:Form, e:LoadEventInfo)
  1820. {
  1821. finit();
  1822. swt_patmngt.case1.grp_sea.btn_search1.enable = frmf_checkAuth("R");
  1823. swt_patmngt.case3.group2.btn_search2.enable = frmf_checkAuth("R");
  1824. swt_patmngt.case4.group3.btn_search3.enable = frmf_checkAuth("R");
  1825. swt_patmngt.case3.btn_search4.enable = frmf_checkAuth("R");
  1826. swt_patmngt.case2.group1.btn_search5.enable = frmf_checkAuth("R");
  1827. swt_patmngt.case5.group4.btn_search6.enable = frmf_checkAuth("R");
  1828. btn_save.enable = frmf_checkAuth("X");
  1829. btn_excel.enable = frmf_checkAuth("P");
  1830. btn_rowdel3.visible = false;
  1831. //영양사 조회
  1832. var oParam = {};
  1833. oParam.id = "TRANC00202";
  1834. oParam.service = "nutritionconsultapp.PatientNutr";
  1835. oParam.method = "reqGetDieter";
  1836. oParam.inds = "req=ds_req";
  1837. oParam.outds = "ds_init_basecode_dieter_dieter=dieter ds_init_basecode_dieter_intndieter=intndieter ds_init_basecode_dieter_alldieter=alldieter";
  1838. oParam.async = false;
  1839. tranf_submit(oParam);
  1840. ds_req.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  1841. ds_req.setColumn(0, "dieter", sysf_getUserInfo("userid"));
  1842. ds_req.setColumn(0, "usernm", sysf_getUserInfo("usernm"));
  1843. var oParam = {};
  1844. oParam.id = "TRANC00409";
  1845. oParam.service = "nutritionconsultapp.NutrEducation";
  1846. oParam.method = "reqGetPrcpCnt";
  1847. oParam.inds = "req=ds_req";
  1848. oParam.outds = "ds_ret=ret";
  1849. oParam.async = false;
  1850. //oParam.callback = "";
  1851. tranf_submit(oParam);
  1852. fSetPrcpCnt();
  1853. }
  1854. function fSetPrcpCnt() {
  1855. if( ds_ret.rowcount > 0 && !utlf_isNull(ds_ret.getColumn(0, "prcpcnt")) ){
  1856. swt_patmngt.case1.stc_prcpcnt.text = "* " + sysf_getUserInfo("usernm") + " 님의 처방건수 : "+ds_ret.getColumn(0, "prcpcnt")+" 건";
  1857. }
  1858. }
  1859. function finit() {
  1860. // 화면open시 공통코드 setting
  1861. //KNUH_20100709_노회식_Start
  1862. ds_init_basecode_sick_A0059.clearData();
  1863. //KNUH_20100709_노회식_End
  1864. var arrParam = [{dsNm: "ds_init_basecode_sick_A0059", cdGrpId: "A0059"},
  1865. {dsNm: "ds_init_basecode_etc_A0061", cdGrpId: "A0061"}]
  1866. appf_getCodeList(arrParam);
  1867. //zsdfGetWardDeptList(getUserInfo("dutplceinstcd"), '/root/init/basecode/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), 'after');
  1868. var today = utlf_getCurrentDate();
  1869. appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc',
  1870. today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_basecode_ward_dept', false, null);
  1871. ds_init_basecode_ward_dept.insertRow(0);
  1872. var sProp = "col=1,row="+ds_init_basecode_ward_dept.rowcount+",cellspacing=2,vcellspacing=0,itemWidth=123,itemHeight=18,overflow='visible'";
  1873. swt_patmngt.case1.chk_ward.setInitComp(sProp, ds_init_basecode_ward_dept, "deptcd","depthngnm", "fn_ward");
  1874. ds_main_data_ipatmngt_grdlist.clearData();
  1875. ds_main_data_telnutrcnst_grdlist.clearData();
  1876. ds_main_data_telnutrcnstcnt_cnstcount.clearData();
  1877. ds_main_data_nonregleduc_grdlist.clearData();
  1878. ds_send_searchitem_ipatmngt.clearData();
  1879. ds_send_searchitem_ipatmngt.addRow();
  1880. ds_send_searchitem_ipatmngt.setColumn(0, "patflag", "2");
  1881. ds_send_searchitem_ipatmngt.setColumn(0, "mealflag", "1");
  1882. ds_send_searchitem_ipatmngt.setColumn(0, "inddfrom", utlf_getCurrentDate());
  1883. ds_send_searchitem_ipatmngt.setColumn(0, "inddto", utlf_getCurrentDate());
  1884. // ds_send_searchitem_ipatmngtrslt.clearData();
  1885. // ds_send_searchitem_ipatmngtrslt.addRow();
  1886. ds_send_searchitem_ipatmngtrslt.setColumn(0, "rsltflag", "-");
  1887. ds_send_searchitem_ipatmngtrslt.setColumn(0, "execddfrom", utlf_getCurrentDate());
  1888. ds_send_searchitem_ipatmngtrslt.setColumn(0, "execddto", utlf_getCurrentDate());
  1889. ds_send_searchitem_ipatmngtrslt.setColumn(0, "dieter", sysf_getUserInfo("userid"));
  1890. ds_send_searchitem_telnutrcnst.clearData();
  1891. ds_send_searchitem_telnutrcnst.addRow();
  1892. ds_send_searchitem_telnutrcnst.setColumn(0, "educfromdd", utlf_getCurrentDate());
  1893. ds_send_searchitem_telnutrcnst.setColumn(0, "eductodd", utlf_getCurrentDate());
  1894. ds_send_searchitem_telnutrcnst.setColumn(0, "dieter", sysf_getUserInfo("userid"));
  1895. ds_send_searchitem_telnutrcnstcnt.clearData();
  1896. ds_send_searchitem_telnutrcnstcnt.addRow();
  1897. ds_send_searchitem_telnutrcnstcnt.setColumn(0, "cnstfromdd", utlf_getCurrentDate());
  1898. ds_send_searchitem_telnutrcnstcnt.setColumn(0, "cnsttodd", utlf_getCurrentDate());
  1899. ds_send_searchitem_telnutrcnstcnt.setColumn(0, "dieter", sysf_getUserInfo("userid"));
  1900. ds_send_searchitem_nonregleduc.clearData();
  1901. ds_send_searchitem_nonregleduc.addRow();
  1902. ds_send_searchitem_nonregleduc.setColumn(0, "fromdd", utlf_getCurrentDate());
  1903. ds_send_searchitem_nonregleduc.setColumn(0, "todd", utlf_getCurrentDate());
  1904. ds_send_searchitem_complain.clearData();
  1905. ds_send_searchitem_complain.addRow();
  1906. ds_send_searchitem_complain.setColumn(0, "inddfrom", utlf_getCurrentDate());
  1907. ds_send_searchitem_complain.setColumn(0, "inddto", utlf_getCurrentDate());
  1908. swt_patmngt.case1.chk_ward.visible = false;
  1909. var fromdd = utlf_getCurrentDate().substring(0, 6) + '01'; // 적용일자 현재일자 셋팅
  1910. var todd = utlf_getCurrentDate().substring(0, 6) + '31'; // 적용일자 현재일자 셋팅
  1911. trace("fromdd " + fromdd)
  1912. ds_main_item.clearData();
  1913. ds_send_searchitem_thdstats.setColumn(0, "srchfromdd", fromdd);
  1914. ds_send_searchitem_thdstats.setColumn(0, "srchtodd", todd);
  1915. }
  1916. function fn_ward(){
  1917. var getData = String(swt_patmngt.case1.chk_ward.getLableData()).replace(","," ");
  1918. var getVal = String(swt_patmngt.case1.chk_ward.getData()).replace(","," ");
  1919. ds_send_searchitem_ipatmngt.setColumn(0, "optward", getData);
  1920. ds_send_searchitem_ipatmngt.setColumn(0, "ward", getVal);
  1921. }
  1922. function swt_patmngt_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1923. {
  1924. appf_delPatientInfos(); // 상단정보 clear
  1925. if(swt_patmngt.tabindex == 0){
  1926. btn_rowadd3.visible = true;
  1927. btn_rowdel3.visible = false;
  1928. btn_save.enable = true;
  1929. btn_listprnt.enable = false;
  1930. if( swt_patmngt.case1.grp_sea.rdo_patflag.value == "3" ){
  1931. button5.visible = true;
  1932. }else{
  1933. button5.visible = false;
  1934. }
  1935. }else if(swt_patmngt.tabindex == 1){
  1936. btn_rowadd3.visible = false;
  1937. btn_rowdel3.visible = false;
  1938. btn_save.enable = false;
  1939. btn_listprnt.enable = false;
  1940. button5.visible = false;
  1941. }else if(swt_patmngt.tabindex == 2){
  1942. btn_rowadd3.visible = false;
  1943. btn_rowdel3.visible = false;
  1944. btn_save.enable = true;
  1945. btn_listprnt.enable = false;
  1946. button5.visible = false;
  1947. }else if(swt_patmngt.tabindex == 3){
  1948. btn_rowadd3.visible = true;
  1949. btn_rowdel3.visible = true;
  1950. btn_save.enable = true;
  1951. btn_listprnt.enable = false;
  1952. button5.visible = false;
  1953. }else if(swt_patmngt.tabindex == 4){
  1954. btn_rowadd3.visible = false;
  1955. btn_rowdel3.visible = false;
  1956. btn_save.enable = true;
  1957. btn_listprnt.enable = true;
  1958. button5.visible = false;
  1959. }else if(swt_patmngt.tabindex == 5){
  1960. btn_rowadd3.visible = false;
  1961. btn_rowdel3.visible = false;
  1962. btn_save.enable = true;
  1963. btn_listprnt.enable = true;
  1964. button5.visible = false;
  1965. }
  1966. }
  1967. function swt_patmngt_case1_grp_sea_opt_ward_onlbuttondown(obj:Edit, e:MouseEventInfo)
  1968. {
  1969. if (swt_patmngt.case1.chk_ward.visible == false) {
  1970. swt_patmngt.case1.chk_ward.visible = true;
  1971. } else if (swt_patmngt.case1.chk_ward.visible == true) {
  1972. swt_patmngt.case1.chk_ward.visible = false;
  1973. }
  1974. }
  1975. function swt_patmngt_case1_grp_sea_btn_pid_onclick(obj:Button, e:ClickEventInfo)
  1976. {
  1977. dsf_createDsRow("ds_temp", [{col:"srchcond", val:"2"} //환자번호로조회
  1978. ]);
  1979. var objArg = new Object();
  1980. objArg.arg_ds_send = ds_temp;
  1981. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  1982. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  1983. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  1984. var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  1985. ds_send_searchitem_ipatmngt.setColumn(0, "pid", srch_pid);
  1986. ds_send_searchitem_ipatmngt.setColumn(0, "hngnm", srch_hngnm);
  1987. }
  1988. }
  1989. function swt_patmngt_case1_grp_sea_btn_search1_onclick(obj:Button, e:ClickEventInfo)
  1990. {
  1991. if (swt_patmngt.case1.chk_ward.visible == true) {
  1992. swt_patmngt.case1.chk_ward.visible = false;
  1993. }
  1994. var patflag = ds_send_searchitem_ipatmngt.getColumn(0, "patflag");
  1995. var pid = ds_send_searchitem_ipatmngt.getColumn(0, "pid");
  1996. var hngnm = ds_send_searchitem_ipatmngt.getColumn(0, "hngnm");
  1997. var fromdd = ds_send_searchitem_ipatmngt.getColumn(0, "inddfrom");
  1998. var todd = ds_send_searchitem_ipatmngt.getColumn(0, "inddto");
  1999. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  2000. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2001. return;
  2002. // 변경요청서 1915 (2009.05.29) - 재원환자 검색기준 변경 (등록번호 or 환자명 입력조건 제외) - 2009.06.05 김귀남
  2003. /*
  2004. } else if ( patflag == "2" && pid == "" && hngnm == "" ) {
  2005. //재원을 선택했을 경우는 등록번호나 환자명이 필수조회조건임.
  2006. messageBox("재원환자 조회시 등록번호 또는 환자명을", "C001");
  2007. return;
  2008. */
  2009. } else {
  2010. var oParam = {};
  2011. oParam.id = "TRANC00401";
  2012. oParam.service = "nutritionconsultapp.NutrEducation";
  2013. oParam.method = "reqGetIpatMngt";
  2014. oParam.inds = "req=ds_send_searchitem_ipatmngt";
  2015. oParam.outds = "ds_main_data_ipatmngt_grdlist=ret ds_ret=prcpcnt";
  2016. oParam.async = false;
  2017. tranf_submit(oParam);
  2018. if( utlf_isNull(ds_main_data_ipatmngt_grdlist.getColumnInfo("prcpyn")) ){
  2019. ds_main_data_ipatmngt_grdlist.addColumn("prcpyn", "string");
  2020. }
  2021. fSetPrcpCnt();
  2022. }
  2023. }
  2024. function swt_patmngt_case1_grp_sea_ipt_pid1_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  2025. {
  2026. if(e.keycode == 13){
  2027. obj.updateToDataset();
  2028. swt_patmngt_case1_grp_sea_btn_search1_onclick();
  2029. }
  2030. }
  2031. function swt_patmngt_case1_grp_sea_ipt_hngnm1_onkeydown(obj:Edit, e:KeyEventInfo)
  2032. {
  2033. if(e.keycode == 13){
  2034. obj.updateToDataset();
  2035. swt_patmngt_case1_grp_sea_btn_search1_onclick();
  2036. }
  2037. }
  2038. function btn_rowadd3_onclick(obj:Button, e:ClickEventInfo)
  2039. {
  2040. //입원환자관리 탭화면일때
  2041. if ( swt_patmngt.tabindex == 0 ) {
  2042. if ( utlf_isNull(ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "pid")) ) {
  2043. sysf_messageBox("추가할 환자를", "C002");
  2044. return;
  2045. }
  2046. var grdrow = ds_main_data_ipatmngt_grdlist.rowposition;
  2047. ds_temp_ipatmngt_grdlist.clearData();
  2048. ds_temp_ipatmngt_grdlist.addRow();
  2049. ds_temp_ipatmngt_grdlist.copyRow(0, ds_main_data_ipatmngt_grdlist, grdrow);
  2050. var grdrow_1 = eval(grdrow) + 1;
  2051. ds_main_data_ipatmngt_grdlist.insertRow(grdrow_1);
  2052. ds_main_data_ipatmngt_grdlist.copyRow(grdrow_1, ds_temp_ipatmngt_grdlist, 0);
  2053. ds_main_data_ipatmngt_grdlist.enableevent = false;
  2054. ds_main_data_ipatmngt_grdlist.updatecontrol = false;
  2055. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "sick", "");
  2056. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "curedietpatyn", "");
  2057. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "dietroundyn", "");
  2058. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "execcnts", "");
  2059. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "execdieter", sysf_getUserInfo("userid"));
  2060. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "execdd", utlf_getCurrentDate());
  2061. ds_main_data_ipatmngt_grdlist.setColumn(grdrow_1, "prcpyn", "");
  2062. ds_main_data_ipatmngt_grdlist.updatecontrol = true;
  2063. ds_main_data_ipatmngt_grdlist.enableevent = true;
  2064. }
  2065. //집단교육 탭화면일때
  2066. else if ( swt_patmngt.tabindex == 3 ) {
  2067. ds_main_data_nonregleduc_grdlist.addRow();
  2068. }
  2069. }
  2070. function btn_rowdel3_onclick(obj:Button, e:ClickEventInfo)
  2071. {
  2072. ds_main_data_nonregleduc_grdlist.deleteRow(ds_main_data_nonregleduc_grdlist.rowposition);
  2073. }
  2074. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2075. {
  2076. if ( swt_patmngt.tabindex == 0 ) {
  2077. grdf_exportExcel(swt_patmngt.case1.grd_ipatmngt_excel, "입원환자관리현황" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2078. } else if ( swt_patmngt.tabindex == 1 ) {
  2079. grdf_exportExcel(swt_patmngt.case2.grd_ipatmngtrslt, "환자관리결과현황" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2080. } else if ( swt_patmngt.tabindex == 2 ) {
  2081. grdf_exportExcel(swt_patmngt.case3.grd_cnstcount, "전화영양상담현황" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2082. } else if ( swt_patmngt.tabindex == 3 ) {
  2083. grdf_exportExcel(swt_patmngt.case4.grd_nonregleduc, "집단교육현황" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2084. } else if ( swt_patmngt.tabindex == 4 ) {
  2085. grdf_exportExcel(swt_patmngt.case5.grd_complain, "환자식불만관리" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2086. } else if ( swt_patmngt.tabindex == 5 ) {
  2087. grdf_exportExcel(swt_patmngt.case6.grd_mainlist, "치료식통계" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  2088. }
  2089. }
  2090. function swt_patmngt_case1_grd_ipatmngt_oncloseup(obj:Grid, e:GridEditEventInfo)
  2091. {
  2092. obj.showEditor(false);
  2093. }
  2094. function ds_main_data_ipatmngt_grdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2095. {
  2096. if(swt_patmngt.case1.grd_ipatmngt.getBindCellIndex("body", "curedietpatyn") == swt_patmngt.case1.grd_ipatmngt.currentcol){
  2097. if( ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "curedietpatyn") == "Y" ||
  2098. ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "curedietpatyn") == "1"){
  2099. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "curedietpatyn", "Y");
  2100. }else{
  2101. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "curedietpatyn", "N");
  2102. }
  2103. }else if(swt_patmngt.case1.grd_ipatmngt.getBindCellIndex("body", "dietroundyn") == swt_patmngt.case1.grd_ipatmngt.currentcol){
  2104. if( ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "dietroundyn") == "Y" ||
  2105. ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "dietroundyn") == "1"){
  2106. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "dietroundyn", "Y");
  2107. }else{
  2108. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "dietroundyn", "N");
  2109. }
  2110. }else if(swt_patmngt.case1.grd_ipatmngt.getBindCellIndex("body", "prcpstatus") == swt_patmngt.case1.grd_ipatmngt.currentcol){
  2111. if( ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "prcpstatus") == "Y" ||
  2112. ds_main_data_ipatmngt_grdlist.getColumn(ds_main_data_ipatmngt_grdlist.rowposition, "prcpstatus") == "1"){
  2113. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "prcpstatus", "Y");
  2114. }else{
  2115. ds_main_data_ipatmngt_grdlist.setColumn(ds_main_data_ipatmngt_grdlist.rowposition, "prcpstatus", "N");
  2116. }
  2117. }
  2118. var grdrow = ds_main_data_ipatmngt_grdlist.rowposition;
  2119. var execdd = ds_main_data_ipatmngt_grdlist.getColumn(grdrow, "execdd");
  2120. var execdieter = ds_main_data_ipatmngt_grdlist.getColumn(grdrow, "execdieter");
  2121. var curedyn = ds_main_data_ipatmngt_grdlist.getColumn(grdrow, "curedietpatyn");
  2122. var dieyn = ds_main_data_ipatmngt_grdlist.getColumn(grdrow, "dietroundyn");
  2123. var crmyn = ds_main_data_ipatmngt_grdlist.getColumn(grdrow, "crmyn");
  2124. if(curedyn != "Y" && dieyn != "Y" && crmyn != "Y") {
  2125. ds_main_data_ipatmngt_grdlist.setColumn(grdrow, "execdd", "");
  2126. ds_main_data_ipatmngt_grdlist.setColumn(grdrow, "execdieter", "");
  2127. }else if(utlf_isNull(execdd)) {
  2128. ds_main_data_ipatmngt_grdlist.setColumn(grdrow, "execdd", utlf_getCurrentDate());
  2129. ds_main_data_ipatmngt_grdlist.setColumn(grdrow, "execdieter", sysf_getUserInfo("userid"));
  2130. }
  2131. }
  2132. function swt_patmngt_case1_grd_ipatmngt_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  2133. {
  2134. var colidx = swt_patmngt.case1.grd_ipatmngt.currentcol;
  2135. var rownum = ds_main_data_ipatmngt_grdlist.rowposition;
  2136. var dietnm = ds_main_data_ipatmngt_grdlist.getColumn(rownum, "dietnm");
  2137. if(swt_patmngt.case1.grd_ipatmngt.getBindCellIndex("body", "execcnts") == colidx){
  2138. ds_send_popup.setColumn(0, "p", "p"); //설명대상-환자
  2139. ds_send_popup.setColumn(0, "b", ""); //설명대상-보호자
  2140. ds_send_popup.setColumn(0, "g", ""); //설명대상-간병인
  2141. ds_send_popup.setColumn(0, "s1", "0"); // 식사섭취량 -주식
  2142. ds_send_popup.setColumn(0, "s2", "0"); // 식사섭취량 -부식
  2143. ds_send_popup.setColumn(0, "o", "o"); //안내문
  2144. ds_send_popup.setColumn(0, "etc", ""); //기타
  2145. ds_send_popup.setColumn(0, "dietnm", dietnm); //식사명
  2146. ds_main_data_ipatmngt_grdlist.enableevent = false;
  2147. ds_main_data_ipatmngt_grdlist.updatecontrol = false;
  2148. ds_main_data_ipatmngt_grdlist.setRowType(rownum, 4);
  2149. ds_main_data_ipatmngt_grdlist.updatecontrol = true;
  2150. ds_main_data_ipatmngt_grdlist.enableevent = true;
  2151. swt_patmngt.case1.grp_execcnts.visible = true;
  2152. var execcnts = ds_main_data_ipatmngt_grdlist.getColumn(rownum, "execcnts");
  2153. ds_send_popup.setColumn(0, "execcnts",execcnts);
  2154. }
  2155. }
  2156. function swt_patmngt_case1_grp_execcnts_cmb_etc_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2157. {
  2158. var etc = ds_send_popup.getColumn(0, "etc");
  2159. if (etc == "직접입력"){
  2160. swt_patmngt.case1.grp_execcnts.txt_etc.visible = true;
  2161. }else{
  2162. swt_patmngt.case1.grp_execcnts.txt_etc.visible = false;
  2163. }
  2164. }
  2165. function swt_patmngt_case1_grp_execcnts_button6_onclick(obj:Button, e:ClickEventInfo)
  2166. {
  2167. //if(ds_send_popup.)
  2168. var row = ds_main_data_ipatmngt_grdlist.rowposition;
  2169. var p = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "p"));
  2170. var b = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "b"));
  2171. var g = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "g"));
  2172. var s1 = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "s1"));
  2173. var s2 = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "s2"));
  2174. var o = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "o"));
  2175. var dietnm = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "dietnm"));
  2176. var etc = utlf_transNullToEmpty(ds_send_popup.getColumn(0, "etc"));
  2177. if(p == "p" && b == "b" && g == "g" ){
  2178. var temp1 = "· 설명대상 : 환자, 보호자, 간병인";
  2179. }else if(p == "p" && b == "b" && utlf_isNull(g)){
  2180. var temp1 = "· 설명대상 : 환자, 보호자";
  2181. }else if(p == "p" && utlf_isNull(b) && g == "g"){
  2182. var temp1 = "· 설명대상 : 환자, 간병인";
  2183. }else if(utlf_isNull(p) && b == "b" && g == "g"){
  2184. var temp1 = "· 설명대상 : 보호자, 간병인";
  2185. }else if(utlf_isNull(p) && utlf_isNull(b) && g == "g"){
  2186. var temp1 = "· 설명대상 : 간병인";
  2187. }else if(utlf_isNull(p) && b == "b" && utlf_isNull(g)){
  2188. var temp1 = "· 설명대상 : 보호자";
  2189. }else if(p == "p" && utlf_isNull(b) && utlf_isNull(g)){
  2190. var temp1 = "· 설명대상 : 환자";
  2191. }
  2192. var temp21 = "· 식사명 : " + dietnm ;
  2193. var temp2 = "· 식사 섭취량 : 주식 " + s1 + " % , 부식 " + s2 + " %";
  2194. if(o == "o"){
  2195. var temp3 = "· 안내문을 제공하여 식사명, 제공사유, 주의사항 등 설명";
  2196. }else{
  2197. var temp3 = "";
  2198. }
  2199. var temp4 = etc ;
  2200. if (utlf_isNull(temp3)){
  2201. var temp = temp1 +"\n" + temp21+"\n" + temp2 +"\n" + "· " + temp4 ;
  2202. }else{
  2203. var temp = temp1 +"\n" + temp21+"\n" + temp2 +"\n" + temp3 +"\n" + "· " + temp4;
  2204. }
  2205. ds_send_popup.setColumn(0, "execcnts", temp);
  2206. }
  2207. function swt_patmngt_case1_grp_execcnts_button300_onclick(obj:Button, e:ClickEventInfo)
  2208. {
  2209. var row = ds_main_data_ipatmngt_grdlist.rowposition;
  2210. var execcnts = ds_send_popup.getColumn(0, "execcnts");
  2211. ds_main_data_ipatmngt_grdlist.setColumn(row, "execcnts", execcnts);
  2212. swt_patmngt.case1.grp_execcnts.visible = false;
  2213. ds_main_data_ipatmngt_grdlist.enableevent = false;
  2214. ds_main_data_ipatmngt_grdlist.updatecontrol = false;
  2215. ds_main_data_ipatmngt_grdlist.setRowType(ds_main_data_ipatmngt_grdlist.rowposition, 4);
  2216. ds_main_data_ipatmngt_grdlist.updatecontrol = true;
  2217. ds_main_data_ipatmngt_grdlist.enableevent = true;
  2218. }
  2219. function swt_patmngt_case1_grp_execcnts_button4_onclick(obj:Button, e:ClickEventInfo)
  2220. {
  2221. swt_patmngt.case1.grp_execcnts.visible = false;
  2222. }
  2223. function button5_onclick(obj:Button, e:ClickEventInfo)
  2224. {
  2225. var nTemp = Number(ds_main_data_ipatmngt_grdlist.getCaseCount("prcpstatus=='Y'"))+Number(ds_ret.getColumn(0, "prcpcnt"));
  2226. if( ds_ret.rowcount > 0 && !utlf_isNull(ds_ret.getColumn(0, "prcpcnt")) && nTemp > 40 ){
  2227. sysf_messageBox(ds_req.getColumn(0, "usernm")+" 님은 오늘 영양관리료처방을 "+(nTemp-40)+"건", "E003");
  2228. return false;
  2229. }
  2230. if ( sysf_messageBox("영양관리료를", "Q002") == 6 ) {
  2231. //입원환자관리 탭화면일때
  2232. if ( swt_patmngt.tabindex == 0 ) {
  2233. var patflag = ds_send_searchitem_ipatmngt.getColumn(0, "patflag"); //치료식
  2234. if(patflag == "3"){
  2235. var updateData = grdf_getGridUpdateData(swt_patmngt.case1.grd_ipatmngt);
  2236. ds_send_data_ipattreatmngt_list.copyData(updateData);
  2237. var oParam = {};
  2238. oParam.id = "TXANC00408";
  2239. oParam.service = "nutritionconsultapp.NutrEducation";
  2240. oParam.method = "reqExeIpatTreatMngt";
  2241. oParam.inds = "req=ds_send_data_ipattreatmngt_list";
  2242. oParam.outds = "";
  2243. oParam.async = false;
  2244. oParam.callback = "cf_TXANC00408";
  2245. tranf_submit(oParam);
  2246. if (arErrorCode.pop("TXANC00408") > -1) {
  2247. var oParam = {};
  2248. oParam.id = "TRANC00401";
  2249. oParam.service = "nutritionconsultapp.NutrEducation";
  2250. oParam.method = "reqGetIpatMngt";
  2251. oParam.inds = "req=ds_send_searchitem_ipatmngt";
  2252. oParam.outds = "ds_main_data_ipatmngt_grdlist=ret ds_ret=prcpcnt";
  2253. oParam.async = false;
  2254. tranf_submit(oParam);
  2255. if( utlf_isNull(ds_main_data_ipatmngt_grdlist.getColumnInfo("prcpyn")) ){
  2256. ds_main_data_ipatmngt_grdlist.addColumn("prcpyn", "string");
  2257. }
  2258. fSetPrcpCnt();
  2259. }
  2260. }
  2261. }else{
  2262. sysf_messageBox("치료식환자 조회 시", "I006");
  2263. }
  2264. }
  2265. }
  2266. function cf_TXANC00408(sSvcId, nErrorCode, sErrorMsg) {
  2267. arErrorCode.push(sSvcId, nErrorCode);
  2268. }
  2269. function btn_reset_onclick(obj:Button, e:ClickEventInfo)
  2270. {
  2271. finit();
  2272. }
  2273. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  2274. {
  2275. if ( sysf_messageBox("", "Q002") == 6 ) {
  2276. //입원환자관리 탭화면일때
  2277. if ( swt_patmngt.tabindex == 0 ) {
  2278. var updateData = grdf_getGridUpdateData(swt_patmngt.case1.grd_ipatmngt);
  2279. grdf_setStatusColumn(updateData, "m");
  2280. ds_send_data_ipatmngt_list.copyData(updateData, true);
  2281. ds_send_data_ipatmngt_list.updateColID("sick", "sickcd");
  2282. var oParam = {};
  2283. oParam.id = "TXANC00401";
  2284. oParam.service = "nutritionconsultapp.NutrEducation";
  2285. oParam.method = "reqExeIpatMngt";
  2286. oParam.inds = "req=ds_send_data_ipatmngt_list";
  2287. oParam.outds = "";
  2288. oParam.async = false;
  2289. oParam.callback = "cf_TXANC00401";
  2290. tranf_submit(oParam);
  2291. if (arErrorCode.pop("TXANC00401") > -1) {
  2292. var oParam = {};
  2293. oParam.id = "TRANC00401";
  2294. oParam.service = "nutritionconsultapp.NutrEducation";
  2295. oParam.method = "reqGetIpatMngt";
  2296. oParam.inds = "req=ds_send_searchitem_ipatmngt";
  2297. oParam.outds = "ds_main_data_ipatmngt_grdlist=ret ds_ret=prcpcnt";
  2298. oParam.async = false;
  2299. tranf_submit(oParam);
  2300. if( utlf_isNull(ds_main_data_ipatmngt_grdlist.getColumnInfo("prcpyn")) ){
  2301. ds_main_data_ipatmngt_grdlist.addColumn("prcpyn", "string");
  2302. }
  2303. fSetPrcpCnt();
  2304. }
  2305. }
  2306. //전화영양상담 탭화면일때
  2307. else if ( swt_patmngt.tabindex == 2 ) {
  2308. //전화영양상담 메인 그리드
  2309. var updateData = grdf_getGridUpdateData(swt_patmngt.case3.grd_telnutrcnst);
  2310. if ( updateData.rowcount > 0 ) {
  2311. //필수입력항목 체크
  2312. for (var i = 0; i < ds_main_data_telnutrcnst_grdlist.rowcount; i++) {
  2313. if ( (ds_main_data_telnutrcnst_grdlist.getColumn(i, "execyn") == "Y") &&
  2314. ((utlf_isNull(ds_main_data_telnutrcnst_grdlist.getColumn(i, "telexecdd"))) ||
  2315. (utlf_isNull(ds_main_data_telnutrcnst_grdlist.getColumn(i, "execdieter")))) ) {
  2316. sysf_messageBox("수행일자, 영양사 항목은", "I003");
  2317. return;
  2318. }
  2319. }
  2320. grdf_setStatusColumn(updateData, "m");
  2321. ds_send_data_telnutrcnst_list.copyData(updateData, true);
  2322. var oParam = {};
  2323. oParam.id = "TXANC00402";
  2324. oParam.service = "nutritionconsultapp.NutrEducation";
  2325. oParam.method = "reqExeTelNutrCnstPurs";
  2326. oParam.inds = "telnutrcnst=ds_send_data_telnutrcnst_list";
  2327. oParam.outds = "";
  2328. oParam.async = false;
  2329. oParam.callback = "cf_TXANC00402";
  2330. tranf_submit(oParam);
  2331. if (arErrorCode.pop("TXANC00402") > -1) {
  2332. var oParam = {};
  2333. oParam.id = "TRANC00402";
  2334. oParam.service = "nutritionconsultapp.NutrEducation";
  2335. oParam.method = "reqGetTelNutrCnstPurs";
  2336. oParam.inds = "req=ds_send_searchitem_telnutrcnst";
  2337. oParam.outds = "ds_main_data_telnutrcnst_grdlist=grdlist";
  2338. oParam.async = false;
  2339. tranf_submit(oParam);
  2340. }
  2341. }
  2342. //하단의 전화영양상담건수 그리드
  2343. var updateData = grdf_getGridUpdateData(swt_patmngt.case3.grd_cnstcount);
  2344. if ( updateData.rowcount > 0 ) {
  2345. //필수입력항목 체크
  2346. for (var i = 0; i < ds_main_data_telnutrcnstcnt_cnstcount.rowcount; i++) {
  2347. if ( (utlf_isNull(ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "cnstdd"))) ||
  2348. (utlf_isNull(ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "dieter"))) ) {
  2349. sysf_messageBox("상담일자, 영양사 항목은", "I003");
  2350. return;
  2351. }
  2352. }
  2353. grdf_setStatusColumn(updateData, "m");
  2354. ds_send_data_telnutrcnstcnt_cnstcount.copyData(updateData, true);
  2355. var oParam = {};
  2356. oParam.id = "TXANC00404";
  2357. oParam.service = "nutritionconsultapp.NutrEducation";
  2358. oParam.method = "reqExeTelNutrCnstCnt";
  2359. oParam.inds = "cnstcount=ds_send_data_telnutrcnstcnt_cnstcount";
  2360. oParam.outds = "";
  2361. oParam.async = false;
  2362. oParam.callback = "cf_TXANC00404";
  2363. tranf_submit(oParam);
  2364. if (arErrorCode.pop("TXANC00404") > -1) {
  2365. var oParam = {};
  2366. oParam.id = "TRANC00404";
  2367. oParam.service = "nutritionconsultapp.NutrEducation";
  2368. oParam.method = "reqGetTelNutrCnstCnt";
  2369. oParam.inds = "req=ds_send_searchitem_telnutrcnstcnt";
  2370. oParam.outds = "ds_main_data_telnutrcnstcnt=cnstcount";
  2371. oParam.async = false;
  2372. tranf_submit(oParam);
  2373. }
  2374. }
  2375. }
  2376. //환자식불만관리 탭화면일때
  2377. else if ( swt_patmngt.tabindex == 4 ) {
  2378. //환자식불만관리 메인 그리드
  2379. var updateData = grdf_getGridUpdateData(swt_patmngt.case5.grd_complain);
  2380. if ( updateData.rowcount > 0 ) {
  2381. //필수입력항목 체크
  2382. for (var i = 0; i < ds_main_data_complain_grdlist.rowcount; i++) {
  2383. if(ds_main_data_complain_grdlist.getRowType(i) == 4 && ds_main_data_complain_grdlist.getColumn(ds_main_data_complain_grdlist.rowposition, "nutflag") == "1") { // 미관리
  2384. if(utlf_isNull(ds_main_data_complain_grdlist.getColumn(ds_main_data_complain_grdlist.rowposition, "manage1"))){
  2385. sysf_messageBox("1차관리 내용이", "I004");
  2386. return;
  2387. }else{
  2388. ds_main_data_complain_grdlist.setColumn(ds_main_data_complain_grdlist.rowposition, "checkdd1", utlf_getCurrentDate());
  2389. }
  2390. }else if(ds_main_data_complain_grdlist.getRowType(i) == 4 && ds_main_data_complain_grdlist.getColumn(ds_main_data_complain_grdlist.rowposition, "nutflag") == "2"){ //1차완료
  2391. if(utlf_isNull(ds_main_data_complain_grdlist.getColumn(ds_main_data_complain_grdlist.rowposition, "manage2"))){
  2392. sysf_messageBox("2차관리 내용이", "I004");
  2393. return;
  2394. }else{
  2395. ds_main_data_complain_grdlist.setColumn(ds_main_data_complain_grdlist.rowposition, "checkdd2", utlf_getCurrentDate());
  2396. }
  2397. }
  2398. }
  2399. ds_send_searchitem_complain_list.copyData(updateData);
  2400. var oParam = {};
  2401. oParam.id = "TXANC00407";
  2402. oParam.service = "nutritionconsultapp.NutrEducation";
  2403. oParam.method = "reqExeComplainList";
  2404. oParam.inds = "list=ds_send_searchitem_complain_list";
  2405. oParam.outds = "";
  2406. oParam.async = false;
  2407. oParam.callback = "cf_TXANC00407";
  2408. tranf_submit(oParam);
  2409. if (arErrorCode.pop("TXANC00407") > -1) {
  2410. var oParam = {};
  2411. oParam.id = "TRANC00407";
  2412. oParam.service = "nutritionconsultapp.NutrEducation";
  2413. oParam.method = "reqGetComplainList";
  2414. oParam.inds = "req=ds_send_searchitem_complain";
  2415. oParam.outds = "ds_main_data_complain_grdlist=grdlist";
  2416. oParam.async = false;
  2417. tranf_submit(oParam);
  2418. }
  2419. }
  2420. }
  2421. //집단교육 탭화면일때
  2422. else if ( swt_patmngt.tabindex == 3 ) {
  2423. //필수입력항목 체크
  2424. for (var i = 0; i < ds_main_data_nonregleduc_grdlist.rowcount; i++) {
  2425. if ( (utlf_isNull(ds_main_data_nonregleduc_grdlist.getColumn(i, "educdd"))) ||
  2426. (utlf_isNull(ds_main_data_nonregleduc_grdlist.getColumn(i, "eductm"))) ||
  2427. (utlf_isNull(ds_main_data_nonregleduc_grdlist.getColumn(i, "educdieter"))) ) {
  2428. sysf_messageBox("일자, 시간, 영양사 항목은", "I003");
  2429. return;
  2430. }
  2431. }
  2432. var updateData = grdf_getGridUpdateData(swt_patmngt.case4.grd_nonregleduc);
  2433. grdf_setStatusColumn(updateData, "m");
  2434. ds_send_data_nonregleduc_list.copyData(updateData, true);
  2435. trace(ds_send_data_nonregleduc_list.saveXML())
  2436. var oParam = {};
  2437. oParam.id = "TXANC00403";
  2438. oParam.service = "nutritionconsultapp.NutrEducation";
  2439. oParam.method = "reqExeNonReglEduc";
  2440. oParam.inds = "req=ds_send_data_nonregleduc_list";
  2441. oParam.outds = "";
  2442. oParam.async = false;
  2443. tranf_submit(oParam);
  2444. }
  2445. } else { return; }
  2446. }
  2447. function cf_TXANC00401(sSvcId, nErrorCode, sErrorMsg) {
  2448. arErrorCode.push(sSvcId, nErrorCode);
  2449. }
  2450. function cf_TXANC00402(sSvcId, nErrorCode, sErrorMsg) {
  2451. arErrorCode.push(sSvcId, nErrorCode);
  2452. }
  2453. function cf_TXANC00404(sSvcId, nErrorCode, sErrorMsg) {
  2454. arErrorCode.push(sSvcId, nErrorCode);
  2455. }
  2456. function cf_TXANC00407(sSvcId, nErrorCode, sErrorMsg) {
  2457. arErrorCode.push(sSvcId, nErrorCode);
  2458. }
  2459. function swt_patmngt_case2_group1_ipt_pid3_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  2460. {
  2461. if(e.keycode == 13){
  2462. obj.updateToDataset();
  2463. swt_patmngt_case2_group1_btn_search5_onclick();
  2464. }
  2465. }
  2466. function swt_patmngt_case2_group1_btn_search5_onclick(obj:Button, e:ClickEventInfo)
  2467. {
  2468. var fromdd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddfrom");
  2469. var todd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddto");
  2470. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  2471. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2472. return;
  2473. } else {
  2474. var oParam = {};
  2475. oParam.id = "TRANC00405";
  2476. oParam.service = "nutritionconsultapp.NutrEducation";
  2477. oParam.method = "reqGetIpatMngtRslt";
  2478. oParam.inds = "req=ds_send_searchitem_ipatmngtrslt";
  2479. oParam.outds = "ds_main_data_ipatmngtrslt_grdlist=ret";
  2480. oParam.async = false;
  2481. tranf_submit(oParam);
  2482. }
  2483. }
  2484. function swt_patmngt_case2_group1_ipt_hngnm3_onkeydown(obj:Edit, e:KeyEventInfo)
  2485. {
  2486. if(e.keycode == 13){
  2487. obj.updateToDataset();
  2488. swt_patmngt_case2_group1_btn_search5_onclick();
  2489. }
  2490. }
  2491. function swt_patmngt_case2_group1_btn_pid1_onclick(obj:Button, e:ClickEventInfo)
  2492. {
  2493. dsf_createDsRow("ds_temp", [{col:"srchcond", val:"2"} //환자번호로조회
  2494. ]);
  2495. var objArg = new Object();
  2496. objArg.arg_ds_send = ds_temp;
  2497. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  2498. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  2499. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  2500. var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  2501. ds_send_searchitem_ipatmngtrslt.setColumn(0, "pid", srch_pid);
  2502. ds_send_searchitem_ipatmngtrslt.setColumn(0, "hngnm", srch_hngnm);
  2503. }
  2504. }
  2505. function ds_main_data_ipatmngtrslt_grdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2506. {
  2507. if(swt_patmngt.case2.grd_ipatmngtrslt.getBindCellIndex("body", "curedietpatyn") == swt_patmngt.case2.grd_ipatmngtrslt.currentcol){
  2508. if( ds_main_data_ipatmngtrslt_grdlist.getColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "curedietpatyn") == "Y" ||
  2509. ds_main_data_ipatmngtrslt_grdlist.getColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "curedietpatyn") == "1"){
  2510. ds_main_data_ipatmngtrslt_grdlist.setColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "curedietpatyn", "Y");
  2511. }else{
  2512. ds_main_data_ipatmngtrslt_grdlist.setColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "curedietpatyn", "N");
  2513. }
  2514. }else if(swt_patmngt.case2.grd_ipatmngtrslt.getBindCellIndex("body", "dietroundyn") == swt_patmngt.case2.grd_ipatmngtrslt.currentcol){
  2515. if( ds_main_data_ipatmngtrslt_grdlist.getColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "dietroundyn") == "Y" ||
  2516. ds_main_data_ipatmngtrslt_grdlist.getColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "dietroundyn") == "1"){
  2517. ds_main_data_ipatmngtrslt_grdlist.setColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "dietroundyn", "Y");
  2518. }else{
  2519. ds_main_data_ipatmngtrslt_grdlist.setColumn(ds_main_data_ipatmngtrslt_grdlist.rowposition, "dietroundyn", "N");
  2520. }
  2521. }
  2522. }
  2523. function swt_patmngt_case3_group2_btn_search2_onclick(obj:Button, e:ClickEventInfo)
  2524. {
  2525. var fromdd = ds_send_searchitem_telnutrcnst.getColumn(0, "educfromdd");
  2526. var todd = ds_send_searchitem_telnutrcnst.getColumn(0, "eductodd");
  2527. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  2528. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2529. return;
  2530. } else {
  2531. var oParam = {};
  2532. oParam.id = "TRANC00402";
  2533. oParam.service = "nutritionconsultapp.NutrEducation";
  2534. oParam.method = "reqGetTelNutrCnstPurs";
  2535. oParam.inds = "req=ds_send_searchitem_telnutrcnst";
  2536. oParam.outds = "ds_main_data_telnutrcnst_grdlist=grdlist";
  2537. oParam.async = false;
  2538. tranf_submit(oParam);
  2539. }
  2540. }
  2541. function swt_patmngt_case3_group2_ipt_pid2_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  2542. {
  2543. if(e.keycode == 13){
  2544. obj.updateToDataset();
  2545. swt_patmngt_case3_group2_btn_search2_onclick();
  2546. }
  2547. }
  2548. function swt_patmngt_case3_group2_btn_pid2_onclick(obj:Button, e:ClickEventInfo)
  2549. {
  2550. dsf_createDsRow("ds_temp", [{col:"srchcond", val:"2"} //환자번호로조회
  2551. ]);
  2552. var objArg = new Object();
  2553. objArg.arg_ds_send = ds_temp;
  2554. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  2555. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  2556. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  2557. var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  2558. ds_send_searchitem_telnutrcnst.setColumn(0, "pid", srch_pid);
  2559. ds_send_searchitem_telnutrcnst.setColumn(0, "hngnm", srch_hngnm);
  2560. }
  2561. }
  2562. function swt_patmngt_case3_group2_ipt_hngnm2_onkeydown(obj:Edit, e:KeyEventInfo)
  2563. {
  2564. if(e.keycode == 13){
  2565. obj.updateToDataset();
  2566. swt_patmngt_case3_group2_btn_search2_onclick();
  2567. }
  2568. }
  2569. function swt_patmngt_case3_group2_btn_patnm2_onclick(obj:Button, e:ClickEventInfo)
  2570. {
  2571. dsf_createDsRow("ds_temp", [{col:"srchcond", val:"2"} //환자번호로조회
  2572. ]);
  2573. var objArg = new Object();
  2574. objArg.arg_ds_send = ds_temp;
  2575. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  2576. if(!utlf_isNull(this.objects["ds_patinfolist"])) {
  2577. var srch_pid = ds_patinfolist.getColumn(0, "pid");
  2578. var srch_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  2579. ds_send_searchitem_telnutrcnst.setColumn(0, "pid", srch_pid);
  2580. ds_send_searchitem_telnutrcnst.setColumn(0, "hngnm", srch_hngnm);
  2581. }
  2582. }
  2583. function swt_patmngt_case3_grd_telnutrcnst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2584. {
  2585. if ( e.row >= 0 && e.col >= 0 ) {
  2586. // 'T'는 전화영양상담(추구관리) 탭화면임을 뜻하는 구분자임.
  2587. ds_send_popup.setColumn(0, "flag", "T");
  2588. ds_send_popup.setColumn(0, "pid", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "pid"));
  2589. ds_send_popup.setColumn(0, "hngnm", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "hngnm"));
  2590. ds_send_popup.setColumn(0, "h_prcpgenrflag", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "ioflag"));
  2591. ds_send_popup.setColumn(0, "h_orddd", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "orddd"));
  2592. ds_send_popup.setColumn(0, "nutrmngtkind", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "nutrmngtkind"));
  2593. ds_send_popup.setColumn(0, "execdd", ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "execdd"));
  2594. var objArg = new Object();
  2595. objArg.arg_ds_main_receivedata = ds_send_popup;
  2596. frmf_modal("SMANC00300", "SMANC00300", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
  2597. }
  2598. }
  2599. function ds_main_data_telnutrcnst_grdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2600. {
  2601. if(swt_patmngt.case3.grd_telnutrcnst.getBindCellIndex("body", "execyn") == swt_patmngt.case3.grd_telnutrcnst.currentcol){
  2602. if( ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "execyn") == "Y" ||
  2603. ds_main_data_telnutrcnst_grdlist.getColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "execyn") == "1"){
  2604. ds_main_data_telnutrcnst_grdlist.setColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "execyn", "Y");
  2605. }else{
  2606. ds_main_data_telnutrcnst_grdlist.setColumn(ds_main_data_telnutrcnst_grdlist.rowposition, "execyn", "N");
  2607. }
  2608. }
  2609. }
  2610. function swt_patmngt_case3_btn_rowadd2_onclick(obj:Button, e:ClickEventInfo)
  2611. {
  2612. ds_main_data_telnutrcnstcnt_cnstcount.addRow();
  2613. ds_main_data_telnutrcnstcnt_cnstcount.setColumn(ds_main_data_telnutrcnstcnt_cnstcount.rowposition, "dieter", ds_send_searchitem_telnutrcnstcnt.getColumn(0, "dieter"));
  2614. }
  2615. function swt_patmngt_case3_btn_rowdel2_onclick(obj:Button, e:ClickEventInfo)
  2616. {
  2617. ds_main_data_telnutrcnstcnt_cnstcount.deleteRow(ds_main_data_telnutrcnstcnt_cnstcount.rowposition);
  2618. }
  2619. function swt_patmngt_case3_btn_search4_onclick(obj:Button, e:ClickEventInfo)
  2620. {
  2621. var fromdd = ds_send_searchitem_telnutrcnstcnt.getColumn(0, "cnstfromdd");
  2622. var todd = ds_send_searchitem_telnutrcnstcnt.getColumn(0, "cnsttodd");
  2623. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  2624. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2625. return;
  2626. } else {
  2627. var oParam = {};
  2628. oParam.id = "TRANC00404";
  2629. oParam.service = "nutritionconsultapp.NutrEducation";
  2630. oParam.method = "reqGetTelNutrCnstCnt";
  2631. oParam.inds = "req=ds_send_searchitem_telnutrcnstcnt";
  2632. oParam.outds = "ds_main_data_telnutrcnstcnt_cnstcount=cnstcount";
  2633. oParam.async = false;
  2634. tranf_submit(oParam);
  2635. }
  2636. }
  2637. function swt_patmngt_case4_group3_btn_search3_onclick(obj:Button, e:ClickEventInfo)
  2638. {
  2639. var fromdd = ds_send_searchitem_nonregleduc.getColumn(0, "fromdd");
  2640. var todd = ds_send_searchitem_nonregleduc.getColumn(0, "todd");
  2641. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  2642. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2643. return;
  2644. } else {
  2645. var oParam = {};
  2646. oParam.id = "TRANC00403";
  2647. oParam.service = "nutritionconsultapp.NutrEducation";
  2648. oParam.method = "reqGetNonReglEduc";
  2649. oParam.inds = "req=ds_send_searchitem_nonregleduc";
  2650. oParam.outds = "ds_main_data_nonregleduc_grdlist=ret";
  2651. oParam.async = false;
  2652. tranf_submit(oParam);
  2653. }
  2654. }
  2655. function swt_patmngt_case5_group4_input1_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  2656. {
  2657. if(e.keycode == 13){
  2658. obj.updateToDataset();
  2659. swt_patmngt_case5_group4_btn_search6_onclick();
  2660. }
  2661. }
  2662. function swt_patmngt_case5_group4_btn_search6_onclick(obj:Button, e:ClickEventInfo)
  2663. {
  2664. var nutflag = ds_send_searchitem_complain.getColumn(0, "nutflag");
  2665. var pid = ds_send_searchitem_complain.getColumn(0, "pid");
  2666. var hngnm = ds_send_searchitem_complain.getColumn(0, "hngnm");
  2667. var inddfrom = ds_send_searchitem_complain.getColumn(0, "inddfrom");
  2668. var inddto = ds_send_searchitem_complain.getColumn(0, "inddto");
  2669. var dieter = ds_send_searchitem_complain.getColumn(0, "dieter");
  2670. var ward = ds_send_searchitem_complain.getColumn(0, "ward");
  2671. if ( utlf_getDateInterval(inddfrom, inddto) < 0 ) {
  2672. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  2673. return;
  2674. } else {
  2675. var oParam = {};
  2676. oParam.id = "TRANC00407";
  2677. oParam.service = "nutritionconsultapp.NutrEducation";
  2678. oParam.method = "reqGetComplainList";
  2679. oParam.inds = "req=ds_send_searchitem_complain";
  2680. oParam.outds = "ds_main_data_complain_grdlist=grdlist";
  2681. oParam.async = false;
  2682. tranf_submit(oParam);
  2683. }
  2684. }
  2685. function swt_patmngt_case5_grp_manage2_button78_onclick(obj:Button, e:ClickEventInfo)
  2686. {
  2687. for (var i = 0; i < ds_main_data_complain_grdlist.rowcount; i++) {
  2688. ds_main_data_complain_grdlist.setColumn(ds_main_data_complain_grdlist.rowposition, "manage2", "");
  2689. ds_main_data_complain_grdlist.setColumn(ds_main_data_complain_grdlist.rowposition, "manage2", ds_send_popup.getColumn(0, "manage2"));
  2690. }
  2691. swt_patmngt.case5.grp_manage2.visible = false;
  2692. }
  2693. function swt_patmngt_case5_grp_manage2_button2_onclick(obj:Button, e:ClickEventInfo)
  2694. {
  2695. swt_patmngt.case5.grp_manage2.visible = false;
  2696. }
  2697. function ds_send_searchitem_thdstats_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2698. {
  2699. var fromdd = ds_send_searchitem_thdstats.getColumn(0, "srchfromdd");
  2700. if(fromdd.length == 6){
  2701. var temp1 = fromdd+ '01';
  2702. var temp2 = fromdd+ '31';
  2703. ds_send_searchitem_thdstats.setColumn(0, "srchfromdd", temp1);
  2704. ds_send_searchitem_thdstats.setColumn(0, "srchtodd" , temp2);
  2705. }
  2706. }
  2707. function swt_patmngt_case6_grp_sea_btn_before_onclick(obj:Button, e:ClickEventInfo)
  2708. {
  2709. var dd = ds_send_searchitem_thdstats.getColumn(0, "srchfromdd") + "01";
  2710. dd = dd.toDate().getAddDate(-1, "M");
  2711. var dd1 = dd.getDateFormat("YYYYMM")+ '01';
  2712. var dd2 = dd.getDateFormat("YYYYMM") + '31';
  2713. ds_send_searchitem_thdstats.setColumn(0, "srchfromdd", dd1);
  2714. ds_send_searchitem_thdstats.setColumn(0, "srchtodd" , dd2);
  2715. }
  2716. function swt_patmngt_case6_grp_sea_button7_onclick(obj:Button, e:ClickEventInfo)
  2717. {
  2718. ds_main_item.clearData();
  2719. var oParam = {};
  2720. oParam.id = "TRANC00408";
  2721. oParam.service = "nutritionconsultapp.NutrEducation";
  2722. oParam.method = "reqGetThdstatsList";
  2723. oParam.inds = "req=ds_send_searchitem_thdstats";
  2724. oParam.outds = "ds_main_item=item";
  2725. oParam.async = false;
  2726. tranf_submit(oParam);
  2727. }
  2728. function swt_patmngt_case6_grp_sea_btn_next_onclick(obj:Button, e:ClickEventInfo)
  2729. {
  2730. var dd = ds_send_searchitem_thdstats.getColumn(0, "srchfromdd") + "01";
  2731. dd = dd.toDate().getAddDate(1, "M");
  2732. var dd1 = dd.getDateFormat("YYYYMM") + '01';
  2733. var dd2 = dd.getDateFormat("YYYYMM") + '31';
  2734. ds_send_searchitem_thdstats.setColumn(0, "srchfromdd", dd1);
  2735. ds_send_searchitem_thdstats.setColumn(0, "srchtodd" , dd2);
  2736. }
  2737. function swt_patmngt_case1_grp_execcnts_chk_p_onclick(obj:CheckBox, e:ClickEventInfo)
  2738. {
  2739. if( obj.value != "p" ){
  2740. ds_send_popup.setColumn(0, "p", "");
  2741. }
  2742. }
  2743. function swt_patmngt_case1_grp_execcnts_chk_b_onclick(obj:CheckBox, e:ClickEventInfo)
  2744. {
  2745. if( obj.value != "b" ){
  2746. ds_send_popup.setColumn(0, "b", "");
  2747. }
  2748. }
  2749. function swt_patmngt_case1_grp_execcnts_chk_p01_onclick(obj:CheckBox, e:ClickEventInfo)
  2750. {
  2751. if( obj.value != "g" ){
  2752. ds_send_popup.setColumn(0, "g", "");
  2753. }
  2754. }
  2755. function swt_patmngt_case1_grp_execcnts_chk_o_onclick(obj:CheckBox, e:ClickEventInfo)
  2756. {
  2757. if( obj.value != "o" ){
  2758. ds_send_popup.setColumn(0, "o", "");
  2759. }
  2760. }
  2761. function swt_patmngt_case1_grp_sea_rdo_patflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2762. {
  2763. if( e.postvalue == "3" ){
  2764. button5.visible = true;
  2765. }else{
  2766. button5.visible = false;
  2767. }
  2768. }
  2769. function swt_patmngt_case2_grd_ipatmngtrslt_onexpandup(obj:Grid, e:GridMouseEventInfo)
  2770. {
  2771. var colidx = obj.currentcol;
  2772. if ( obj.getBindCellIndex("body", "execcnts") == colidx ){
  2773. ds_send_popup.setColumn( 0, "execcnts", "");
  2774. swt_patmngt.case2.grp_reccnts.visible = true;
  2775. var rownum = obj.currentrow;
  2776. var execcnts = ds_main_data_ipatmngtrslt_grdlist.getColumn(rownum, "execcnts");
  2777. ds_send_popup.setColumn( 0, "execcnts", execcnts);
  2778. }
  2779. }
  2780. function swt_patmngt_case2_grp_reccnts_button4_onclick(obj:Button, e:ClickEventInfo)
  2781. {
  2782. swt_patmngt.case2.grp_reccnts.visible = false;
  2783. }
  2784. function SMANC00400_onclose(obj:Form, e:CloseEventInfo)
  2785. {
  2786. appf_delPatientInfos(); // 상단정보 clear
  2787. }
  2788. function swt_patmngt_case1_grd_ipatmngt_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  2789. {
  2790. // 환자 상단정보 START
  2791. var prcpgenrflag = "I";
  2792. var pid = ds_main_data_ipatmngt_grdlist.getColumn(e.row, 'pid');
  2793. var orddd = ds_main_data_ipatmngt_grdlist.getColumn(e.row, 'indd');
  2794. var cretno = ds_main_data_ipatmngt_grdlist.getColumn(e.row, 'cretno');
  2795. var instcd = sysf_getUserInfo("dutplceinstcd");
  2796. var srchdd = ds_main_data_ipatmngt_grdlist.getColumn(e.row, 'prcpdd');
  2797. var param = prcpgenrflag + '▦' + pid + '▦' + orddd + '▦' + cretno + '▦' + instcd + "▦" + srchdd;
  2798. appf_initPatientInfo(param);
  2799. // 환자 상단정보 END
  2800. }
  2801. ]]></Script>
  2802. </Form>
  2803. </FDL>