SMMNI00200_주사실미시행내역.xfdl 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNI00200" position="absolute 0 0 1256 805" titletext="주사실 미시행내역" onload="SMMNI00200_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" position="absolute 0 0 1256 805" anchor="all" positiontype="position" scrollbars="none">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption10" class="tit_2" position="absolute 0 76 157 96" style="align:left middle;" anchor="default" text="대상자 리스트" positiontype="position" align="align:left middle;"/>
  11. <Shape id="line7" class="line_1" position="absolute 0 71 1194 71" anchor="default" linetype="horizontal" positiontype="position"/>
  12. <Grid id="grd_prcpdetl" class="datagrid2" position="absolute 0 96 1256 782" anchor="all" positiontype="position" binddataset="ds_grd_prcpdetl" onmousemove="group3_grd_prcpdetl_onmousemove" cellsizingtype="col" cellsizebandtype="allband">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="26" band="left"/>
  17. <Column size="75" band="left"/>
  18. <Column size="70" band="left"/>
  19. <Column size="50" band="left"/>
  20. <Column size="105" band="left"/>
  21. <Column size="0" band="left"/>
  22. <Column size="40" band="left"/>
  23. <Column size="60" band="left"/>
  24. <Column size="50" band="left"/>
  25. <Column size="77"/>
  26. <Column size="200"/>
  27. <Column size="146"/>
  28. <Column size="35"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="100"/>
  35. <Column size="81"/>
  36. <Column size="60"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="60"/>
  41. <Column size="110"/>
  42. <Column size="100"/>
  43. <Column size="1"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="22" band="head"/>
  52. <Row size="24"/>
  53. </Rows>
  54. <Band id="head">
  55. <Cell displaytype="checkbox" edittype="checkbox"/>
  56. <Cell col="1" text="등록번호"/>
  57. <Cell col="2" text="환자명"/>
  58. <Cell col="3" text="S/A"/>
  59. <Cell col="4" text="진료과"/>
  60. <Cell col="5" text="주치의"/>
  61. <Cell col="6" text="구분"/>
  62. <Cell col="7" text="상태"/>
  63. <Cell col="8" text="수납"/>
  64. <Cell col="9" text="처방코드"/>
  65. <Cell col="10" text="처방명"/>
  66. <Cell col="11" text="용량/수량/횟수/투여경로"/>
  67. <Cell col="12" text="Mix"/>
  68. <Cell col="13" text="보관검체"/>
  69. <Cell col="14" text="AST"/>
  70. <Cell col="15" text="부위"/>
  71. <Cell col="16" text="차수"/>
  72. <Cell col="17" text="LOT No"/>
  73. <Cell col="18" text="전달사항"/>
  74. <Cell col="19" text="예약일자"/>
  75. <Cell col="20" text="예약시간"/>
  76. <Cell col="21" text="처방일시"/>
  77. <Cell col="22" text="시행일시"/>
  78. <Cell col="23" text="시행부서"/>
  79. <Cell col="24" text="시행자"/>
  80. <Cell col="25" text="마감일시"/>
  81. <Cell col="26" text="마감자"/>
  82. <Cell col="27"/>
  83. <Cell col="28"/>
  84. <Cell col="29"/>
  85. <Cell col="30"/>
  86. <Cell col="31"/>
  87. <Cell col="32"/>
  88. </Band>
  89. <Band id="body">
  90. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' || chk =='1'?1:0"/>
  91. <Cell col="1" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:pid"/>
  92. <Cell col="2" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:hngnm"/>
  93. <Cell col="3" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:gndrage"/>
  94. <Cell col="4" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:depthngnm"/>
  95. <Cell col="5" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:usernm"/>
  96. <Cell col="6" displaytype="combo" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:prcpclscd" combodataset="ds_grid_prcpclscd" combocodecol="value" combodatacol="label"/>
  97. <Cell col="7" displaytype="combo" edittype="none" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:stat" combodataset="ds_grid_stat" combocodecol="value" combodatacol="label"/>
  98. <Cell col="8" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:rcptchk" combodataset="ds_grid_rcptchk" combocodecol="value" combodatacol="label"/>
  99. <Cell col="9" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:prcpcd"/>
  100. <Cell col="10" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:prcpnm"/>
  101. <Cell col="11" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:datagroup"/>
  102. <Cell col="12" displaytype="normal" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:mix"/>
  103. <Cell col="13" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:keepspc" mask="@@@@-@@-@@"/>
  104. <Cell col="14" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:ast" mask="####-##-##"/>
  105. <Cell col="15" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:partflag"/>
  106. <Cell col="16" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:dgno"/>
  107. <Cell col="17" displaytype="normal" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:lotno"/>
  108. <Cell col="18" style="align:left middle;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:prcpdelivefact"/>
  109. <Cell col="19" displaytype="date" edittype="none" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:actorddd" calendardisplaynulltype="none"/>
  110. <Cell col="20" displaytype="combo" edittype="combo" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:rsrvtm1" mask="####-##-##" combodataset="ds_grid_rsrvtm1" combocodecol="value" combodatacol="label"/>
  111. <Cell col="21" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:orddd" mask="expr:utlf_isNull(orddd) ? '' : '####-##-## ##:##'"/>
  112. <Cell col="22" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:execdd" mask="expr:execdd == '-' ? '' : '####-##-## ##:##'"/>
  113. <Cell col="23" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:execdeptcdnm"/>
  114. <Cell col="24" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:execrid"/>
  115. <Cell col="25" displaytype="normal" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:enddd"/>
  116. <Cell col="26" style="align:left;padding:0 2 0 2;background:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);background2:EXPR(printyn == 'Y' &amp;&amp; execprcpstatcd != '610'?&quot;#FFFFCC&quot;:!utlf_isNull(enddd)?&quot;#ffcccc&quot;:rcptchk == 'N'?&quot;#ff9600&quot;:rcptchk == 'V'?&quot;#ffff00&quot;:&quot;#ffffff&quot;);" text="bind:endid"/>
  117. <Cell col="27" text="bind:prcpdd"/>
  118. <Cell col="28" text="bind:prcpno"/>
  119. <Cell col="29" text="bind:prcphistno"/>
  120. <Cell col="30" text="bind:instcd"/>
  121. <Cell col="31" text="bind:etcprcpresncd"/>
  122. <Cell col="32" text="bind:blodcomstat"/>
  123. <Cell col="33"/>
  124. </Band>
  125. </Format>
  126. </Formats>
  127. </Grid>
  128. <Button id="btn_prcpend" taborder="1" text="마감" position="absolute 1209 75 1253 94" class="btn2" onclick="group3_btn_prcpend_onclick"/>
  129. <Static id="Static00" position="absolute 17 787 35 802" style="background:#ffccccff;"/>
  130. <Static id="Static01" text="마감처방" position="absolute 43 786 117 804"/>
  131. </Layout>
  132. </Layouts>
  133. </Div>
  134. <Static id="caption6" class="tit_1" position="absolute 0 4 145 29" anchor="default" positiontype="position" text="주사실 미시행내역" onclick="caption6_onclick"/>
  135. <Div id="grp_sea" anchor="left top right" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 29 1256 71">
  136. <Layouts>
  137. <Layout>
  138. <Button id="button1" taborder="0" text="조회" onlbuttonup="button1_onlbuttonup" class="btn1" position="absolute 1092 10 1148 30" anchor="right" onclick="grp_sea_button1_onclick" positiontype="position"/>
  139. <Static id="caption13" text="시행여부" class="search_name" position="absolute 531 12 599 32" anchor="default" positiontype="position"/>
  140. <Calendar id="ipt_todd" taborder="2" class="input_search" position="absolute 417 12 507 32" mask="####-##-##" dateformat="yyyy-MM-dd " value="null" align="align:center middle;" anchor="default" positiontype="position" autoselect="true"/>
  141. <Static id="caption1" text="~" position="absolute 401 12 417 32" style="align:center middle;" anchor="default" positiontype="position"/>
  142. <Calendar id="ipt_fromdd" taborder="3" class="input_search" position="absolute 311 12 401 32" mask="####-##-##" dateformat="yyyy-MM-dd " value="null" align="align:center middle;" anchor="default" positiontype="position" autoselect="true" autoskip="true"/>
  143. <Radio id="radio2" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 83 11 303 31" onclick="radio2_onclick" value="1" index="0" anchor="default" positiontype="position">
  144. <Dataset id="innerdataset">
  145. <ColumnInfo>
  146. <Column id="codecolumn" size="256"/>
  147. <Column id="datacolumn" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="codecolumn">1</Col>
  152. <Col id="datacolumn">시행일자</Col>
  153. </Row>
  154. <Row>
  155. <Col id="codecolumn">2</Col>
  156. <Col id="datacolumn">처방일자</Col>
  157. </Row>
  158. <Row>
  159. <Col id="codecolumn">3</Col>
  160. <Col id="datacolumn">예약일자</Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. </Radio>
  165. <Static id="caption2" text="조회구간" class="search_name" position="absolute 8 12 79 32" anchor="default" positiontype="position"/>
  166. <Radio id="radio1" taborder="7" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 605 11 1056 31" value="1" index="0" enable="true" anchor="default" positiontype="position" onitemchanged="grp_sea_radio1_onitemchanged">
  167. <Dataset id="innerdataset">
  168. <ColumnInfo>
  169. <Column id="codecolumn" size="256"/>
  170. <Column id="datacolumn" size="256"/>
  171. </ColumnInfo>
  172. <Rows>
  173. <Row>
  174. <Col id="codecolumn">1</Col>
  175. <Col id="datacolumn">미시행 ______________</Col>
  176. </Row>
  177. <Row>
  178. <Col id="codecolumn">2</Col>
  179. <Col id="datacolumn">완료 ______________</Col>
  180. </Row>
  181. <Row>
  182. <Col id="codecolumn">3</Col>
  183. <Col id="datacolumn">전체</Col>
  184. </Row>
  185. </Rows>
  186. </Dataset>
  187. </Radio>
  188. <Combo id="combo1" taborder="8" position="absolute 663 12 751 32" codecolumn="codecolumn" datacolumn="datacolumn" index="-1">
  189. <Dataset id="innerdataset">
  190. <ColumnInfo>
  191. <Column id="codecolumn" size="256"/>
  192. <Column id="datacolumn" size="256"/>
  193. </ColumnInfo>
  194. <Rows>
  195. <Row>
  196. <Col id="codecolumn">A</Col>
  197. <Col id="datacolumn">전체</Col>
  198. </Row>
  199. <Row>
  200. <Col id="codecolumn">N</Col>
  201. <Col id="datacolumn">출력전</Col>
  202. </Row>
  203. <Row>
  204. <Col id="codecolumn">Y</Col>
  205. <Col id="datacolumn">출력후</Col>
  206. </Row>
  207. </Rows>
  208. </Dataset>
  209. </Combo>
  210. <Combo id="cmb_execflag" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 801 12 889 32" onitemchanged="grp_sea_cmb_execflag_onitemchanged">
  211. <Dataset id="innerdataset">
  212. <ColumnInfo>
  213. <Column id="codecolumn" size="256"/>
  214. <Column id="datacolumn" size="256"/>
  215. </ColumnInfo>
  216. <Rows>
  217. <Row>
  218. <Col id="codecolumn">A</Col>
  219. <Col id="datacolumn">전체</Col>
  220. </Row>
  221. <Row>
  222. <Col id="codecolumn">N</Col>
  223. <Col id="datacolumn">마감전</Col>
  224. </Row>
  225. <Row>
  226. <Col id="codecolumn">Y</Col>
  227. <Col id="datacolumn">마감후</Col>
  228. </Row>
  229. </Rows>
  230. </Dataset>
  231. </Combo>
  232. <Button id="button3" taborder="10" text="엑셀저장" position="absolute 1162 10 1243 30" class="btn7" onclick="grp_sea_button3_onclick"/>
  233. </Layout>
  234. </Layouts>
  235. </Div>
  236. </Layout>
  237. </Layouts>
  238. <Objects>
  239. <Dataset id="ds_grd_prcpdetl" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  240. <ColumnInfo>
  241. <Column id="chk" type="STRING"/>
  242. <Column id="pid" type="STRING"/>
  243. <Column id="hngnm" type="STRING"/>
  244. <Column id="gndrage" type="STRING"/>
  245. <Column id="deptcd" type="STRING"/>
  246. <Column id="usernm" type="STRING"/>
  247. <Column id="prcpclscd" type="STRING"/>
  248. <Column id="stat" type="STRING"/>
  249. <Column id="prcpcd" type="STRING"/>
  250. <Column id="prcpnm" type="STRING"/>
  251. <Column id="datagroup" type="STRING"/>
  252. <Column id="mix" type="STRING"/>
  253. <Column id="keepspc" type="STRING"/>
  254. <Column id="ast" type="STRING"/>
  255. <Column id="partflag" type="STRING"/>
  256. <Column id="dgno" type="STRING"/>
  257. <Column id="lotno" type="STRING"/>
  258. <Column id="actorddd" type="STRING"/>
  259. <Column id="rsrvtm1" type="STRING"/>
  260. <Column id="orddd" type="STRING"/>
  261. <Column id="execdd" type="STRING"/>
  262. <Column id="execdeptcdnm" type="STRING"/>
  263. <Column id="execrid" type="STRING"/>
  264. <Column id="drugsumdt" type="STRING"/>
  265. <Column id="prcpdelivefact" type="STRING"/>
  266. <Column id="enddd" type="STRING"/>
  267. <Column id="endid" type="STRING"/>
  268. <Column id="prcpdd" type="STRING"/>
  269. <Column id="prcpno" type="STRING"/>
  270. <Column id="prcphistno" type="STRING"/>
  271. <Column id="instcd" type="STRING"/>
  272. <Column id="etcprcpresncd" type="STRING"/>
  273. <Column id="blodcomstat" type="STRING"/>
  274. <Column id="depthngnm" type="STRING" size="256"/>
  275. <Column id="rsrvtm" type="STRING" size="256"/>
  276. <Column id="execprcpstatcd" type="STRING" size="256"/>
  277. <Column id="drugno" type="STRING" size="256"/>
  278. <Column id="execprcpno" type="STRING" size="256"/>
  279. <Column id="printyn" type="STRING" size="256"/>
  280. <Column id="fluidyn" type="STRING" size="256"/>
  281. <Column id="prcpinptflag" type="STRING" size="256"/>
  282. <Column id="rcptchk" type="STRING" size="256"/>
  283. <Column id="bloodst" type="STRING" size="256"/>
  284. </ColumnInfo>
  285. </Dataset>
  286. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  287. <ColumnInfo>
  288. <Column id="termkind" type="STRING" size="256"/>
  289. <Column id="fromdd" type="STRING" size="256"/>
  290. <Column id="todd" type="STRING" size="256"/>
  291. <Column id="execflag" type="STRING" size="256"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row>
  295. <Col id="termkind">1</Col>
  296. <Col id="execflag">2</Col>
  297. </Row>
  298. </Rows>
  299. </Dataset>
  300. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  301. <Dataset id="ds_grid_prcpclscd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  302. <ColumnInfo>
  303. <Column id="label" type="STRING" size="256"/>
  304. <Column id="value" type="STRING" size="256"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row>
  308. <Col id="label">주사</Col>
  309. <Col id="value">A6</Col>
  310. </Row>
  311. <Row>
  312. <Col id="label">혈액</Col>
  313. <Col id="value">B4</Col>
  314. </Row>
  315. <Row>
  316. <Col id="label">항암</Col>
  317. <Col id="value">A7</Col>
  318. </Row>
  319. <Row>
  320. <Col id="label">예방</Col>
  321. <Col id="value">A8</Col>
  322. </Row>
  323. <Row>
  324. <Col id="label">무균</Col>
  325. <Col id="value">A9</Col>
  326. </Row>
  327. <Row>
  328. <Col id="label">경구</Col>
  329. <Col id="value">A2</Col>
  330. </Row>
  331. <Row>
  332. <Col id="label">처치</Col>
  333. <Col id="value">H4</Col>
  334. </Row>
  335. <Row>
  336. <Col id="label">재료</Col>
  337. <Col id="value">M2</Col>
  338. </Row>
  339. <Row>
  340. <Col id="label">진검</Col>
  341. <Col id="value">B2</Col>
  342. </Row>
  343. <Row>
  344. <Col id="label">수술</Col>
  345. <Col id="value">H2</Col>
  346. </Row>
  347. <Row>
  348. <Col id="label">기타</Col>
  349. <Col id="value">Z0</Col>
  350. </Row>
  351. <Row>
  352. <Col id="label">지시</Col>
  353. <Col id="value">09</Col>
  354. </Row>
  355. <Row>
  356. <Col id="label">외용</Col>
  357. <Col id="value">A4</Col>
  358. </Row>
  359. <Row>
  360. <Col id="label">기능</Col>
  361. <Col id="value">E2</Col>
  362. </Row>
  363. <Row>
  364. <Col id="label">수액</Col>
  365. <Col id="value">17</Col>
  366. </Row>
  367. </Rows>
  368. </Dataset>
  369. <Dataset id="ds_grid_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  370. <ColumnInfo>
  371. <Column id="label" type="STRING" size="256"/>
  372. <Column id="value" type="STRING" size="256"/>
  373. </ColumnInfo>
  374. <Rows>
  375. <Row>
  376. <Col id="label">조제보류</Col>
  377. <Col id="value">1</Col>
  378. </Row>
  379. <Row>
  380. <Col id="label">조제완료</Col>
  381. <Col id="value">2</Col>
  382. </Row>
  383. <Row>
  384. <Col id="label">준비</Col>
  385. <Col id="value">3</Col>
  386. </Row>
  387. <Row>
  388. <Col id="label">준비완료</Col>
  389. <Col id="value">4</Col>
  390. </Row>
  391. <Row>
  392. <Col id="label">출고</Col>
  393. <Col id="value">5</Col>
  394. </Row>
  395. <Row>
  396. <Col id="label">시행완료</Col>
  397. <Col id="value">6</Col>
  398. </Row>
  399. <Row>
  400. <Col id="label">반납의뢰</Col>
  401. <Col id="value">7</Col>
  402. </Row>
  403. <Row>
  404. <Col id="label">반납완료</Col>
  405. <Col id="value">8</Col>
  406. </Row>
  407. <Row>
  408. <Col id="label">폐기의뢰</Col>
  409. <Col id="value">9</Col>
  410. </Row>
  411. <Row>
  412. <Col id="label">폐기완료</Col>
  413. <Col id="value">10</Col>
  414. </Row>
  415. <Row>
  416. <Col id="label">접수</Col>
  417. <Col id="value">11</Col>
  418. </Row>
  419. <Row>
  420. <Col id="label">실시완료</Col>
  421. <Col id="value">12</Col>
  422. </Row>
  423. <Row>
  424. <Col id="label">전송완료</Col>
  425. <Col id="value">13</Col>
  426. </Row>
  427. <Row>
  428. <Col id="label">잔여폐기</Col>
  429. <Col id="value">14</Col>
  430. </Row>
  431. <Row>
  432. <Col id="label">수납</Col>
  433. <Col id="value">Y</Col>
  434. </Row>
  435. <Row>
  436. <Col id="label">미수납</Col>
  437. <Col id="value">N</Col>
  438. </Row>
  439. </Rows>
  440. </Dataset>
  441. <Dataset id="ds_grid_rsrvtm1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  442. <ColumnInfo>
  443. <Column id="label" type="STRING" size="256"/>
  444. <Column id="value" type="STRING" size="256"/>
  445. </ColumnInfo>
  446. <Rows>
  447. <Row>
  448. <Col id="label">09:00</Col>
  449. <Col id="value">090000</Col>
  450. </Row>
  451. <Row>
  452. <Col id="label">10:00</Col>
  453. <Col id="value">100000</Col>
  454. </Row>
  455. <Row>
  456. <Col id="label">11:30</Col>
  457. <Col id="value">113000</Col>
  458. </Row>
  459. <Row>
  460. <Col id="label">14:00</Col>
  461. <Col id="value">140000</Col>
  462. </Row>
  463. <Row>
  464. <Col id="label">15:30</Col>
  465. <Col id="value">153000</Col>
  466. </Row>
  467. <Row>
  468. <Col id="label">-</Col>
  469. <Col id="value">000000</Col>
  470. </Row>
  471. </Rows>
  472. </Dataset>
  473. <Dataset id="ds_grid_rcptchk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  474. <ColumnInfo>
  475. <Column id="label" type="STRING" size="256"/>
  476. <Column id="value" type="STRING" size="256"/>
  477. </ColumnInfo>
  478. <Rows>
  479. <Row>
  480. <Col id="label">자가</Col>
  481. <Col id="value">S</Col>
  482. </Row>
  483. <Row>
  484. <Col id="label">후불</Col>
  485. <Col id="value">V</Col>
  486. </Row>
  487. <Row>
  488. <Col id="label">수납</Col>
  489. <Col id="value">Y</Col>
  490. </Row>
  491. <Row>
  492. <Col id="label">수납</Col>
  493. <Col id="value">F</Col>
  494. </Row>
  495. <Row>
  496. <Col id="label">수납</Col>
  497. <Col id="value">R</Col>
  498. </Row>
  499. <Row>
  500. <Col id="label">미수</Col>
  501. <Col id="value">N</Col>
  502. </Row>
  503. </Rows>
  504. </Dataset>
  505. <Dataset id="ds_refspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  506. <ColumnInfo>
  507. <Column id="fromdd" type="STRING" size="256"/>
  508. <Column id="todd" type="STRING" size="256"/>
  509. <Column id="execflag" type="STRING" size="256"/>
  510. <Column id="endflag" type="STRING" size="256"/>
  511. <Column id="termkind" type="STRING" size="256"/>
  512. <Column id="prtyn" type="STRING" size="256"/>
  513. </ColumnInfo>
  514. <Rows>
  515. <Row>
  516. <Col id="fromdd"/>
  517. <Col id="todd"/>
  518. <Col id="execflag">1</Col>
  519. <Col id="endflag"/>
  520. <Col id="termkind">2</Col>
  521. <Col id="prtyn"/>
  522. </Row>
  523. </Rows>
  524. </Dataset>
  525. </Objects>
  526. <Bind>
  527. <BindItem id="item0" compid="grp_sea.radio2" propid="value" datasetid="ds_refspec" columnid="termkind"/>
  528. <BindItem id="item3" compid="grp_sea.radio1" propid="value" datasetid="ds_refspec" columnid="execflag"/>
  529. <BindItem id="item1" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_refspec" columnid="fromdd"/>
  530. <BindItem id="item2" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_refspec" columnid="todd"/>
  531. <BindItem id="item4" compid="grp_sea.combo1" propid="value" datasetid="ds_refspec" columnid="prtyn"/>
  532. <BindItem id="item5" compid="grp_sea.cmb_execflag" propid="value" datasetid="ds_refspec" columnid="endflag"/>
  533. </Bind>
  534. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  535. * System Name : KU2.0
  536. * Job Name :
  537. * File Name : SMMNI00200_주사실미시행내역.xfdl
  538. * Creator :
  539. * Make Date : 2016-02-11
  540. *
  541. * Description :
  542. *---------------------------------------------------------------------------------------
  543. * Modify Date Modifier Modify Description
  544. *---------------------------------------------------------------------------------------
  545. *
  546. *---------------------------------------------------------------------------------------
  547. ****************************************************************************************/
  548. //=======================================================================================
  549. // xjs Include
  550. //---------------------------------------------------------------------------------------
  551. //include "emr_injroomxp::SMMNI00200.xjs";
  552. include "com_commonxp::comm_main.xjs";
  553. function fInit(){
  554. ds_cond.clear();
  555. var Ndate = utlf_getNewDate();
  556. var Odate = Ndate.getAddDate(-1, "D");
  557. var Idate = Odate.getDateFormat("YYYYMMDD");
  558. grp_sea.ipt_fromdd.value = utlf_getCurrentDate(); // 조회구간에 현재날짜(디폴트)
  559. grp_sea.ipt_todd.value = utlf_getCurrentDate();// 조회구간에 현재날짜(디폴트)
  560. //group3.grd_prcpdetl.setCellProperty("Head",0,"text","1");
  561. dsf_makeValue(ds_cond,"orddeptcd","string", sysf_getUserInfo("dutplcecd")); // 사용자부서코드
  562. dsf_makeValue(ds_cond,"execrid", "string",sysf_getUserInfo("userid")); // 사용자ID
  563. //20090911 dhkim 메인에서 팝업으로 띄운경우 조회조건 값 세팅
  564. var isPopup = opener.frmf_getParameter("ispopup");
  565. if(isPopup == "Y"){
  566. dsf_makeValue(ds_cond,"execflag", "string", opener.frmf_getParameter("execflag"));
  567. dsf_makeValue(ds_cond,"termkind", "string", opener.frmf_getParameter("termkind"));
  568. dsf_makeValue(ds_cond,"enddd", "string", opener.frmf_getParameter("enddd"));
  569. dsf_makeValue(ds_cond,"fromdd", "string", opener.frmf_getParameter("fromdd"));
  570. dsf_makeValue(ds_cond,"todd", "string", opener.frmf_getParameter("todd"));
  571. ds_refspec.setColumn(0,"execflag", opener.frmf_getParameter("execflag"));
  572. ds_refspec.setColumn(0,"termkind", opener.frmf_getParameter("termkind"));
  573. dsf_makeValue(ds_refspec,"enddd","string", opener.frmf_getParameter("enddd"));
  574. ds_refspec.setColumn(0,"fromdd", opener.frmf_getParameter("fromdd"));
  575. ds_refspec.setColumn(0,"todd", opener.frmf_getParameter("todd"));
  576. ds_refspec.setColumn(0,"endflag", opener.frmf_getParameter("endflag"));
  577. fcbxClick();
  578. }else{
  579. // 마감시 사용할 정보조회
  580. dsf_makeValue(ds_cond,"enddd", "string", utlf_getCurrentDate()); // 현재일자
  581. }
  582. //20090806 dhkim 처방전출력전후콤보 디폴트 전체로 세팅
  583. ds_refspec.setColumn(0,"prtyn", "A");
  584. ds_grd_prcpdetl.clearData();
  585. fprcpdetllist();
  586. }
  587. function fprcpdetllist(){
  588. ds_temp.clear();
  589. ds_temp.copyData(ds_refspec);
  590. dsf_makeValue(ds_temp,"deptcd", "string", sysf_getUserInfo("dutplcecd"));
  591. dsf_makeValue(ds_temp,"centcd", "string", sysf_getUserInfo("dutplcecd"));
  592. if(ds_refspec.getColumn(0,"execflag") == "1"){//미시행
  593. //20090714 dhkim
  594. ds_temp.setColumn(0,"prtyn", ds_refspec.getColumn(0,"prtyn"));
  595. //grp_sea.combo1.enable = true;
  596. }else{
  597. ds_temp.setColumn(0,"prtyn", "A");
  598. ds_refspec.setColumn(0,"prtyn", "A");
  599. //grp_sea.combo1.enable = false;
  600. }
  601. var oParam = {};
  602. oParam.id = "TRMNI00201";
  603. oParam.service = "injroomapp.InjRoomPatMngt";
  604. oParam.method = "reqGetOperationData";
  605. oParam.inds = "refCond=ds_temp";
  606. oParam.outds = "ds_grd_prcpdetl=prcpdetllist";
  607. oParam.async = false;
  608. oParam.callback = "cf_TRMNI00201";
  609. tranf_submit(oParam);
  610. ds_grd_prcpdetl.rowposition = -1;
  611. }
  612. function cf_TRMNI00201(sScvId, nErrorCode, sErrorMsg){
  613. if(nErrorCode == 0){//성공하였을때
  614. var mixchk = 0;
  615. var rcptchk = "";
  616. var Row = ds_grd_prcpdetl.rowcount;
  617. for(i=0; i<Row; i++){
  618. var execdd = ds_grd_prcpdetl.getColumn(i,"execrid");
  619. var execprcpstatcd = ds_grd_prcpdetl.getColumn(i,"execprcpstatcd");
  620. var prcpclscd = ds_grd_prcpdetl.getColumn(i,"prcpclscd");
  621. var drugno = ds_grd_prcpdetl.getColumn(i,"drugno");
  622. var printyn = ds_grd_prcpdetl.getColumn(i,"printyn");
  623. var etcprcpresncd = ds_grd_prcpdetl.getColumn(i,"etcprcpresncd"); // 수혈반납 및 폐기사유코드
  624. var blodcomstat = ds_grd_prcpdetl.getColumn(i,"blodcomstat");
  625. if(drugno != "0" && execprcpstatcd == "230"){
  626. ds_grd_prcpdetl.setColumn(i,"stat",13);
  627. }
  628. if(execprcpstatcd == "300"){
  629. ds_grd_prcpdetl.setColumn(i,"stat",1);
  630. }
  631. if(execprcpstatcd == "310" || execprcpstatcd == "315" && (prcpclscd == "A7"||prcpclscd == "A9")){
  632. ds_grd_prcpdetl.setColumn(i,"stat",2);
  633. var mixk = ds_grd_prcpdetl.getColumn(i,"mix");
  634. var actordddk = ds_grd_prcpdetl.getColumn(i,"actorddd");
  635. var rsrvtmk = ds_grd_prcpdetl.getColumn(i,"rsrvtm1");
  636. var ordddk = ds_grd_prcpdetl.getColumn(i,"orddd");
  637. for (r=0; r<Row; r++){
  638. var mixr = ds_grd_prcpdetl.getColumn(r,"mix");
  639. var actordddr = ds_grd_prcpdetl.getColumn(r,"actorddd");
  640. var rsrvtmr = ds_grd_prcpdetl.getColumn(r,"rsrvtm1");
  641. var ordddr = ds_grd_prcpdetl.getColumn(r,"orddd");
  642. if(mixk == mixr && actordddr == actordddk && rsrvtmr == rsrvtmk && ordddr == ordddk){
  643. ds_grd_prcpdetl.setColumn(r,"stat",2);
  644. }
  645. }
  646. }
  647. if(execprcpstatcd == "500" || execprcpstatcd == "505" || execprcpstatcd == "510"){
  648. ds_grd_prcpdetl.setColumn(i,"stat",11);
  649. }
  650. if(execprcpstatcd == "520" || execprcpstatcd == "525"){
  651. ds_grd_prcpdetl.setColumn(i,"stat",4);
  652. }
  653. if(execprcpstatcd == "530"){
  654. if (blodcomstat == "8") {
  655. ds_grd_prcpdetl.setColumn(i,"stat",14);
  656. }
  657. else {
  658. ds_grd_prcpdetl.setColumn(i,"stat",5);
  659. }
  660. }
  661. if(execprcpstatcd == "540"){
  662. ds_grd_prcpdetl.setColumn(i,"stat",7);
  663. }
  664. if(execprcpstatcd == "550"){
  665. ds_grd_prcpdetl.setColumn(i,"stat",8);
  666. }
  667. if(execprcpstatcd == "560"){
  668. if (etcprcpresncd == "07" || etcprcpresncd == "12") {
  669. ds_grd_prcpdetl.setColumn(i,"stat", 14); //잔여폐기
  670. }
  671. else {
  672. ds_grd_prcpdetl.setColumn(i,"stat", 9); //폐기의뢰
  673. }
  674. }
  675. if(execprcpstatcd == "570"){
  676. ds_grd_prcpdetl.setColumn(i,"stat",10);
  677. }
  678. if(execprcpstatcd == "320"){
  679. ds_grd_prcpdetl.setColumn(i,"stat",5);
  680. }
  681. if(prcpclscd =="B4"){
  682. if(execprcpstatcd == "610"){
  683. ds_grd_prcpdetl.setColumn(i,"stat",12);
  684. }
  685. }else{
  686. if(execprcpstatcd == "610"){
  687. ds_grd_prcpdetl.setColumn(i,"stat",6);
  688. }
  689. }
  690. var mix = ds_grd_prcpdetl.getColumn(i,"mix");
  691. var actorddd = ds_grd_prcpdetl.getColumn(i,"actorddd");
  692. var rsrvtm = ds_grd_prcpdetl.getColumn(i,"rsrvtm1");
  693. var orddd = ds_grd_prcpdetl.getColumn(i,"orddd");
  694. var enddd = ds_grd_prcpdetl.getColumn(i,"enddd");
  695. if(prcpclscd == "A7"){
  696. for (k=0; k<Row; k++){
  697. var mixs = ds_grd_prcpdetl.getColumn(k,"mix");
  698. var actorddds = ds_grd_prcpdetl.getColumn(k,"actorddd");
  699. var rsrvtms = ds_grd_prcpdetl.getColumn(k,"rsrvtm1");
  700. var orddds = ds_grd_prcpdetl.getColumn(k,"orddd");
  701. if(mix == mixs && mix != '-' && actorddds == actorddd && rsrvtms == rsrvtm && orddds == orddd){
  702. ds_grd_prcpdetl.setColumn(k,"prcpclscd","A7");
  703. }
  704. }
  705. }
  706. //20090526 dhkim 무균추가
  707. if(prcpclscd == "A9"){
  708. for (k=0; k<Row; k++){
  709. var mixs = ds_grd_prcpdetl.getColumn(k,"mix");
  710. var actorddds = ds_grd_prcpdetl.getColumn(k,"actorddd");
  711. var rsrvtms = ds_grd_prcpdetl.getColumn(k,"rsrvtm1");
  712. var orddds = ds_grd_prcpdetl.getColumn(k,"orddd");
  713. if(mix == mixs && mix != '-' && actorddds == actorddd && rsrvtms == rsrvtm && orddds == orddd){
  714. ds_grd_prcpdetl.setColumn(k,"prcpclscd","A9");
  715. }
  716. }
  717. }
  718. //20090529 dhkim
  719. //혈액 상태중 반납의뢰, 통폐기의뢰, 잔여폐기의뢰, 출고, 접수, 준비완료, 반납완료, 통폐기완료, 잔여폐기완료 상태값 정의
  720. if(prcpclscd == "B4"){
  721. ds_grd_prcpdetl.setColumn(i,"stat", ds_grd_prcpdetl.getColumn(i,"bloodst"));
  722. }
  723. rcptchk = ds_grd_prcpdetl.getColumn(i,"rcptchk");
  724. } // for end
  725. }else{
  726. sysf_messageBox(sErrorMsg, "E");
  727. }
  728. }
  729. function fcbxClick(){
  730. var chkstatus = ds_refspec.getColumn(0,"execflag"); // 시행여부구분
  731. //alert(chkstatus);
  732. //cmb_execflag.value = "";
  733. if (chkstatus == "2") { // 시행여부 - 완료시
  734. //grp_sea.cmb_execflag.enable = true;
  735. ds_refspec.setColumn(0,"endflag","N");
  736. var Endstatus = ds_refspec.getColumn(0,"endflag"); // 시행여부완료시 마감구분
  737. // 마감전 체크시만 마감버튼 활성화 되도록
  738. if (Endstatus == "N") {
  739. group3.btn_prcpend.enable = true;
  740. }else {
  741. group3.btn_prcpend.enable = false;
  742. }
  743. }else {
  744. //grp_sea.cmb_execflag.enable = false;
  745. group3.btn_prcpend.enable = false;
  746. }
  747. fprcpdetllist(); // 조회
  748. }
  749. function fEndSave(){
  750. var Row = ds_grd_prcpdetl.rowcount;
  751. //var prcpdetlPATH = "/root/main/prcpdetl/prcpdetllist"
  752. var iRow = ds_grd_prcpdetl.rowposition;
  753. var sSrchData = "";
  754. var chek = 0;
  755. var kRow = 0;
  756. for (i=0; i<Row; i++){
  757. chek = chek + ds_grd_prcpdetl.getColumn(i,"chk");
  758. if(ds_grd_prcpdetl.getColumn(i,"chk") == 1){
  759. kRow = kRow +","+ i
  760. }
  761. }
  762. if(chek==0){
  763. sysf_messageBox("하나 이상의 처방내역을", "C002")
  764. return;
  765. }
  766. for (i=0; i<Row; i++){
  767. if(ds_grd_prcpdetl.getColumn(i,"chk") == "1"){
  768. //var sSrchData = "";
  769. var sSrchHeader = "m▦rownum▦chk▦pid▦hngnm▦gndrage▦depthngnm▦usernm▦prcpclscd▦stat▦prcpcd▦prcpnm▦datagroup▦mix▦prcpdelivefact▦keepspc▦ast▦partflag▦dgno▦lotno▦actorddd▦rsrvtm1▦orddd▦execdd▦execdeptcdnm▦execrid▦enddd▦endid▦prcpdd▦prcpno▦prcphistno▦instcd▦etcprcpresncd▦blodcomstat▩";
  770. var sSrchData = sSrchData
  771. + "u" +"▦"
  772. + i +"▦"
  773. + "true"+"▦"
  774. + ds_grd_prcpdetl.getColumn(i,"pid" )+"▦"
  775. + ds_grd_prcpdetl.getColumn(i,"hngnm" )+"▦"
  776. + ds_grd_prcpdetl.getColumn(i,"gndrage" )+"▦"
  777. + ds_grd_prcpdetl.getColumn(i,"depthngnm" )+"▦"
  778. + ds_grd_prcpdetl.getColumn(i,"usernm" )+"▦"
  779. + ds_grd_prcpdetl.getColumn(i,"prcpclscd" )+"▦"
  780. + ds_grd_prcpdetl.getColumn(i,"stat" )+"▦"
  781. + ds_grd_prcpdetl.getColumn(i,"prcpcd" )+"▦"
  782. + ds_grd_prcpdetl.getColumn(i,"prcpnm" )+"▦"
  783. + ds_grd_prcpdetl.getColumn(i,"datagroup" )+"▦"
  784. + ds_grd_prcpdetl.getColumn(i,"mix" )+"▦"
  785. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"prcpdelivefact" ))+"▦"
  786. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"keepspc" ))+"▦"
  787. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"ast" ))+"▦"
  788. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"partflag" ))+"▦"
  789. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"dgno" ))+"▦"
  790. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"lotno" ))+"▦"
  791. + ds_grd_prcpdetl.getColumn(i,"actorddd" )+"▦"
  792. + ds_grd_prcpdetl.getColumn(i,"rsrvtm1" )+"▦"
  793. + ds_grd_prcpdetl.getColumn(i,"orddd" )+"▦"
  794. + ds_grd_prcpdetl.getColumn(i,"execdd" )+"▦"
  795. + ds_grd_prcpdetl.getColumn(i,"execdeptcdnm" )+"▦"
  796. + ds_grd_prcpdetl.getColumn(i,"execrid" )+"▦"
  797. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"enddd" ))+"▦"
  798. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"endid" ))+"▦"
  799. + ds_grd_prcpdetl.getColumn(i,"prcpdd" )+"▦"
  800. + ds_grd_prcpdetl.getColumn(i,"prcpno" )+"▦"
  801. + ds_grd_prcpdetl.getColumn(i,"prcphistno" )+"▦"
  802. + ds_grd_prcpdetl.getColumn(i,"instcd" )+"▦"
  803. + ds_grd_prcpdetl.getColumn(i,"etcprcpresncd" )+"▦"
  804. + utlf_transNullToEmpty(ds_grd_prcpdetl.getColumn(i,"blodcomstat" ))+"▩";
  805. }
  806. }
  807. dsf_setCSVToDs("ds_send_data",sSrchHeader + sSrchData);
  808. dsf_createDsRow("ds_send", [{col: "enddd", val:ds_cond.getColumn(0,"enddd") }
  809. ,{col: "orddeptcd", val:ds_cond.getColumn(0,"orddeptcd") }
  810. ,{col: "execrid", val:ds_cond.getColumn(0,"execrid") }
  811. ]);
  812. var oParam = {};
  813. oParam.id = "TXMNI00201";
  814. oParam.service = "injroomapp.InjRoomPatMngt";
  815. oParam.method = "reqExeSetEndinfo";
  816. oParam.inds = "req=ds_send_data cominfo=ds_send";
  817. oParam.outds = "";
  818. oParam.async = false;
  819. //oParam.callback = "cf_TXMNI00201";
  820. tranf_submit(oParam);
  821. fprcpdetllist();
  822. }
  823. /****************************************************************************************
  824. * Components :
  825. * Components ID : SMMNI00200
  826. * Event : onload
  827. * Argument : 01.obj : Object Event has occurred
  828. * : 02.e : Event Object
  829. * Description :
  830. ****************************************************************************************/
  831. function SMMNI00200_onload(obj:Form, e:LoadEventInfo)
  832. {
  833. frmf_initForm(obj);
  834. grdf_initGrid(group3.grd_prcpdetl);
  835. fInit();
  836. }
  837. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  838. {
  839. fprcpdetllist();
  840. }
  841. /****************************************************************************************
  842. * Components : grid
  843. * Components ID : grd_prcpdetl
  844. * Event : onmousemove
  845. * Argument : 01.obj : Object Event has occurred
  846. * : 02.e : Event Object
  847. * Description : 대상자리스트 그리드 mousemoveevent
  848. ****************************************************************************************/
  849. function group3_grd_prcpdetl_onmousemove(obj:Grid, e:GridMouseEventInfo)
  850. {
  851. if(e.row < 0 || e.cell < 0 || utlf_isNull(obj.getCellText(e.row, e.cell))){
  852. obj.tooltiptext = "";
  853. return;
  854. }
  855. //tooltip 세팅
  856. var sObjExtCom = new ExtCommon();
  857. var sCellTextLen = sObjExtCom.getTextExtent(obj, obj.getCellText(e.row, e.cell));
  858. if(sCellTextLen[1] > obj.getRealColSize(e.cell)){
  859. obj.tooltiptext = utlf_trim(obj.getCellText(e.row, e.cell)); //cell의 width 보다 클 경우만 tooltiptext 셋팅.
  860. }else{
  861. obj.tooltiptext = ""; //tooltiptext 초기화
  862. }
  863. }
  864. function group3_btn_prcpend_onclick(obj:Button, e:ClickEventInfo)
  865. {
  866. fEndSave(); // 마감
  867. }
  868. function grp_sea_button3_onclick(obj:Button, e:ClickEventInfo)
  869. {
  870. //var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  871. //grd_prcpdetl.saveExcel(fileName, "SheetName", true, true, "", "", false);
  872. grdf_exportExcel(group3.grd_prcpdetl, "exportExcel", "SheetName");
  873. }
  874. function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  875. {
  876. if(obj.value == "1")
  877. {
  878. grp_sea.combo1.enable = true;
  879. grp_sea.cmb_execflag.enable = false;
  880. group3.btn_prcpend.enable = false;
  881. }
  882. else if (obj.value == "2")
  883. {
  884. grp_sea.combo1.enable = false;
  885. grp_sea.cmb_execflag.enable = true;
  886. group3.btn_prcpend.enable = true;
  887. }
  888. else
  889. {
  890. grp_sea.combo1.enable = false;
  891. grp_sea.cmb_execflag.enable = false;
  892. group3.btn_prcpend.enable = false;
  893. }
  894. }
  895. function grp_sea_cmb_execflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  896. {
  897. }
  898. ]]></Script>
  899. </Form>
  900. </FDL>