SMMNW04800_통증관리기록.xfdl 102 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW04800" position="absolute 0 0 1211 797" titletext="통증관리기록" oninit="SMMNW04800_oninit" onload="SMMNW04800_onload" ontimer="SMMNW04800_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1211 797" id="group5" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Tab position="absolute 0 30 1206 769" id="switch1" anchor="default" onchanged="group5_switch1_onchanged">
  11. <Tabpages>
  12. <Tabpage text="통증관리기록" id="rec">
  13. <Layouts>
  14. <Layout>
  15. <Div position="absolute 0 5 1185 75" align="align:center top;" id="grp_sea" anchor="default" class="div_SA">
  16. <Layouts>
  17. <Layout>
  18. <Static text="병 동 :" position="absolute 10 14 74 31" id="ctn_ward" class="search_name" anchor="default"/>
  19. <Combo position="absolute 75 13 214 32" id="cmb_wardcd" class="combo_s_essential" innerdataset="@ds_init_ward" datacolumn="wardnm" codecolumn="wardcd" anchor="default" onitemchanged="group5_switch1_rec_grp_sea_cmb_wardcd_onitemchanged"/>
  20. <Static text="병 실 :" position="absolute 245 14 304 31" id="ctn_room" class="search_name" anchor="default"/>
  21. <Combo position="absolute 315 13 386 32" id="cmb_roomcd" class="combo_search" innerdataset="ds_data_roomcdgruplist" datacolumn="roomnm" codecolumn="roomcd" anchor="default" onitemchanged="group5_switch1_rec_grp_sea_cmb_roomcd_onitemchanged"/>
  22. <Static text="환자명/등록번호 :" position="absolute 400 15 529 32" id="ctn_pid" class="search_name" anchor="default"/>
  23. <Combo position="absolute 539 14 660 33" id="cmb_patientnm" class="combo_search" innerdataset="@ds_data_patientgruplist" datacolumn="patientnm" codecolumn="pid" anchor="default" onitemchanged="group5_switch1_rec_grp_sea_cmb_patientnm_onitemchanged"/>
  24. <Edit position="absolute 669 14 739 33" id="ipt_pid" class="input_search" anchor="default" onkeyup="group5_switch1_rec_grp_sea_ipt_pid_onkeyup" autoselect="true"/>
  25. <Button position="absolute 747 16 763 32" id="btn_patSearch" class="icon_search" text="" anchor="default" onclick="group5_switch1_rec_grp_sea_btn_patSearch_onclick"/>
  26. <Static text="기준일시 :" position="absolute 400 40 476 57" id="caption8" class="search_name" anchor="default"/>
  27. <Calendar position="absolute 482 40 567 59" id="ipt_genrdd" class="input_default" anchor="default" onchanged="group5_switch1_rec_grp_sea_ipt_genrdd_onchanged" autoselect="true"/>
  28. <MaskEdit position="absolute 569 40 621 59" id="ipt_genrtm" class="input_search" mask="##:##" anchor="default" type="string" onkeyup="group5_switch1_rec_grp_sea_ipt_genrtm_onkeyup" maskchar=" " displaynulltext=" " style="align:center middle;" autoselect="true" tooltiptext="시간을 입력하세요[ ex)23:11 ]" ontextchange="group5_switch1_rec_grp_sea_ipt_genrtm_ontextchange" trimtype="both"/>
  29. <Radio position="absolute 75 40 385 59" id="rdo_stdradio" class="radio_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1" onitemchanged="group5_switch1_rec_grp_sea_rdo_stdradio_onitemchanged" columncount="-1" style="textpadding:0 3 0 3;">
  30. <Dataset id="innerdataset">
  31. <ColumnInfo>
  32. <Column id="codecolumn"/>
  33. <Column id="datacolumn"/>
  34. </ColumnInfo>
  35. <Rows>
  36. <Row>
  37. <Col id="codecolumn">0</Col>
  38. <Col id="datacolumn">전체</Col>
  39. </Row>
  40. <Row>
  41. <Col id="codecolumn">1</Col>
  42. <Col id="datacolumn">종료전(전체)</Col>
  43. </Row>
  44. <Row>
  45. <Col id="codecolumn">2</Col>
  46. <Col id="datacolumn">종료전(최근입력만)</Col>
  47. </Row>
  48. <Row>
  49. <Col id="codecolumn">3</Col>
  50. <Col id="datacolumn">종료</Col>
  51. </Row>
  52. </Rows>
  53. </Dataset>
  54. </Radio>
  55. <Shape position="absolute 1017 10 1023 62" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  56. <Static text="구 분 :" position="absolute 10 40 76 57" id="ctn_searchflag" class="search_name" anchor="default"/>
  57. <Div position="absolute 1020 4 1175 69" id="grp_search" visible="false" anchor="default">
  58. <Layouts>
  59. <Layout>
  60. <Button position="absolute 10 20 66 42" id="button4" class="btn1" text="조회" anchor="default" onclick="group5_switch1_rec_grp_sea_grp_search_button4_onclick"/>
  61. </Layout>
  62. </Layouts>
  63. </Div>
  64. <Div position="absolute 1025 4 1180 69" id="grp_save" anchor="default">
  65. <Layouts>
  66. <Layout>
  67. <Button position="absolute 90 7 146 29" id="button1" class="btn3" text="삭제" anchor="default" onclick="group5_switch1_rec_grp_sea_grp_save_button1_onclick"/>
  68. <Button position="absolute 5 37 109 59" id="button2" class="btn3" text="발생부위추가" anchor="default" onclick="group5_switch1_rec_grp_sea_grp_save_button2_onclick"/>
  69. <Button position="absolute 5 7 85 29" id="button3" class="btn3" text="인증저장" anchor="default" onclick="group5_switch1_rec_grp_sea_grp_save_button3_onclick"/>
  70. </Layout>
  71. </Layouts>
  72. </Div>
  73. <Static text="caption1" position="absolute 990 40 1010 60" id="caption1" visible="false" anchor="default"/>
  74. <Combo position="absolute 531 30 742 49" id="cmb_erpat" class="combo_s_essential" visible="false" innerdataset="@ds_data_patientgruplist" datacolumn="etcinfo" codecolumn="pid" anchor="default" onitemchanged="group5_switch1_rec_grp_sea_cmb_erpat_onitemchanged"/>
  75. <Combo position="absolute 307 13 386 32" id="cmb_zone" class="combo_search" innerdataset="@ds_temp_zoneinfo_zonelist" datacolumn="bednm" codecolumn="bedcd" anchor="default" visible="false" onitemchanged="group5_switch1_rec_grp_sea_cmb_zone_onitemchanged"/>
  76. <Combo position="absolute 882 14 997 33" id="cmb_mypatlist" class="combo_s_essential" innerdataset="@ds_temp_cond_settingpatient_settingpatientlist" datacolumn="patnm" codecolumn="pid" anchor="default" onitemchanged="group5_switch1_rec_grp_sea_cmb_mypatlist_onitemchanged"/>
  77. <CheckBox id="chk_nextyn" taborder="1" text="환자넘기기" position="absolute 930 42 1010 57" truevalue="Y" falsevalue="N"/>
  78. <Static id="cap_mypatlist" text="내환자 정보 :" class="search_name" position="absolute 780 15 880 32"/>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. <Shape position="absolute 0 291 1188 297" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
  83. <Grid position="absolute 0 296 1187 698" id="grd_detlgrup" class="datagrid2" binddataset="ds_main_detlgrup_detlgruplist" anchor="default" oncelldblclick="group5_switch1_rec_grd_detlgrup_oncellclick" oncellclick="group5_switch1_rec_grd_detlgrup_oncellclick" cellsizingtype="col" autoenter="key" scrollpixel="all" tooltiptype="hover" selecttype="multirow" onrbuttondown="group5_switch1_rec_grd_detlgrup_onrbuttondown" onlbuttondown="group5_switch1_rec_grd_detlgrup_onlbuttondown" onlbuttonup="group5_switch1_rec_grd_detlgrup_onlbuttonup" onrbuttonup="group5_switch1_rec_grd_detlgrup_onrbuttonup" ontextchange="group5_switch1_rec_grd_detlgrup_ontextchange">
  84. <Formats>
  85. <Format id="default">
  86. <Columns>
  87. <Column size="20" band="left"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="62"/>
  92. <Column size="42"/>
  93. <Column size="100"/>
  94. <Column size="64"/>
  95. <Column size="24"/>
  96. <Column size="100"/>
  97. <Column size="38"/>
  98. <Column size="80"/>
  99. <Column size="60"/>
  100. <Column size="0"/>
  101. <Column size="60"/>
  102. <Column size="60"/>
  103. <Column size="49"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="63"/>
  107. <Column size="62"/>
  108. <Column size="0"/>
  109. <Column size="113"/>
  110. <Column size="109"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="75"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  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="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. </Columns>
  139. <Rows>
  140. <Row size="28" band="head"/>
  141. <Row size="24"/>
  142. </Rows>
  143. <Band id="head">
  144. <Cell/>
  145. <Cell col="1" text="상태"/>
  146. <Cell col="2" text="상태2"/>
  147. <Cell col="3"/>
  148. <Cell col="4" text="부위"/>
  149. <Cell col="5" text="방향"/>
  150. <Cell col="6" text="관련 요인"/>
  151. <Cell col="7" text="구분"/>
  152. <Cell col="8" text="선택"/>
  153. <Cell col="9" text="사정일자"/>
  154. <Cell col="10" text="시간"/>
  155. <Cell col="11" text="통증양상"/>
  156. <Cell col="12" text="빈도"/>
  157. <Cell col="13" text="발생구분"/>
  158. <Cell col="14" text="기간&#10;(분 전)"/>
  159. <Cell col="15" text="기간&#10;(시간 전)"/>
  160. <Cell col="16" text="기간&#10;(일 전)"/>
  161. <Cell col="17" text="발생구분id"/>
  162. <Cell col="18" text="기간"/>
  163. <Cell col="19" text="사정도구"/>
  164. <Cell col="20" text="강도"/>
  165. <Cell col="21" text="악화요인&#10;완화요인"/>
  166. <Cell col="22" text="중재"/>
  167. <Cell col="23" text="약물명"/>
  168. <Cell col="24" text="약물 및 비약물 중재"/>
  169. <Cell col="25" text="환자반응평가"/>
  170. <Cell col="26" text="기록자"/>
  171. <Cell col="27" text="caption7"/>
  172. <Cell col="28" text="caption1"/>
  173. <Cell col="29" text="caption2"/>
  174. <Cell col="30" text="caption3"/>
  175. <Cell col="31" text="caption6"/>
  176. <Cell col="32" text="caption5"/>
  177. <Cell col="33" text="caption4"/>
  178. <Cell col="34" text="caption8"/>
  179. <Cell col="35" text="caption9"/>
  180. <Cell col="36" text="caption10"/>
  181. <Cell col="37" text="caption11"/>
  182. <Cell col="38" text="caption12"/>
  183. <Cell col="39" text="caption13"/>
  184. <Cell col="40" text="nondrugarbtid"/>
  185. <Cell col="41" text="pnt1"/>
  186. <Cell col="42" text="pnt2"/>
  187. <Cell col="43" text="pnt3"/>
  188. <Cell col="44" text="pnt4"/>
  189. <Cell col="45" text="pnt5"/>
  190. <Cell col="46" text="caption14"/>
  191. <Cell col="47" text="cnps1"/>
  192. <Cell col="48" text="cnps2"/>
  193. <Cell col="49" text="cnps3"/>
  194. <Cell col="50" text="cnps4"/>
  195. </Band>
  196. <Band id="body">
  197. <Cell celltype="head"/>
  198. <Cell col="1" displaytype="combo" edittype="combo" text="bind:stat" editacceptsdirectionkey="true"/>
  199. <Cell col="2" displaytype="combo" edittype="combo" text="bind:stat2" editacceptsdirectionkey="true"/>
  200. <Cell col="3" text="bind:grupcd" suppress="1"/>
  201. <Cell col="4" displaytype="text" edittype="none" style="align:center;" text="bind:obspartnm" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" suppress="2" suppressalign="middle,over" tooltiptext="bind:obspartnm"/>
  202. <Cell col="5" displaytype="text" edittype="none" style="align:center;" text="bind:direcnm" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" suppress="3" suppressalign="middle,over" tooltiptext="bind:direcnm"/>
  203. <Cell col="6" displaytype="text" edittype="none" style="align:center;" text="bind:cause" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" suppress="4" suppressalign="middle,over" tooltiptext="bind:cause"/>
  204. <Cell col="7" displaytype="combo" style="align:center;" text="bind:flag" editacceptsdirectionkey="true" combodataset="ds_flag" combocodecol="value" combodatacol="label" tooltiptext="bind:flag" enable="false"/>
  205. <Cell col="8" displaytype="checkbox" edittype="checkbox" text="bind:sel" editacceptsdirectionkey="true" tooltiptext="bind:sel"/>
  206. <Cell col="9" displaytype="date" edittype="date" text="bind:recdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none" tooltiptext="bind:recdd"/>
  207. <Cell col="10" displaytype="text" edittype="mask" style="align:center;" text="bind:rectm" mask="##:##" maskchar=" " edittrimtype="both" editautoselect="true" editacceptsdirectionkey="true" tooltiptext="bind:rectm"/>
  208. <Cell col="11" displaytype="text" edittype="none" style="align:top;padding:4 2 2 2;" text="bind:symptom" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:symptom"/>
  209. <Cell col="12" displaytype="text" edittype="none" text="bind:freq" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:freq"/>
  210. <Cell col="13" displaytype="text" edittype="text" style="align:center;" text="bind:paingb" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:paingb"/>
  211. <Cell col="14" displaytype="number" edittype="expr:flag == '00' ? 'mask' : 'none'" text="bind:termtm" mask="expr:flag == '00' ? '###' : ''" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:termtm"/>
  212. <Cell col="15" displaytype="number" edittype="expr:flag == '00' ? 'mask' : 'none'" text="bind:termth" mask="expr:flag == '00' ? '###' : ''" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:termth"/>
  213. <Cell col="16" displaytype="number" edittype="expr:flag == '00' ? 'mask' : 'none'" text="bind:termdd" mask="expr:flag == '00' ? '###' : ''" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:termdd"/>
  214. <Cell col="17" text="bind:paingbid" editacceptsdirectionkey="true"/>
  215. <Cell col="18" displaytype="text" edittype="text" text="bind:term" editacceptsdirectionkey="true"/>
  216. <Cell col="19" displaytype="text" edittype="none" style="align:center;" text="bind:tool" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:tool"/>
  217. <Cell col="20" displaytype="text" edittype="none" style="align:center;" text="bind:pnt" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:pnt"/>
  218. <Cell col="21" displaytype="text" edittype="textarea" text="bind:resn" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" tooltiptext="bind:resn"/>
  219. <Cell col="22" displaytype="text" edittype="textarea" text="bind:nondrugarbt" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:nondrugarbt"/>
  220. <Cell col="23" displaytype="text" edittype="textarea" style="align:left top;padding:4 2 2 2;" text="bind:drugarbt" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" expandshow="show" tooltiptext="bind:drugarbt"/>
  221. <Cell col="24" displaytype="text" edittype="textarea" text="bind:arbitration" wordwrap="word" editacceptsdirectionkey="true"/>
  222. <Cell col="25" displaytype="text" edittype="textarea" text="bind:valu" wordwrap="word" editautoselect="true" editacceptsdirectionkey="true" tooltiptext="bind:valu"/>
  223. <Cell col="26" edittype="none" style="align:left;" text="bind:lastupdtrid" editacceptsdirectionkey="true" tooltiptext="bind:lastupdtrid"/>
  224. <Cell col="27" displaytype="text" edittype="text" text="bind:grupcd"/>
  225. <Cell col="28" displaytype="text" edittype="text" text="bind:pid"/>
  226. <Cell col="29" displaytype="text" edittype="text" text="bind:obspartid"/>
  227. <Cell col="30" displaytype="text" edittype="text" text="bind:pntid"/>
  228. <Cell col="31" displaytype="text" edittype="text" text="bind:symptomid"/>
  229. <Cell col="32" displaytype="text" edittype="text" text="bind:direcid"/>
  230. <Cell col="33" displaytype="text" edittype="text" text="bind:causeid"/>
  231. <Cell col="34" displaytype="text" edittype="text" text="bind:freqid"/>
  232. <Cell col="35" displaytype="text" edittype="text" text="bind:obsrecseq"/>
  233. <Cell col="36" displaytype="text" edittype="text" text="bind:genrdd"/>
  234. <Cell col="37" displaytype="text" edittype="text" text="bind:genrtm"/>
  235. <Cell col="38" displaytype="text" edittype="text" text="bind:recrnm"/>
  236. <Cell col="39" displaytype="text" edittype="text" text="bind:toolid"/>
  237. <Cell col="40" displaytype="text" edittype="text" text="bind:nondrugarbtid"/>
  238. <Cell col="41" text="bind:pnt1"/>
  239. <Cell col="42" text="bind:pnt2"/>
  240. <Cell col="43" text="bind:pnt3"/>
  241. <Cell col="44" text="bind:pnt4"/>
  242. <Cell col="45" text="bind:pnt5"/>
  243. <Cell col="46" text="bind:painprcpinfo"/>
  244. <Cell col="47" text="bind:cnps1"/>
  245. <Cell col="48" text="bind:cnps2"/>
  246. <Cell col="49" text="bind:cnps3"/>
  247. <Cell col="50" text="bind:cnps4"/>
  248. </Band>
  249. </Format>
  250. </Formats>
  251. </Grid>
  252. <Static text="1. 초기평가&#13;&#10; 1) 시행자 : 간호사&#13;&#10; 2) 시기 : 입원 24시간 이내&#13;&#10; 3) 제외대상 : 의식상태가 Coma, CPR, 산통&#13;&#10;2. 재평가&#13;&#10; 1) 정기적 재평가 대상 (시기)&#13;&#10; - 통증이 있는 모든 환자 (1회/duty)&#13;&#10; - 진통제를 정규적 또는 지속적으로 투여하는 경우 (1회/duty)&#13;&#10; 2) 비정기적인 재평가&#13;&#10; ① 환자상태 변화 시&#13;&#10; - 수술 또는 침습적 시술을 시행한 경우 (즉시)&#13;&#10; - 새로운 통증을 호소하거나 통증 양상 또는 &#13;&#10; 강도가 변화된 경우 (즉시)&#13;&#10; ② 약물 중재 후&#13;&#10; - 경구 약물 투여 (투여 시점부터 1시간 이내)&#13;&#10; - 비경구 약물 투여 (투여 시점부터 30분 이내)" position="absolute 0 80 397 292" id="caption2" anchor="default" style="border:1 solid #ff0000ff ;" visible="false"/>
  253. <Static text=" 통증관리기록&#13;&#10; * 초기평가 시 통증기록 &#13;&#10; : 발생부위추가 버튼이용하여 행 추가한다.&#13;&#10; 이용하여 정보 선택 후 인증저장한다.&#13;&#10; * 재평가시 통증기록 &#13;&#10; : 구분컬럼의 초기평가된 행에 오른쪽마우스 클릭하여 '재평가' 선택 &#13;&#10; 행 추가 후 기록한다.&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;" position="absolute 396 80 792 292" id="caption3" anchor="default" style="border:1 solid #ff0000ff ;" visible="false"/>
  254. <Static text=" 결과해석 &#13;&#10; * NRS&#13;&#10; : 0점 통증없음, 경도1~4점, 중간정도5~6점, 심함7~10점(상상할 수 &#13;&#10; 없을 정동의 심한통증)&#13;&#10; * FPRS&#13;&#10; : 0점 통증없음, 약한통증~2점, 중증도통증~4점, 심한통증~6점, &#13;&#10; 극심한통증~8점, 최악의통증 ~10점&#13;&#10; * FLACC&#13;&#10; : 0점 통증없음, 1~3점 약간불편함, 4~6점 중간정도 불편함, 7~10점 &#13;&#10; 매우 불편하고 아픈상태&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;" position="absolute 791 80 1184 292" id="caption4" anchor="default" style="border:1 solid #ff0000ff ;" visible="false"/>
  255. <Static text="[표]" position="absolute 1162 698 1188 712" id="caption5" anchor="default"/>
  256. <Static id="caption7" visible="false" position="absolute 0 80 397 292" style="border:1 solid #ff0000ff ;" text="1. 초기평가&#13;&#10; 1) 시행자 : 간호사&#13;&#10; 2) 시기 : 입원 24시간 이내&#13;&#10; 3) 제외대상 : 의식상태가 Coma, CPR, 산통&#13;&#10;2. 재평가&#13;&#10; 1) 정기적 재평가 대상 (시기)&#13;&#10; - 통증이 있는 모든 환자 (1회/duty)&#13;&#10; - 진통제를 정규적 또는 지속적으로 투여하는 경우 (1회/duty)&#13;&#10; 2) 비정기적인 재평가&#13;&#10; ① 환자상태 변화 시&#13;&#10; - 수술 또는 침습적 시술을 시행한 경우 (즉시)&#13;&#10; - 새로운 통증을 호소하거나 통증 양상 또는 &#13;&#10; 강도가 변화된 경우 (즉시)&#13;&#10; ② 약물 중재 후&#13;&#10; - 경구 약물 투여 (투여 시점부터 1시간 이내)&#13;&#10; - 비경구 약물 투여 (투여 시점부터 30분 이내)"/>
  257. <Static id="caption10" text="3. 통증중재시행&#13;&#10; 1) 통증강도가 4점 이상 (CNPS는 3점 이상)&#13;&#10; 2) 환자가 중재를 요청하는 경우&#13;&#10; 3) 방법&#13;&#10; - 약물요법&#13;&#10; ① 지속/정규 약물 : PCA, 패치 등 지속적으로 투여되는 약물 또는 정규적으로 투여되는 약물&#13;&#10; ② 약물 중재 : 지속/정규 약물 이외 투여되는 경구, 비경구 약물 등&#13;&#10; - 비약물 요법 : 비약물 중재로 이완요법, 냉온요법, 물리치료, 심호흡, 마사지 등을 포함&#13;&#10;&#13;&#10;4. 통증관리기록 종료시점&#13;&#10; 1) 통증점수가 0점이고 정규적인 진통제가 투여되지 않는 경우&#13;&#10; 2) 퇴원 시&#13;&#10;" visible="false" position="absolute 396 80 792 292" style="border:1 solid #ff0000ff ;font:Dotum,9;"/>
  258. <Static id="caption9" text="통증점수(강도) 해석&#13;&#10;1. NRS&#13;&#10; - 통증없음(0점), 경도(1~3점), 중등도(4~6점), 심한통증(7~10점)&#13;&#10;2. FPRS&#13;&#10; - 통증없음(0점), 경도(1~2점), 중등도(3~4점), 심한통증(5~6점), 극심한통증(7~8점), 최악의 통증(9~10점)&#13;&#10;3. FLACC&#13;&#10; - 통증없음(0점), 경도(1~3점), 중등도(4~6점), 심한통증(7~10점)&#13;&#10;4. CNPS&#13;&#10; - 통증없음(0점), 경도(1~2점), 중등도(3~5점), 심한통증(6~9점)" visible="false" position="absolute 791 80 1184 292" style="border:1 solid #ff0000ff ;"/>
  259. <ImageViewer id="img00" taborder="1" image="URL('theme://images\icon_btn.png')" position="absolute 423 209 437 223" visible="false"/>
  260. <ImageViewer position="absolute 423 160 437 174" id="img1" image="URL('theme://images\icon_btn.png')" anchor="default" visible="false"/>
  261. </Layout>
  262. </Layouts>
  263. </Tabpage>
  264. <Tabpage text="통증관리" id="graph">
  265. <Layouts>
  266. <Layout>
  267. <Div position="absolute 0 0 1187 710" id="iviewer1" url="emr_carerecxp::SMMNR08400_통증관리.xfdl" anchor="default"/>
  268. </Layout>
  269. </Layouts>
  270. </Tabpage>
  271. </Tabpages>
  272. </Tab>
  273. <Button position="absolute 1123 7 1191 29" id="btn_help" class="btn4" text="도움말" anchor="default" onclick="group5_btn_help_onclick"/>
  274. </Layout>
  275. </Layouts>
  276. </Div>
  277. <Div position="absolute 0 0 1195 25" id="group1">
  278. <Layouts>
  279. <Layout>
  280. <Static text="통증관리기록 &amp; 통증관리" position="absolute 0 0 185 25" id="caption6" class="tit_1" onclick="group1_caption6_onclick"/>
  281. </Layout>
  282. </Layouts>
  283. </Div>
  284. </Layout>
  285. </Layouts>
  286. <Objects>
  287. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  290. <Column id="cdgpid" type="STRING" size="256" sumtext="공통그룹코드"/>
  291. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  292. <Column id="srchdd" type="STRING" size="256" sumtext="조회기준일자"/>
  293. <Column id="flag" type="STRING" size="256" sumtext="조회기준일자"/>
  294. <Column id="allflag" type="STRING" size="256" sumtext="모두조회여부"/>
  295. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  296. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  297. <Column id="cretno" type="STRING" size="256"/>
  298. <Column id="genrdd" type="STRING" size="256"/>
  299. <Column id="genrtm" type="STRING" size="256"/>
  300. <Column id="stdradio" type="STRING" size="256"/>
  301. </ColumnInfo>
  302. <Rows>
  303. <Row/>
  304. </Rows>
  305. </Dataset>
  306. <Dataset id="ds_data_icucdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  307. <ColumnInfo>
  308. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  309. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  310. <Column id="clsflag" type="STRING" size="256" sumtext="중증도구분"/>
  311. </ColumnInfo>
  312. </Dataset>
  313. <Dataset id="ds_code_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  316. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  317. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  318. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  319. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  320. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  321. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  322. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  323. </ColumnInfo>
  324. </Dataset>
  325. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  326. <ColumnInfo>
  327. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  328. <Column id="roomcd" type="STRING" size="256"/>
  329. <Column id="patientnm" type="STRING" size="256"/>
  330. <Column id="pid" type="STRING" size="256"/>
  331. <Column id="zonecd" type="STRING" size="256"/>
  332. <Column id="nextyn" type="STRING" size="256"/>
  333. <Column id="stdradio" type="STRING" size="256"/>
  334. <Column id="genrdd" type="STRING" size="256"/>
  335. <Column id="genrtm" type="STRING" size="256"/>
  336. <Column id="settingpatient" type="STRING" size="256"/>
  337. </ColumnInfo>
  338. <Rows>
  339. <Row/>
  340. </Rows>
  341. </Dataset>
  342. <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  343. <ColumnInfo>
  344. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  345. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  346. </ColumnInfo>
  347. </Dataset>
  348. <Dataset id="ds_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  349. <ColumnInfo>
  350. <Column id="settingrnid" type="STRING" size="256" sumtext="세팅간호사ID"/>
  351. <Column id="settingrnnm" type="STRING" size="256" sumtext="세팅간호사명"/>
  352. </ColumnInfo>
  353. </Dataset>
  354. <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  355. <ColumnInfo>
  356. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  357. <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
  358. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  359. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  360. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  361. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  362. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  363. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  364. <Column id="medispclid" type="STRING" size="256" sumtext="주치의"/>
  365. <Column id="ordtype" type="STRING" size="256" sumtext="ioflag"/>
  366. </ColumnInfo>
  367. </Dataset>
  368. <Dataset id="ds_main_detlgrup_detlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlgrup_detlgruplist_oncolumnchanged">
  369. <ColumnInfo>
  370. <Column id="stat" type="STRING" size="256" sumtext="그리드상태"/>
  371. <Column id="stat2" type="STRING" size="256" sumtext="그리드상태"/>
  372. <Column id="obspartnm" type="STRING" size="256" sumtext="통증발생부위"/>
  373. <Column id="obspartid" type="STRING" size="256" sumtext="통증발위id"/>
  374. <Column id="direcid" type="STRING" size="256" sumtext="방향id"/>
  375. <Column id="direcnm" type="STRING" size="256" sumtext="방향명"/>
  376. <Column id="cause" type="STRING" size="256" sumtext="원인명"/>
  377. <Column id="causeid" type="STRING" size="256" sumtext="원인명"/>
  378. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  379. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  380. <Column id="flag" type="STRING" size="256" sumtext="등록구분(평가재평가종료)"/>
  381. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  382. <Column id="symptom" type="STRING" size="256" sumtext="통증양상명칭"/>
  383. <Column id="symptomid" type="STRING" size="256" sumtext="통증양상id"/>
  384. <Column id="freq" type="STRING" size="256" sumtext="빈도"/>
  385. <Column id="freqid" type="STRING" size="256" sumtext="빈도"/>
  386. <Column id="term" type="STRING" size="256" sumtext="기간"/>
  387. <Column id="termtm" type="STRING" size="256" sumtext="기간(분 전)"/>
  388. <Column id="termth" type="STRING" size="256" sumtext="기간(시간 전)"/>
  389. <Column id="termdd" type="STRING" size="256" sumtext="기간(일 전)"/>
  390. <Column id="pnt" type="STRING" size="256" sumtext="점수"/>
  391. <Column id="pntid" type="STRING" size="256" sumtext="점수id"/>
  392. <Column id="resn" type="STRING" size="256" sumtext="악화완화요인"/>
  393. <Column id="arbitration" type="STRING" size="256" sumtext="중재"/>
  394. <Column id="valu" type="STRING" size="256" sumtext="환자반응평가"/>
  395. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  396. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  397. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  398. <Column id="obsrecseq" type="STRING" size="256" sumtext="통증기록순번"/>
  399. <Column id="signno" type="STRING" size="256" sumtext="서명번호"/>
  400. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  401. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  402. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  403. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  404. <Column id="lastupdtrid" type="STRING" size="256" sumtext="사용자명"/>
  405. <Column id="genrdd" type="STRING" size="256" sumtext="발생기준일"/>
  406. <Column id="genrtm" type="STRING" size="256" sumtext="발생기준일시"/>
  407. <Column id="paingb" type="STRING" size="256" sumtext="통증발생구분"/>
  408. <Column id="paingbid" type="STRING" size="256" sumtext="통증발생구분"/>
  409. <Column id="tool" type="STRING" size="256" sumtext="사정도구"/>
  410. <Column id="toolid" type="STRING" size="256" sumtext="사정도구ID"/>
  411. <Column id="painprcpinfo" type="STRING" size="256" sumtext="통증처방기준자료"/>
  412. <Column id="pnt1" type="STRING" size="256" sumtext="통증점수상세1"/>
  413. <Column id="pnt2" type="STRING" size="256" sumtext="통증점수상세2"/>
  414. <Column id="pnt3" type="STRING" size="256" sumtext="통증점수상세3"/>
  415. <Column id="pnt4" type="STRING" size="256" sumtext="통증점수상세4"/>
  416. <Column id="pnt5" type="STRING" size="256" sumtext="통증점수상세5"/>
  417. <Column id="cnps1" type="STRING" size="256" sumtext="통증점수cnps상세1"/>
  418. <Column id="cnps2" type="STRING" size="256" sumtext="통증점수cnps상세2"/>
  419. <Column id="cnps3" type="STRING" size="256" sumtext="통증점수cnps상세3"/>
  420. <Column id="cnps4" type="STRING" size="256" sumtext="통증점수cnps상세4"/>
  421. <Column id="drugarbt" type="STRING" size="256" sumtext="약물중재"/>
  422. <Column id="drugarbtid" type="STRING" size="256" sumtext="약물중재id"/>
  423. <Column id="nondrugarbt" type="STRING" size="256" sumtext="비약물중재"/>
  424. <Column id="nondrugarbtid" type="STRING" size="256" sumtext="비약물중재id"/>
  425. <Column id="recrnm" type="STRING" size="256"/>
  426. <Column id="causenm" type="STRING" size="256"/>
  427. </ColumnInfo>
  428. </Dataset>
  429. <Dataset id="ds_send_refCond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  430. <ColumnInfo>
  431. <Column id="flag" type="STRING" size="256" sumtext="조회조건"/>
  432. </ColumnInfo>
  433. <Rows>
  434. <Row/>
  435. </Rows>
  436. </Dataset>
  437. <Dataset id="ds_temp_cond_settingpatient_settingpatientlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  438. <ColumnInfo>
  439. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  440. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  441. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  442. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  443. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  444. <Column id="ordtype" type="STRING" size="256" sumtext="입원구분"/>
  445. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  446. </ColumnInfo>
  447. </Dataset>
  448. <Dataset id="ds_send_savedata_detlgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  449. <ColumnInfo>
  450. <Column id="stat" type="STRING" size="256" sumtext="그리드status"/>
  451. <Column id="obspartnm" type="STRING" size="256" sumtext="발생부위"/>
  452. <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
  453. <Column id="genrtm" type="STRING" size="256" sumtext="발생시간"/>
  454. <Column id="genrplce" type="STRING" size="256" sumtext="발생장소"/>
  455. <Column id="genrplcewardcd" type="STRING" size="256" sumtext="발생장소원내코드"/>
  456. <Column id="cause" type="STRING" size="256" sumtext="원인"/>
  457. <Column id="flag" type="STRING" size="256" sumtext="등록구분(등록사정종료)"/>
  458. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  459. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  460. <Column id="rptsmsflag" type="STRING" size="256" sumtext="욕창보고 및 SMS"/>
  461. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  462. <Column id="sizewidth" type="STRING" size="256" sumtext="크기가로"/>
  463. <Column id="sizeheight" type="STRING" size="256" sumtext="크기세로"/>
  464. <Column id="sizedepth" type="STRING" size="256" sumtext="크기깊이"/>
  465. <Column id="stageid" type="STRING" size="256" sumtext="단계"/>
  466. <Column id="restage" type="STRING" size="256" sumtext="단계"/>
  467. <Column id="tissueid" type="STRING" size="256" sumtext="색"/>
  468. <Column id="color" type="STRING" size="256" sumtext="색"/>
  469. <Column id="state" type="STRING" size="256" sumtext="삼출물상태"/>
  470. <Column id="amount" type="STRING" size="256" sumtext="삼출물양"/>
  471. <Column id="symptom" type="STRING" size="256" sumtext="증상"/>
  472. <Column id="underangle" type="STRING" size="256" sumtext="under방향"/>
  473. <Column id="underdepth" type="STRING" size="256" sumtext="under깊이"/>
  474. <Column id="dressing" type="STRING" size="256" sumtext="dressing"/>
  475. <Column id="photimg" type="STRING" size="256" sumtext="첨부파일"/>
  476. <Column id="etc" type="STRING" size="256" sumtext="비고"/>
  477. <Column id="genrplceid" type="STRING" size="256" sumtext="발생장소코드"/>
  478. <Column id="causeid" type="STRING" size="256" sumtext="causeid"/>
  479. <Column id="colorid" type="STRING" size="256" sumtext="colorid"/>
  480. <Column id="symptomid" type="STRING" size="256" sumtext="symptomid"/>
  481. <Column id="underangleid" type="STRING" size="256" sumtext="underangleid"/>
  482. <Column id="dressingid" type="STRING" size="256" sumtext="dressingid"/>
  483. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  484. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  485. <Column id="obsrecseq" type="STRING" size="256" sumtext="욕창기록순번"/>
  486. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  487. <Column id="signno" type="BIGDECIMAL" size="256" sumtext="서명번호"/>
  488. <Column id="pushyn" type="STRING" size="256" sumtext="기관코드"/>
  489. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  490. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  491. <Column id="totpnt" type="STRING" size="256" sumtext="Braden 점수"/>
  492. <Column id="bspntnm" type="STRING" size="256" sumtext="위험군"/>
  493. </ColumnInfo>
  494. </Dataset>
  495. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  496. <ColumnInfo>
  497. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  498. <Column id="certflag" type="STRING" size="256" sumtext="인증저장여부"/>
  499. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  500. <Column id="signno" type="BIGDECIMAL" size="256" sumtext="서명번호"/>
  501. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  502. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  503. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  504. <Column id="recsaveflag" type="STRING" size="256" sumtext="전자서명인적정보변경여부"/>
  505. <Column id="signflag" type="STRING" size="256" sumtext="서명자료구분"/>
  506. <Column id="signgenrflag" type="STRING" size="256" sumtext="서명발생구분"/>
  507. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  508. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  509. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사ID"/>
  510. <Column id="signbfcnts" type="STRING" size="256" sumtext="인증전데이터정보"/>
  511. <Column id="signaftcnts" type="STRING" size="256" sumtext="인증후데이터정보"/>
  512. <Column id="screenid" type="STRING" size="256" sumtext="화면아이디"/>
  513. <Column id="dispyn" type="STRING" size="256" sumtext="디스플레이여부"/>
  514. </ColumnInfo>
  515. <Rows>
  516. <Row/>
  517. </Rows>
  518. </Dataset>
  519. <Dataset id="ds_main_detlgrup_obsrecseqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  520. <ColumnInfo>
  521. <Column id="obsrecseq" type="STRING" size="256" sumtext="욕창기록순번(욕창보고용)"/>
  522. <Column id="obsrecrptseq" type="STRING" size="256" sumtext="욕창관찰기록보고서순번"/>
  523. </ColumnInfo>
  524. </Dataset>
  525. <Dataset id="ds_send_savedata_signlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  526. <ColumnInfo>
  527. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  528. <Column id="certflag" type="STRING" size="256" sumtext="인증저장여부"/>
  529. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  530. <Column id="signno" type="BIGDECIMAL" size="256" sumtext="서명번호"/>
  531. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  532. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  533. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  534. <Column id="recsaveflag" type="STRING" size="256" sumtext="전자서명인적정보변경여부"/>
  535. <Column id="signflag" type="STRING" size="256" sumtext="서명자료구분"/>
  536. <Column id="signgenrflag" type="STRING" size="256" sumtext="서명발생구분"/>
  537. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  538. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  539. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사ID"/>
  540. <Column id="signbfcnts" type="STRING" size="256" sumtext="인증전데이터정보"/>
  541. <Column id="signaftcnts" type="STRING" size="256" sumtext="인증후데이터정보"/>
  542. <Column id="screenid" type="STRING" size="256" sumtext="화면아이디"/>
  543. <Column id="dispyn" type="STRING" size="256" sumtext="인증데이타저장 flag"/>
  544. </ColumnInfo>
  545. </Dataset>
  546. <Dataset id="ds_viewinfo_viewdetlgrup_detlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  547. <ColumnInfo>
  548. <Column id="stat" type="STRING" size="256" sumtext="그리드상태"/>
  549. <Column id="stat2" type="STRING" size="256" sumtext="그리드상태"/>
  550. <Column id="obspartnm" type="STRING" size="256" sumtext="통증발생부위"/>
  551. <Column id="obspartid" type="STRING" size="256" sumtext="통증발위id"/>
  552. <Column id="direcid" type="STRING" size="256" sumtext="방향id"/>
  553. <Column id="direcnm" type="STRING" size="256" sumtext="방향명"/>
  554. <Column id="cause" type="STRING" size="256" sumtext="원인명"/>
  555. <Column id="causeid" type="STRING" size="256" sumtext="원인명"/>
  556. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  557. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  558. <Column id="flag" type="STRING" size="256" sumtext="등록구분(평가재평가종료)"/>
  559. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  560. <Column id="symptom" type="STRING" size="256" sumtext="통증양상명칭"/>
  561. <Column id="symptomid" type="STRING" size="256" sumtext="통증양상id"/>
  562. <Column id="freq" type="STRING" size="256" sumtext="빈도"/>
  563. <Column id="freqid" type="STRING" size="256" sumtext="빈도"/>
  564. <Column id="term" type="STRING" size="256" sumtext="기간"/>
  565. <Column id="pnt" type="STRING" size="256" sumtext="점수"/>
  566. <Column id="pntid" type="STRING" size="256" sumtext="점수id"/>
  567. <Column id="resn" type="STRING" size="256" sumtext="악화완화요인"/>
  568. <Column id="arbitration" type="STRING" size="256" sumtext="중재"/>
  569. <Column id="drugarbt" type="STRING" size="256" sumtext="약물중재"/>
  570. <Column id="nondrugarbt" type="STRING" size="256" sumtext="비약물중재"/>
  571. <Column id="valu" type="STRING" size="256" sumtext="환자반응평가"/>
  572. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  573. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  574. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  575. <Column id="obsrecseq" type="STRING" size="256" sumtext="통증기록순번"/>
  576. <Column id="signno" type="STRING" size="256" sumtext="서명번호"/>
  577. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  578. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  579. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  580. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  581. <Column id="lastupdtrid" type="STRING" size="256" sumtext="사용자명"/>
  582. <Column id="genrdd" type="STRING" size="256" sumtext="발생기준일"/>
  583. <Column id="genrtm" type="STRING" size="256" sumtext="발생기준일시"/>
  584. <Column id="paingb" type="STRING" size="256" sumtext="통증발생구분"/>
  585. <Column id="paingbid" type="STRING" size="256" sumtext="통증발생구분"/>
  586. <Column id="tool" type="STRING" size="256" sumtext="사정도구"/>
  587. <Column id="toolid" type="STRING" size="256" sumtext="사정도구ID"/>
  588. <Column id="signrecddmax" type="STRING" size="256" sumtext="인증저장시 기록한 최종일자를 recdd로 넘겨준다."/>
  589. <Column id="cnps1" type="STRING" size="256" sumtext="통증점수cnps상세1"/>
  590. <Column id="cnps2" type="STRING" size="256" sumtext="통증점수cnps상세2"/>
  591. <Column id="cnps3" type="STRING" size="256" sumtext="통증점수cnps상세3"/>
  592. <Column id="cnps4" type="STRING" size="256" sumtext="통증점수cnps상세4"/>
  593. <Column id="termtm" type="STRING" size="256" sumtext="기간(분 전)"/>
  594. <Column id="termth" type="STRING" size="256" sumtext="기간(시간 전)"/>
  595. <Column id="termdd" type="STRING" size="256" sumtext="기간(일 전)"/>
  596. </ColumnInfo>
  597. </Dataset>
  598. <Dataset id="ds_data_roomcdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  599. <Dataset id="ds_temp_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  600. <Dataset id="ds_data_patientgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  601. <ColumnInfo>
  602. <Column id="patientnm" type="STRING" size="256"/>
  603. <Column id="pid" type="STRING" size="256"/>
  604. <Column id="indd" type="STRING" size="256"/>
  605. <Column id="cretno" type="STRING" size="256"/>
  606. <Column id="orddeptcd" type="STRING" size="256"/>
  607. <Column id="orddrid" type="STRING" size="256"/>
  608. <Column id="ordtype" type="STRING" size="256"/>
  609. </ColumnInfo>
  610. </Dataset>
  611. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  612. <ColumnInfo>
  613. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  614. </ColumnInfo>
  615. <Rows>
  616. <Row/>
  617. </Rows>
  618. </Dataset>
  619. <Dataset id="ds_temp_zoneinfo_zonelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  620. <ColumnInfo>
  621. <Column id="bedcd" type="STRING" size="256" sumtext="구역코드"/>
  622. <Column id="bednm" type="STRING" size="256" sumtext="구역명칭"/>
  623. <Column id="grupcd" type="STRING" size="256" sumtext="구역명칭"/>
  624. </ColumnInfo>
  625. </Dataset>
  626. <Dataset id="ds_hidden_homecareparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  627. <Dataset id="ds_hidden_main_detlgrup_detlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  628. <ColumnInfo>
  629. <Column id="stat" type="STRING" size="256" sumtext="그리드상태"/>
  630. <Column id="stat2" type="STRING" size="256" sumtext="그리드상태"/>
  631. <Column id="obspartnm" type="STRING" size="256" sumtext="통증발생부위"/>
  632. <Column id="obspartid" type="STRING" size="256" sumtext="통증발위id"/>
  633. <Column id="direcid" type="STRING" size="256" sumtext="방향id"/>
  634. <Column id="direcnm" type="STRING" size="256" sumtext="방향명"/>
  635. <Column id="cause" type="STRING" size="256" sumtext="원인명"/>
  636. <Column id="causeid" type="STRING" size="256" sumtext="원인명"/>
  637. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  638. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  639. <Column id="flag" type="STRING" size="256" sumtext="등록구분(평가재평가종료)"/>
  640. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  641. <Column id="symptom" type="STRING" size="256" sumtext="통증양상명칭"/>
  642. <Column id="symptomid" type="STRING" size="256" sumtext="통증양상id"/>
  643. <Column id="freq" type="STRING" size="256" sumtext="빈도"/>
  644. <Column id="freqid" type="STRING" size="256" sumtext="빈도"/>
  645. <Column id="term" type="STRING" size="256" sumtext="기간"/>
  646. <Column id="termtm" type="STRING" size="256" sumtext="기간(분 전)"/>
  647. <Column id="termth" type="STRING" size="256" sumtext="기간(시간 전)"/>
  648. <Column id="termdd" type="STRING" size="256" sumtext="기간(일 전)"/>
  649. <Column id="pnt" type="STRING" size="256" sumtext="점수"/>
  650. <Column id="pntid" type="STRING" size="256" sumtext="점수id"/>
  651. <Column id="resn" type="STRING" size="256" sumtext="악화완화요인"/>
  652. <Column id="arbitration" type="STRING" size="256" sumtext="중재"/>
  653. <Column id="valu" type="STRING" size="256" sumtext="환자반응평가"/>
  654. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  655. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  656. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  657. <Column id="obsrecseq" type="STRING" size="256" sumtext="통증기록순번"/>
  658. <Column id="signno" type="STRING" size="256" sumtext="서명번호"/>
  659. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  660. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  661. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  662. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  663. <Column id="lastupdtrid" type="STRING" size="256" sumtext="사용자명"/>
  664. <Column id="genrdd" type="STRING" size="256" sumtext="발생기준일"/>
  665. <Column id="genrtm" type="STRING" size="256" sumtext="발생기준일시"/>
  666. <Column id="paingb" type="STRING" size="256" sumtext="통증발생구분"/>
  667. <Column id="paingbid" type="STRING" size="256" sumtext="통증발생구분"/>
  668. <Column id="tool" type="STRING" size="256" sumtext="사정도구"/>
  669. <Column id="toolid" type="STRING" size="256" sumtext="사정도구ID"/>
  670. <Column id="painprcpinfo" type="STRING" size="256" sumtext="통증처방기준자료"/>
  671. <Column id="pnt1" type="STRING" size="256" sumtext="통증점수상세1"/>
  672. <Column id="pnt2" type="STRING" size="256" sumtext="통증점수상세2"/>
  673. <Column id="pnt3" type="STRING" size="256" sumtext="통증점수상세3"/>
  674. <Column id="pnt4" type="STRING" size="256" sumtext="통증점수상세4"/>
  675. <Column id="pnt5" type="STRING" size="256" sumtext="통증점수상세5"/>
  676. <Column id="cnps1" type="STRING" size="256" sumtext="통증점수cnps상세1"/>
  677. <Column id="cnps2" type="STRING" size="256" sumtext="통증점수cnps상세2"/>
  678. <Column id="cnps3" type="STRING" size="256" sumtext="통증점수cnps상세3"/>
  679. <Column id="cnps4" type="STRING" size="256" sumtext="통증점수cnps상세4"/>
  680. <Column id="drugarbt" type="STRING" size="256" sumtext="약물중재"/>
  681. <Column id="drugarbtid" type="STRING" size="256" sumtext="약물중재id"/>
  682. <Column id="nondrugarbt" type="STRING" size="256" sumtext="비약물중재"/>
  683. <Column id="nondrugarbtid" type="STRING" size="256" sumtext="비약물중재id"/>
  684. <Column id="recrnm" type="STRING" size="256"/>
  685. </ColumnInfo>
  686. </Dataset>
  687. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  688. <ColumnInfo>
  689. <Column id="popupendflag" type="STRING" size="256"/>
  690. </ColumnInfo>
  691. <Rows>
  692. <Row/>
  693. </Rows>
  694. </Dataset>
  695. <Dataset id="ds_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  696. <ColumnInfo>
  697. <Column id="value" type="STRING" size="256"/>
  698. <Column id="label" type="STRING" size="256"/>
  699. </ColumnInfo>
  700. <Rows>
  701. <Row>
  702. <Col id="value">00</Col>
  703. <Col id="label">재평가</Col>
  704. </Row>
  705. <Row>
  706. <Col id="value">01</Col>
  707. <Col id="label">재평가</Col>
  708. </Row>
  709. <Row>
  710. <Col id="value">99</Col>
  711. <Col id="label">종료</Col>
  712. </Row>
  713. <Row>
  714. <Col id="value">02</Col>
  715. <Col id="label">초기평가</Col>
  716. </Row>
  717. </Rows>
  718. </Dataset>
  719. <Dataset id="ds_main_etc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  720. <ColumnInfo>
  721. <Column id="partnm" type="STRING" size="256"/>
  722. <Column id="catenm" type="STRING" size="256"/>
  723. <Column id="sympnm" type="STRING" size="256"/>
  724. <Column id="nondrugnm" type="STRING" size="256"/>
  725. </ColumnInfo>
  726. <Rows>
  727. <Row/>
  728. </Rows>
  729. </Dataset>
  730. <Dataset id="ds_cond_patientnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  731. <ColumnInfo>
  732. <Column id="pid" type="STRING" size="256"/>
  733. </ColumnInfo>
  734. <Rows>
  735. <Row/>
  736. </Rows>
  737. </Dataset>
  738. <Dataset id="ds_main_sriusgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  739. <ColumnInfo>
  740. <Column id="tims" type="STRING" size="256"/>
  741. <Column id="execdd" type="STRING" size="256"/>
  742. <Column id="exectm" type="STRING" size="256"/>
  743. <Column id="totpnt" type="STRING" size="256"/>
  744. <Column id="clsgrupkind" type="STRING" size="256"/>
  745. </ColumnInfo>
  746. </Dataset>
  747. <Dataset id="ds_main_detlgrup_detlgruplisttemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlgrup_detlgruplist_oncolumnchanged">
  748. <ColumnInfo>
  749. <Column id="stat" type="STRING" size="256" sumtext="그리드상태"/>
  750. <Column id="stat2" type="STRING" size="256" sumtext="그리드상태"/>
  751. <Column id="obspartnm" type="STRING" size="256" sumtext="통증발생부위"/>
  752. <Column id="obspartid" type="STRING" size="256" sumtext="통증발위id"/>
  753. <Column id="direcid" type="STRING" size="256" sumtext="방향id"/>
  754. <Column id="direcnm" type="STRING" size="256" sumtext="방향명"/>
  755. <Column id="cause" type="STRING" size="256" sumtext="원인명"/>
  756. <Column id="causeid" type="STRING" size="256" sumtext="원인명"/>
  757. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  758. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  759. <Column id="flag" type="STRING" size="256" sumtext="등록구분(평가재평가종료)"/>
  760. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  761. <Column id="symptom" type="STRING" size="256" sumtext="통증양상명칭"/>
  762. <Column id="symptomid" type="STRING" size="256" sumtext="통증양상id"/>
  763. <Column id="freq" type="STRING" size="256" sumtext="빈도"/>
  764. <Column id="freqid" type="STRING" size="256" sumtext="빈도"/>
  765. <Column id="term" type="STRING" size="256" sumtext="기간"/>
  766. <Column id="termtm" type="STRING" size="256" sumtext="기간(분 전)"/>
  767. <Column id="termth" type="STRING" size="256" sumtext="기간(시간 전)"/>
  768. <Column id="termdd" type="STRING" size="256" sumtext="기간(일 전)"/>
  769. <Column id="pnt" type="STRING" size="256" sumtext="점수"/>
  770. <Column id="pntid" type="STRING" size="256" sumtext="점수id"/>
  771. <Column id="resn" type="STRING" size="256" sumtext="악화완화요인"/>
  772. <Column id="arbitration" type="STRING" size="256" sumtext="중재"/>
  773. <Column id="valu" type="STRING" size="256" sumtext="환자반응평가"/>
  774. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  775. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  776. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  777. <Column id="obsrecseq" type="STRING" size="256" sumtext="통증기록순번"/>
  778. <Column id="signno" type="STRING" size="256" sumtext="서명번호"/>
  779. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  780. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  781. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  782. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  783. <Column id="lastupdtrid" type="STRING" size="256" sumtext="사용자명"/>
  784. <Column id="genrdd" type="STRING" size="256" sumtext="발생기준일"/>
  785. <Column id="genrtm" type="STRING" size="256" sumtext="발생기준일시"/>
  786. <Column id="paingb" type="STRING" size="256" sumtext="통증발생구분"/>
  787. <Column id="paingbid" type="STRING" size="256" sumtext="통증발생구분"/>
  788. <Column id="tool" type="STRING" size="256" sumtext="사정도구"/>
  789. <Column id="toolid" type="STRING" size="256" sumtext="사정도구ID"/>
  790. <Column id="painprcpinfo" type="STRING" size="256" sumtext="통증처방기준자료"/>
  791. <Column id="pnt1" type="STRING" size="256" sumtext="통증점수상세1"/>
  792. <Column id="pnt2" type="STRING" size="256" sumtext="통증점수상세2"/>
  793. <Column id="pnt3" type="STRING" size="256" sumtext="통증점수상세3"/>
  794. <Column id="pnt4" type="STRING" size="256" sumtext="통증점수상세4"/>
  795. <Column id="pnt5" type="STRING" size="256" sumtext="통증점수상세5"/>
  796. <Column id="cnps1" type="STRING" size="256" sumtext="통증점수cnps상세1"/>
  797. <Column id="cnps2" type="STRING" size="256" sumtext="통증점수cnps상세2"/>
  798. <Column id="cnps3" type="STRING" size="256" sumtext="통증점수cnps상세3"/>
  799. <Column id="cnps4" type="STRING" size="256" sumtext="통증점수cnps상세4"/>
  800. <Column id="drugarbt" type="STRING" size="256" sumtext="약물중재"/>
  801. <Column id="drugarbtid" type="STRING" size="256" sumtext="약물중재id"/>
  802. <Column id="nondrugarbt" type="STRING" size="256" sumtext="비약물중재"/>
  803. <Column id="nondrugarbtid" type="STRING" size="256" sumtext="비약물중재id"/>
  804. <Column id="recrnm" type="STRING" size="256"/>
  805. <Column id="causenm" type="STRING" size="256"/>
  806. </ColumnInfo>
  807. </Dataset>
  808. <Dataset id="ds_viewinfo_viewdetlgrup_detlgruplisttemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  809. <ColumnInfo>
  810. <Column id="stat" type="STRING" size="256" sumtext="그리드상태"/>
  811. <Column id="stat2" type="STRING" size="256" sumtext="그리드상태"/>
  812. <Column id="obspartnm" type="STRING" size="256" sumtext="통증발생부위"/>
  813. <Column id="obspartid" type="STRING" size="256" sumtext="통증발위id"/>
  814. <Column id="direcid" type="STRING" size="256" sumtext="방향id"/>
  815. <Column id="direcnm" type="STRING" size="256" sumtext="방향명"/>
  816. <Column id="cause" type="STRING" size="256" sumtext="원인명"/>
  817. <Column id="causeid" type="STRING" size="256" sumtext="원인명"/>
  818. <Column id="recdd" type="STRING" size="256" sumtext="기록일자"/>
  819. <Column id="rectm" type="STRING" size="256" sumtext="기록시간"/>
  820. <Column id="flag" type="STRING" size="256" sumtext="등록구분(평가재평가종료)"/>
  821. <Column id="sel" type="STRING" size="256" sumtext="삭제선택체크박스"/>
  822. <Column id="symptom" type="STRING" size="256" sumtext="통증양상명칭"/>
  823. <Column id="symptomid" type="STRING" size="256" sumtext="통증양상id"/>
  824. <Column id="freq" type="STRING" size="256" sumtext="빈도"/>
  825. <Column id="freqid" type="STRING" size="256" sumtext="빈도"/>
  826. <Column id="term" type="STRING" size="256" sumtext="기간"/>
  827. <Column id="pnt" type="STRING" size="256" sumtext="점수"/>
  828. <Column id="pntid" type="STRING" size="256" sumtext="점수id"/>
  829. <Column id="resn" type="STRING" size="256" sumtext="악화완화요인"/>
  830. <Column id="arbitration" type="STRING" size="256" sumtext="중재"/>
  831. <Column id="drugarbt" type="STRING" size="256" sumtext="약물중재"/>
  832. <Column id="nondrugarbt" type="STRING" size="256" sumtext="비약물중재"/>
  833. <Column id="valu" type="STRING" size="256" sumtext="환자반응평가"/>
  834. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  835. <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
  836. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  837. <Column id="obsrecseq" type="STRING" size="256" sumtext="통증기록순번"/>
  838. <Column id="signno" type="STRING" size="256" sumtext="서명번호"/>
  839. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  840. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  841. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  842. <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
  843. <Column id="lastupdtrid" type="STRING" size="256" sumtext="사용자명"/>
  844. <Column id="genrdd" type="STRING" size="256" sumtext="발생기준일"/>
  845. <Column id="genrtm" type="STRING" size="256" sumtext="발생기준일시"/>
  846. <Column id="paingb" type="STRING" size="256" sumtext="통증발생구분"/>
  847. <Column id="paingbid" type="STRING" size="256" sumtext="통증발생구분"/>
  848. <Column id="tool" type="STRING" size="256" sumtext="사정도구"/>
  849. <Column id="toolid" type="STRING" size="256" sumtext="사정도구ID"/>
  850. <Column id="signrecddmax" type="STRING" size="256" sumtext="인증저장시 기록한 최종일자를 recdd로 넘겨준다."/>
  851. <Column id="cnps1" type="STRING" size="256" sumtext="통증점수cnps상세1"/>
  852. <Column id="cnps2" type="STRING" size="256" sumtext="통증점수cnps상세2"/>
  853. <Column id="cnps3" type="STRING" size="256" sumtext="통증점수cnps상세3"/>
  854. <Column id="cnps4" type="STRING" size="256" sumtext="통증점수cnps상세4"/>
  855. <Column id="termtm" type="STRING" size="256" sumtext="기간(분 전)"/>
  856. <Column id="termth" type="STRING" size="256" sumtext="기간(시간 전)"/>
  857. <Column id="termdd" type="STRING" size="256" sumtext="기간(일 전)"/>
  858. </ColumnInfo>
  859. </Dataset>
  860. <Dataset id="ds_maxrecgroupcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  861. </Objects>
  862. <Bind>
  863. <BindItem id="item0" compid="group5.switch1.rec.grp_sea.rdo_stdradio" propid="value" datasetid="ds_cond" columnid="stdradio"/>
  864. <BindItem id="item1" compid="group5.switch1.rec.grp_sea.ipt_genrdd" propid="value" datasetid="ds_cond" columnid="genrdd"/>
  865. <BindItem id="item2" compid="group5.switch1.rec.grp_sea.ipt_genrtm" propid="value" datasetid="ds_cond" columnid="genrtm"/>
  866. <BindItem id="item3" compid="group5.switch1.rec.grp_sea.cmb_wardcd" propid="value" datasetid="ds_cond" columnid="wardcd"/>
  867. <BindItem id="item4" compid="group5.switch1.rec.grp_sea.cmb_zone" propid="value" datasetid="ds_cond" columnid="zonecd"/>
  868. <BindItem id="item5" compid="group5.switch1.rec.grp_sea.cmb_roomcd" propid="value" datasetid="ds_cond" columnid="roomcd"/>
  869. <BindItem id="item6" compid="group5.switch1.rec.grp_sea.cmb_erpat" propid="value" datasetid="ds_cond" columnid="patientnm"/>
  870. <BindItem id="item7" compid="group5.switch1.rec.grp_sea.cmb_patientnm" propid="value" datasetid="ds_cond" columnid="patientnm"/>
  871. <BindItem id="item8" compid="group5.switch1.rec.grp_sea.ipt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
  872. <BindItem id="item9" compid="group5.switch1.rec.grp_sea.cmb_mypatlist" propid="value" datasetid="ds_cond" columnid="settingpatient"/>
  873. <BindItem id="item11" compid="group5.switch1.rec.grp_sea.chk_nextyn" propid="value" datasetid="ds_cond" columnid="nextyn"/>
  874. </Bind>
  875. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  876. * System Name : 경대 의료정보시스템
  877. * Job Name : emr_wardcarexp -> SMMNW04800
  878. * Creator : yjh
  879. * Make Date : 2016-02-17
  880. * Description :
  881. *---------------------------------------------------------------------------------------
  882. * Modify Date Modifier Modify Description
  883. *---------------------------------------------------------------------------------------
  884. * 2016-02-17 yjh TF->XP
  885. *
  886. *---------------------------------------------------------------------------------------
  887. ****************************************************************************************/
  888. //=======================================================================================
  889. // Lib Include
  890. //---------------------------------------------------------------------------------------
  891. include "com_commonxp::comm_main.xjs";
  892. include "emr_wardcarexp::SMMNW4800.xjs"; //yjh : 커밋
  893. include "emr_carerecxp::CareRec.xjs";
  894. include "emr_carecomxp::CareCom.xjs";
  895. include "emr_carecomxp::ENRSignEngine.xjs";
  896. include "emr_prcpmngtxp::MMOCommon.xjs"; //dsf_compareDsRow함수에서 lf_compareNodeVal함수를 사용하기 위함
  897. //=======================================================================================
  898. // Global Form Variable
  899. //---------------------------------------------------------------------------------------
  900. //=======================================================================================
  901. // Function
  902. //---------------------------------------------------------------------------------------
  903. /****************************************************************************************
  904. * Argument : N/A
  905. * Description :
  906. ****************************************************************************************/
  907. //=======================================================================================
  908. // Event
  909. //---------------------------------------------------------------------------------------
  910. /****************************************************************************************
  911. * Components : Form
  912. * Components ID : SMMNW04800
  913. * Event : oninit
  914. * Argument : 01.obj : Object Event has occurred
  915. * : 02.e : Event Object
  916. * Description : 화면 처음 초기화시
  917. ****************************************************************************************/
  918. function SMMNW04800_oninit(obj:Form, e:InitEventInfo)
  919. {
  920. frmf_initForm(obj); //폼 초기화
  921. }
  922. /****************************************************************************************
  923. * Components : Form
  924. * Components ID : SMMNW04800
  925. * Event : onload
  926. * Argument : 01.obj : Object Event has occurred
  927. * : 02.e : Event Object
  928. * Description : 화면 로딩 완료시
  929. ****************************************************************************************/
  930. function SMMNW04800_onload(obj:Form, e:LoadEventInfo)
  931. {
  932. //조회조건 : 202병동, 2212병실, 윤순학
  933. grdf_setRowTypeIcon(group5.switch1.rec.grd_detlgrup, 0); //그리드 상태 아이콘 보여주기
  934. var msg = '전체 - 기록된 모든 기록 조회 \r\n종료전(전체) - 기록된 등록/사정의 모든 기록 조회 \r\n종료전(최근입력만) - 등록과 가장 최근의 사정된 기록 조회 \r\n종료 - 종료된 발생부위의 등록과 종료된 기록 조회 ';
  935. group5.switch1.rec.grp_sea.rdo_stdradio.tooltiptext = msg;
  936. //model.removeNodeset("/root/main/detlgrup");
  937. //초기화(조회조건 세팅, 병동조회)
  938. //finit();
  939. this.setTimer(0, 100);
  940. frmf_createPopupMenu("pop_grd_detlgrup"
  941. ,"fPopupMenu"
  942. ,[{id: "fAddSameLevlItem" , level: "0", title: "재평가"},
  943. {id: "fAddSameLevlItemEnd" , level: "0", title: "종료"}]
  944. );
  945. Sign.init();
  946. group5.switch1.graph.iviewer1.obj_4dayschart.visible = false;
  947. }
  948. /****************************************************************************************
  949. * Components : Tab
  950. * Components ID : switch1
  951. * Event : onchanged
  952. * Argument : 01.obj : Object Event has occurred
  953. * : 02.e : Event Object
  954. * Description : 탭 변경시
  955. ****************************************************************************************/
  956. function group5_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  957. {
  958. if( e.postindex == 0 ){
  959. group5.switch1.graph.iviewer1.obj_4dayschart.visible = false;
  960. }else{
  961. group5.switch1.graph.iviewer1.obj_4dayschart.visible = true;
  962. }
  963. }
  964. /****************************************************************************************
  965. * Function : fPopupMenu
  966. * Description :
  967. * Argument :
  968. * return type :
  969. * Creator :
  970. ****************************************************************************************/
  971. function fPopupMenu(obj:PopupMenu, e:MenuClickEventInfo){
  972. if( e.id == "fAddSameLevlItem" ){
  973. fAddSameLevlItem();
  974. }else if( e.id == "fAddSameLevlItemEnd" ){
  975. fAddSameLevlItemEnd();
  976. }else if( e.id == "fAddSameLevlDataCopy" ){
  977. fAddSameLevlDataCopy();
  978. }
  979. }
  980. function fAddSameLevlDataCopy(){
  981. if( ds_main_detlgrup_detlgruplist.rowposition > 0 ){
  982. switch( group5.switch1.rec.grd_detlgrup.getCurEditType() ){
  983. case "text" :
  984. case "textarea" :
  985. case "date" :
  986. case "mask" :
  987. var sColNm = utlf_transNullToEmpty(group5.switch1.rec.grd_detlgrup.getCellProperty("body", group5.switch1.rec.grd_detlgrup.currentcol, "text")).replace("bind:", "");
  988. ds_main_detlgrup_detlgruplist.setColumn(ds_main_detlgrup_detlgruplist.rowposition, sColNm, ds_main_detlgrup_detlgruplist.getColumn(ds_main_detlgrup_detlgruplist.rowposition-1, sColNm));
  989. break;
  990. default :
  991. break;
  992. }
  993. }
  994. }
  995. /****************************************************************************************
  996. * Components : Combo
  997. * Components ID : cmb_zone
  998. * Event : onitemchanged
  999. * Argument : 01.obj : Object Event has occurred
  1000. * : 02.e : Event Object
  1001. * Description : 콤보 변경시
  1002. ****************************************************************************************/
  1003. function group5_switch1_rec_grp_sea_cmb_zone_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1004. {
  1005. obj.updateToDataset();
  1006. //해당 병실 환자정보 clear
  1007. if( ds_temp_cond_settingpatient_settingpatientlist.rowcount > 0){
  1008. ds_cond.setColumn(0, "settingpatient", "");
  1009. //ds_temp_cond_settingpatient_settingpatientlist.clearData();
  1010. }
  1011. ds_cond.setColumn(0, "patientnm", "");
  1012. ds_cond.setColumn(0, "pid", "");
  1013. ds_data_patientgruplist.clearData();
  1014. // 응급실정보 추가 (2011.03.16 Ahn)
  1015. //alert(cmb_room.value);
  1016. fGetCareComPatList(group5.switch1.rec.grp_sea.cmb_wardcd.value, group5.switch1.rec.grp_sea.cmb_roomcd.value, group5.switch1.rec.grp_sea.cmb_zone.value); //ds_data_patientgruplist를 가져옴
  1017. group5.switch1.rec.grp_sea.cmb_erpat.setFocus();
  1018. }
  1019. /****************************************************************************************
  1020. * Components : Button
  1021. * Components ID : btn_help
  1022. * Event : onclick
  1023. * Argument : 01.obj : Object Event has occurred
  1024. * : 02.e : Event Object
  1025. * Description : 도움말버튼 클릭시
  1026. ****************************************************************************************/
  1027. function group5_btn_help_onclick(obj:Button, e:ClickEventInfo)
  1028. {
  1029. var scrnid = frmf_getScreenID();
  1030. fGetHelpList(scrnid); //SPMNW17100 yjh : 커밋
  1031. }
  1032. /****************************************************************************************
  1033. * Components : Combo
  1034. * Components ID : cmb_wardcd
  1035. * Event : onitemchanged
  1036. * Argument : 01.obj : Object Event has occurred
  1037. * : 02.e : Event Object
  1038. * Description : 콤보 변경시
  1039. ****************************************************************************************/
  1040. function group5_switch1_rec_grp_sea_cmb_wardcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1041. {
  1042. obj.updateToDataset();
  1043. if( ds_temp_cond_settingpatient_settingpatientlist.rowcount > 0){
  1044. ds_cond.setColumn(0, "settingpatient", "");
  1045. //ds_temp_cond_settingpatient_settingpatientlist.clearData();
  1046. }
  1047. // 응급실인 경우 (2011.03.16 Ahn)
  1048. fGetWardChngInfo("N");
  1049. //병실정보 조회
  1050. fSearchRoomcd();
  1051. group5.switch1.rec.grp_sea.cmb_roomcd.setFocus();
  1052. if(eERFLAG == "Y"){
  1053. group5.switch1.rec.grp_sea.cmb_roomcd.value = ds_data_roomcdgruplist.getColumn(0, "roomcd");
  1054. //선택한 병실에 해당하는 환자리스트 조회
  1055. fGetCareComPatList(group5.switch1.rec.grp_sea.cmb_wardcd.value, group5.switch1.rec.grp_sea.cmb_roomcd.value, group5.switch1.rec.grp_sea.cmb_zone.value); //ds_data_patientgruplist를 받아옴
  1056. group5.switch1.rec.grp_sea.cmb_erpat.setFocus();
  1057. }
  1058. }
  1059. /****************************************************************************************
  1060. * Components : Combo
  1061. * Components ID : cmb_roomcd
  1062. * Event : onitemchanged
  1063. * Argument : 01.obj : Object Event has occurred
  1064. * : 02.e : Event Object
  1065. * Description : 콤보 변경시
  1066. ****************************************************************************************/
  1067. function group5_switch1_rec_grp_sea_cmb_roomcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1068. {
  1069. obj.updateToDataset();
  1070. if( ds_temp_cond_settingpatient_settingpatientlist.rowcount > 0){
  1071. ds_cond.setColumn(0, "settingpatient", "");
  1072. //ds_temp_cond_settingpatient_settingpatientlist.clearData();
  1073. }
  1074. //해당병실의 환자를 조회
  1075. fSearchPatInfo();
  1076. }
  1077. /****************************************************************************************
  1078. * Components : Combo
  1079. * Components ID : cmb_erpat
  1080. * Event : onitemchanged
  1081. * Argument : 01.obj : Object Event has occurred
  1082. * : 02.e : Event Object
  1083. * Description : 콤보 변경시
  1084. ****************************************************************************************/
  1085. function group5_switch1_rec_grp_sea_cmb_erpat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1086. {
  1087. // 선택 시 구역정보 기억
  1088. eSECTIONCD = ds_cond.getColumn(0, "zonecd");
  1089. //통증기록조회
  1090. var pid = ds_cond.getColumn(0, "patientnm");
  1091. if( utlf_isNull(pid) ){
  1092. pid = ds_cond.getColumn(0, "pid");
  1093. }else{
  1094. //병실내 환자정보 선택시 환자등록번호 setting
  1095. ds_cond.setColumn(0, "pid", pid);
  1096. }
  1097. fSearch("NoChg");
  1098. var sPid = ds_cond.getColumn(0, "pid");
  1099. var sOrdtype = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "ordtype");
  1100. var sIndd = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "indd");
  1101. var sCretno = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "cretno");
  1102. var sInstcd = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "instcd");
  1103. param = sOrdtype + "▦"
  1104. + sPid + "▦"
  1105. + sIndd + "▦"
  1106. + sCretno + "▦"
  1107. + sInstcd + "▦"
  1108. + "▦" ;
  1109. //frmf_modal("SPMMO08900","SPMMO08900","","",1,"","","","","","","","M");
  1110. appf_initPatientInfo(param); //상단정보 셋팅
  1111. var node = appf_getPatientInfoDetails(xPamInfoPath) ;
  1112. }
  1113. /****************************************************************************************
  1114. * Components : Combo
  1115. * Components ID : cmb_patientnm
  1116. * Event : onitemchanged
  1117. * Argument : 01.obj : Object Event has occurred
  1118. * : 02.e : Event Object
  1119. * Description : 콤보 변경시
  1120. ****************************************************************************************/
  1121. function group5_switch1_rec_grp_sea_cmb_patientnm_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1122. {
  1123. obj.updateToDataset();
  1124. if( ds_temp_cond_settingpatient_settingpatientlist.rowcount > 0){
  1125. ds_cond.setColumn(0, "settingpatient", "");
  1126. //ds_temp_cond_settingpatient_settingpatientlist.clearData();
  1127. }
  1128. //통증기록조회
  1129. var pid = ds_cond.getColumn(0, "patientnm");
  1130. if( utlf_isNull(pid) ){
  1131. pid = ds_cond.getColumn(0, "pid");
  1132. }else{
  1133. //병실내 환자정보 선택시 환자등록번호 setting
  1134. ds_cond.setColumn(0, "pid", pid);
  1135. }
  1136. fSearch();
  1137. var sPid = ds_cond.getColumn(0, "pid");
  1138. var sOrdtype = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "ordtype");
  1139. var sIndd = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "indd");
  1140. var sCretno = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "cretno");
  1141. var sInstcd = ds_data_patientgruplist.getColumn(ds_data_patientgruplist.findRow("pid", sPid), "instcd");
  1142. param = sOrdtype + "▦"
  1143. + sPid + "▦"
  1144. + sIndd + "▦"
  1145. + sCretno + "▦"
  1146. + sInstcd + "▦"
  1147. + "▦" ;
  1148. //setParameter("condparam", param);
  1149. //frmf_modal("SPMMO08900","SPMMO08900","","",1,"","","","","","","","M");
  1150. appf_initPatientInfo(param); //상단정보 셋팅
  1151. var node = appf_getPatientInfoDetails(xPamInfoPath) ;
  1152. if( ds_temp_cond_settingpatient_settingpatientlist.rowcount > 0){
  1153. ds_cond.setColumn(0, "settingpatient", sPid);
  1154. }
  1155. }
  1156. /****************************************************************************************
  1157. * Components : Edit
  1158. * Components ID : ipt_pid
  1159. * Event : onkeyup
  1160. * Argument : 01.obj : Object Event has occurred
  1161. * : 02.e : Event Object
  1162. * Description : 에디트 키 입력시
  1163. ****************************************************************************************/
  1164. function group5_switch1_rec_grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  1165. {
  1166. if( e.keycode == 13 ){
  1167. obj.updateToDataset();
  1168. var pid = ds_cond.getColumn(0, "pid");
  1169. if( utlf_isNull(pid) ){
  1170. sysf_messageBox("등록번호","C001");
  1171. group5.switch1.rec.grp_sea.ipt_pid.setFocus();
  1172. return;
  1173. }else{
  1174. if(!HC_isHomeCare || (HC_isHomeCare && HC_ioflag == 'I')){
  1175. //등록번호에 해당되는 병동, 병실정보를 조회한다.
  1176. fGetPidWardInfo(pid, "Chg");
  1177. }
  1178. fSearchRecInfo(); //ds_main_detlgrup_detlgruplist를 받아옴
  1179. //조회후 그리드의 발생부위, 발생일자를 머지
  1180. //fMergeGenrAreaDD(); //그리드 suppress로 대체
  1181. }
  1182. }
  1183. }
  1184. /****************************************************************************************
  1185. * Components : Button
  1186. * Components ID : btn_patSearch
  1187. * Event : onclick
  1188. * Argument : 01.obj : Object Event has occurred
  1189. * : 02.e : Event Object
  1190. * Description : 돋보기버튼 클릭시
  1191. ****************************************************************************************/
  1192. function group5_switch1_rec_grp_sea_btn_patSearch_onclick(obj:Button, e:ClickEventInfo)
  1193. {
  1194. //modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/cond");
  1195. frmf_modal("SPPMC02500","SPPMC02500","","",1,"150","150","","","","","","M");
  1196. ds_main.setColumn(0, "popupendflag", frmf_getParameter("SPPMC02500_popupendflag"));
  1197. //환자번호 copy
  1198. var popupendflag = ds_main.getColumn(0, "popupendflag");
  1199. if (popupendflag == "ok"){
  1200. ds_main_patinfo_patinfolist.copyData(ds_patinfolist);
  1201. ds_cond.setColumn(0, "pid", ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  1202. ds_cond.setColumn(0, "patientnm", ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  1203. }
  1204. var pid = ds_cond.getColumn(0, "pid");
  1205. //환자번호를 가지고 병동, 병실을 조회하여 조회조건에 세팅한다.
  1206. fGetPidWardInfo(pid);
  1207. //통증 기록 조회
  1208. fSearch();
  1209. }
  1210. /****************************************************************************************
  1211. * Components : Combo
  1212. * Components ID : cmb_mypatlist
  1213. * Event : onitemchanged
  1214. * Argument : 01.obj : Object Event has occurred
  1215. * : 02.e : Event Object
  1216. * Description : 콤보 변경시
  1217. ****************************************************************************************/
  1218. function group5_switch1_rec_grp_sea_cmb_mypatlist_onitemchanged(obj, e)
  1219. {
  1220. //통증기록조회
  1221. var pid = ds_cond.getColumn(0, "settingpatient");
  1222. //alert(pid);
  1223. if( utlf_isNull(pid) ){
  1224. pid = ds_cond.getColumn(0, "pid");
  1225. }else{
  1226. //병실내 환자정보 선택시 환자등록번호 setting
  1227. ds_cond.setColumn(0, "pid", pid);
  1228. }
  1229. fSearch2();
  1230. var sPid = ds_cond.getColumn(0, "pid");
  1231. var sOrdtype = ds_temp_cond_settingpatient_settingpatientlist.getColumn(ds_temp_cond_settingpatient_settingpatientlist.findRow("pid", sPid), "ordtype");
  1232. var sIndd = ds_temp_cond_settingpatient_settingpatientlist.getColumn(ds_temp_cond_settingpatient_settingpatientlist.findRow("pid", sPid), "indd");
  1233. var sCretno = ds_temp_cond_settingpatient_settingpatientlist.getColumn(ds_temp_cond_settingpatient_settingpatientlist.findRow("pid", sPid), "cretno");
  1234. var sInstcd = ds_temp_cond_settingpatient_settingpatientlist.getColumn(ds_temp_cond_settingpatient_settingpatientlist.findRow("pid", sPid), "instcd");
  1235. param = sOrdtype + "▦"
  1236. + sPid + "▦"
  1237. + sIndd + "▦"
  1238. + sCretno + "▦"
  1239. + sInstcd + "▦"
  1240. + "▦" ;
  1241. //setParameter("condparam", param);
  1242. //frmf_modal("SPMMO08900","SPMMO08900","","",1,"","","","","","","","M");
  1243. appf_initPatientInfo(param); //상단정보 셋팅
  1244. var node = appf_getPatientInfoDetails(xPamInfoPath) ;
  1245. }
  1246. /****************************************************************************************
  1247. * Components : Radio
  1248. * Components ID : rdo_stdradio
  1249. * Event : onitemchanged
  1250. * Argument : 01.obj : Object Event has occurred
  1251. * : 02.e : Event Object
  1252. * Description : 라디오 변경시
  1253. ****************************************************************************************/
  1254. function group5_switch1_rec_grp_sea_rdo_stdradio_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1255. {
  1256. fSearch();
  1257. }
  1258. /****************************************************************************************
  1259. * Components : Calendar
  1260. * Components ID : ipt_genrdd
  1261. * Event : onchanged
  1262. * Argument : 01.obj : Object Event has occurred
  1263. * : 02.e : Event Object
  1264. * Description : 달력 값 변경시
  1265. ****************************************************************************************/
  1266. function group5_switch1_rec_grp_sea_ipt_genrdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1267. {
  1268. fSearch();
  1269. }
  1270. /****************************************************************************************
  1271. * Components : MaskEdit
  1272. * Components ID : ipt_genrtm
  1273. * Event : onkeyup
  1274. * Argument : 01.obj : Object Event has occurred
  1275. * : 02.e : Event Object
  1276. * Description : 키 입력시
  1277. ****************************************************************************************/
  1278. function group5_switch1_rec_grp_sea_ipt_genrtm_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  1279. {
  1280. if(e.keycode == 13){
  1281. fSearch();
  1282. }
  1283. }
  1284. /****************************************************************************************
  1285. * Components : Grid
  1286. * Components ID : grd_detlgrup
  1287. * Event : onexpandup
  1288. * Argument : 01.obj : Object Event has occurred
  1289. * : 02.e : Event Object
  1290. * Description : expand버튼 클릭시
  1291. ****************************************************************************************/
  1292. function group5_switch1_rec_grd_detlgrup_onexpandup(obj, e)
  1293. {
  1294. var att = group5.switch1.rec.grd_detlgrup.getCellProperty("Body", e.col, "text").replace("bind:", "");
  1295. //비약물중재 추가_20110414_SMY
  1296. ds_main_detlgrup_detlgruplist.enableevent = false;
  1297. ds_main_detlgrup_detlgruplist.updatecontrol = false;
  1298. if( att == "obspartnm" || att == "direcnm" || att == "cause" || att == "symptom" || att=="freq" || att=="pnt" || att=="paingb" || att == "tool" || att == "nondrugarbt" || att == "termtm" || att == "termth" ||att == "termdd"){ //통증부위 방향 원인 통증양상 통증점수 비약물중재
  1299. fPopupBedSoreData(group5.switch1.rec.grd_detlgrup.currentrow); //yjh : 커밋(SPMNW04802)
  1300. //약물중재 클릭시 처방리스트 팝업 추가_20110419_SMY
  1301. }else if( att == "drugarbt"){
  1302. fPopupPrcpData(group5.switch1.rec.grd_detlgrup.currentrow); //yjh : 커밋(SPMNW13900)
  1303. }
  1304. ds_main_detlgrup_detlgruplist.updatecontrol = true;
  1305. ds_main_detlgrup_detlgruplist.enableevent = true;
  1306. }
  1307. /****************************************************************************************
  1308. * Components : Dataset
  1309. * Components ID : ds_main_detlgrup_detlgruplist
  1310. * Event : oncolumnchanged
  1311. * Argument : 01.obj : Object Event has occurred
  1312. * : 02.e : Event Object
  1313. * Description : 데이터셋 값 변경시
  1314. ****************************************************************************************/
  1315. function ds_main_detlgrup_detlgruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1316. {
  1317. //상태를 수정상태로 변경 return;
  1318. fChangedGridCol(e.columnid);
  1319. }
  1320. /****************************************************************************************
  1321. * Components : Grid
  1322. * Components ID : grd_detlgrup
  1323. * Event : onrbuttondown
  1324. * Argument : 01.obj : Object Event has occurred
  1325. * : 02.e : Event Object
  1326. * Description : 마우스 우클릭시
  1327. ****************************************************************************************/
  1328. function group5_switch1_rec_grd_detlgrup_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1329. {
  1330. if( e.row > -1 && e.col > -1 ){
  1331. //group5.switch1.rec.grd_detlgrup.autoenter = "key";
  1332. group5.switch1.rec.grd_detlgrup.setCellPos(e.col);
  1333. grdf_setSelectedCell(obj, e);
  1334. // if(obj.getEditText() == undefined){
  1335. // pop_grd_detlgrup.trackPopup(e.screenX, e.screenY);
  1336. // }
  1337. }
  1338. }
  1339. /****************************************************************************************
  1340. * Components : Grid
  1341. * Components ID : grd_detlgrup
  1342. * Event : oncelldblclick
  1343. * Argument : 01.obj : Object Event has occurred
  1344. * : 02.e : Event Object
  1345. * Description : 그리드 셀 더블클릭시
  1346. ****************************************************************************************/
  1347. function group5_switch1_rec_grd_detlgrup_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1348. {
  1349. var att = group5.switch1.rec.grd_detlgrup.getCellProperty("Body", e.col, "text").replace("bind:", "");
  1350. if(att == "fileimg"){//첨부파일
  1351. fOpenFilePopup(); //yjh : 커밋(SPMNW04703)
  1352. }else if(att == "underangle" || att == 'underdepth'){//undermining
  1353. fPopupUndermining(); //yjh : 커밋(SPMNW04701)
  1354. }else{
  1355. obj.showEditor(true);
  1356. }
  1357. }
  1358. /****************************************************************************************
  1359. * Components : Grid
  1360. * Components ID : grd_detlgrup
  1361. * Event : oncellclick
  1362. * Argument : 01.obj : Object Event has occurred
  1363. * : 02.e : Event Object
  1364. * Description : 그리드 셀 클릭시
  1365. ****************************************************************************************/
  1366. function group5_switch1_rec_grd_detlgrup_oncellclick(obj:Grid, e:GridClickEventInfo)
  1367. {
  1368. var iRow=group5.switch1.rec.grd_detlgrup.currentrow;
  1369. var att = group5.switch1.rec.grd_detlgrup.getCellProperty("Body", e.col, "text").replace("bind:", "");
  1370. if( att == "flag" ){
  1371. var ChkSData=ds_main_detlgrup_detlgruplist.getColumn(iRow, "lastupdtrid");
  1372. var ChkFlag= ds_main_detlgrup_detlgruplist.getColumn(iRow, "flag");
  1373. if ((ChkFlag=="00" || ChkFlag=="02") && group5.switch1.rec.grp_sea.caption1.value=="AAAA") {
  1374. alert(" 발생부위추가 후 초기평가 하시기 바랍니다");
  1375. return;
  1376. }
  1377. }
  1378. if( att == "sel" ){
  1379. //체크 해제및 체크 하면 같은 그룹내의 데이터를 모두 체크 해제 및 체크상태로 바꾼다.
  1380. /************************************ 미구현내역******************************************/
  1381. //체크 해제하면 update상태를 select상태로 변경한다.
  1382. fChangeStatus(iRow);
  1383. //발생부위별로 머지한다.
  1384. //fMergeGenrAreaDD(); //그리드 suppress로 대체
  1385. }
  1386. if( e.col == 9 ){
  1387. grdf_controlGridCalendar(obj, e);
  1388. }else{
  1389. var rSize = 0;
  1390. if( obj.getCellProperty("body", e.col, "expandshow") != "show"
  1391. && (obj.getCellProperty("body", e.col, "edittype") != "text" && obj.getCellProperty("body", e.col, "edittype") != "textarea" && utlf_transNullToEmpty(obj.getCellProperty("body", e.col, "edittype")).indexOf("expr") < 0)) return;
  1392. var oRect = obj.getCellRect(e.row, e.col);
  1393. if( !utlf_isNull(oRect) ){
  1394. rSize = oRect.right;
  1395. if (e.clientX >= (rSize - 25) && e.clientX < rSize){
  1396. var userEvent = new EventInfo();
  1397. userEvent.col = e.col;
  1398. userEvent.row = e.row;
  1399. group5_switch1_rec_grd_detlgrup_onexpandup(group5.switch1.rec.grd_detlgrup, userEvent);
  1400. }
  1401. }
  1402. }
  1403. //expr로 대체
  1404. /*if( att == "termtm" ){
  1405. if(ds_main_detlgrup_detlgruplist.getColumn(iRow, "flag") == "00"){
  1406. group5.switch1.rec.grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termtm")) = false;
  1407. }else{
  1408. group5.switch1.rec.grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termtm")) = true;
  1409. return;
  1410. }
  1411. }
  1412. if( att == "termth" ){
  1413. if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/flag") == "00"){
  1414. grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termth")) = false;
  1415. }else{
  1416. grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termth")) = true;
  1417. return;
  1418. }
  1419. }
  1420. if( att == "termdd" ){
  1421. if(model.getValue("/root/main/detlgrup/detlgruplist["+ iRow +"]/flag") == "00"){
  1422. grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termdd")) = false;
  1423. }else{
  1424. grd_detlgrup.isReadOnly(iRow,grd_detlgrup.colRef("termdd")) = true;
  1425. return;
  1426. }
  1427. }*/
  1428. }
  1429. /****************************************************************************************
  1430. * Components : Static
  1431. * Components ID : caption6
  1432. * Event : onclick
  1433. * Argument : 01.obj : Object Event has occurred
  1434. * : 02.e : Event Object
  1435. * Description : Static 클릭시
  1436. ****************************************************************************************/
  1437. function group1_caption6_onclick(obj:Static, e:ClickEventInfo)
  1438. {
  1439. if(sysf_getUserId() == 'DEV512' || sysf_getUserId() == 'ENR' || sysf_getUserId() == 'dev512' || sysf_getUserId() == 'enr'){
  1440. HC_homecarecd = utlf_transNullToEmpty(opener.frmf_getParameter('homecarecd'));//'3090100000';//'3090100000';//
  1441. HC_ioflag = utlf_transNullToEmpty(opener.frmf_getParameter('ioflag'));//'O';//'I';//
  1442. var pid = utlf_transNullToEmpty(opener.frmf_getParameter('pid')); //'551121110';//'11524296';//
  1443. var hngnm = utlf_transNullToEmpty(opener.frmf_getParameter('hngnm')); //'김미연';//'이상월';//
  1444. var wardcd = utlf_transNullToEmpty(opener.frmf_getParameter('wardcd'));//'';//'3050107000';//
  1445. var roomcd = utlf_transNullToEmpty(opener.frmf_getParameter('roomcd'));//'';//'4003';//
  1446. alert('homcarecd :' + HC_homecarecd + ', hc_ioflag :' + HC_ioflag + ', pid : ' + pid + ', hngnm : ' + hngnm + ', wardcd : ' + wardcd + ', roomcd : ' + roomcd);
  1447. }
  1448. }
  1449. /****************************************************************************************
  1450. * Components : Button
  1451. * Components ID : button4
  1452. * Event : onclick
  1453. * Argument : 01.obj : Object Event has occurred
  1454. * : 02.e : Event Object
  1455. * Description : 조회버튼 클릭시
  1456. ****************************************************************************************/
  1457. function group5_switch1_rec_grp_sea_grp_search_button4_onclick(obj:Button, e:ClickEventInfo)
  1458. {
  1459. fSearch();
  1460. }
  1461. /****************************************************************************************
  1462. * Components : Button
  1463. * Components ID : button1
  1464. * Event : onclick
  1465. * Argument : 01.obj : Object Event has occurred
  1466. * : 02.e : Event Object
  1467. * Description : 삭제버튼 클릭시
  1468. ****************************************************************************************/
  1469. function group5_switch1_rec_grp_sea_grp_save_button1_onclick(obj:Button, e:ClickEventInfo)
  1470. {
  1471. // 선택 시 구역정보 기억
  1472. eSECTIONCD = ds_cond.getColumn(0, "zonecd");
  1473. if( ds_main_detlgrup_detlgruplist.rowposition > -1 ){
  1474. fDel();
  1475. }
  1476. }
  1477. /****************************************************************************************
  1478. * Components : Button
  1479. * Components ID : button2
  1480. * Event : onclick
  1481. * Argument : 01.obj : Object Event has occurred
  1482. * : 02.e : Event Object
  1483. * Description : 발생부위추가버튼 클릭시
  1484. ****************************************************************************************/
  1485. function group5_switch1_rec_grp_sea_grp_save_button2_onclick(obj:Button, e:ClickEventInfo)
  1486. {
  1487. group5.switch1.rec.grp_sea.caption1.value="AAAA";
  1488. // 선택 시 구역정보 기억
  1489. eSECTIONCD = ds_cond.getColumn(0, "zonecd");
  1490. fAddGenArea();
  1491. }
  1492. /****************************************************************************************
  1493. * Components : Button
  1494. * Components ID : button3
  1495. * Event : onclick
  1496. * Argument : 01.obj : Object Event has occurred
  1497. * : 02.e : Event Object
  1498. * Description : 인증저장버튼 클릭시
  1499. ****************************************************************************************/
  1500. function group5_switch1_rec_grp_sea_grp_save_button3_onclick(obj:Button, e:ClickEventInfo)
  1501. {
  1502. // 선택 시 구역정보 기억
  1503. eSECTIONCD = ds_cond.getColumn(0, "zonecd");
  1504. fSignSave();
  1505. }
  1506. function group5_switch1_rec_grd_detlgrup_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
  1507. {
  1508. //group5.switch1.rec.grd_detlgrup.autoenter = "key";
  1509. }
  1510. function group5_switch1_rec_grd_detlgrup_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1511. {
  1512. //group5.switch1.rec.grd_detlgrup.autoenter = "select";
  1513. if(e.col == 9)
  1514. {
  1515. obj.showEditor(true);
  1516. }
  1517. }
  1518. function group5_switch1_rec_grd_detlgrup_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1519. {
  1520. //group5.switch1.rec.grd_detlgrup.autoenter = "select";
  1521. if( e.row > -1 && e.col > -1 ){
  1522. //group5.switch1.rec.grd_detlgrup.autoenter = "key";
  1523. group5.switch1.rec.grd_detlgrup.setCellPos(e.col);
  1524. grdf_setSelectedCell(obj, e);
  1525. if(obj.getEditText() == undefined){
  1526. pop_grd_detlgrup.trackPopup(e.screenX, e.screenY);
  1527. }
  1528. }
  1529. }
  1530. function SMMNW04800_ontimer(obj:Form, e:TimerEventInfo)
  1531. {
  1532. if( e.timerid == 0 ){
  1533. this.killTimer(0);
  1534. finit();
  1535. }
  1536. }
  1537. function group5_switch1_rec_grp_sea_ipt_genrtm_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  1538. {
  1539. utlf_validMaskEditTime(obj, e);
  1540. }
  1541. function group5_switch1_rec_grd_detlgrup_ontextchange(obj:Grid, e:GridEditTextChangeEventInfo)
  1542. {
  1543. if( e.col == 9 ){
  1544. grdf_validGridTime(obj, e);
  1545. }
  1546. }
  1547. ]]></Script>
  1548. </Form>
  1549. </FDL>