You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
klhis/WEB-INF/conf/sysds_his_zytz.xml

539 lines
28 KiB

<?xml version="1.0" encoding="UTF-8"?>
<datasource>
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
<dao id="scdtzitemDao" cache="true" log="true" type="1" memo="三测单体征项目设置dao">
<sql>SELECT PKEY,TZBM,TZMC,TZSX,ZCZBEGIN,ZCZEND,LOWERROR,HIGHERROR,DAYCS,ISYE,ISQXMS,ISQY,BLNBBS,BLSJYBS,ISSCD,ISHLWS,ITEMDW,ITEMTYPE,USER24H,ISMUST,PATTERN,DICDAO,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_ITEMSETUP WHERE JGID=? ORDER BY TZSX</sql>
<tables>
<table name="HIS_ZY_SIGN_ITEMSETUP" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZBM" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZMC" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZSX" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZBEGIN" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZEND" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="LOWERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="HIGHERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DAYCS" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISYE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQXMS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLNBBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLSJYBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISSCD" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISHLWS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMDW" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMTYPE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="USER24H" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISMUST" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="PATTERN" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DICDAO" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="scdeventtypeDao" cache="true" log="true" type="1" memo="三测单事件类型dao">
<sql>select PKEY,EVENTMC,EEVENTTYPE,EVENTPARAMS,TIMETYPE,SHOWLOCATION,ISSHOWTIME,CJR,CJRQ,XGR,XGRQ,JGID from HIS_ZY_SIGN_EVENTSETUP where JGID=? order by pkey</sql>
<tables>
<table name="HIS_ZY_SIGN_EVENTSETUP" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="EVENTMC" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="EEVENTTYPE" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="EVENTPARAMS" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="TIMETYPE" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="SHOWLOCATION" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="ISSHOWTIME" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_EVENTSETUP" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_EVENTSETUP" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="scdSignDatasDao" log="true" type="1" memo="三测单单人录入体征dao">
<sql>SELECT PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,DAYSTR,DAY,TZTYPE,C1,C2,C3,C4,C5,C6,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_DATAS WHERE JGID=? AND HZPKEY=? AND JZPKEY=? AND DAYSTR=? ORDER BY PKEY</sql>
<tables>
<table name="HIS_ZY_SIGN_DATAS " insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>JGID</primary>
<primary>DAYSTR</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAY" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="TZTYPE" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C1" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C2" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C3" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C4" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C5" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C6" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="XGR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="JGID" type="12" table="HIS_ZY_SIGN_DATAS " />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="scdSignEventsDao" log="true" type="1" memo="三测单事件dao">
<sql>select PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,CSRQ,SJTYPE,DAYSTR,CJR,CJRQ,XGR,XGRQ,JGID from HIS_ZY_SIGN_EVENTS where JGID=? and hzpkey=? and jzpkey=? order by csrq</sql>
<tables>
<table name="HIS_ZY_SIGN_EVENTS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CSRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="SJTYPE" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_EVENTS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="scdMulSignDatasDao" log="true" type="1" memo="三测单多人录入体征dao">
<sql>SELECT PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,DAYSTR,DAY,TZTYPE,C1,C2,C3,C4,C5,C6,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_DATAS WHERE JGID=? AND JZPKEY in(#jzpkey#) AND DAYSTR=? ORDER BY PKEY</sql>
<tables>
<table name="HIS_ZY_SIGN_DATAS " insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>JGID</primary>
<primary>DAYSTR</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAY" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="TZTYPE" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C1" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C2" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C3" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C4" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C5" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C6" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="XGR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="JGID" type="12" table="HIS_ZY_SIGN_DATAS " />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="scdDataTimeRangeDao" log="true" type="1" memo="返回患者录入的生命体征数据的起始时间dao">
<sql>select max(day) maxday,min(day) minday from HIS_ZY_SIGN_DATAS where JGID=? and hzpkey=? and jzpkey=?</sql>
<fields>
<f name="MAXDAY" type="93" />
<f name="MINDAY" type="93" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="scdEventTimeRangeDao" log="true" type="1" memo="返回患者录入的事件数据的起始时间dao">
<sql>select max(CSRQ) maxday,min(CSRQ) minday from HIS_ZY_SIGN_EVENTS where JGID=? and hzpkey=? and jzpkey=?</sql>
<fields>
<f name="MAXDAY" type="93" />
<f name="MINDAY" type="93" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="scdSignDatasByRangeDao" log="true" type="1">
<sql><![CDATA[select PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,DAYSTR,DAY,TZTYPE,C1,C2,C3,C4,C5,C6,CJR,CJRQ,XGR,XGRQ,JGID from HIS_ZY_SIGN_DATAS where JGID=? and hzpkey=? and jzpkey=? and DAY >=? and DAY <=? order by DAYSTR,TZTYPE]]></sql>
<tables>
<table name="HIS_ZY_SIGN_DATAS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="DAY" type="93" table="HIS_ZY_SIGN_DATAS" />
<f name="TZTYPE" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C1" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C2" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C3" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C4" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C5" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="C6" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_DATAS" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_DATAS" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_DATAS" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_DATAS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="scdSignEventsByRangeDao" log="true" type="1">
<sql><![CDATA[select PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,CSRQ,SJTYPE,DAYSTR,CJR,CJRQ,XGR,XGRQ,JGID from HIS_ZY_SIGN_EVENTS where JGID=? and hzpkey=? and jzpkey=? and CSRQ >=? and CSRQ <=? order by CSRQ]]></sql>
<tables>
<table name="HIS_ZY_SIGN_EVENTS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CSRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="SJTYPE" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_EVENTS" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_EVENTS" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_EVENTS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>93</p>
<p>93</p>
</parameter>
</dao>
<dao id="scdSignLastDateDao" log="true" type="1" memo="三测单单人最近日期录入体征dao">
<sql>select * from (SELECT PKEY,HZPKEY,JZPKEY,ZYNO,ZYBAH,DAYSTR,DAY,TZTYPE,C1,C2,C3,C4,C5,C6,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_DATAS WHERE JGID=? AND HZPKEY=? AND JZPKEY=? and TZTYPE=? and (c1 is not null or c2 is not null or c3 is not null or c4 is not null or c5 is not null or c6 is not null ) ORDER BY DAYSTR desc) where rowNum = 1</sql>
<tables>
<table name="HIS_ZY_SIGN_DATAS " insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>JGID</primary>
<primary>DAYSTR</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="HZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="JZPKEY" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYNO" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="ZYBAH" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAYSTR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="DAY" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="TZTYPE" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C1" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C2" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C3" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C4" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C5" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="C6" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="XGR" type="12" table="HIS_ZY_SIGN_DATAS " />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_DATAS " />
<f name="JGID" type="12" table="HIS_ZY_SIGN_DATAS " />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="zyyzshowDao" log="true" type="1" memo="住院患者医嘱总览信息dao">
<sql>SELECT PKEY,HZPKEY,JZPKEY,HLYZ,YSYZ,YLYZ,XDJCYZ,TSHLYZ,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_YZSHOW WHERE JGID=? AND HZPKEY=? AND JZPKEY=?</sql>
<tables>
<table name="HIS_ZY_YZSHOW" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>HZPKEY</primary>
<primary>JZPKEY</primary>
<primary>HLYZ</primary>
<primary>YSYZ</primary>
<primary>YLYZ</primary>
<primary>XDJCYZ</primary>
<primary>TSHLYZ</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_YZSHOW" />
<f name="HZPKEY" type="12" table="HIS_ZY_YZSHOW" />
<f name="JZPKEY" type="12" table="HIS_ZY_YZSHOW" />
<f name="HLYZ" type="12" table="HIS_ZY_YZSHOW" />
<f name="YSYZ" type="12" table="HIS_ZY_YZSHOW" />
<f name="YLYZ" type="12" table="HIS_ZY_YZSHOW" />
<f name="XDJCYZ" type="12" table="HIS_ZY_YZSHOW" />
<f name="TSHLYZ" type="12" table="HIS_ZY_YZSHOW" />
<f name="CJR" type="12" table="HIS_ZY_YZSHOW" />
<f name="CJRQ" type="93" table="HIS_ZY_YZSHOW" />
<f name="XGR" type="12" table="HIS_ZY_YZSHOW" />
<f name="XGRQ" type="93" table="HIS_ZY_YZSHOW" />
<f name="JGID" type="12" table="HIS_ZY_YZSHOW" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="getAllZyyzGlMxDao" log="true" type="1" cache="true" memo="住院医嘱长嘱所有归类明细dao">
<sql>SELECT a.PKEY,a.LXPKEY,a.YZXPKEY,b.mc FROM HIS_ZY_CZGLMX a left join MAIN_ZDB b on a.LXPKEY=b.BH and b.ZDZB_BH='100064' WHERE a.JGID=?</sql>
<tables>
<table name="HIS_ZY_CZGLMX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LXPKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_CZGLMX" />
<f name="LXPKEY" type="12" table="HIS_ZY_CZGLMX" />
<f name="YZXPKEY" type="12" table="HIS_ZY_CZGLMX" />
<f name="MC" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="getAllzyyzTsyzmxDao" log="true" cache="true" type="1" memo="返回所有住院特殊医嘱类型明细dao">
<sql>select PKEY,LXPKEY,YZXPKEY,CJR,CJRQ,XGR,XGRQ,JGID from HIS_ZY_TSYZMX where JGID=? </sql>
<tables>
<table name="HIS_ZY_TSYZMX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_TSYZMX" />
<f name="LXPKEY" type="12" table="HIS_ZY_TSYZMX" />
<f name="YZXPKEY" type="12" table="HIS_ZY_TSYZMX" />
<f name="CJR" type="12" table="HIS_ZY_TSYZMX" />
<f name="CJRQ" type="93" table="HIS_ZY_TSYZMX" />
<f name="XGR" type="12" table="HIS_ZY_TSYZMX" />
<f name="XGRQ" type="93" table="HIS_ZY_TSYZMX" />
<f name="JGID" type="12" table="HIS_ZY_TSYZMX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="nurseitemByScdDao" cache="true" log="true" type="1" memo="护理指标用于三测单dao">
<sql>SELECT PKEY,TZBM,TZMC,TZSX,ZCZBEGIN,ZCZEND,LOWERROR,HIGHERROR,DAYCS,ISYE,ISQXMS,ISQY,BLNBBS,BLSJYBS,ISSCD,ISHLWS,ITEMDW,ITEMTYPE,USER24H,ISMUST,PATTERN,DICDAO,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_ITEMSETUP WHERE JGID=? and ISSCD=1 and ISQY=1 ORDER BY TZSX</sql>
<tables>
<table name="HIS_ZY_SIGN_ITEMSETUP" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZBM" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZMC" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZSX" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZBEGIN" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZEND" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="LOWERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="HIGHERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DAYCS" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISYE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQXMS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLNBBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLSJYBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISSCD" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISHLWS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMDW" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMTYPE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="USER24H" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISMUST" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="PATTERN" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DICDAO" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="nurseitemByHlwsDao" cache="true" log="true" type="1" memo="护理指标用于护理文书dao">
<sql>SELECT PKEY,TZBM,TZMC,TZSX,ZCZBEGIN,ZCZEND,LOWERROR,HIGHERROR,DAYCS,ISYE,ISQXMS,ISQY,BLNBBS,BLSJYBS,ISSCD,ISHLWS,ITEMDW,ITEMTYPE,USER24H,ISMUST,PATTERN,DICDAO,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_ZY_SIGN_ITEMSETUP WHERE JGID=? and ISHLWS=1 and ISQY=1 ORDER BY TZSX</sql>
<tables>
<table name="HIS_ZY_SIGN_ITEMSETUP" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZBM" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZMC" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="TZSX" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZBEGIN" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ZCZEND" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="LOWERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="HIGHERROR" type="8" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DAYCS" type="-5" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISYE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQXMS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISQY" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLNBBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="BLSJYBS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISSCD" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISHLWS" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMDW" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ITEMTYPE" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="USER24H" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="ISMUST" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="PATTERN" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="DICDAO" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="CJRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGR" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="XGRQ" type="93" table="HIS_ZY_SIGN_ITEMSETUP" />
<f name="JGID" type="12" table="HIS_ZY_SIGN_ITEMSETUP" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emrHlwsZbZdzbDao" log="true" cache="true" type="1" memo="护理文书指标字典主表dao">
<sql>SELECT PKEY,MC,BZ,CJR,CJRQ,XGR,XGRQ,JGID FROM HIS_EMR_HLWS_ZB_ZDZB WHERE JGID=? ORDER BY PKEY</sql>
<tables>
<table name="HIS_EMR_HLWS_ZB_ZDZB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="MC" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="BZ" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="CJR" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="CJRQ" type="93" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="XGR" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="XGRQ" type="93" table="HIS_EMR_HLWS_ZB_ZDZB" />
<f name="JGID" type="12" table="HIS_EMR_HLWS_ZB_ZDZB" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="emrHlwsZbZdbDao" log="true" cache="true" type="1" memo="护理文书指标字典表dao">
<sql>select PKEY,ZBPKEY,BH,MC,CJR,CJRQ,XGR,XGRQ,JGID from HIS_EMR_HLWS_ZB_ZDB where JGID=? and ZBPKEY=? order by PKEY</sql>
<tables>
<table name="HIS_EMR_HLWS_ZB_ZDB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>ZBPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="ZBPKEY" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="BH" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="MC" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="CJR" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="CJRQ" type="93" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="XGR" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="XGRQ" type="93" table="HIS_EMR_HLWS_ZB_ZDB" />
<f name="JGID" type="12" table="HIS_EMR_HLWS_ZB_ZDB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
</datasource>