SMMNW04000_중증도및위험사정.xfdl 125 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW04000" position="absolute 0 0 1198 824" titletext="중증도/낙상/욕창 위험평가" oninit="SMMNW04000_oninit" onload="SMMNW04000_onload" ontimer="SMMNW04000_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption14" text="중증도 입력내역" class="tit_2" position="absolute 0 27 139 47"/>
  8. <Button id="button4" taborder="1" text="인증저장" class="btn5" position="absolute 1125 22 1189 43" onclick="button4_onclick"/>
  9. <Shape id="line1" class="line_10" position="absolute 464 44 1194 48"/>
  10. <Div id="group5" taborder="2" position="absolute 0 45 465 109" class="div_SA">
  11. <Layouts>
  12. <Layout>
  13. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 387 37 393 56" anchor="default"/>
  14. <Combo id="cmb_ward" taborder="6" innerdataset="@ds_hidden_wardcdgruplist" codecolumn="wardcd" datacolumn="wardnm" class="combo_s_essential" position="absolute 79 9 164 30" anchor="default" onitemchanged="group5_cmb_ward_onitemchanged"/>
  15. <Combo id="cmb_room" taborder="7" innerdataset="@ds_hidden_roomcdgruplist" codecolumn="roomcd" datacolumn="roomnm" class="combo_search" position="absolute 174 9 245 30" anchor="default" onitemchanged="group5_cmb_room_onitemchanged"/>
  16. <Combo id="cmb_pid" taborder="8" innerdataset="@ds_data_patientgruplist" codecolumn="pid" datacolumn="patientnm" class="combo_search" visible="false" position="absolute 259 9 380 30" anchor="default" onitemchanged="group5_cmb_pid_onitemchanged"/>
  17. <Static id="caption35" text="Room :" class="search_name" position="absolute 5 11 79 28" anchor="default"/>
  18. <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 5 39 76 56" anchor="default"/>
  19. <Edit id="otp_dsch" taborder="9" readonly="true" visible="false" position="absolute 254 9 374 30" anchor="default"/>
  20. <Combo id="cmb_zone" taborder="10" innerdataset="@ds_temp2_zoneinfo" codecolumn="bedcd" datacolumn="bednm" class="combo_search" visible="false" position="absolute 169 9 240 30" anchor="default" onitemchanged="group5_cmb_zone_onitemchanged"/>
  21. <Combo id="cmb_erpat" taborder="11" innerdataset="@ds_data_patientgruplist" codecolumn="pid" datacolumn="patientnm" class="combo_s_essential" visible="false" position="absolute 260 9 456 30" anchor="default" onitemchanged="group5_cmb_erpat_onitemchanged"/>
  22. <Combo id="cmb_settingrn" taborder="13" innerdataset="@ds_hidden_settingrn" codecolumn="settingrnid" datacolumn="settingrnnm" class="combo_search" position="absolute 366 9 456 30" anchor="default" onitemchanged="group5_cmb_settingrn_onitemchanged"/>
  23. <Button id="btn_ref" taborder="14" text="조회" class="btn1" position="absolute 400 35 456 57" anchor="default" onclick="group5_btn_ref_onclick"/>
  24. <Static id="caption3" text="내환자 :" class="search_name" position="absolute 305 12 363 29" anchor="default"/>
  25. <CheckBox id="rdo_recflagAll" taborder="15" class="radio_search" position="absolute 289 36 334 56" text="전체" onclick="group5_rdo_recflagAll_onclick" truevalue="A" falsevalue="N"/>
  26. <cp_checkboxList id="rdo_recflag" titletext="CheckBox List" taborder="16" text="cp_checkboxList00" scrollbars="none" position="absolute 79 36 218 59" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  27. </Layout>
  28. </Layouts>
  29. </Div>
  30. <Static id="caption7" text="중증도구분" class="cell_1" position="absolute 468 48 547 109"/>
  31. <Radio id="rdo_clsflaga" taborder="3" columncount="2" rowcount="3" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 548 49 711 109" onitemchanged="rdo_clsflaga_onitemchanged">
  32. <Dataset id="innerdataset">
  33. <ColumnInfo>
  34. <Column id="codecolumn"/>
  35. <Column id="datacolumn"/>
  36. </ColumnInfo>
  37. <Rows>
  38. <Row>
  39. <Col id="codecolumn">1</Col>
  40. <Col id="datacolumn">일반병동</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">2</Col>
  44. <Col id="datacolumn">신생아 ICU</Col>
  45. </Row>
  46. <Row>
  47. <Col id="codecolumn">5</Col>
  48. <Col id="datacolumn">정신과병동</Col>
  49. </Row>
  50. <Row>
  51. <Col id="codecolumn">4</Col>
  52. <Col id="datacolumn">중환자실</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">3</Col>
  56. <Col id="datacolumn">혈액투석</Col>
  57. </Row>
  58. </Rows>
  59. </Dataset>
  60. </Radio>
  61. <Static id="caption8" text="낙상위험평가" class="cell_1" position="absolute 715 48 781 109" onclick="caption8_onclick" style="align:center middle;"/>
  62. <Radio id="rdo_clsflagb" taborder="4" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 782 49 885 109" onitemchanged="rdo_clsflagb_onitemchanged">
  63. <Dataset id="innerdataset">
  64. <ColumnInfo>
  65. <Column id="codecolumn"/>
  66. <Column id="datacolumn"/>
  67. </ColumnInfo>
  68. <Rows>
  69. <Row>
  70. <Col id="codecolumn">9</Col>
  71. <Col id="datacolumn">Morse Fall</Col>
  72. </Row>
  73. <Row>
  74. <Col id="codecolumn">8</Col>
  75. <Col id="datacolumn">Humpty Dumpty</Col>
  76. </Row>
  77. </Rows>
  78. </Dataset>
  79. </Radio>
  80. <Static id="caption9" text="욕창위험평가" class="cell_1" position="absolute 891 48 957 109" style="align:center middle;"/>
  81. <Radio id="rdo_clsflagc" taborder="5" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 960 49 1054 109" onitemclick="rdo_clsflagc_onitemclick">
  82. <Dataset id="innerdataset">
  83. <ColumnInfo>
  84. <Column id="codecolumn"/>
  85. <Column id="datacolumn"/>
  86. </ColumnInfo>
  87. <Rows>
  88. <Row>
  89. <Col id="codecolumn">10</Col>
  90. <Col id="datacolumn">Braden Scale</Col>
  91. </Row>
  92. </Rows>
  93. </Dataset>
  94. </Radio>
  95. <Shape id="line2" linetype="horizontal" class="line_3" position="absolute 0 108 1193 114"/>
  96. <Static id="caption38" text="수행일자" class="cell_1" position="absolute 0 118 75 141"/>
  97. <Calendar id="ipt_indate" taborder="6" class="input_search" position="absolute 78 119 165 140" dateformat="yyyy-MM-dd" value="null" tooltiptext="날짜를 선택하세요." autoselect="true"/>
  98. <MaskEdit trimtype="both" id="ipt_time" taborder="7" class="input" position="absolute 170 119 217 140" mask="99:99" type="string" autoselect="true" maskchar=" " ontextchange="ipt_time_ontextchange" displaynulltext=" "/>
  99. <Button id="button1" taborder="8" text="현재일시" class="btn2" position="absolute 223 119 287 141" onclick="button1_onclick"/>
  100. <Static id="caption1" text="최근 저장일" class="cell_1" position="absolute 0 142 75 165"/>
  101. <Calendar id="ipt_execdtrect" taborder="9" class="input_search" enable="false" position="absolute 78 143 165 164"/>
  102. <Static id="caption10" text="환자정보" class="tit_2" position="absolute 0 201 72 218"/>
  103. <Shape id="line5" linetype="horizontal" class="line_10" position="absolute 0 217 335 223"/>
  104. <Static id="capt_master" text="중증도/낙상/욕창/통증 위험평가" class="tit_2" position="absolute 0 437 235 454"/>
  105. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 453 335 459"/>
  106. <Grid id="grd_recmaster" taborder="10" binddataset="ds_main_recgruplist" useinputpanel="false" position="absolute 0 458 335 798" oncelldblclick="grd_recmaster_oncelldblclick" onrbuttondown="grd_recmaster_onrbuttondown" cellsizingtype="both" onlbuttondown="grd_recmaster_onlbuttondown" autosizingtype="row" extendsizetype="row" onrbuttonup="grd_recmaster_onrbuttonup">
  107. <Formats>
  108. <Format id="default">
  109. <Columns>
  110. <Column size="25"/>
  111. <Column size="70"/>
  112. <Column size="57"/>
  113. <Column size="70"/>
  114. <Column size="60"/>
  115. <Column size="64"/>
  116. <Column size="62"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="100"/>
  133. <Column size="100"/>
  134. <Column size="100"/>
  135. <Column size="150"/>
  136. <Column size="130"/>
  137. <Column size="100"/>
  138. <Column size="100"/>
  139. <Column size="100"/>
  140. <Column size="100"/>
  141. <Column size="100"/>
  142. <Column size="150"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell/>
  150. <Cell col="1" text="수행일자"/>
  151. <Cell col="2" text="수행시간"/>
  152. <Cell col="3" text="분류구분"/>
  153. <Cell col="4" text="총점"/>
  154. <Cell col="5" text="분류군"/>
  155. <Cell col="6" text="등록자"/>
  156. <Cell col="7" text="pid"/>
  157. <Cell col="8" text="hngnm"/>
  158. <Cell col="9" text="recseq"/>
  159. <Cell col="10" text="recflag"/>
  160. <Cell col="11" text="clsflag"/>
  161. <Cell col="12" text="execkind"/>
  162. <Cell col="13" text="execid"/>
  163. <Cell col="14" text="indd"/>
  164. <Cell col="15" text="histstat"/>
  165. <Cell col="16" text="cretno"/>
  166. <Cell col="17" text="seqno"/>
  167. <Cell col="18" text="resultcd"/>
  168. <Cell col="19" text="signno"/>
  169. <Cell col="20" text="stat"/>
  170. <Cell col="21" text="agechk"/>
  171. <Cell col="22" text="(성인)70세 이상"/>
  172. <Cell col="23" text="(성인)집중치료실"/>
  173. <Cell col="24" text="(성인)응급실 환자"/>
  174. <Cell col="25" text="(성인)정신겅강의학과 폐쇄"/>
  175. <Cell col="26" text="(성인)진정 및 이완 약물"/>
  176. <Cell col="27" text="(성인)음주환자"/>
  177. <Cell col="28" text="(성인)해당없음"/>
  178. <Cell col="29" text="(소아)3세 미만"/>
  179. <Cell col="30" text="(소아)집중치료실"/>
  180. <Cell col="31" text="(소아)응급실 환자"/>
  181. <Cell col="32" text="(소아)정신겅강의학과 폐쇄"/>
  182. </Band>
  183. <Band id="body">
  184. <Cell celltype="head"/>
  185. <Cell col="1" displaytype="expr:utlf_isNull(execdd) ? &quot;normal&quot; : &quot;date&quot;" text="bind:execdd"/>
  186. <Cell col="2" text="bind:exectm" mask="expr:utlf_isNull(exectm) ? &quot;&quot; : &quot;##:##&quot;"/>
  187. <Cell col="3" style="align:left;" text="bind:recflagnm"/>
  188. <Cell col="4" style="align:left middle;padding:2 2 2 2;" text="bind:totpnt" wordwrap="word" autosizerow="limitmin"/>
  189. <Cell col="5" style="align:left;" text="bind:resultnm"/>
  190. <Cell col="6" text="bind:execnm"/>
  191. <Cell col="7" text="bind:pid"/>
  192. <Cell col="8" text="bind:hngnm"/>
  193. <Cell col="9" text="bind:recseq"/>
  194. <Cell col="10" text="bind:recflag"/>
  195. <Cell col="11" text="bind:clsflag"/>
  196. <Cell col="12" text="bind:execkind"/>
  197. <Cell col="13" text="bind:execid"/>
  198. <Cell col="14" text="bind:indd"/>
  199. <Cell col="15" text="bind:histstat"/>
  200. <Cell col="16" text="bind:cretno"/>
  201. <Cell col="17" text="bind:seqno"/>
  202. <Cell col="18" text="bind:resultcd"/>
  203. <Cell col="19" text="bind:signno"/>
  204. <Cell col="20" text="bind:stat"/>
  205. <Cell col="21" text="bind:agechk"/>
  206. <Cell col="22" text="bind:maddchk02"/>
  207. <Cell col="23" text="bind:maddchk01"/>
  208. <Cell col="24" text="bind:maddchk05"/>
  209. <Cell col="25" text="bind:maddchk06"/>
  210. <Cell col="26" text="bind:maddchk03"/>
  211. <Cell col="27" text="bind:maddchk04"/>
  212. <Cell col="28" text="bind:maddchk99"/>
  213. <Cell col="29" text="bind:haddchk"/>
  214. <Cell col="30" text="bind:haddchk01"/>
  215. <Cell col="31" text="bind:haddchk02"/>
  216. <Cell col="32" text="bind:haddchk03"/>
  217. </Band>
  218. </Format>
  219. </Formats>
  220. </Grid>
  221. <Static id="capt_pnt" text="중증도 상세점수" class="tit_2" position="absolute 340 117 672 135"/>
  222. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 340 133 1194 139"/>
  223. <Grid id="grd_recpnt" class="grd_recmaster" taborder="11" binddataset="ds_main_recpntlist" useinputpanel="false" position="absolute 340 138 1194 218" cellsizingtype="col" tooltiptype="hover" autofittype="none">
  224. <Formats>
  225. <Format id="default">
  226. <Columns>
  227. <Column size="25"/>
  228. <Column size="64"/>
  229. <Column size="59"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. <Column size="0"/>
  243. <Column size="0"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. <Column size="0"/>
  247. <Column size="0"/>
  248. <Column size="0"/>
  249. <Column size="0"/>
  250. <Column size="0"/>
  251. <Column size="0"/>
  252. <Column size="0"/>
  253. <Column size="0"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. <Column size="0"/>
  257. <Column size="0"/>
  258. <Column size="0"/>
  259. <Column size="0"/>
  260. <Column size="0"/>
  261. <Column size="0"/>
  262. <Column size="0"/>
  263. <Column size="0"/>
  264. <Column size="0"/>
  265. <Column size="0"/>
  266. <Column size="0"/>
  267. <Column size="0"/>
  268. <Column size="0"/>
  269. <Column size="0"/>
  270. <Column size="0"/>
  271. <Column size="0"/>
  272. <Column size="0"/>
  273. </Columns>
  274. <Rows>
  275. <Row size="40" band="head"/>
  276. <Row size="24"/>
  277. </Rows>
  278. <Band id="head">
  279. <Cell/>
  280. <Cell col="1" text="등록번호"/>
  281. <Cell col="2" text="환자명"/>
  282. <Cell col="3" style="align:center top;" text="timsval01" wordwrap="word"/>
  283. <Cell col="4" style="align:center top;" text="timsval02" wordwrap="word"/>
  284. <Cell col="5" style="align:center top;" text="timsval03" wordwrap="word"/>
  285. <Cell col="6" style="align:center top;" text="timsval04" wordwrap="word"/>
  286. <Cell col="7" style="align:center top;" text="timsval05" wordwrap="word"/>
  287. <Cell col="8" style="align:center top;" text="timsval06" wordwrap="word"/>
  288. <Cell col="9" style="align:center top;" text="timsval07" wordwrap="word"/>
  289. <Cell col="10" style="align:center top;" text="timsval08" wordwrap="word"/>
  290. <Cell col="11" style="align:center top;" text="timsval09" wordwrap="word"/>
  291. <Cell col="12" style="align:center top;" text="timsval10" wordwrap="word"/>
  292. <Cell col="13" style="align:center top;" text="timsval11" wordwrap="word"/>
  293. <Cell col="14" style="align:center top;" text="timsval12" wordwrap="word"/>
  294. <Cell col="15" style="align:center top;" text="timsval13" wordwrap="word"/>
  295. <Cell col="16" style="align:center top;" text="timsval14" wordwrap="word"/>
  296. <Cell col="17" style="align:center top;" text="timsval15" wordwrap="word"/>
  297. <Cell col="18" style="align:center top;" text="timsval16" wordwrap="word"/>
  298. <Cell col="19" style="align:center top;" text="timsval17" wordwrap="word"/>
  299. <Cell col="20" style="align:center top;" text="timsval18" wordwrap="word"/>
  300. <Cell col="21" style="align:center top;" text="timsval19" wordwrap="word"/>
  301. <Cell col="22" style="align:center top;" text="timsval20" wordwrap="word"/>
  302. <Cell col="23" style="align:center top;" text="timsval21" wordwrap="word"/>
  303. <Cell col="24" style="align:center top;" text="timsval22" wordwrap="word"/>
  304. <Cell col="25" style="align:center top;" text="timsval23" wordwrap="word"/>
  305. <Cell col="26" style="align:center top;" text="timsval24" wordwrap="word"/>
  306. <Cell col="27" style="align:center top;" text="timsval25" wordwrap="word"/>
  307. <Cell col="28" style="align:center top;" text="timsval26" wordwrap="word"/>
  308. <Cell col="29" style="align:center top;" text="timsval27" wordwrap="word"/>
  309. <Cell col="30" style="align:center top;" text="timsval28" wordwrap="word"/>
  310. <Cell col="31" style="align:center top;" text="timsval29" wordwrap="word"/>
  311. <Cell col="32" style="align:center top;" text="timsval30" wordwrap="word"/>
  312. <Cell col="33" style="align:center top;" text="timsval31" wordwrap="word"/>
  313. <Cell col="34" style="align:center top;" text="timsval32" wordwrap="word"/>
  314. <Cell col="35" style="align:center top;" text="timsval33" wordwrap="word"/>
  315. <Cell col="36" style="align:center top;" text="timsval34" wordwrap="word"/>
  316. <Cell col="37" style="align:center top;" text="timsval35" wordwrap="word"/>
  317. <Cell col="38" style="align:center top;" text="timsval36" wordwrap="word"/>
  318. <Cell col="39" style="align:center top;" text="timsval37" wordwrap="word"/>
  319. <Cell col="40" style="align:center top;" text="timsval38" wordwrap="word"/>
  320. <Cell col="41" style="align:center top;" text="timsval39" wordwrap="word"/>
  321. <Cell col="42" style="align:center top;" text="timsval40" wordwrap="word"/>
  322. <Cell col="43" text="총점"/>
  323. <Cell col="44" text="분류군"/>
  324. <Cell col="45" text="cnt"/>
  325. </Band>
  326. <Band id="body">
  327. <Cell celltype="head"/>
  328. <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
  329. <Cell col="2" style="align:left top;padding:4 0 0 4;" text="bind:hngnm" wordwrap="word" tooltiptext="bind:hngnm"/>
  330. <Cell col="3" text="bind:timsval01" tooltiptext="bind:timsval01"/>
  331. <Cell col="4" text="bind:timsval02" tooltiptext="bind:timsval02"/>
  332. <Cell col="5" text="bind:timsval03" tooltiptext="bind:timsval03"/>
  333. <Cell col="6" text="bind:timsval04" tooltiptext="bind:timsval04"/>
  334. <Cell col="7" text="bind:timsval05" tooltiptext="bind:timsval05"/>
  335. <Cell col="8" text="bind:timsval06" tooltiptext="bind:timsval06"/>
  336. <Cell col="9" text="bind:timsval07" tooltiptext="bind:timsval07"/>
  337. <Cell col="10" text="bind:timsval08" tooltiptext="bind:timsval08"/>
  338. <Cell col="11" text="bind:timsval09" tooltiptext="bind:timsval09"/>
  339. <Cell col="12" text="bind:timsval10" tooltiptext="bind:timsval10"/>
  340. <Cell col="13" text="bind:timsval11" tooltiptext="bind:timsval11"/>
  341. <Cell col="14" text="bind:timsval12" tooltiptext="bind:timsval12"/>
  342. <Cell col="15" text="bind:timsval13" tooltiptext="bind:timsval13"/>
  343. <Cell col="16" text="bind:timsval14" tooltiptext="bind:timsval14"/>
  344. <Cell col="17" text="bind:timsval15" tooltiptext="bind:timsval15"/>
  345. <Cell col="18" text="bind:timsval16" tooltiptext="bind:timsval16"/>
  346. <Cell col="19" text="bind:timsval17" tooltiptext="bind:timsval17"/>
  347. <Cell col="20" text="bind:timsval18" tooltiptext="bind:timsval18"/>
  348. <Cell col="21" text="bind:timsval19" tooltiptext="bind:timsval19"/>
  349. <Cell col="22" text="bind:timsval20" tooltiptext="bind:timsval20"/>
  350. <Cell col="23" text="bind:timsval21" tooltiptext="bind:timsval21"/>
  351. <Cell col="24" text="bind:timsval22" tooltiptext="bind:timsval22"/>
  352. <Cell col="25" text="bind:timsval23" tooltiptext="bind:timsval23"/>
  353. <Cell col="26" text="bind:timsval24" tooltiptext="bind:timsval24"/>
  354. <Cell col="27" text="bind:timsval25" tooltiptext="bind:timsval25"/>
  355. <Cell col="28" text="bind:timsval26" tooltiptext="bind:timsval26"/>
  356. <Cell col="29" text="bind:timsval27" tooltiptext="bind:timsval27"/>
  357. <Cell col="30" text="bind:timsval28" tooltiptext="bind:timsval28"/>
  358. <Cell col="31" text="bind:timsval29" tooltiptext="bind:timsval29"/>
  359. <Cell col="32" text="bind:timsval30" tooltiptext="bind:timsval30"/>
  360. <Cell col="33" text="bind:timsval31" tooltiptext="bind:timsval31"/>
  361. <Cell col="34" text="bind:timsval32" tooltiptext="bind:timsval32"/>
  362. <Cell col="35" text="bind:timsval33" tooltiptext="bind:timsval33"/>
  363. <Cell col="36" text="bind:timsval34" tooltiptext="bind:timsval34"/>
  364. <Cell col="37" text="bind:timsval35" tooltiptext="bind:timsval35"/>
  365. <Cell col="38" text="bind:timsval36" tooltiptext="bind:timsval36"/>
  366. <Cell col="39" text="bind:timsval37" tooltiptext="bind:timsval37"/>
  367. <Cell col="40" text="bind:timsval38" tooltiptext="bind:timsval38"/>
  368. <Cell col="41" text="bind:timsval39" tooltiptext="bind:timsval39"/>
  369. <Cell col="42" text="bind:timsval40" tooltiptext="bind:timsval40"/>
  370. <Cell col="43" text="bind:totpnt" tooltiptext="bind:totpnt"/>
  371. <Cell col="44" text="bind:resultcd" tooltiptext="bind:resultcd"/>
  372. <Cell col="45" text="bind:cnt" tooltiptext="bind:cnt"/>
  373. </Band>
  374. </Format>
  375. </Formats>
  376. </Grid>
  377. <Static id="capt_detail" text="중증도 상세내역" class="tit_2" position="absolute 340 222 672 238"/>
  378. <Static id="capt_bedsore" text="욕창사정도구 : Braden scale" visible="false" position="absolute 995 218 1195 243"/>
  379. <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 340 238 1194 244"/>
  380. <Grid id="grd_recdetail" taborder="12" binddataset="ds_main_recdetailgruplist" useinputpanel="false" position="absolute 340 243 1194 768" treeinitstatus="expand,null" treeusecheckbox="false" treeuseimage="false" cellsizingtype="col" oncelldblclick="grd_recdetail_oncelldblclick" cellclickbound="cell" selecttype="multiarea" autofittype="col" extendsizetype="row" autosizingtype="row" autoenter="key">
  381. <Formats>
  382. <Format id="default">
  383. <Columns>
  384. <Column size="0"/>
  385. <Column size="35"/>
  386. <Column size="0"/>
  387. <Column size="65"/>
  388. <Column size="635"/>
  389. <Column size="50"/>
  390. <Column size="50"/>
  391. <Column size="0"/>
  392. <Column size="0"/>
  393. <Column size="0"/>
  394. <Column size="0"/>
  395. <Column size="0"/>
  396. <Column size="0"/>
  397. <Column size="0"/>
  398. <Column size="0"/>
  399. <Column size="0"/>
  400. <Column size="0"/>
  401. <Column size="0"/>
  402. <Column size="0"/>
  403. <Column size="0"/>
  404. <Column size="0"/>
  405. <Column size="0"/>
  406. <Column size="0"/>
  407. <Column size="0"/>
  408. <Column size="0"/>
  409. <Column size="0"/>
  410. <Column size="0"/>
  411. </Columns>
  412. <Rows>
  413. <Row size="24" band="head"/>
  414. <Row size="20"/>
  415. </Rows>
  416. <Band id="head">
  417. <Cell text="상태"/>
  418. <Cell col="1" text="구분"/>
  419. <Cell col="2" text="분류코드"/>
  420. <Cell col="3" colspan="2" text="분류도구" taborder="undefined"/>
  421. <Cell col="5" text="점수"/>
  422. <Cell col="6" text="횟수"/>
  423. <Cell col="7" text="cnfmyn"/>
  424. <Cell col="8" text="cmtinptyn"/>
  425. <Cell col="9" text="grupmulti"/>
  426. <Cell col="10" text="engnm"/>
  427. <Cell col="11" text="refseq"/>
  428. <Cell col="12" text="deptcd"/>
  429. <Cell col="13" text="supcd"/>
  430. <Cell col="14" text="todd"/>
  431. <Cell col="15" text="depth"/>
  432. <Cell col="16" text="grupflag"/>
  433. <Cell col="17" text="clsflag"/>
  434. <Cell col="18" text="recflag"/>
  435. <Cell col="19" text="sortseq"/>
  436. <Cell col="20" text="bktimsval"/>
  437. <Cell col="21" text="desccnts"/>
  438. <Cell col="22" text="pid"/>
  439. <Cell col="23" text="execdd"/>
  440. <Cell col="24" text="recseq"/>
  441. <Cell col="25" text="wardcd"/>
  442. <Cell col="26" text="roomcd"/>
  443. </Band>
  444. <Band id="body">
  445. <Cell displaytype="combo" edittype="combo" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:stat" combodataset="ds_init_stat" combocodecol="cdid" combodatacol="cdnm"/>
  446. <Cell col="1" displaytype="checkbox" edittype="expr:chkTrue == &quot;1&quot; ? 'none' : 'checkbox'" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');controlbackground:EXPR(chkTrue == '1' ? 'silver' : '');controlbackgroundimagemode:EXPR(chkTrue == '1' ? '1 solid lightblue' : '');" text="bind:flag" expr="expr:flag == &quot;Y&quot; || flag == &quot;1&quot; ? &quot;1&quot; : &quot;0&quot;"/>
  447. <Cell col="2" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:clstlcd"/>
  448. <Cell col="3" displaytype="tree" edittype="tree" style="linetype:onlyhorz;background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" wordwrap="none" treelevel="bind:depth"/>
  449. <Cell col="4" displaytype="text" style="align:left middle;padding:EXPR(depth == '2' ? '4 0 4 15' : '4 0 4 0');background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:hngnm" wordwrap="word" autosizerow="limitmin"/>
  450. <Cell col="5" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(colro) ? '' : color);background2:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(colro) ? '' : color);" text="bind:basepnt"/>
  451. <Cell col="6" displaytype="normal" edittype="expr:timsinptyn == 'N' ? 'none' : ds_cond.getColumn(0, &quot;agechk&quot;) == 'Y' ? 'none' : 'masknumber'" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(timsval) ? '#C0C0C0' : flag == 'Y' &amp;&amp; timsval != '' &amp;&amp; (timsval == '0' || timsval == 0) ? '#FCFF00' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(timsval) ? '#C0C0C0' : flag == 'Y' &amp;&amp; timsval != '' &amp;&amp; (timsval == '0' || timsval == 0) ? '#FCFF00' : '');" text="bind:timsval" editautoselect="true"/>
  452. <Cell col="7" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:cnfmyn"/>
  453. <Cell col="8" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:cmtinptyn"/>
  454. <Cell col="9" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:grupmulti"/>
  455. <Cell col="10" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:engnm"/>
  456. <Cell col="11" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:refseq"/>
  457. <Cell col="12" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:deptcd"/>
  458. <Cell col="13" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:supcd"/>
  459. <Cell col="14" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:todd"/>
  460. <Cell col="15" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:depth"/>
  461. <Cell col="16" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:grupflag"/>
  462. <Cell col="17" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:clsflag"/>
  463. <Cell col="18" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:recflag"/>
  464. <Cell col="19" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:sortseq"/>
  465. <Cell col="20" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:bktimsval"/>
  466. <Cell col="21" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:desccnts"/>
  467. <Cell col="22" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:pid"/>
  468. <Cell col="23" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:execdd"/>
  469. <Cell col="24" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:recseq" mask="#,###"/>
  470. <Cell col="25" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:wardcd"/>
  471. <Cell col="26" text="bind:roomcd"/>
  472. </Band>
  473. </Format>
  474. </Formats>
  475. </Grid>
  476. <Shape id="line3" linetype="horizontal" class="line_3" position="absolute 0 114 335 120"/>
  477. <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 0 189 335 195"/>
  478. <Div id="grp_agechk" taborder="13" visible="false" position="absolute 950 218 1190 238">
  479. <Layouts>
  480. <Layout>
  481. <CheckBox id="bool_agechk" taborder="1" position="absolute 25 0 50 20" anchor="default" onclick="grp_agechk_bool_agechk_onclick" truevalue="Y" falsevalue="N"/>
  482. <Static id="cap_agemsg" text="낙상사정 제외 고위험군입니다" position="absolute 45 5 235 20" anchor="default"/>
  483. </Layout>
  484. </Layouts>
  485. </Div>
  486. <Edit id="opt_pid" taborder="14" readonly="true" position="absolute 78 168 138 189" class="output"/>
  487. <Edit id="opt_sexage" taborder="15" readonly="true" position="absolute 263 168 307 189" class="output"/>
  488. <Edit id="opt_patnm" taborder="16" readonly="true" position="absolute 141 168 216 189" class="output"/>
  489. <Radio id="rdo_clsflagd" taborder="17" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 1130 49 1189 109" onitemclick="rdo_clsflagd_onitemclick">
  490. <Dataset id="innerdataset">
  491. <ColumnInfo>
  492. <Column id="codecolumn"/>
  493. <Column id="datacolumn"/>
  494. </ColumnInfo>
  495. <Rows>
  496. <Row>
  497. <Col id="codecolumn">11</Col>
  498. <Col id="datacolumn">통증</Col>
  499. </Row>
  500. </Rows>
  501. </Dataset>
  502. </Radio>
  503. <Static id="caption2" text="통증위험&#13;&#10;사정구분" class="cell_1" visible="false" position="absolute 1061 48 1126 109"/>
  504. <Static id="caption5" text="환자" class="cell_1" position="absolute 0 167 75 190"/>
  505. <Static id="caption11" text="S/A" class="cell_1" position="absolute 224 167 259 188" style="padding:0 0 0 5;align:left middle;"/>
  506. <Button id="btn_sizectr" taborder="18" text="확대" class="btn2" position="absolute 293 195 335 217" onclick="btn_sizectr_onclick"/>
  507. <Div id="group4" taborder="30" style="background:white;border:1 solid #9ebed4ff ;" text="Div00" scrollbars="none" position="absolute 340 654 1194 768" anchor="all">
  508. <Layouts>
  509. <Layout>
  510. <Static id="Static00" text="* 이 항목 해당 환자는 Humpty Dumpty Scale 결과에 관계없이 낙상 고위험 입니다." position="absolute 736 26 853 113" style="border:1 solid #9ebed4ff ;align:center middle;" anchor="default" visible="false"/>
  511. <CheckBox id="chk_haddchk01" taborder="3" text="집중치료실 환자" truevalue="Y" position="absolute 2 45 145 61" anchor="default" onclick="group4_chk_haddchk01_onclick" falsevalue="N"/>
  512. <CheckBox id="chk_haddchk" taborder="4" text="3세 미만 소아환자" truevalue="Y" position="absolute 2 28 145 44" anchor="default" falsevalue="N" onclick="group4_chk_haddchk_onclick"/>
  513. <CheckBox id="chk_haddchk02" taborder="5" text="응급실·외상소생구역 환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 62 185 78" onclick="group4_chk_haddchk02_onclick" anchor="default"/>
  514. <CheckBox id="chk_haddchk03" taborder="6" text="정신건강의학과 폐쇄병동환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 79 185 95" onclick="group4_chk_haddchk03_onclick" anchor="default"/>
  515. <Static id="caption13" position="absolute -1 -1 853 27" style="border:1 solid #9ebed4ff ;"/>
  516. <Static id="capt_detail" text="이 항목 해당환자는 낙상위험 평가 없이 낙상고위험군입니다" class="tit_2" position="absolute 1 5 381 21"/>
  517. <Shape id="line7" class="line_10" position="absolute 0 22 854 28"/>
  518. </Layout>
  519. </Layouts>
  520. </Div>
  521. <Grid id="grd_patinfo" taborder="19" binddataset="ds_main_patinfo" useinputpanel="false" position="absolute 0 222 335 424" oncelldblclick="grd_patinfo_oncelldblclick" cellsizingtype="col" tooltiptype="hover" selecttype="multirow">
  522. <Formats>
  523. <Format id="default">
  524. <Columns>
  525. <Column size="26"/>
  526. <Column size="33"/>
  527. <Column size="80"/>
  528. <Column size="53"/>
  529. <Column size="60"/>
  530. <Column size="50"/>
  531. <Column size="0"/>
  532. <Column size="0"/>
  533. <Column size="45"/>
  534. <Column size="45"/>
  535. <Column size="68"/>
  536. <Column size="60"/>
  537. <Column size="60"/>
  538. <Column size="86"/>
  539. <Column size="60"/>
  540. <Column size="0"/>
  541. <Column size="60"/>
  542. <Column size="68"/>
  543. <Column size="0"/>
  544. <Column size="60"/>
  545. <Column size="30"/>
  546. <Column size="60"/>
  547. <Column size="0"/>
  548. <Column size="0"/>
  549. <Column size="0"/>
  550. <Column size="0"/>
  551. <Column size="0"/>
  552. <Column size="0"/>
  553. <Column size="0"/>
  554. <Column size="0"/>
  555. <Column size="0"/>
  556. <Column size="0"/>
  557. <Column size="0"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="0"/>
  561. </Columns>
  562. <Rows>
  563. <Row size="40" band="head"/>
  564. <Row size="24"/>
  565. </Rows>
  566. <Band id="head">
  567. <Cell/>
  568. <Cell col="1" text="구분"/>
  569. <Cell col="2" text="등록번호"/>
  570. <Cell col="3" text="병실"/>
  571. <Cell col="4" text="환자명"/>
  572. <Cell col="5" text="S/A"/>
  573. <Cell col="6" text="기록"/>
  574. <Cell col="7" text="입실&#10;적절성"/>
  575. <Cell col="8" text="진료과"/>
  576. <Cell col="9" text="중증도"/>
  577. <Cell col="10" text="저장일자"/>
  578. <Cell col="11" text="등록자"/>
  579. <Cell col="12" text="낙상"/>
  580. <Cell col="13" text="저장일자"/>
  581. <Cell col="14" text="등록자"/>
  582. <Cell col="15" text="coloryn2"/>
  583. <Cell col="16" text="욕창"/>
  584. <Cell col="17" text="저장일자"/>
  585. <Cell col="18" text="coloryn3"/>
  586. <Cell col="19" text="등록자"/>
  587. <Cell col="20" text="통증"/>
  588. <Cell col="21" text="등록자"/>
  589. <Cell col="22" text="전문의"/>
  590. <Cell col="23" text="입원일"/>
  591. <Cell col="24" text="유지환자&#10;등록일자"/>
  592. <Cell col="25" text="wardcd"/>
  593. <Cell col="26" text="cretno"/>
  594. <Cell col="27" text="orddeptcd"/>
  595. <Cell col="28" text="medispclid"/>
  596. <Cell col="29" text="execynnm"/>
  597. <Cell col="30" text="ioflag"/>
  598. <Cell col="31" text="histstat"/>
  599. <Cell col="32" text="age"/>
  600. <Cell col="33" text="indd"/>
  601. <Cell col="34" text="instcd"/>
  602. <Cell col="35" text="dschdd"/>
  603. </Band>
  604. <Band id="body">
  605. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == &quot;Y&quot; || chk == &quot;1&quot; ? &quot;1&quot; : &quot;0&quot;" tooltiptext="bind:chk"/>
  606. <Cell col="1" text="bind:ioflagnm" tooltiptext="bind:ioflagnm"/>
  607. <Cell col="2" text="bind:pid" tooltiptext="bind:pid"/>
  608. <Cell col="3" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  609. <Cell col="4" style="align:left;" text="bind:hngnm" tooltiptext="bind:hngnm"/>
  610. <Cell col="5" text="bind:sexage" tooltiptext="bind:sexage"/>
  611. <Cell col="6" text="bind:execyn"/>
  612. <Cell col="7" text="bind:inaptyn"/>
  613. <Cell col="8" style="align:left top;padding:4 2 2 2;" text="bind:depthngnm" wordwrap="word" tooltiptext="bind:depthngnm"/>
  614. <Cell col="9" style="align:left;" text="bind:resultnm1" tooltiptext="bind:resultnm1"/>
  615. <Cell col="10" displaytype="expr:utlf_isNull(execdd1) ? &quot;normal&quot; : &quot;date&quot;" text="bind:execdd1" tooltiptext="bind:execdd1"/>
  616. <Cell col="11" text="bind:execnm1" tooltiptext="bind:execnm1"/>
  617. <Cell col="12" style="align:left;" text="bind:resultnm2" tooltiptext="bind:resultnm2"/>
  618. <Cell col="13" displaytype="expr:utlf_isNull(execdd2) ? 'normal' : 'date'" text="bind:execdd2" tooltiptext="bind:execdd2"/>
  619. <Cell col="14" text="bind:execnm2" tooltiptext="bind:execnm2"/>
  620. <Cell col="15" style="background:EXPR(coloryn2 == &quot;Y&quot; ? 'yellow' : '');background2:EXPR(coloryn2 == &quot;Y&quot; ? 'yellow' : '');color:EXPR(coloryn2 == &quot;Y&quot; ? 'red' : '');color2:EXPR(coloryn2 == &quot;Y&quot; ? 'red' : '');" text="bind:coloryn2"/>
  621. <Cell col="16" style="align:left;" text="bind:resultnm3" tooltiptext="bind:resultnm3"/>
  622. <Cell col="17" displaytype="expr:utlf_isNull(execdd3) ? &quot;normal&quot; : &quot;date&quot;" text="bind:execdd3" tooltiptext="bind:execdd3"/>
  623. <Cell col="18" style="background:EXPR(coloryn3 == &quot;Y&quot; ? 'red' : '');background2:EXPR(coloryn3 == &quot;Y&quot; ? 'red' : '');" text="bind:coloryn3"/>
  624. <Cell col="19" text="bind:execnm3" tooltiptext="bind:execnm3"/>
  625. <Cell col="20" style="align:left;" text="bind:resultnm4" tooltiptext="bind:resultnm4"/>
  626. <Cell col="21" text="bind:execnm4" tooltiptext="bind:execnm4"/>
  627. <Cell col="22" text="bind:usernm"/>
  628. <Cell col="23" displaytype="expr:utlf_isNull(maintepatrgstdd) ? &quot;normal&quot; : &quot;date&quot;" text="bind:maintepatrgstdd"/>
  629. <Cell col="24" text="bind:wardcd"/>
  630. <Cell col="25" text="bind:cretno"/>
  631. <Cell col="26" text="bind:orddeptcd"/>
  632. <Cell col="27" text="bind:medispclid"/>
  633. <Cell col="28" text="bind:execynnm"/>
  634. <Cell col="29" text="bind:ioflag"/>
  635. <Cell col="30" text="bind:histstat"/>
  636. <Cell col="31" text="bind:seqno"/>
  637. <Cell col="32" text="bind:age"/>
  638. <Cell col="33" text="bind:indd"/>
  639. <Cell col="34" text="bind:instcd"/>
  640. <Cell col="35" text="bind:dschdd"/>
  641. </Band>
  642. </Format>
  643. </Formats>
  644. </Grid>
  645. <CheckBox id="chk_nextyn" taborder="20" position="absolute 1040 26 1120 41" text="환자넘기기" truevalue="Y"/>
  646. <Edit id="opt_age" taborder="22" readonly="true" visible="false" position="absolute 263 143 307 164"/>
  647. <Div id="group2" taborder="28" style="background:white;border:1 solid #9ebed4ff ;" text="Div00" scrollbars="none" position="absolute 340 654 1194 768">
  648. <Layouts>
  649. <Layout>
  650. <Static id="caption13" position="absolute -1 -1 853 27" style="border:1 solid #9ebed4ff ;color:#01548eff;font:arial,8,bold;" anchor="default"/>
  651. <Static id="Static00" text="* 이 항목 해당 환자는 Morse Scale 결과에 관계없이 낙상 고위험 입니다." position="absolute 738 26 855 113" style="border:1 solid #9ebed4ff ;align:center middle;" anchor="default" visible="false"/>
  652. <CheckBox id="chk_maddchk01" taborder="1" text="집중치료실 환자" position="absolute 2 45 145 61" anchor="default" truevalue="Y" onclick="group2_chk_maddchk01_onclick" falsevalue="N"/>
  653. <CheckBox id="chk_maddchk02" taborder="2" text="70세 이상의 노인환자" position="absolute 2 28 145 44" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk02_onclick"/>
  654. <CheckBox id="chk_maddchk03" taborder="3" text="진정 및 이완 약물 투여 환자" position="absolute 194 29 368 45" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk03_onclick" enable="false" visible="false"/>
  655. <CheckBox id="chk_maddchk04" taborder="4" text="음주 환자" position="absolute 194 46 337 62" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk04_onclick" enable="false" visible="false"/>
  656. <CheckBox id="chk_maddchk99" taborder="5" text="해당없음" position="absolute 194 63 337 79" anchor="default" truevalue="Y" onclick="group2_chk_maddchk99_onclick" enable="false" visible="false"/>
  657. <CheckBox id="chk_maddchk05" taborder="6" text="응급실·외상소생구역 환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 62 169 78" anchor="default" onclick="group2_chk_maddchk05_onclick"/>
  658. <CheckBox id="chk_maddchk06" taborder="7" text="정신건강의학과 폐쇄병동환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 79 185 95" anchor="default" onclick="group2_chk_maddchk06_onclick"/>
  659. <Static id="capt_detail" text="이 항목 해당환자는 낙상위험 평가 없이 낙상고위험군입니다" class="tit_2" position="absolute 1 5 381 21" anchor="default"/>
  660. <Shape id="line7" class="line_10" position="absolute 0 22 854 28" anchor="default"/>
  661. </Layout>
  662. </Layouts>
  663. </Div>
  664. <CheckBox id="bool3" taborder="24" visible="false" position="absolute 83 199 108 219" onclick="bool3_onclick"/>
  665. <Div id="grp_allsign" taborder="25" visible="false" position="absolute 902 22 1037 46">
  666. <Layouts>
  667. <Layout>
  668. <Button id="btn_AllSave" taborder="1" text="일괄" class="btn5" position="absolute 90 0 132 21" onclick="grp_allsign_btn_AllSave_onclick"/>
  669. <Static id="cap_totcnt" text="0" position="absolute 55 3 74 22"/>
  670. <Static id="cap_succnt" text="0" position="absolute 5 3 24 22"/>
  671. <Static id="cap_failcnt" text="0" position="absolute 30 3 49 22"/>
  672. </Layout>
  673. </Layouts>
  674. </Div>
  675. <Static id="caption12" text="[표]" position="absolute 1164 803 1189 818"/>
  676. <Static id="caption6" text="중증도/낙상/욕창 위험평가" class="tit_1" position="absolute 0 0 197 25"/>
  677. <TextArea id="tar_desccnts" taborder="31" position="absolute 340 771 1194 798" enable="true" wordwrap="word"/>
  678. <Div id="ivw_ocrprnt" taborder="32" visible="false" position="absolute 815 10 830 20" url="emr_formmngtxp::SSMRF03800_OCR뷰어.xfdl"/>
  679. <Button id="btn_excel" taborder="33" text="엑셀" class="btn7" position="absolute 237 196 289 216" anchor="left top" onclick="btn_excel_onclick"/>
  680. <Button id="btn_nak" taborder="34" text="(낙)의약품 투약이력조회" class="btn2" position="absolute 109 194 232 216" onclick="btn_sizectr00_onclick" visible="false"/>
  681. </Layout>
  682. </Layouts>
  683. <Objects>
  684. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_cond_oncolumnchanged">
  685. <ColumnInfo>
  686. <Column id="wardcd" type="STRING" size="256"/>
  687. <Column id="roomcd" type="STRING" size="256"/>
  688. <Column id="pid" type="STRING" size="256"/>
  689. <Column id="clsflag" type="STRING" size="256"/>
  690. <Column id="recflag" type="STRING" size="256"/>
  691. <Column id="execdd" type="STRING" size="256"/>
  692. <Column id="exectm" type="STRING" size="256"/>
  693. <Column id="settingrnid" type="STRING" size="256"/>
  694. <Column id="bloodioflag" type="STRING" size="256"/>
  695. <Column id="execnm" type="STRING" size="256"/>
  696. <Column id="patnm" type="STRING" size="256"/>
  697. <Column id="copyexecdd" type="STRING" size="256"/>
  698. <Column id="agechk" type="STRING" size="256"/>
  699. <Column id="zonecd" type="STRING" size="256"/>
  700. <Column id="recsrchflag" type="STRING" size="256"/>
  701. <Column id="sexage" type="STRING" size="256"/>
  702. <Column id="age" type="STRING" size="256"/>
  703. <Column id="recsrchflagall" type="STRING" size="256"/>
  704. <Column id="nextyn" type="STRING" size="256"/>
  705. <Column id="maddchk01" type="STRING" size="256"/>
  706. <Column id="maddchk02" type="STRING" size="256"/>
  707. <Column id="maddchk03" type="STRING" size="256"/>
  708. <Column id="maddchk04" type="STRING" size="256"/>
  709. <Column id="haddchk" type="STRING" size="256"/>
  710. <Column id="haddchk01" type="STRING" size="256"/>
  711. <Column id="maddchk99" type="STRING" size="256"/>
  712. <Column id="patmulti" type="STRING" size="256"/>
  713. <Column id="ioflag" type="STRING" size="256"/>
  714. <Column id="haddchk02" type="STRING" size="256"/>
  715. <Column id="haddchk03" type="STRING" size="256"/>
  716. <Column id="maddchk05" type="STRING" size="256"/>
  717. <Column id="maddchk06" type="STRING" size="256"/>
  718. </ColumnInfo>
  719. <Rows>
  720. <Row>
  721. <Col id="wardcd"/>
  722. <Col id="roomcd"/>
  723. <Col id="pid"/>
  724. <Col id="clsflag"/>
  725. <Col id="recflag"/>
  726. <Col id="execdd"/>
  727. <Col id="exectm"/>
  728. <Col id="settingrnid"/>
  729. <Col id="bloodioflag"/>
  730. <Col id="execnm"/>
  731. <Col id="patnm"/>
  732. <Col id="copyexecdd"/>
  733. <Col id="agechk"/>
  734. <Col id="zonecd"/>
  735. <Col id="recsrchflag"/>
  736. <Col id="sexage"/>
  737. <Col id="age"/>
  738. <Col id="recsrchflagall"/>
  739. <Col id="nextyn"/>
  740. <Col id="maddchk01"/>
  741. <Col id="maddchk02"/>
  742. <Col id="maddchk03"/>
  743. <Col id="maddchk04"/>
  744. <Col id="haddchk"/>
  745. <Col id="haddchk01"/>
  746. <Col id="maddchk99"/>
  747. <Col id="patmulti"/>
  748. </Row>
  749. </Rows>
  750. </Dataset>
  751. <Dataset id="ds_main_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  752. <ColumnInfo>
  753. <Column id="execdd" type="STRING"/>
  754. <Column id="exectm" type="STRING"/>
  755. <Column id="recflagnm" type="STRING"/>
  756. <Column id="totpnt" type="STRING"/>
  757. <Column id="resultnm" type="STRING"/>
  758. <Column id="execnm" type="STRING"/>
  759. <Column id="pid" type="STRING"/>
  760. <Column id="hngnm" type="STRING"/>
  761. <Column id="recseq" type="STRING"/>
  762. <Column id="recflag" type="STRING"/>
  763. <Column id="clsflag" type="STRING"/>
  764. <Column id="execkind" type="STRING"/>
  765. <Column id="execid" type="STRING"/>
  766. <Column id="indd" type="STRING"/>
  767. <Column id="histstat" type="STRING"/>
  768. <Column id="cretno" type="STRING"/>
  769. <Column id="seqno" type="STRING"/>
  770. <Column id="resultcd" type="STRING"/>
  771. <Column id="signno" type="STRING"/>
  772. <Column id="stat" type="STRING"/>
  773. <Column id="agechk" type="STRING"/>
  774. <Column id="maddchk01" type="STRING"/>
  775. <Column id="maddchk02" type="STRING"/>
  776. <Column id="maddchk03" type="STRING"/>
  777. <Column id="maddchk04" type="STRING"/>
  778. <Column id="maddchk99" type="STRING"/>
  779. <Column id="haddchk01" type="STRING"/>
  780. <Column id="haddchk" type="STRING"/>
  781. <Column id="haddchk02" type="STRING" size="256"/>
  782. <Column id="haddchk03" type="STRING" size="256"/>
  783. <Column id="maddchk05" type="STRING" size="256"/>
  784. <Column id="maddchk06" type="STRING" size="256"/>
  785. </ColumnInfo>
  786. </Dataset>
  787. <Dataset id="ds_main_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  788. <ColumnInfo>
  789. <Column id="pid" type="STRING"/>
  790. <Column id="hngnm" type="STRING"/>
  791. <Column id="timsval01" type="STRING"/>
  792. <Column id="timsval02" type="STRING"/>
  793. <Column id="timsval03" type="STRING"/>
  794. <Column id="timsval04" type="STRING"/>
  795. <Column id="timsval05" type="STRING"/>
  796. <Column id="timsval06" type="STRING"/>
  797. <Column id="timsval07" type="STRING"/>
  798. <Column id="timsval08" type="STRING"/>
  799. <Column id="timsval09" type="STRING"/>
  800. <Column id="timsval10" type="STRING"/>
  801. <Column id="timsval11" type="STRING"/>
  802. <Column id="timsval12" type="STRING"/>
  803. <Column id="timsval13" type="STRING"/>
  804. <Column id="timsval14" type="STRING"/>
  805. <Column id="timsval15" type="STRING"/>
  806. <Column id="timsval16" type="STRING"/>
  807. <Column id="timsval17" type="STRING"/>
  808. <Column id="timsval18" type="STRING"/>
  809. <Column id="timsval19" type="STRING"/>
  810. <Column id="timsval20" type="STRING"/>
  811. <Column id="timsval21" type="STRING"/>
  812. <Column id="timsval22" type="STRING"/>
  813. <Column id="timsval23" type="STRING"/>
  814. <Column id="timsval24" type="STRING"/>
  815. <Column id="timsval25" type="STRING"/>
  816. <Column id="timsval26" type="STRING"/>
  817. <Column id="timsval27" type="STRING"/>
  818. <Column id="timsval28" type="STRING"/>
  819. <Column id="timsval29" type="STRING"/>
  820. <Column id="timsval30" type="STRING"/>
  821. <Column id="timsval31" type="STRING"/>
  822. <Column id="timsval32" type="STRING"/>
  823. <Column id="timsval33" type="STRING"/>
  824. <Column id="timsval34" type="STRING"/>
  825. <Column id="timsval35" type="STRING"/>
  826. <Column id="timsval36" type="STRING"/>
  827. <Column id="timsval37" type="STRING"/>
  828. <Column id="timsval38" type="STRING"/>
  829. <Column id="timsval39" type="STRING"/>
  830. <Column id="timsval40" type="STRING"/>
  831. <Column id="totpnt" type="STRING"/>
  832. <Column id="resultcd" type="STRING"/>
  833. <Column id="cnt" type="STRING"/>
  834. </ColumnInfo>
  835. </Dataset>
  836. <Dataset id="ds_main_recdetailgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_recdetailgruplist_oncolumnchanged">
  837. <ColumnInfo>
  838. <Column id="stat" type="STRING"/>
  839. <Column id="flag" type="STRING"/>
  840. <Column id="clstlcd" type="STRING"/>
  841. <Column id="hngnm" type="STRING"/>
  842. <Column id="basepnt" type="STRING"/>
  843. <Column id="timsval" type="STRING"/>
  844. <Column id="cnfmyn" type="STRING"/>
  845. <Column id="cmtinptyn" type="STRING"/>
  846. <Column id="grupmulti" type="STRING"/>
  847. <Column id="engnm" type="STRING"/>
  848. <Column id="refseq" type="STRING"/>
  849. <Column id="deptcd" type="STRING"/>
  850. <Column id="supcd" type="STRING"/>
  851. <Column id="todd" type="STRING"/>
  852. <Column id="depth" type="STRING"/>
  853. <Column id="grupflag" type="STRING"/>
  854. <Column id="clsflag" type="STRING"/>
  855. <Column id="recflag" type="STRING"/>
  856. <Column id="sortseq" type="STRING"/>
  857. <Column id="bktimsval" type="STRING"/>
  858. <Column id="desccnts" type="STRING"/>
  859. <Column id="pid" type="STRING"/>
  860. <Column id="execdd" type="STRING"/>
  861. <Column id="recseq" type="STRING"/>
  862. <Column id="wardcd" type="STRING"/>
  863. <Column id="roomcd" type="STRING"/>
  864. </ColumnInfo>
  865. </Dataset>
  866. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  867. <ColumnInfo>
  868. <Column id="chk" type="STRING"/>
  869. <Column id="ioflagnm" type="STRING"/>
  870. <Column id="pid" type="STRING"/>
  871. <Column id="roomcd" type="STRING"/>
  872. <Column id="hngnm" type="STRING"/>
  873. <Column id="sexage" type="STRING"/>
  874. <Column id="execyn" type="STRING"/>
  875. <Column id="inaptyn" type="STRING"/>
  876. <Column id="depthngnm" type="STRING"/>
  877. <Column id="resultnm1" type="STRING"/>
  878. <Column id="execdd1" type="STRING"/>
  879. <Column id="execnm1" type="STRING"/>
  880. <Column id="resultnm2" type="STRING"/>
  881. <Column id="execdd2" type="STRING"/>
  882. <Column id="execnm2" type="STRING"/>
  883. <Column id="coloryn2" type="STRING"/>
  884. <Column id="resultnm3" type="STRING"/>
  885. <Column id="execdd3" type="STRING"/>
  886. <Column id="coloryn3" type="STRING"/>
  887. <Column id="execnm3" type="STRING"/>
  888. <Column id="resultnm4" type="STRING"/>
  889. <Column id="execnm4" type="STRING"/>
  890. <Column id="usernm" type="STRING"/>
  891. <Column id="maintepatrgstdd" type="STRING"/>
  892. <Column id="wardcd" type="STRING"/>
  893. <Column id="cretno" type="STRING"/>
  894. <Column id="orddeptcd" type="STRING"/>
  895. <Column id="medispclid" type="STRING"/>
  896. <Column id="execynnm" type="STRING"/>
  897. <Column id="ioflag" type="STRING"/>
  898. <Column id="histstat" type="STRING"/>
  899. <Column id="seqno" type="STRING"/>
  900. <Column id="age" type="STRING"/>
  901. <Column id="indd" type="STRING"/>
  902. <Column id="instcd" type="STRING"/>
  903. <Column id="dschdd" type="STRING"/>
  904. </ColumnInfo>
  905. </Dataset>
  906. <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  907. <Dataset id="ds_main_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  908. <ColumnInfo>
  909. <Column id="recflag" type="STRING" size="256"/>
  910. <Column id="clsflag" type="STRING" size="256"/>
  911. <Column id="pid" type="STRING" size="256"/>
  912. <Column id="execdd" type="STRING" size="256"/>
  913. <Column id="exectm" type="STRING" size="256"/>
  914. <Column id="rectsavedw" type="STRING" size="256"/>
  915. <Column id="recseq" type="STRING" size="256"/>
  916. <Column id="indd" type="STRING" size="256"/>
  917. <Column id="histstat" type="STRING" size="256"/>
  918. <Column id="cretno" type="STRING" size="256"/>
  919. <Column id="seqno" type="STRING" size="256"/>
  920. <Column id="hngnm" type="STRING" size="256"/>
  921. </ColumnInfo>
  922. <Rows>
  923. <Row>
  924. <Col id="recflag"/>
  925. <Col id="clsflag"/>
  926. <Col id="pid"/>
  927. <Col id="execdd"/>
  928. <Col id="exectm"/>
  929. <Col id="rectsavedw"/>
  930. <Col id="recseq"/>
  931. <Col id="indd"/>
  932. <Col id="histstat"/>
  933. <Col id="cretno"/>
  934. <Col id="seqno"/>
  935. <Col id="hngnm"/>
  936. </Row>
  937. </Rows>
  938. </Dataset>
  939. <Dataset id="ds_main_pnttitlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  940. <Dataset id="ds_main_serdiaghislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  941. <Dataset id="ds_main_tar_desccnts" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  942. <ColumnInfo>
  943. <Column id="tar_desccnts" type="STRING" size="256"/>
  944. </ColumnInfo>
  945. <Rows>
  946. <Row/>
  947. </Rows>
  948. </Dataset>
  949. <Dataset id="ds_hidden_wardcdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  950. <ColumnInfo>
  951. <Column id="wardcd" type="STRING" size="256"/>
  952. <Column id="wardnm" type="STRING" size="256"/>
  953. </ColumnInfo>
  954. <Rows>
  955. <Row/>
  956. </Rows>
  957. </Dataset>
  958. <Dataset id="ds_hidden_roomcdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  959. <ColumnInfo>
  960. <Column id="roomcd" type="STRING" size="256"/>
  961. <Column id="roomnm" type="STRING" size="256"/>
  962. </ColumnInfo>
  963. <Rows>
  964. <Row/>
  965. </Rows>
  966. </Dataset>
  967. <Dataset id="ds_data_patientgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  968. <ColumnInfo>
  969. <Column id="pid" type="STRING" size="256"/>
  970. <Column id="patientnm" type="STRING" size="256"/>
  971. </ColumnInfo>
  972. <Rows>
  973. <Row/>
  974. </Rows>
  975. </Dataset>
  976. <Dataset id="ds_hidden_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  977. <ColumnInfo>
  978. <Column id="settingrnid" type="STRING" size="256"/>
  979. <Column id="settingrnnm" type="STRING" size="256"/>
  980. </ColumnInfo>
  981. <Rows>
  982. <Row/>
  983. </Rows>
  984. </Dataset>
  985. <Dataset id="ds_hidden_bspntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  986. <ColumnInfo>
  987. <Column id="bspntnm" type="STRING" size="256"/>
  988. </ColumnInfo>
  989. <Rows>
  990. <Row/>
  991. </Rows>
  992. </Dataset>
  993. <Dataset id="ds_hidden_icuinoutinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  994. <ColumnInfo>
  995. <Column id="inyn" type="STRING" size="256"/>
  996. <Column id="outyn" type="STRING" size="256"/>
  997. </ColumnInfo>
  998. <Rows>
  999. <Row/>
  1000. </Rows>
  1001. </Dataset>
  1002. <Dataset id="ds_chk_recsrchflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1003. <ColumnInfo>
  1004. <Column id="cdid" type="STRING" size="256"/>
  1005. <Column id="cdnm" type="STRING" size="256"/>
  1006. </ColumnInfo>
  1007. <Rows>
  1008. <Row>
  1009. <Col id="cdid">1</Col>
  1010. <Col id="cdnm">중증도</Col>
  1011. </Row>
  1012. <Row>
  1013. <Col id="cdid">2</Col>
  1014. <Col id="cdnm">낙상</Col>
  1015. </Row>
  1016. <Row>
  1017. <Col id="cdid">3</Col>
  1018. <Col id="cdnm">욕창</Col>
  1019. </Row>
  1020. <Row>
  1021. <Col id="cdid">4</Col>
  1022. <Col id="cdnm">통증</Col>
  1023. </Row>
  1024. </Rows>
  1025. </Dataset>
  1026. <Dataset id="ds_temp_histgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1027. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1028. <Dataset id="ds_code_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1029. <Dataset id="ds_init_icucdgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1030. <Dataset id="ds_hidden_icucdgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1031. <ColumnInfo>
  1032. <Column id="cd" type="STRING" size="256"/>
  1033. <Column id="nm" type="STRING" size="256"/>
  1034. </ColumnInfo>
  1035. </Dataset>
  1036. <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1037. <Dataset id="ds_temp_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1038. <Dataset id="ds_temp_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1039. <Dataset id="ds_temp_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1040. <Dataset id="ds_temp_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1041. <Dataset id="ds_temp_pnttitlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1042. <Dataset id="ds_temp_serdiaghislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1043. <Dataset id="ds_temp_recdetailgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1044. <Dataset id="ds_temp_tar_desccnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1045. <Dataset id="ds_send_signinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1046. <ColumnInfo>
  1047. <Column id="pid" type="STRING" size="256"/>
  1048. <Column id="orddd" type="STRING" size="256"/>
  1049. <Column id="cretno" type="STRING" size="256"/>
  1050. <Column id="signno" type="STRING" size="256"/>
  1051. <Column id="recdd" type="STRING" size="256"/>
  1052. <Column id="rectm" type="STRING" size="256"/>
  1053. <Column id="recsaveflag" type="STRING" size="256"/>
  1054. <Column id="signflag" type="STRING" size="256"/>
  1055. <Column id="signgenrflag" type="STRING" size="256"/>
  1056. <Column id="formcd" type="STRING" size="256"/>
  1057. <Column id="orddeptcd" type="STRING" size="256"/>
  1058. <Column id="orddrid" type="STRING" size="256"/>
  1059. <Column id="signbfcnts" type="STRING" size="256"/>
  1060. <Column id="signaftcnts" type="STRING" size="256"/>
  1061. <Column id="screenid" type="STRING" size="256"/>
  1062. <Column id="certflag" type="STRING" size="256"/>
  1063. </ColumnInfo>
  1064. <Rows>
  1065. <Row/>
  1066. </Rows>
  1067. </Dataset>
  1068. <Dataset id="ds_temp2_zoneinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1069. <ColumnInfo>
  1070. <Column id="bedcd" type="STRING" size="256"/>
  1071. <Column id="bednm" type="STRING" size="256"/>
  1072. </ColumnInfo>
  1073. <Rows>
  1074. <Row/>
  1075. </Rows>
  1076. </Dataset>
  1077. <Dataset id="ds_temp_zoneinfo_zonelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1078. <Dataset id="ds_init_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1079. <ColumnInfo>
  1080. <Column id="cdnm" type="STRING" size="256"/>
  1081. <Column id="cdid" type="STRING" size="256"/>
  1082. </ColumnInfo>
  1083. <Rows>
  1084. <Row>
  1085. <Col id="cdnm">-</Col>
  1086. <Col id="cdid">-</Col>
  1087. </Row>
  1088. <Row>
  1089. <Col id="cdnm">i</Col>
  1090. <Col id="cdid">i</Col>
  1091. </Row>
  1092. <Row>
  1093. <Col id="cdnm">u</Col>
  1094. <Col id="cdid">u</Col>
  1095. </Row>
  1096. <Row>
  1097. <Col id="cdnm">d</Col>
  1098. <Col id="cdid">d</Col>
  1099. </Row>
  1100. </Rows>
  1101. </Dataset>
  1102. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1103. <Dataset id="ds_temp_signdata_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1104. <Dataset id="ds_temp_signdata_detailinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1105. <Dataset id="ds_send_recmaster" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1106. <ColumnInfo>
  1107. <Column id="m" type="STRING" size="256"/>
  1108. <Column id="rownum" type="STRING" size="256"/>
  1109. <Column id="execdd" type="STRING" size="256"/>
  1110. <Column id="exectm" type="STRING" size="256"/>
  1111. <Column id="recflagnm" type="STRING" size="256"/>
  1112. <Column id="totpnt" type="STRING" size="256"/>
  1113. <Column id="resultnm" type="STRING" size="256"/>
  1114. <Column id="execnm" type="STRING" size="256"/>
  1115. <Column id="pid" type="STRING" size="256"/>
  1116. <Column id="hngnm" type="STRING" size="256"/>
  1117. <Column id="recseq" type="STRING" size="256"/>
  1118. <Column id="recflag" type="STRING" size="256"/>
  1119. <Column id="clsflag" type="STRING" size="256"/>
  1120. <Column id="execkind" type="STRING" size="256"/>
  1121. <Column id="execid" type="STRING" size="256"/>
  1122. <Column id="indd" type="STRING" size="256"/>
  1123. <Column id="histstat" type="STRING" size="256"/>
  1124. <Column id="cretno" type="STRING" size="256"/>
  1125. <Column id="seqno" type="STRING" size="256"/>
  1126. <Column id="resultcd" type="STRING" size="256"/>
  1127. <Column id="signno" type="STRING" size="256"/>
  1128. <Column id="stat" type="STRING" size="256"/>
  1129. <Column id="agechk" type="STRING" size="256"/>
  1130. <Column id="maddchk01" type="STRING" size="256"/>
  1131. <Column id="maddchk02" type="STRING" size="256"/>
  1132. <Column id="maddchk03" type="STRING" size="256"/>
  1133. <Column id="maddchk04" type="STRING" size="256"/>
  1134. <Column id="maddchk99" type="STRING" size="256"/>
  1135. <Column id="haddchk" type="STRING" size="256"/>
  1136. <Column id="haddchk02" type="STRING" size="256"/>
  1137. <Column id="haddchk03" type="STRING" size="256"/>
  1138. <Column id="maddchk05" type="STRING" size="256"/>
  1139. <Column id="maddchk06" type="STRING" size="256"/>
  1140. </ColumnInfo>
  1141. <Rows>
  1142. <Row/>
  1143. </Rows>
  1144. </Dataset>
  1145. <Dataset id="ds_send_recdetail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1146. <ColumnInfo>
  1147. <Column id="m" type="STRING" size="256"/>
  1148. <Column id="rownum" type="STRING" size="256"/>
  1149. <Column id="stat" type="STRING" size="256"/>
  1150. <Column id="flag" type="STRING" size="256"/>
  1151. <Column id="clstlcd" type="STRING" size="256"/>
  1152. <Column id="hngnm" type="STRING" size="256"/>
  1153. <Column id="basepnt" type="STRING" size="256"/>
  1154. <Column id="timsval" type="STRING" size="256"/>
  1155. <Column id="cnfmyn" type="STRING" size="256"/>
  1156. <Column id="cmtinptyn" type="STRING" size="256"/>
  1157. <Column id="grupmulti" type="STRING" size="256"/>
  1158. <Column id="engnm" type="STRING" size="256"/>
  1159. <Column id="refseq" type="STRING" size="256"/>
  1160. <Column id="deptcd" type="STRING" size="256"/>
  1161. <Column id="supcd" type="STRING" size="256"/>
  1162. <Column id="todd" type="STRING" size="256"/>
  1163. <Column id="depth" type="STRING" size="256"/>
  1164. <Column id="grupflag" type="STRING" size="256"/>
  1165. <Column id="clsflag" type="STRING" size="256"/>
  1166. <Column id="recflag" type="STRING" size="256"/>
  1167. <Column id="sortseq" type="STRING" size="256"/>
  1168. <Column id="bktimsval" type="STRING" size="256"/>
  1169. <Column id="desccnts" type="STRING" size="256"/>
  1170. <Column id="pid" type="STRING" size="256"/>
  1171. <Column id="execdd" type="STRING" size="256"/>
  1172. <Column id="recseq" type="STRING" size="256"/>
  1173. <Column id="wardcd" type="STRING" size="256"/>
  1174. <Column id="roomcd" type="STRING" size="256"/>
  1175. </ColumnInfo>
  1176. <Rows>
  1177. <Row/>
  1178. </Rows>
  1179. </Dataset>
  1180. <Dataset id="ds_hidden_hiddeninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1181. <Dataset id="ds_hidden_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1182. <Dataset id="ds_hidden_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1183. <Dataset id="ds_hidden_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1184. <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1185. <Dataset id="ds_send2_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1186. <ColumnInfo>
  1187. <Column id="pid" type="STRING" size="256"/>
  1188. <Column id="indd" type="STRING" size="256"/>
  1189. <Column id="cretno" type="INT" size="256"/>
  1190. <Column id="formcd" type="STRING" size="256"/>
  1191. </ColumnInfo>
  1192. <Rows>
  1193. <Row/>
  1194. </Rows>
  1195. </Dataset>
  1196. <Dataset id="ds_duplocrprnt_msginfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1197. <ColumnInfo>
  1198. <Column id="ocrtag" type="STRING" size="255"/>
  1199. <Column id="scanyn" type="STRING" size="255"/>
  1200. <Column id="statcd" type="STRING" size="255"/>
  1201. </ColumnInfo>
  1202. </Dataset>
  1203. </Objects>
  1204. <Bind>
  1205. <BindItem id="item16" compid="group4.chk_haddchk" propid="value" datasetid="ds_cond" columnid="haddchk"/>
  1206. <BindItem id="item17" compid="group4.chk_haddchk01" propid="value" datasetid="ds_cond" columnid="haddchk01"/>
  1207. <BindItem id="item0" compid="group5.cmb_ward" propid="value" datasetid="ds_cond" columnid="wardcd"/>
  1208. <BindItem id="item1" compid="group5.cmb_zone" propid="value" datasetid="ds_cond" columnid="zonecd"/>
  1209. <BindItem id="item2" compid="group5.cmb_room" propid="value" datasetid="ds_cond" columnid="roomcd"/>
  1210. <BindItem id="item3" compid="group5.cmb_erpat" propid="value" datasetid="ds_cond" columnid="pid"/>
  1211. <BindItem id="item4" compid="group5.otp_dsch" propid="value" datasetid="ds_cond" columnid="patnm"/>
  1212. <BindItem id="item5" compid="group5.cmb_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
  1213. <BindItem id="item6" compid="group5.cmb_settingrn" propid="value" datasetid="ds_cond" columnid="settingrnid"/>
  1214. <BindItem id="item7" compid="group5.rdo_recflagAll" propid="value" datasetid="ds_cond" columnid="recsrchflagall"/>
  1215. <BindItem id="item8" compid="chk_nextyn" propid="value" datasetid="ds_cond" columnid="nextyn"/>
  1216. <BindItem id="item9" compid="bool3" propid="value" datasetid="ds_cond" columnid="patmulti"/>
  1217. <BindItem id="item10" compid="grp_agechk.bool_agechk" propid="value" datasetid="ds_cond" columnid="agechk"/>
  1218. <BindItem id="item11" compid="rdo_clsflaga" propid="value" datasetid="ds_cond" columnid="clsflag"/>
  1219. <BindItem id="item12" compid="rdo_clsflagb" propid="value" datasetid="ds_cond" columnid="clsflag"/>
  1220. <BindItem id="item13" compid="rdo_clsflagc" propid="value" datasetid="ds_cond" columnid="clsflag"/>
  1221. <BindItem id="item14" compid="rdo_clsflagd" propid="value" datasetid="ds_cond" columnid="clsflag"/>
  1222. <BindItem id="item18" compid="group2.chk_maddchk01" propid="value" datasetid="ds_cond" columnid="maddchk01"/>
  1223. <BindItem id="item19" compid="group2.chk_maddchk02" propid="value" datasetid="ds_cond" columnid="maddchk02"/>
  1224. <BindItem id="item20" compid="group2.chk_maddchk03" propid="value" datasetid="ds_cond" columnid="maddchk03"/>
  1225. <BindItem id="item21" compid="group2.chk_maddchk04" propid="value" datasetid="ds_cond" columnid="maddchk04"/>
  1226. <BindItem id="item22" compid="group2.chk_maddchk99" propid="value" datasetid="ds_cond" columnid="maddchk99"/>
  1227. <BindItem id="item23" compid="ipt_time" propid="value" datasetid="ds_cond" columnid="exectm"/>
  1228. <BindItem id="item24" compid="ipt_indate" propid="value" datasetid="ds_cond" columnid="execdd"/>
  1229. <BindItem id="item25" compid="ipt_execdtrect" propid="value" datasetid="ds_main_recinfo" columnid="rectsavedw"/>
  1230. <BindItem id="item26" compid="opt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
  1231. <BindItem id="item27" compid="opt_patnm" propid="value" datasetid="ds_cond" columnid="patnm"/>
  1232. <BindItem id="item28" compid="opt_age" propid="value" datasetid="ds_cond" columnid="age"/>
  1233. <BindItem id="item29" compid="opt_sexage" propid="value" datasetid="ds_cond" columnid="sexage"/>
  1234. <BindItem id="item15" compid="tar_desccnts" propid="value" datasetid="ds_main_tar_desccnts" columnid="tar_desccnts"/>
  1235. <BindItem id="item30" compid="group2.chk_maddchk05" propid="value" datasetid="ds_cond" columnid="maddchk05"/>
  1236. <BindItem id="item31" compid="group2.chk_maddchk06" propid="value" datasetid="ds_cond" columnid="maddchk06"/>
  1237. <BindItem id="item32" compid="group4.chk_haddchk02" propid="value" datasetid="ds_cond" columnid="haddchk02"/>
  1238. <BindItem id="item33" compid="group4.chk_haddchk03" propid="value" datasetid="ds_cond" columnid="haddchk03"/>
  1239. </Bind>
  1240. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1241. * System Name :
  1242. * Job Name :
  1243. * Creator :
  1244. * Make Date : 2015-11-13
  1245. * Description :
  1246. *---------------------------------------------------------------------------------------
  1247. * Modify Date Modifier Modify Description
  1248. *---------------------------------------------------------------------------------------
  1249. * 2015-11-13 Live Converter TF->XP
  1250. *
  1251. *---------------------------------------------------------------------------------------
  1252. ****************************************************************************************/
  1253. include "com_commonxp::comm_main.xjs";
  1254. include "emr_carecomxp::CareCom.xjs";
  1255. include "emr_carecomxp::ENRSignEngine.xjs";
  1256. include "emr_carerecxp::CareRec.xjs";
  1257. include "emr_carerecxp::SMMNW040.xjs";
  1258. var arErrorCode = new HashArray();
  1259. /******************************************************************
  1260. * Argument :
  1261. * Description : 초기화
  1262. ******************************************************************/
  1263. function SMMNW04000_oninit(obj:Form, e:InitEventInfo)
  1264. {
  1265. frmf_initForm(obj);
  1266. }
  1267. function SMMNW04000_onload(obj:Form, e:LoadEventInfo)
  1268. {
  1269. // 사인모듈 초기화
  1270. Sign.init();
  1271. headChk("headTrue");
  1272. //List 0번째 상태값 설정
  1273. grdf_setRowTypeIcon(grd_recmaster, 0);
  1274. grdf_setRowTypeIcon(grd_recpnt, 0);
  1275. //조회구분
  1276. var sProp1="col=4,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  1277. group5.rdo_recflag.setInitComp(sProp1, ds_chk_recsrchflag, "cdid", "cdnm", "fn_recsrchflag");
  1278. ds_cond.setColumn(0, "recsrchflag", "1^2^3^4");
  1279. group5.rdo_recflag.setCheckAll(true);
  1280. //190701_AYS_칠곡 응급실 표기
  1281. if( sysf_getUserInfo("dutplceinstcd") == "032"){
  1282. group2.chk_maddchk05.text = "응급실 환자";
  1283. group4.chk_haddchk02.text = "응급실 환자";
  1284. }
  1285. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  1286. if (sInstcd == "032"){
  1287. btn_nak.visible = true;
  1288. }
  1289. //fInit();
  1290. this.setTimer(0, 100);
  1291. //환자정보 그리드 sort, checkbox all
  1292. grdf_initGrid(grd_patinfo);
  1293. // 그리드 우클릭 팝업
  1294. frmf_createPopupMenu("pmn_popupMenu", "lf_menu_event", [{id: "dataDel", level: "0", title: "삭제"}]);
  1295. }
  1296. /******************************************************************
  1297. * Argument :
  1298. * Description : popup menu
  1299. ******************************************************************/
  1300. function lf_menu_event(obj:PopupMenu, e:MenuClickEventInfo){
  1301. if(e.id == "dataDel") {
  1302. fDelete();
  1303. }
  1304. }
  1305. /******************************************************************
  1306. * Argument :
  1307. * Description : 구분1 - 일반 checkbox1
  1308. ******************************************************************/
  1309. function fn_recsrchflag(){
  1310. var getData = String(group5.rdo_recflag.getData()).replace(",","^");
  1311. ds_cond.setColumn(0, "recsrchflag", getData);
  1312. if( getData.length == "7" ){
  1313. ds_cond.setColumn(0, "recsrchflagall", "A");
  1314. } else {
  1315. ds_cond.setColumn(0, "recsrchflagall", "N");
  1316. }
  1317. //조회조건 clear
  1318. ds_cond.setColumn(0, "pid", "");
  1319. //환자정보 표시 clear (2011.03.29 Ahn)
  1320. ds_cond.setColumn(0, "patnm", "");
  1321. ds_cond.setColumn(0, "sexage", "");
  1322. ds_cond.setColumn(0, "age", "");
  1323. //환자정보 조회
  1324. fSearchPatList("Srch");
  1325. // 그리드 재구성 (2011.03.30 Ahn)
  1326. fSetPatGrid("ds_main_recgruplist", grd_recmaster, "Exec");
  1327. }
  1328. /******************************************************************
  1329. * Argument :
  1330. * Description : 구분1 - 일반 checkbox1
  1331. ******************************************************************/
  1332. function fn_setRecsrchflag(){
  1333. if(!utlf_isNull(ds_cond.getColumn(0, "recsrchflag"))) {
  1334. var getData = ds_cond.getColumn(0, "recsrchflag").split("^");
  1335. group5.rdo_recflag.setData(getData,null,false);
  1336. }
  1337. }
  1338. /******************************************************************
  1339. * Argument :
  1340. * Description : Head checkbox 설정
  1341. ******************************************************************/
  1342. function headChk(chk){
  1343. if( chk == "headTrue" ){
  1344. grd_patinfo.setCellProperty("Head", 0, "displaytype", "checkbox");
  1345. grd_patinfo.setCellProperty("Head", 0, "edittype", "checkbox");
  1346. grd_patinfo.setCellProperty("Head", 0, "text", "0");
  1347. } else {
  1348. grd_patinfo.setCellProperty("Head", 0, "displaytype", "normal");
  1349. grd_patinfo.setCellProperty("Head", 0, "edittype", "none");
  1350. grd_patinfo.setCellProperty("Head", 0, "text", "");
  1351. }
  1352. }
  1353. /**
  1354. * @group :
  1355. * @ver : 2008.06.27
  1356. * @by : dhkim
  1357. * @---------------------------------------------------
  1358. * @type : function
  1359. * @access : public
  1360. * @desc : 중증도 내역 삭제를 한다
  1361. * @param :
  1362. * @return :
  1363. * @---------------------------------------------------
  1364. */
  1365. function fDelete(){
  1366. var curRow = ds_main_recgruplist.rowposition;
  1367. if( ds_main_recgruplist.getColumn(curRow, "stat") == 'i'){
  1368. ds_main_recgruplist.deleteRow(curRow);
  1369. //grdf_setStatus(grd_recmaster, "D", curRow);
  1370. return;
  1371. }else{
  1372. //20080926 기록자만이 삭제를 할 수 있다.
  1373. var recid = ds_main_recgruplist.getColumn(curRow, "execid");
  1374. var recnm = ds_main_recgruplist.getColumn(curRow, "execnm");
  1375. if( recid != sysf_getUserId()){
  1376. sysf_messageBox('기록을 입력한 등록자( ' + recnm + ' )만 해당 기록내역을 삭제하실 수 있습니다.' , 'E');
  1377. return ;
  1378. }else{
  1379. var msg = sysf_messageBox('삭제를 진행하시면 입력하신 상세내역도 전부 삭제됩니다. 선택하신 중증도 내역을', 'Q001');
  1380. if(msg == 6){
  1381. grdf_setStatus(grd_recmaster, "D", grdf_getSelectedRows(grd_recmaster));
  1382. ds_send.clear();
  1383. ds_main_recgruplist.setColumn(curRow, "stat", 'd');
  1384. var oDsUpdate = grdf_getGridUpdateData(grd_recmaster);
  1385. grdf_setStatusColumn(oDsUpdate, "m"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
  1386. ds_send.copyData(oDsUpdate, true);
  1387. var cRow = ds_main_patinfo.rowposition;
  1388. var pid = ds_main_recgruplist.getColumn(curRow, "pid");
  1389. var orddd = ds_main_patinfo.getColumn(cRow, "indd");//입원일/진료일
  1390. var cretno = ds_main_patinfo.getColumn(cRow, "cretno");//생성번호
  1391. var orddeptcd = ds_main_patinfo.getColumn(cRow, "orddeptcd");//진료과
  1392. var orddrid = ds_main_patinfo.getColumn(cRow, "medispclid");//진료의
  1393. var ioflag = ds_main_patinfo.getColumn(cRow, "ioflag"); //외래/입원구분
  1394. var signno = ds_main_recgruplist.getColumn(curRow, "signno");//인증번호
  1395. /* [각 구분별 기록서식코드]
  1396. * 중증도_일반병동 : 0000002439
  1397. * 중증도_신생아 ICU : 0000002440
  1398. * 중증도_혈액투석 : 0000002441
  1399. * 중증도_중환자실 : 0000002442
  1400. * 중증도_정신과병동 : 0000002444
  1401. * 낙상사정_아동 : 0000002447
  1402. * 낙상사정_성인(Morse Scale) : 0000002449
  1403. * 욕창사정 (Braden Scale) : 0000002450
  1404. */
  1405. var recflag = ds_cond.getColumn(0, 'recflag');
  1406. var clsflag = ds_cond.getColumn(0, 'clsflag');
  1407. var formcd;//기록서식코드
  1408. var formnm;//서식명
  1409. if(clsflag == '1'){
  1410. formcd = '0000002439'; //중증도_일반병동
  1411. formnm = '중증도사정(일반병동)';
  1412. recflag = '1';
  1413. clsflag = '1';
  1414. }else if(clsflag == '2'){
  1415. formcd = '0000002440'; //중증도_신생아 ICU
  1416. formnm = '중증도사정(신생아 ICU)';
  1417. recflag = '1';
  1418. clsflag = '2';
  1419. }else if(clsflag == '5'){
  1420. formcd = '0000002444'; //중증도_정신과병동
  1421. formnm = '중증도사정(정신과병동)';
  1422. recflag = '1';
  1423. clsflag = '5';
  1424. }else if(clsflag == '4' || clsflag == '6' || clsflag == '7'){
  1425. formcd = '0000002442'; //중증도_중환자실
  1426. formnm = '중증도사정(중환자실)';
  1427. recflag = '1';
  1428. clsflag = '4';
  1429. }else if(clsflag == '3'){
  1430. formcd = '0000002441'; //중증도_혈액투석
  1431. formnm = '중증도사정(혈액투석)';
  1432. recflag = '1';
  1433. clsflag = '3';
  1434. }else if(clsflag == '8'){
  1435. formcd = '0000002447'; //낙상사정_아동
  1436. formnm = '낙상위험사정(Humpty Dumpty Scale)';
  1437. recflag = '2';
  1438. clsflag = '1';
  1439. }else if(clsflag == '9'){
  1440. formcd = '0000002449'; //낙상사정_성인(Morse Scale)
  1441. formnm = '낙상위험사정(Morse Scale)'; // 성인 -> Morse Scale (2011.03.17 ahn)
  1442. recflag = '2';
  1443. clsflag = '2';
  1444. }else if(clsflag == '10'){
  1445. formcd = '0000002450'; //욕창
  1446. formnm = '욕창위험사정(Braden Scale)'; // 욕창 -> Braden Scale (2011.04.13 ahn)
  1447. recflag = '3';
  1448. clsflag = '1';
  1449. }
  1450. Sign.certreload = true ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
  1451. // 인증 로직 호출
  1452. if(Sign.signprocess() == true){ // ▶ 전자인증 관련 환자 인적 정보를 보내줌.
  1453. ds_send_signinfo.clear();
  1454. ds_send_signinfo.addColumn("pid", "string", 256);
  1455. ds_send_signinfo.addColumn("orddd", "string", 256);
  1456. ds_send_signinfo.addColumn("cretno", "string", 256);
  1457. ds_send_signinfo.addColumn("signno", "string", 256);
  1458. ds_send_signinfo.addColumn("recdd", "string", 256);
  1459. ds_send_signinfo.addColumn("rectm", "string", 256);
  1460. ds_send_signinfo.addColumn("recsaveflag", "string", 256);
  1461. ds_send_signinfo.addColumn("signflag", "string", 256);
  1462. ds_send_signinfo.addColumn("signgenrflag", "string", 256);
  1463. ds_send_signinfo.addColumn("formcd", "string", 256);
  1464. ds_send_signinfo.addColumn("orddeptcd", "string", 256);
  1465. ds_send_signinfo.addColumn("orddrid", "string", 256);
  1466. ds_send_signinfo.addColumn("signbfcnts", "string", 256);
  1467. ds_send_signinfo.addColumn("signaftcnts", "string", 256);
  1468. ds_send_signinfo.addColumn("screenid", "string", 256);
  1469. ds_send_signinfo.addColumn("certflag", "string", 256);
  1470. var addRow = ds_send_signinfo.addRow();
  1471. ds_send_signinfo.setColumn(addRow, "pid", pid); // 01 등록번호
  1472. ds_send_signinfo.setColumn(addRow, "orddd", orddd); // 02 입원일자(입원,응급)/진료일자(외래)
  1473. ds_send_signinfo.setColumn(addRow, "cretno", cretno); // 03 생성번호
  1474. ds_send_signinfo.setColumn(addRow, "signno", signno); // 04 서명번호(인증번호)
  1475. ds_send_signinfo.setColumn(addRow, "recdd", utlf_getCurrentDate()); // 05 실제 기록이 이루어진 기록일자
  1476. ds_send_signinfo.setColumn(addRow, "rectm", utlf_getCurrentTime()); // 06 실제 기록이 이루어진 기록시간
  1477. ds_send_signinfo.setColumn(addRow, "recsaveflag", "Y"); // 07 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
  1478. ds_send_signinfo.setColumn(addRow, "signflag", "02"); // 08 서명자료구분(01 : 진료, 02 : 간호, 03 : LIS, 04 : 진료지원)
  1479. ds_send_signinfo.setColumn(addRow, "signgenrflag", ioflag); // 09 외래/입원구분(코드정의서 M0010 참조)
  1480. ds_send_signinfo.setColumn(addRow, "formcd", formcd); // 10 각 기록지별 서식코드 (emr.mrfmform)
  1481. ds_send_signinfo.setColumn(addRow, "orddeptcd", orddeptcd); // 11 진료부서코드
  1482. ds_send_signinfo.setColumn(addRow, "orddrid", orddrid); // 12 진료의사ID
  1483. ds_send_signinfo.setColumn(addRow, "signbfcnts", Sign.signedInfos[1]); // 13 ▶ 인증할 데이터 정보(미기록 노드 제거된 정보)
  1484. ds_send_signinfo.setColumn(addRow, "signaftcnts", Sign.signedInfos[2]); // 14 ▶ 공인인증 처리후 데이터
  1485. ds_send_signinfo.setColumn(addRow, "screenid", frmf_getScreenID()); // 15 ▶ 화면아이디
  1486. ds_send_signinfo.setColumn(addRow, "certflag", "C"); // 16 ▶ 인증여부( T : 임시저장, C : 인증저장)
  1487. } else {
  1488. return ;
  1489. }
  1490. var oParam = {};
  1491. oParam.id = "TXMNW04001";
  1492. oParam.service = "carerecapp.AsesRec";
  1493. oParam.method = "reqExeSerDiagGrupInfo";
  1494. oParam.inds = "cond=ds_cond recMaster=ds_send recDetail=ds_main_recdetailgruplist signinfo=ds_send_signinfo";
  1495. oParam.outds = "ds_hidden_hiddeninfo=retdata";
  1496. oParam.async = false;
  1497. oParam.callback = "cf_TXMNW04001";
  1498. tranf_submit(oParam);
  1499. if( arErrorCode.pop("TXMNW04001") < 0 ){
  1500. sysf_messageBox('중증도 내역의 삭제를', 'E009');
  1501. return;
  1502. }else{
  1503. //중증도조회
  1504. var patRow = ds_main_patinfo.rowposition;
  1505. fSearchRecMaster(patRow);
  1506. }
  1507. }else if(msg == 7){
  1508. return;
  1509. }
  1510. }
  1511. }
  1512. }
  1513. function cf_TXMNW04001(sSvcId, nErrorCode, sErrorMsg) {
  1514. arErrorCode.push(sSvcId, nErrorCode);
  1515. }
  1516. /******************************************************************
  1517. * Argument :
  1518. * Description : Room combo event
  1519. ******************************************************************/
  1520. function group5_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1521. {
  1522. //조회조건 clear
  1523. ds_cond.setColumn(0, 'pid', '');
  1524. ds_cond.setColumn(0, 'roomcd', '');
  1525. //환자정보 표시 clear (2011.03.29 Ahn)
  1526. ds_cond.setColumn(0, 'patnm', '');
  1527. ds_cond.setColumn(0, 'sexage', '');
  1528. ds_cond.setColumn(0, 'age', '');
  1529. // 조회구분 초기화
  1530. ds_cond.setColumn(0, "recsrchflag", "1^2^3^4");
  1531. // 응급실인 경우 (2011.03.15 Ahn)
  1532. fGetWardChngInfo("N");
  1533. var wardcd = "";
  1534. if(eERFLAG == "Y"){
  1535. //선택된 병동에 따라 중증도/낙상/욕창 구분을 default선택한다.
  1536. wardcd = ds_cond.getColumn(0, "wardcd");
  1537. fSelectDefaultRdoCond(wardcd);
  1538. //병동에 해당되는 병실검색
  1539. fGetRoom();
  1540. group5.cmb_room.index = 0;
  1541. //cmb_room.value = model.getValue("/root/hidden/roomcdgrup/roomcdgruplist[1]/roomcd");
  1542. //선택한 병실에 해당하는 환자리스트 조회
  1543. fGetCareComPatList(group5.cmb_ward.value, group5.cmb_room.value, group5.cmb_zone.value);
  1544. //그리드에 환자정보를 조회
  1545. fSearchPatList();
  1546. //model.setFocus("cmb_erpat");
  1547. }else{
  1548. //내환자 세팅 조회
  1549. fmisetting();
  1550. //선택된 병동에 따라 중증도/낙상/욕창 구분을 default선택한다.
  1551. wardcd = ds_cond.getColumn(0, "wardcd");
  1552. fSelectDefaultRdoCond(wardcd);
  1553. //병동에 해당되는 병실검색
  1554. fGetRoom();
  1555. group5.cmb_room.index = 0;
  1556. // 환자리스트 초기화
  1557. ds_data_patientgruplist.clearData();
  1558. // model.makeNode("/root/hidden/patientgrup/patientgruplist/patientnm");
  1559. // model.makeNode("/root/hidden/patientgrup/patientgruplist/pid");
  1560. //그리드에 환자정보를 조회
  1561. fSearchPatList();
  1562. group5.cmb_room.setFocus();
  1563. }
  1564. }
  1565. /******************************************************************
  1566. * Argument :
  1567. * Description : Room combo2 (cmb_zone) event
  1568. ******************************************************************/
  1569. function group5_cmb_zone_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1570. {
  1571. //조회조건 clear
  1572. ds_cond.setColumn(0, 'pid', '');
  1573. //환자정보 표시 clear (2011.03.29 Ahn)
  1574. ds_cond.setColumn(0, 'patnm', '');
  1575. ds_cond.setColumn(0, 'sexage', '');
  1576. ds_cond.setColumn(0, 'age', '');
  1577. // 응급실정보 추가 (2011.03.15 Ahn)
  1578. fGetCareComPatList(ds_cond.getColumn(0, "wardcd"), ds_cond.getColumn(0, "roomcd"), ds_cond.getColumn(0, "zonecd"));
  1579. //그리드에 환자정보를 조회
  1580. fSearchPatList();
  1581. }
  1582. /******************************************************************
  1583. * Argument :
  1584. * Description : Room combo2 (cmb_room) event
  1585. ******************************************************************/
  1586. function group5_cmb_room_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1587. {
  1588. //조회조건 clear
  1589. ds_cond.setColumn(0, 'pid', '');
  1590. //환자정보 표시 clear (2011.03.29 Ahn)
  1591. ds_cond.setColumn(0, 'patnm', '');
  1592. ds_cond.setColumn(0, 'sexage', '');
  1593. ds_cond.setColumn(0, 'age', '');
  1594. //선택한 병실에 해당하는 환자리스트 조회
  1595. //fGetPatient();
  1596. //그리드에 환자정보를 조회
  1597. fSearchPatList();
  1598. }
  1599. /******************************************************************
  1600. * Argument :
  1601. * Description : Room combo3 (cmb_erpat) event
  1602. ******************************************************************/
  1603. function group5_cmb_erpat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1604. {
  1605. //그리드에 환자정보를 조회
  1606. ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
  1607. ds_cond.addColumn("copyexecdd", "string", 256);
  1608. ds_cond.setColumn(0, "copyexecdd",utlf_getCurrentDate());
  1609. fSearchPatList();
  1610. }
  1611. /******************************************************************
  1612. * Argument :
  1613. * Description : Room combo3 (cmb_pid) event
  1614. ******************************************************************/
  1615. function group5_cmb_pid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1616. {
  1617. //그리드에 환자정보를 조회
  1618. ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
  1619. ds_cond.addColumn("copyexecdd", "string", 256);
  1620. ds_cond.setColumn(0, "copyexecdd",utlf_getCurrentDate());
  1621. fSearchPatList();
  1622. }
  1623. /******************************************************************
  1624. * Argument :
  1625. * Description : 내환자 combo (cmb_settingrn) event
  1626. ******************************************************************/
  1627. function group5_cmb_settingrn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1628. {
  1629. //********[미구현내역]*********
  1630. //내환자세팅한 간호사 선택시 해당 환자정보 조회할것
  1631. var settingid = ds_cond.getColumn(0, "settingrnid");
  1632. //환자정보 조회
  1633. fSearchPatList();
  1634. }
  1635. /******************************************************************
  1636. * Argument :
  1637. * Description : 전체 checkbox event
  1638. ******************************************************************/
  1639. function group5_rdo_recflagAll_onclick(obj:CheckBox, e:ClickEventInfo)
  1640. {
  1641. var all = ds_cond.getColumn(0, "recsrchflagall");
  1642. if( all == "A" ){
  1643. group5.rdo_recflag.setCheckAll(true);
  1644. ds_cond.setColumn(0, "recsrchflag", "1^2^3^4^");
  1645. } else {
  1646. group5.rdo_recflag.setCheckAll(false);
  1647. ds_cond.setColumn(0, "recsrchflag", "");
  1648. }
  1649. //조회조건 clear
  1650. ds_cond.setColumn(0, "pid", "");
  1651. //환자정보 표시 clear (2011.03.29 Ahn)
  1652. ds_cond.setColumn(0, "patnm", '');
  1653. ds_cond.setColumn(0, "sexage", '');
  1654. ds_cond.setColumn(0, "age", '');
  1655. //환자정보 조회
  1656. fSearchPatList("Srch");
  1657. // 그리드 재구성 (2011.03.30 Ahn)
  1658. fSetPatGrid("ds_main_recgruplist", grd_recmaster, "Exec");
  1659. }
  1660. /******************************************************************
  1661. * Argument :
  1662. * Description : 중증도구분 radio event
  1663. ******************************************************************/
  1664. function rdo_clsflaga_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1665. {
  1666. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  1667. ds_code_codelist.filter("cdgrupid=='T98' && cdid=='"+sysf_getUserInfo("dutplcecd")+"'");
  1668. //var sDutplcdcd = model.getValue("/root/code/codeinfo/codelist[cdgrupid = 'T49' and cdnm = '708병동']/cdid");
  1669. // 환자정보 체크 해제
  1670. //grd_patinfo.fixedcellischeck(0, 0) = false;
  1671. // 전체 체크 해제
  1672. ds_cond.setColumn(0, 'recsrchflagall', "");
  1673. // 성공실패 카운트 초기화
  1674. grp_allsign.cap_succnt.value = 0;
  1675. grp_allsign.cap_failcnt.value = 0;
  1676. grp_allsign.cap_totcnt.value = 0;
  1677. //일괄 저장버튼 활성화
  1678. if(sInstcd == '031'){
  1679. if (ds_code_codelist.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
  1680. grp_allsign.visible = true;
  1681. }
  1682. } else {
  1683. grp_allsign.visible = false;
  1684. }
  1685. ds_code_codelist.filter("");
  1686. //그리드에 환자정보를 조회
  1687. ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
  1688. ds_cond.addColumn("copyexecdd", "string", 256);
  1689. ds_cond.setColumn(0, 'copyexecdd', utlf_getCurrentDate());
  1690. patReSrch("Sel"); // 해당환자 재조회
  1691. }
  1692. /******************************************************************
  1693. * Argument :
  1694. * Description : 낙상위험사정구분 radio event
  1695. ******************************************************************/
  1696. function rdo_clsflagb_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1697. {
  1698. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  1699. ds_hidden_codeinfo.copyData(ds_code_codelist);
  1700. ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid =='" + sysf_getUserInfo("dutplcecd") + "'");
  1701. if( Number(ds_cond.getColumn(0, "age")) < 15 ){
  1702. if( ds_cond.getColumn(0, "clsflag") == "9" ){
  1703. sysf_messageBox("낙상 위험 사정은 15세 미만 - Humpty Dumpty scale을 사용해야 합니다.","E");
  1704. ds_cond.setColumn(0, "clsflag","8");
  1705. }
  1706. }else{
  1707. if( ds_cond.getColumn(0, "clsflag") == "8" ){
  1708. sysf_messageBox("낙상 위험 사정은 15세 이상 - Morse scale을 사용해야 합니다.","E");
  1709. ds_cond.setColumn(0, "clsflag", "9");
  1710. }
  1711. }
  1712. // 환자정보 체크 해제
  1713. // grd_patinfo.fixedcellischeck(0, 0) = false;
  1714. // 전체 체크 해제
  1715. ds_cond.setColumn(0, "recsrchflagall", "");
  1716. // 성공실패 카운트 초기화
  1717. grp_allsign.cap_succnt.value = 0;
  1718. grp_allsign.cap_failcnt.value = 0;
  1719. grp_allsign.cap_totcnt.value = 0;
  1720. // 일괄 저장 버튼 해제
  1721. if(sInstcd == '031'){
  1722. if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
  1723. grp_allsign.visible = true;
  1724. }
  1725. } else {
  1726. grp_allsign.visible = false;
  1727. }
  1728. //그리드에 환자정보를 조회
  1729. ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
  1730. ds_cond.addColumn("copyexecdd", "string", 256);
  1731. ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
  1732. patReSrch("Sel"); // 해당환자 재조회
  1733. }
  1734. /******************************************************************
  1735. * Argument :
  1736. * Description : 욕창위험사정구분 radio event
  1737. ******************************************************************/
  1738. function rdo_clsflagc_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  1739. {
  1740. ds_cond.setColumn(0, "clsflag", "10");
  1741. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  1742. //var node = instance1.selectNodes("/root/code/codeinfo/codelist[cdgrupid = 'T98' and cdid='" + getUserInfo("dutplcecd") + "']");
  1743. ds_hidden_codeinfo.clear();
  1744. ds_hidden_codeinfo.copyData(ds_code_codelist);
  1745. ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid=='" + sysf_getUserInfo("dutplcecd") + "'");
  1746. // 환자정보 체크 해제
  1747. // grd_patinfo.fixedcellischeck(0, 0) = false;
  1748. // 전체 체크 해제
  1749. ds_cond.setColumn(0, "recsrchflagall", "");
  1750. // 성공실패 카운트 초기화
  1751. grp_allsign.cap_succnt.value = 0;
  1752. grp_allsign.cap_failcnt.value = 0;
  1753. grp_allsign.cap_totcnt.value = 0;
  1754. //일괄 저장버튼 활성화
  1755. if(sInstcd == '031'){
  1756. if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
  1757. grp_allsign.visible = true;
  1758. }
  1759. } else {
  1760. grp_allsign.visible = false;
  1761. }
  1762. //그리드에 환자정보를 조회
  1763. ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
  1764. ds_cond.addColumn("copyexecdd", "string", 256);
  1765. ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
  1766. //fSearchPatList("Sel");
  1767. patReSrch("Sel"); // 해당환자 재조회
  1768. }
  1769. /******************************************************************
  1770. * Argument :
  1771. * Description : 통증위험사정구분 radio event
  1772. ******************************************************************/
  1773. function rdo_clsflagd_onitemclick(obj:Radio, e:RadioMouseEventInfo)
  1774. {
  1775. sysf_messageBox('통증관리기록 메뉴를 사용하십시오', 'I');
  1776. // 일괄 저장 버튼 해제
  1777. grp_allsign.btn_AllSave.visible = false;
  1778. }
  1779. /******************************************************************
  1780. * Argument :
  1781. * Description : 조회 button event
  1782. ******************************************************************/
  1783. function group5_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  1784. {
  1785. //조회조건 clear
  1786. //debugger;
  1787. ds_cond.setColumn(0, 'pid', '');
  1788. //환자정보 표시 clear (2011.03.29 Ahn)
  1789. ds_cond.setColumn(0, 'patnm', '');
  1790. ds_cond.setColumn(0, 'sexage', '');
  1791. ds_cond.setColumn(0, 'age', '');
  1792. //환자정보 조회
  1793. fSearchPatList("Srch");
  1794. }
  1795. /******************************************************************
  1796. * Argument :
  1797. * Description : 환자정보 event
  1798. ******************************************************************/
  1799. function grd_patinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1800. {
  1801. //상단정보 세팅 20080820
  1802. var cRow = ds_main_patinfo.rowposition;
  1803. if( cRow > -1){
  1804. //debugger;
  1805. var condparam = "";
  1806. if( ds_main_patinfo.getColumn(cRow, "dschdd") == "99991231"){ //퇴원환자가 아닌경우
  1807. if( ds_main_patinfo.getColumn(cRow, "ioflag") =="O" ) {
  1808. //외래환자 상단정보 등록
  1809. condparam = "O"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1810. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1811. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1812. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1813. + "▦" + utlf_getCurrentDate();
  1814. }else if( ds_main_patinfo.getColumn(cRow, "ioflag") =="E" ) {
  1815. //응급환자 상단정보 등록 (2011.03.15 ahn)
  1816. condparam = "E"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1817. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1818. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1819. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1820. + "▦" + utlf_getCurrentDate();
  1821. }else {
  1822. //재원환자 상단정보 등록
  1823. condparam = "I"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1824. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1825. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1826. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1827. + "▦" + utlf_getCurrentDate();
  1828. }
  1829. }else { //퇴원환자인 경우
  1830. if( ds_main_patinfo.getColumn(cRow, "ioflag") =="O" ) {
  1831. //외래환자 상단정보 등록
  1832. condparam = "O"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1833. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1834. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1835. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1836. + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
  1837. }else if( ds_main_patinfo.getColumn(cRow, "ioflag") =="E" ) {
  1838. //응급환자 상단정보 등록 (2011.03.15 ahn)
  1839. condparam = "E"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1840. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1841. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1842. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1843. + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
  1844. }else {
  1845. //재원환자 상단정보 등록
  1846. condparam = "I"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
  1847. + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
  1848. + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
  1849. + "▦" + sysf_getUserInfo("dutplceinstcd")
  1850. + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
  1851. }
  1852. }
  1853. // 환자정보 표시 추가 (2011.03.29 Ahn)
  1854. ds_cond.setColumn(0, "pid", ds_main_patinfo.getColumn(cRow, "pid"));
  1855. ds_cond.setColumn(0, "patnm", ds_main_patinfo.getColumn(cRow, "hngnm"));
  1856. ds_cond.setColumn(0, "sexage", ds_main_patinfo.getColumn(cRow, "sexage"));
  1857. ds_cond.setColumn(0, "age", ds_main_patinfo.getColumn(cRow, "age"));
  1858. appf_initPatientInfo(condparam);
  1859. //frmf_setParameter("condparam", condparam);
  1860. //frmf_modal("SPMMO08900", "SPMMO08900", null, null, null, null, null, null, null, null, null, null, "M");
  1861. // 상단정보 세팅
  1862. var sPamInfo = sysf_getGlobalVariable("paminfo");
  1863. if ( !utlf_isNull(sPamInfo) ){
  1864. dsf_setCSVToDs("ds_main_paminfo",sPamInfo);
  1865. if( utlf_isNull(ds_main_paminfo.getColumnInfo("sectioncd")) ){
  1866. ds_main_paminfo.addColumn("sectioncd", "string");
  1867. }
  1868. }
  1869. // 조회구분 중 하나라도 선택된 경우
  1870. if( !utlf_isNull(ds_cond.getColumn(0, "recsrchflag")) ){
  1871. /*
  1872. // 통증만 선택된 경우
  1873. if(model.getValue("/root/cond/recsrchflag") == 4) {
  1874. messageBox('통증관리기록 메뉴를 사용하십시오', 'I');
  1875. //modal("SMMNW04800",1); //통증관리기록 화면 호출
  1876. model.refresh();
  1877. //alert("1");
  1878. return;
  1879. }
  1880. */
  1881. //중증도/낙상/욕창 내역 조회(grd_recmaster)
  1882. fSearchRecMaster(cRow);
  1883. //중증도 상세점수조회
  1884. //fSearchRecPnt(); fSearchRecMaster 에 포함되어있음.
  1885. }else {
  1886. sysf_messageBox('조회구분 중 한개 이상 필수 선택', 'I009');
  1887. return;
  1888. }
  1889. if(ds_cond.getColumn(0, "clsflag") == "8" || ds_cond.getColumn(0, "clsflag") =="9"){
  1890. frmf_inputEnterKey("rdo_clsflagb", "onitemchanged", new ItemChangeEventInfo);
  1891. }
  1892. }
  1893. }
  1894. /******************************************************************
  1895. * Argument :
  1896. * Description : 환자별 중증도/낙상/용창/통증 사정 event
  1897. ******************************************************************/
  1898. function grd_recmaster_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1899. {
  1900. //상세내역이 수정된 경우는 상세내역을 저장한후 row를 이동시킨다.
  1901. var cRow = ds_main_recgruplist.rowposition;
  1902. if( cRow > -1 ){
  1903. var isEdit = ds_main_recpntlist.getRowType(0);
  1904. //trace("isEdit : " + isEdit);
  1905. if(Number(isEdit) == 4){
  1906. ds_main_recpntlist.rowposition = recMCurRow;
  1907. //alert('상세네역에 수정된 사항이 있습니다. 선택하신 항목으로의 이동을 계속진행하시겠습니까? 예, 아니오.');
  1908. var msg = sysf_messageBox('상세내역에 수정된 사항이 있습니다. 선택하신 항목으로의 이동을 ', 'Q003');//예(6)일경우 이동, 아니오(7)일경우 리턴
  1909. if(msg == 7){
  1910. //fSave();
  1911. ds_main_recpntlist.rowposition = recMCurRow; //이전항목으로 row를 다시 이동시킴
  1912. }else if(msg == 6){
  1913. //중증도점수그리드 상태값 제거
  1914. ds_main_recpntlist.setRowType(0, 1);
  1915. //중증도 마스터그리드 상태값 제거
  1916. if( ds_main_recgruplist.getRowType(recMCurRow) != -1 ){//상태가 신규상태가 아니면 u로 변경
  1917. grdf_setStatus(grd_recmaster, "", recMCurRow);
  1918. //ds_main_recgruplist.setRowType(recMCurRow, 1);
  1919. ds_main_recgruplist.setColumn(recMCurRow, "stat", "-");
  1920. }
  1921. if( instUseYN == "Y" && grp_agechk.visible == true ){
  1922. ds_cond.setColumn(0, "agechk", ds_main_recgruplist.getColumn(recMCurRow, "agechk"));
  1923. }else {
  1924. ds_cond.setColumn(0, "agechk", "N");
  1925. }
  1926. ds_cond.setColumn(0, "execdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //저장할수행일자
  1927. ds_cond.setColumn(0, "exectm", ds_main_recgruplist.getColumn(cRow, "exectm")); //저장할수행시간
  1928. ds_cond.setColumn(0, "copyexecdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //복사할수행일자(중증도상세내역 구분)
  1929. //중증도 상세점수조회
  1930. fSearchRecPnt("Sel");
  1931. }
  1932. }else{
  1933. ds_cond.setColumn(0, "copyexecdd", "");
  1934. ds_cond.setColumn(0, "copyexecdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //복사할수행일자(중증도상세내역 구분)
  1935. ds_cond.setColumn(0, "execdd", ds_main_recgruplist.getColumn(cRow, "execdd"));
  1936. ds_cond.setColumn(0, "exectm", ds_main_recgruplist.getColumn(cRow, "exectm"));
  1937. if( instUseYN == "Y" && grp_agechk.visible == true ){
  1938. ds_cond.setColumn(0, "agechk", ds_main_recgruplist.getColumn(cRow, "agechk"));
  1939. } else {
  1940. ds_cond.setColumn(0, "agechk", "N");
  1941. }
  1942. //중증도 상세점수조회
  1943. fSearchRecPnt("Sel");
  1944. }
  1945. }
  1946. }
  1947. /****************************************************************************
  1948. * Argument :
  1949. * Description : 환자별 중증도/낙상/용창/통증 오른쪽 button event
  1950. *************************************************((((((((((*****************/
  1951. function grd_recmaster_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1952. {
  1953. recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
  1954. if(obj.rowcount > e.row && e.row > -1){
  1955. grdf_setSelectedCell(obj, e);
  1956. //pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  1957. }
  1958. //return true;
  1959. }
  1960. /******************************************************************
  1961. * Argument :
  1962. * Description : 중증도 상세내역 event
  1963. ******************************************************************/
  1964. function grd_recdetail_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1965. {
  1966. var curCol = grd_recdetail.currentcol;
  1967. if( curCol == 3 || curCol == 4 ) fHistDescs(); // 분류도구 설명
  1968. //else
  1969. }
  1970. /******************************************************************
  1971. * Argument :
  1972. * Description : 중증도 상세내역 update event
  1973. ******************************************************************/
  1974. function ds_main_recdetailgruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1975. {
  1976. //trace("aaaa");
  1977. if( e.columnid == "flag" || e.columnid == "timsval"){
  1978. var selCol = grd_recdetail.currentcol;
  1979. var selRow = ds_main_recdetailgruplist.rowposition;
  1980. var _supcd = ds_main_recdetailgruplist.getColumn(selRow, "supcd");
  1981. var selMstRow = ds_main_recgruplist.rowposition;
  1982. if(ds_main_recgruplist.getColumn(ds_main_recgruplist.rowposition, "execdd") < "20190402" ){
  1983. if( (ds_main_recgruplist.getColumn(selMstRow,"recflag") =="2" && ds_main_recgruplist.getColumn(selMstRow,"clsflag") =="1") ||
  1984. (ds_main_recgruplist.getColumn(selMstRow,"recflag") =="2" && ds_main_recgruplist.getColumn(selMstRow,"clsflag") =="2")
  1985. ){
  1986. if(ds_cond.getColumn(0,"maddchk01") =="Y" ||
  1987. ds_cond.getColumn(0,"maddchk02") =="Y" ||
  1988. //ds_cond.getColumn(0,"maddchk03") =="Y" ||
  1989. //ds_cond.getColumn(0,"maddchk04") =="Y" ||
  1990. ds_cond.getColumn(0,"maddchk05") =="Y" ||
  1991. ds_cond.getColumn(0,"maddchk06") =="Y" ||
  1992. ds_cond.getColumn(0,"haddchk") =="Y" ||
  1993. ds_cond.getColumn(0,"haddchk01") =="Y" ||
  1994. ds_cond.getColumn(0,"haddchk02") =="Y" ||
  1995. ds_cond.getColumn(0,"haddchk03") =="Y"
  1996. ){
  1997. sysf_messageBox("기타 항목 선택되어있어 낙상위험 평가도구 점수를 사정할수 없습니다.","I");
  1998. fChkTF("N", "Y");
  1999. //ds_main_recdetailgruplist.setColumn(selRow, "flag","N");
  2000. }
  2001. //return;
  2002. }
  2003. }
  2004. //횟수값이 변경에 따른 입력여부가 N이면 값을 원래 값으로 리턴
  2005. fChangeTimsValValue(selRow, selCol, _supcd);
  2006. //체크박스 변경에 따른 선택된 같은 그룹내의 체크박스 값을 변경한다.
  2007. fChangeCheckboxValue(selRow, selCol, _supcd);
  2008. //상세내역 그리드의 그리드 상태값 변경
  2009. fChangeGridStat();
  2010. }
  2011. }
  2012. /******************************************************************
  2013. * Argument :
  2014. * Description : bool_agechk checkbox event
  2015. ******************************************************************/
  2016. function grp_agechk_bool_agechk_onclick(obj:CheckBox, e:ClickEventInfo)
  2017. {
  2018. fJCISettingAgeChk(ds_cond.getColumn(0, "agechk"));
  2019. }
  2020. /******************************************************************
  2021. * Argument :
  2022. * Description : 일괄 button event
  2023. ******************************************************************/
  2024. function grp_allsign_btn_AllSave_onclick(obj:Button, e:ClickEventInfo)
  2025. {
  2026. //중증도 상세내역 및 마스터기록내역 저장
  2027. fAllSignSave();
  2028. }
  2029. /******************************************************************
  2030. * Argument :
  2031. * Description : 인증저장 button event
  2032. ******************************************************************/
  2033. function button4_onclick(obj:Button, e:ClickEventInfo)
  2034. {
  2035. fSignSave();
  2036. }
  2037. /******************************************************************
  2038. * Argument :
  2039. * Description : 현재일시 button event
  2040. ******************************************************************/
  2041. function button1_onclick(obj:Button, e:ClickEventInfo)
  2042. {
  2043. ipt_indate.value = utlf_getCurrentDate();// 기준일에 현재날짜(디폴트);
  2044. ipt_time.value = utlf_getCurrentDateTime().substring(9,13);//현재 시간
  2045. }
  2046. /******************************************************************
  2047. * Argument :
  2048. * Description : 확대 button event
  2049. ******************************************************************/
  2050. function btn_sizectr_onclick(obj:Button, e:ClickEventInfo)
  2051. {
  2052. if ( btn_sizectr.text == "축소") {
  2053. btn_sizectr.text = "확대"; //축소되었으므로 확대시켜야한다.
  2054. grd_patinfo.position.width = "335"
  2055. //bolall.attribute("left") = "222"; //--(20081216)
  2056. } else {
  2057. btn_sizectr.text = "축소"; //확대되었으므로 축소시켜야한다.
  2058. grd_patinfo.position.width = "690"
  2059. }
  2060. }
  2061. /******************************************************************
  2062. * Argument :
  2063. * Description : 집중치료실 입실환자 checkbox event
  2064. ******************************************************************/
  2065. function group2_chk_maddchk01_onclick(obj:CheckBox, e:ClickEventInfo)
  2066. {
  2067. if( ds_cond.getColumn(0, "maddchk01") == "Y" ){
  2068. ds_cond.setColumn(0, "maddchk99", "");
  2069. } else {
  2070. ds_cond.setColumn(0, "maddchk01", "");
  2071. }
  2072. fChkTF("N", "Y");
  2073. /*
  2074. if(ds_cond.getColumn(0, "maddchk01") =="Y"){
  2075. fChkTrue();
  2076. }else{
  2077. fChkFalse();
  2078. }
  2079. */
  2080. /*
  2081. if(ds_cond.getColumn(0, "maddchk01") =="Y"){
  2082. if( ds_main_recdetailgruplist.rowcount > 0){
  2083. for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
  2084. trace(ds_main_recdetailgruplist.getColumn(i,"basepnt"));
  2085. if( !utlf_isNull(ds_main_recdetailgruplist.getColumn(i,"basepnt")) ){
  2086. if(ds_main_recdetailgruplist.getColumn(i,"basepnt") == 0){
  2087. ds_main_recdetailgruplist.setColumn(i,"flag","Y");
  2088. }else{
  2089. ds_main_recdetailgruplist.setColumn(i,"flag","N");
  2090. }
  2091. }
  2092. ds_main_recdetailgruplist.setColumn(i, "chkTrue", "1");
  2093. }
  2094. }
  2095. }else{
  2096. if( ds_main_recdetailgruplist.rowcount > 0){
  2097. for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
  2098. ds_main_recdetailgruplist.setColumn(i,"flag","N");
  2099. ds_main_recdetailgruplist.setColumn(i, "chkTrue", "0");
  2100. }
  2101. }
  2102. }
  2103. */
  2104. }
  2105. /******************************************************************
  2106. * Argument :
  2107. * Description : 만 70세 이상 환자 checkbox event
  2108. ******************************************************************/
  2109. function group2_chk_maddchk02_onclick(obj:CheckBox, e:ClickEventInfo)
  2110. {
  2111. if( ds_cond.getColumn(0, "maddchk02") == "Y" ){
  2112. ds_cond.setColumn(0, "maddchk99", "");
  2113. } else {
  2114. ds_cond.setColumn(0, "maddchk02", "");
  2115. }
  2116. fChkTF("N", "Y");
  2117. }
  2118. /******************************************************************
  2119. * Argument :
  2120. * Description : 진정 및 이완 약물 투여 환자 checkbox event
  2121. ******************************************************************/
  2122. function group2_chk_maddchk03_onclick(obj:CheckBox, e:ClickEventInfo)
  2123. {
  2124. if( ds_cond.getColumn(0, "maddchk03") == "Y" ){
  2125. ds_cond.setColumn(0, "maddchk99", "");
  2126. } else {
  2127. ds_cond.setColumn(0, "maddchk03", "");
  2128. }
  2129. fChkTF("N", "Y");
  2130. }
  2131. /******************************************************************
  2132. * Argument :
  2133. * Description : 음주 환자 checkbox event
  2134. ******************************************************************/
  2135. function group2_chk_maddchk04_onclick(obj:CheckBox, e:ClickEventInfo)
  2136. {
  2137. if( ds_cond.getColumn(0, "maddchk04") == "Y" ){
  2138. ds_cond.setColumn(0, "maddchk99", "");
  2139. } else {
  2140. ds_cond.setColumn(0, "maddchk04", "");
  2141. }
  2142. fChkTF("N", "Y");
  2143. }
  2144. /******************************************************************
  2145. * Argument :
  2146. * Description : 해당없음 checkbox event
  2147. ******************************************************************/
  2148. function group2_chk_maddchk99_onclick(obj:CheckBox, e:ClickEventInfo)
  2149. {
  2150. if( ds_cond.getColumn(0, "maddchk99") == "Y" ){
  2151. ds_cond.setColumn(0, "maddchk01", "");
  2152. ds_cond.setColumn(0, "maddchk02", "");
  2153. ds_cond.setColumn(0, "maddchk03", "");
  2154. ds_cond.setColumn(0, "maddchk04", "");
  2155. } else {
  2156. ds_cond.setColumn(0, "maddchk99", "");
  2157. }
  2158. fChkTF("N", "Y");
  2159. }
  2160. /******************************************************************
  2161. * Argument :
  2162. * Description : 집중치료실 입실 환자 checkbox event
  2163. ******************************************************************/
  2164. function group4_chk_haddchk01_onclick(obj:CheckBox, e:ClickEventInfo)
  2165. {
  2166. if( ds_cond.getColumn(0, "haddchk01") == "N" ){
  2167. ds_cond.setColumn(0, "haddchk01", "");
  2168. }
  2169. fChkTF("N", "Y");
  2170. }
  2171. /******************************************************************
  2172. * Argument :
  2173. * Description : 3세 미만 소아 checkbox event
  2174. ******************************************************************/
  2175. function group4_chk_haddchk_onclick(obj:CheckBox, e:ClickEventInfo)
  2176. {
  2177. if( ds_cond.getColumn(0, "haddchk") == "N" ){
  2178. ds_cond.setColumn(0, "haddchk", "");
  2179. }
  2180. fChkTF("N", "Y");
  2181. }
  2182. /******************************************************************
  2183. * Argument :
  2184. * Description : 환자정보 checkbox event
  2185. ******************************************************************/
  2186. function bool3_onclick(obj:CheckBox, e:ClickEventInfo)
  2187. {
  2188. var multicheck = ds_cond.getColumn(0, "patmulti");
  2189. var xPatInfoListPath = "/root/main/patinfo/patlist";
  2190. var nodeCnt = ds_main_patinfo.rowcount;
  2191. //alert("환자수 : " + nodeCnt);
  2192. for( var i = 0; i < nodeCnt; i++ ){
  2193. if( multicheck == "Y" ){
  2194. ds_main_patinfo.setColumn(i, "chk", "Y");
  2195. }else{
  2196. ds_main_patinfo.setColumn(i, "chk", "N");
  2197. }
  2198. }
  2199. }
  2200. function caption8_onclick(obj:Static, e:ClickEventInfo)
  2201. {
  2202. var sInstcd = sysf_getUserInfo("dutplceinstcd");
  2203. ds_hidden_codeinfo.copyData(ds_code_codelist);
  2204. ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid =='" + sysf_getUserInfo("dutplcecd") + "'");
  2205. if( Number(ds_cond.getColumn(0, "age")) < 15 ){
  2206. ds_cond.setColumn(0, "clsflag", "8");
  2207. }else{
  2208. ds_cond.setColumn(0, "clsflag", "9");
  2209. }
  2210. // 환자정보 체크 해제
  2211. // grd_patinfo.fixedcellischeck(0, 0) = false;
  2212. // 전체 체크 해제
  2213. ds_cond.setColumn(0, "recsrchflagall", "");
  2214. // 성공실패 카운트 초기화
  2215. grp_allsign.cap_succnt.value = 0;
  2216. grp_allsign.cap_failcnt.value = 0;
  2217. grp_allsign.cap_totcnt.value = 0;
  2218. // 일괄 저장 버튼 해제
  2219. if(sInstcd == '031'){
  2220. if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
  2221. grp_allsign.visible = true;
  2222. }
  2223. } else {
  2224. grp_allsign.visible = false;
  2225. }
  2226. //그리드에 환자정보를 조회
  2227. ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
  2228. ds_cond.addColumn("copyexecdd", "string", 256);
  2229. ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
  2230. patReSrch("Sel"); // 해당환자 재조회
  2231. }
  2232. function grd_recmaster_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  2233. {
  2234. recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
  2235. }
  2236. function SMMNW04000_ontimer(obj:Form, e:TimerEventInfo)
  2237. {
  2238. if( e.timerid == 0 ){
  2239. this.killTimer(0);
  2240. fInit();
  2241. }
  2242. }
  2243. function ipt_time_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  2244. {
  2245. /*
  2246. var sPosttext = utlf_trim((e.posttext).replace(":", ""));
  2247. if( !utlf_isNull(sPosttext.substring(0, 1)) ){
  2248. if( eval(sPosttext.substring(0, 1)) > 2 ){
  2249. obj.value = "";
  2250. obj.setCaretPos(0);
  2251. return;
  2252. }
  2253. }
  2254. if( !utlf_isNull(sPosttext.substring(1, 2)) ){
  2255. if( eval(sPosttext.substring(0, 1)) > 1 ){
  2256. if( eval(sPosttext.substring(1, 2)) > 3 ){
  2257. obj.value = sPosttext.substring(0, 1);
  2258. obj.setCaretPos(1);
  2259. return;
  2260. }
  2261. }
  2262. }
  2263. if( !utlf_isNull(sPosttext.substring(2, 3)) ){
  2264. if( eval(sPosttext.substring(2, 3)) > 5 ){
  2265. obj.value = sPosttext.substring(0, 2);
  2266. obj.setCaretPos(2);
  2267. return;
  2268. }
  2269. }
  2270. */
  2271. utlf_validMaskEditTime(obj, e);
  2272. }
  2273. function grd_recmaster_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  2274. {
  2275. recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
  2276. if(obj.rowcount > e.row && e.row > -1){
  2277. grdf_setSelectedCell(obj, e);
  2278. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  2279. }
  2280. return true;
  2281. }
  2282. function ds_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2283. {
  2284. /*
  2285. if( e.columnid == "maddchk01" ||
  2286. e.columnid == "maddchk02" ||
  2287. e.columnid == "maddchk03" ||
  2288. e.columnid == "maddchk04" ||
  2289. e.columnid == "haddchk" ||
  2290. e.columnid == "haddchk01" ){
  2291. for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
  2292. if(ds_main_recdetailgruplist.getColumn(i,"basepnt") =="0"){
  2293. ds_main_recdetailgruplist.setColumn(i,"flag","Y");
  2294. }
  2295. }
  2296. }
  2297. */
  2298. }
  2299. function group2_chk_maddchk05_onclick(obj:CheckBox, e:ClickEventInfo)
  2300. {
  2301. if( ds_cond.getColumn(0, "maddchk05") == "Y" ){
  2302. ds_cond.setColumn(0, "maddchk99", "");
  2303. } else {
  2304. ds_cond.setColumn(0, "maddchk05", "");
  2305. }
  2306. fChkTF("N", "Y");
  2307. }
  2308. function group2_chk_maddchk06_onclick(obj:CheckBox, e:ClickEventInfo)
  2309. {
  2310. if( ds_cond.getColumn(0, "maddchk06") == "Y" ){
  2311. ds_cond.setColumn(0, "maddchk99", "");
  2312. } else {
  2313. ds_cond.setColumn(0, "maddchk06", "");
  2314. }
  2315. if( sysf_getUserInfo("dutplceinstcd") == "032"){
  2316. sysf_messageBox("칠곡경북대학교병원은 정신과 폐쇄병동이 없어 선택할 수 없습니다..","I");
  2317. ds_cond.setColumn(0, "maddchk06", "");
  2318. return;
  2319. }
  2320. fChkTF("N", "Y");
  2321. }
  2322. function group4_chk_haddchk02_onclick(obj:CheckBox, e:ClickEventInfo)
  2323. {
  2324. if( ds_cond.getColumn(0, "haddchk02") == "N" ){
  2325. ds_cond.setColumn(0, "haddchk02", "");
  2326. }
  2327. fChkTF("N", "Y");
  2328. }
  2329. function group4_chk_haddchk03_onclick(obj:CheckBox, e:ClickEventInfo)
  2330. {
  2331. if( ds_cond.getColumn(0, "haddchk03") == "N" ){
  2332. ds_cond.setColumn(0, "haddchk03", "");
  2333. }
  2334. if( sysf_getUserInfo("dutplceinstcd") == "032"){
  2335. sysf_messageBox("칠곡경북대학교병원은 정신과 폐쇄병동이 없어 선택할 수 없습니다..","I");
  2336. ds_cond.setColumn(0, "haddchk03", "");
  2337. return;
  2338. }
  2339. fChkTF("N", "Y");
  2340. }
  2341. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2342. {
  2343. grdf_exportExcel(grd_patinfo, "중증도 및 위험사정 환자정보", "중증도 및 위험사정 환자정보", false, "" ,"user");
  2344. }
  2345. function btn_sizectr00_onclick(obj:Button, e:ClickEventInfo)
  2346. {
  2347. frmf_modal("SMMNR04800","SMMNR04800","","","","","","","","","","","M");
  2348. }
  2349. ]]></Script>
  2350. </Form>
  2351. </FDL>