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.
 
 
 
 
 
klintersrv/WEB-INF/conf/sysds_openHis_dic.xml

4205 lines
195 KiB

<?xml version="1.0" encoding="UTF-8"?>
<datasource>
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
<!--房间同住性别限制类型 H000001-->
<dao id="xbxzlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='H000001' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="bqfjdic" cache="true" type="1">
<sql>select PKEY,BM,MC,MS,FJLX,FJTZXZ,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID,BQPKEY from HIS_BQFJ where JGID=? order by bm</sql>
<tables>
<table name="HIS_BQFJ" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>DELETEFLAG</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQFJ"/>
<f name="BM" type="12" table="HIS_BQFJ"/>
<f name="MC" type="12" table="HIS_BQFJ"/>
<f name="MS" type="12" table="HIS_BQFJ"/>
<f name="FJLX" type="12" table="HIS_BQFJ"/>
<f name="FJTZXZ" type="12" table="HIS_BQFJ"/>
<f name="BUILDER" type="12" table="HIS_BQFJ"/>
<f name="BUILDDATE" type="93" table="HIS_BQFJ"/>
<f name="MODIFYS" type="12" table="HIS_BQFJ"/>
<f name="MODIFYSDATE" type="93" table="HIS_BQFJ"/>
<f name="DELETER" type="12" table="HIS_BQFJ"/>
<f name="DELETEDATA" type="93" table="HIS_BQFJ"/>
<f name="DELETEFLAG" type="12" table="HIS_BQFJ"/>
<f name="JGID" type="12" table="HIS_BQFJ"/>
<f name="BQPKEY" type="12" table="HIS_BQFJ"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="bqdic" cache="true" type="1">
<sql>select PKEY,BM,MC,MS,BQDZ,BQLC,BQXB,BQZJM,BQKSNL,BQJSNL,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID from HIS_BQ where JGID=? order by BM</sql>
<tables>
<table name="HIS_BQ" insert="true" update="true" delete="true">
<primary>JGID</primary>
<primary>PKEY</primary>
<primary>DELETEFLAG</primary>
<primary>BM</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQ"/>
<f name="BM" type="12" table="HIS_BQ"/>
<f name="MC" type="12" table="HIS_BQ"/>
<f name="MS" type="12" table="HIS_BQ"/>
<f name="BQDZ" type="12" table="HIS_BQ"/>
<f name="BQLC" type="12" table="HIS_BQ"/>
<f name="BQXB" type="12" table="HIS_BQ"/>
<f name="BQZJM" type="12" table="HIS_BQ"/>
<f name="BQKSNL" type="12" table="HIS_BQ"/>
<f name="BQJSNL" type="12" table="HIS_BQ"/>
<f name="BUILDER" type="12" table="HIS_BQ"/>
<f name="BUILDDATE" type="93" table="HIS_BQ"/>
<f name="MODIFYS" type="12" table="HIS_BQ"/>
<f name="MODIFYSDATE" type="93" table="HIS_BQ"/>
<f name="DELETER" type="12" table="HIS_BQ"/>
<f name="DELETEDATA" type="93" table="HIS_BQ"/>
<f name="DELETEFLAG" type="12" table="HIS_BQ"/>
<f name="JGID" type="12" table="HIS_BQ"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ksdic" cache="true" type="1">
<sql>select DPTID,DPTCODE,DPTNAME,DPTRMARK,DPTADDR,DPTLAYER,DPTTYPE,DPTGPID,DPTSEX,DPTZJM,DPTBAGE,DPTEAGE,DPTTXMJC,DPTYBCODE,CJR,CJRQ,XGR,XGRQ,JGID,DPTFLAG from MAIN_KS where JGID=? and DPTFLAG=1 order by DPTCODE</sql>
<tables>
<table delete="true" insert="true" name="MAIN_KS" update="true">
<primary>DPTID</primary>
<primary>DPTCODE</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="DPTID" table="MAIN_KS" type="12"/>
<f name="DPTCODE" table="MAIN_KS" type="12"/>
<f name="DPTNAME" table="MAIN_KS" type="12"/>
<f name="DPTRMARK" table="MAIN_KS" type="12"/>
<f name="DPTADDR" table="MAIN_KS" type="12"/>
<f name="DPTLAYER" table="MAIN_KS" type="12"/>
<f name="DPTTYPE" table="MAIN_KS" type="12"/>
<f name="DPTGPID" table="MAIN_KS" type="12"/>
<f name="DPTSEX" table="MAIN_KS" type="12"/>
<f name="DPTZJM" table="MAIN_KS" type="12"/>
<f name="DPTBAGE" table="MAIN_KS" type="12"/>
<f name="DPTEAGE" table="MAIN_KS" type="12"/>
<f name="DPTTXMJC" table="MAIN_KS" type="12"/>
<f name="DPTYBCODE" table="MAIN_KS" type="12"/>
<f name="CJR" table="MAIN_KS" type="12"/>
<f name="CJRQ" table="MAIN_KS" type="93"/>
<f name="XGR" table="MAIN_KS" type="12"/>
<f name="XGRQ" table="MAIN_KS" type="93"/>
<f name="JGID" table="MAIN_KS" type="12"/>
<f name="DPTFLAG" table="MAIN_KS" type="-5"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--卡类型收费标志 100012-->
<dao id="klxsfbzdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100012' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者建卡设置里面的患者必填类型 100010-->
<dao id="hzinfobtlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100010' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者费用类别 CV07.10.005-->
<dao id="hzinfohzlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV07.10.005' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--卡类型设置的读卡方式 100013-->
<dao id="klxdkfsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100013' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--卡类型的验证方式 100014-->
<dao id="klxyzfsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100014' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者信息默认设置的作用范围 100015-->
<dao id="hzinfozyfwdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100015' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者信息卡类型-->
<dao id="hzinfoklxdic" cache="true" type="1">
<sql>select BM,MC,CD,KFY,HS,FP,QZ,DKSB,JY,DKFS,SFMR,SFYX,FPMB,GS,BK,SFBZ,YZFS,HK,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_HZINFO_KLX where JGID=? order by SFMR desc,BM</sql>
<tables>
<table name="HIS_HZINFO_KLX" insert="true" update="true" delete="true">
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="BM" type="12" table="HIS_HZINFO_KLX"/>
<f name="MC" type="12" table="HIS_HZINFO_KLX"/>
<f name="CD" type="12" table="HIS_HZINFO_KLX"/>
<f name="KFY" type="8" table="HIS_HZINFO_KLX"/>
<f name="HS" type="12" table="HIS_HZINFO_KLX"/>
<f name="FP" type="12" table="HIS_HZINFO_KLX"/>
<f name="QZ" type="12" table="HIS_HZINFO_KLX"/>
<f name="DKSB" type="12" table="HIS_HZINFO_KLX"/>
<f name="JY" type="12" table="HIS_HZINFO_KLX"/>
<f name="DKFS" type="12" table="HIS_HZINFO_KLX"/>
<f name="SFMR" type="12" table="HIS_HZINFO_KLX"/>
<f name="SFYX" type="12" table="HIS_HZINFO_KLX"/>
<f name="FPMB" type="12" table="HIS_HZINFO_KLX"/>
<f name="GS" type="12" table="HIS_HZINFO_KLX"/>
<f name="BK" type="12" table="HIS_HZINFO_KLX"/>
<f name="SFBZ" type="12" table="HIS_HZINFO_KLX"/>
<f name="YZFS" type="12" table="HIS_HZINFO_KLX"/>
<f name="HK" type="12" table="HIS_HZINFO_KLX"/>
<f name="BUILDER" type="12" table="HIS_HZINFO_KLX"/>
<f name="BUILDDATE" type="93" table="HIS_HZINFO_KLX"/>
<f name="MODIFYS" type="12" table="HIS_HZINFO_KLX"/>
<f name="MODIFYSDATE" type="93" table="HIS_HZINFO_KLX"/>
<f name="JGID" type="12" table="HIS_HZINFO_KLX"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--卡状态 100018-->
<dao id="kztdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100018' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--支付类型 100019-->
<dao id="zffsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100019' order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--票据状态 100020-->
<dao id="pjztdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100020' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--票据类型 100021-->
<dao id="pjlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100021' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--票据子类型 100022-->
<dao id="pjzlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100022' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--预交金交款类型类型 100023-->
<dao id="yjjjklxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100023' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="hisyzxdic" cache="true" type="1">
<sql>select JGID,BM,MC,YZDL,YZZL,ISDDYZ,ISXSYZ,ISMZSY,ISJZSY,ISZYSY,DCZDJL,MTZDJL,ZDL,SZSYTS,YF,LC,PC,ISMZPSYY,ISZYPSYY,ISMZSJL,ISZYSJL,JE,BZ,ZT from HIS_YZX where JGID=?</sql>
<tables>
<table name="HIS_YZX" insert="true" update="true" delete="true">
<primary>JGID</primary>
<primary>BM</primary>
</table>
</tables>
<fields>
<f name="JGID" type="12" table="HIS_YZX" />
<f name="BM" type="12" table="HIS_YZX" />
<f name="MC" type="12" table="HIS_YZX" />
<f name="YZDL" type="12" table="HIS_YZX" />
<f name="YZZL" type="12" table="HIS_YZX" />
<f name="ISDDYZ" type="12" table="HIS_YZX" />
<f name="ISXSYZ" type="12" table="HIS_YZX" />
<f name="ISMZSY" type="12" table="HIS_YZX" />
<f name="ISJZSY" type="12" table="HIS_YZX" />
<f name="ISZYSY" type="12" table="HIS_YZX" />
<f name="DCZDJL" type="8" table="HIS_YZX" />
<f name="MTZDJL" type="8" table="HIS_YZX" />
<f name="ZDL" type="8" table="HIS_YZX" />
<f name="SZSYTS" type="-5" table="HIS_YZX" />
<f name="YF" type="12" table="HIS_YZX" />
<f name="LC" type="12" table="HIS_YZX" />
<f name="PC" type="12" table="HIS_YZX" />
<f name="ISMZPSYY" type="12" table="HIS_YZX" />
<f name="ISZYPSYY" type="12" table="HIS_YZX" />
<f name="ISMZSJL" type="12" table="HIS_YZX" />
<f name="ISZYSJL" type="12" table="HIS_YZX" />
<f name="JE" type="8" table="HIS_YZX" />
<f name="BZ" type="12" table="HIS_YZX" />
<f name="ZT" type="12" table="HIS_YZX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ghKszsDic" cache="true" log="true" type="1">
<sql>
select PKEY,BM,MC,ZJM,ZSDZ,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,LOCKFLAG from HIS_GH_KSZS where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_GH_KSZS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_KSZS" />
<f name="BM" type="12" table="HIS_GH_KSZS" />
<f name="MC" type="12" table="HIS_GH_KSZS" />
<f name="ZJM" type="12" table="HIS_GH_KSZS" />
<f name="ZSDZ" type="12" table="HIS_GH_KSZS" />
<f name="BUILDER" type="12" table="HIS_GH_KSZS" />
<f name="BUILDDATE" type="93" table="HIS_GH_KSZS" />
<f name="MODIFYS" type="12" table="HIS_GH_KSZS" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_KSZS" />
<f name="JGID" type="12" table="HIS_GH_KSZS" />
<f name="LOCKFLAG" type="-5" table="HIS_GH_KSZS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ghlbDic" log="true" cache="true" type="1">
<sql>select PKEY,MC,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,BM from HIS_GH_LB where JGID=? order by bm</sql>
<tables>
<table name="HIS_GH_LB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
<primary>BM</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_LB"/>
<f name="MC" type="12" table="HIS_GH_LB"/>
<f name="BUILDER" type="12" table="HIS_GH_LB"/>
<f name="BUILDDATE" type="93" table="HIS_GH_LB"/>
<f name="MODIFYS" type="12" table="HIS_GH_LB"/>
<f name="MODIFYSDATE" type="93" table="HIS_GH_LB"/>
<f name="JGID" type="12" table="HIS_GH_LB"/>
<f name="BM" type="12" table="HIS_GH_LB"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="kszyflDic" log="true" cache="true" type="1" memo="科室专业分类字典">
<sql>select PKEY,MC,ZJM,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_GH_KSZYFL where JGID=? order by PKEY</sql>
<tables>
<table name="HIS_GH_KSZYFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_KSZYFL" />
<f name="MC" type="12" table="HIS_GH_KSZYFL" />
<f name="ZJM" type="12" table="HIS_GH_KSZYFL" />
<f name="BUILDER" type="12" table="HIS_GH_KSZYFL" />
<f name="BUILDDATE" type="93" table="HIS_GH_KSZYFL" />
<f name="MODIFYS" type="12" table="HIS_GH_KSZYFL" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_KSZYFL" />
<f name="JGID" type="12" table="HIS_GH_KSZYFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ghczsdDic" log="true" cache="true" type="1">
<sql>select PKEY,MC,CZKS,CZJS,YYHTHKS,THKS,GHKS,GHJS,YXBZ,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,BM from HIS_GH_CZSD where JGID = ? order by bm
</sql>
<tables>
<table name="HIS_GH_CZSD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
<primary>BM</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_CZSD" />
<f name="MC" type="12" table="HIS_GH_CZSD" />
<f name="CZKS" type="93" table="HIS_GH_CZSD" />
<f name="CZJS" type="93" table="HIS_GH_CZSD" />
<f name="YYHTHKS" type="93" table="HIS_GH_CZSD" />
<f name="THKS" type="93" table="HIS_GH_CZSD" />
<f name="GHKS" type="93" table="HIS_GH_CZSD" />
<f name="GHJS" type="93" table="HIS_GH_CZSD" />
<f name="YXBZ" type="12" table="HIS_GH_CZSD" />
<f name="BUILDER" type="12" table="HIS_GH_CZSD" />
<f name="BUILDDATE" type="93" table="HIS_GH_CZSD" />
<f name="MODIFYS" type="12" table="HIS_GH_CZSD" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_CZSD" />
<f name="JGID" type="12" table="HIS_GH_CZSD" />
<f name="BM" type="12" table="HIS_GH_CZSD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--挂号排队状态 100024-->
<dao id="ghpdztdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100024' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--就医类型 100025-->
<dao id="jylxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100025' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医生站普通参数设置的参数类型 100026-->
<dao id="yszSetupCslxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100026' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医生站普通参数设置的控件类型 100027-->
<dao id="yszSetupKjlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100027' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="yyjxDic" cache="true" log="true" type="1">
<sql>select BM,MC,ZJM,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YZ_YPJX order by bm</sql>
<tables>
<table name="HIS_YZ_YPJX" insert="true" update="true" delete="true">
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
//BM,MC,ZJM,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID
<fields>
<f name="BM" type="12" table="HIS_YZ_YPJX" />
<f name="MC" type="12" table="HIS_YZ_YPJX" />
<f name="ZJM" type="12" table="HIS_YZ_YPJX" />
<f name="BUILDER" type="12" table="HIS_YZ_YPJX" />
<f name="BUILDDATE" type="93" table="HIS_YZ_YPJX" />
<f name="MODIFYS" type="12" table="HIS_YZ_YPJX" />
<f name="MODIFYSDATE" type="93" table="HIS_YZ_YPJX" />
<f name="JGID" type="12" table="HIS_YZ_YPJX" />
</fields>
</dao>
<dao id="yyyfDic" cache="true" log="true" type="1" memo="用药用法字典">
<sql>select BM,MC,MS,PX,SFYX,ZJM,PRINTNAME,MRDS,JGID,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,ISZY,ISCHINESE,ISMZ,ISJZ,ISTJ,ISXSE,ISPS from HIS_YZ_YPYF where JGID=? order by px,bm</sql>
<tables>
<table name="HIS_YZ_YPYF" insert="false" update="false" delete="false">
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="BM" type="12" />
<f name="MC" type="12" />
<f name="MS" type="12" />
<f name="PX" type="8" />
<f name="SFYX" type="12" />
<f name="ZJM" type="12" />
<f name="PRINTNAME" type="12" />
<f name="MRDS" type="12" />
<f name="JGID" type="12" />
<f name="BUILDER" type="12" />
<f name="BUILDDATE" type="93" />
<f name="MODIFYS" type="12" />
<f name="MODIFYSDATE" type="93" />
<f name="ISZY" type="12" />
<f name="ISCHINESE" type="12" />
<f name="ISMZ" type="12" />
<f name="ISJZ" type="12" />
<f name="ISTJ" type="12" />
<f name="ISXSE" type="12" />
<f name="ISPS" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yylcDic" cache="true" log="true" type="1">
<sql>select BM,MC,ZJM,CS,JGID,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE from HIS_YZ_LC where JGID=? order by CS</sql>
<tables>
<table name="HIS_YZ_LC" insert="true" update="true" delete="true">
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="BM" type="12" table="HIS_YZ_LC" />
<f name="MC" type="12" table="HIS_YZ_LC" />
<f name="ZJM" type="12" table="HIS_YZ_LC" />
<f name="CS" type="8" table="HIS_YZ_LC" />
<f name="JGID" type="12" table="HIS_YZ_LC" />
<f name="BUILDER" type="12" table="HIS_YZ_LC" />
<f name="BUILDDATE" type="93" table="HIS_YZ_LC" />
<f name="MODIFYS" type="12" table="HIS_YZ_LC" />
<f name="MODIFYSDATE" type="93" table="HIS_YZ_LC" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yypcDic" cache="true" log="true" type="1">
<sql>select BM,MC,CS,PX,ZJM,SFYX,PRINTNAME,SFZPC,MS,MZQYFF,ZYQYFF,MZFFSJ,ZYFFSJ,JGID,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,PCJZTS,ISCHINESE,ISMZ,ISJZ,ISZY,ISTJ,ISXSE,JKPTBM,JKPTMC from HIS_YZ_PC where JGID=? and SFYX='1' order by PX</sql>
<tables>
<table name="HIS_YZ_PC" insert="true" update="true" delete="true">
<primary>BM</primary>
<primary>MC</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="BM" type="12" table="HIS_YZ_PC" />
<f name="MC" type="12" table="HIS_YZ_PC" />
<f name="CS" type="8" table="HIS_YZ_PC" />
<f name="PX" type="8" table="HIS_YZ_PC" />
<f name="ZJM" type="12" table="HIS_YZ_PC" />
<f name="SFYX" type="12" table="HIS_YZ_PC" />
<f name="PRINTNAME" type="12" table="HIS_YZ_PC" />
<f name="SFZPC" type="12" table="HIS_YZ_PC" />
<f name="MS" type="12" table="HIS_YZ_PC" />
<f name="MZQYFF" type="12" table="HIS_YZ_PC" />
<f name="ZYQYFF" type="12" table="HIS_YZ_PC" />
<f name="MZFFSJ" type="12" table="HIS_YZ_PC" />
<f name="ZYFFSJ" type="12" table="HIS_YZ_PC" />
<f name="JGID" type="12" table="HIS_YZ_PC" />
<f name="BUILDER" type="12" table="HIS_YZ_PC" />
<f name="BUILDDATE" type="93" table="HIS_YZ_PC" />
<f name="MODIFYS" type="12" table="HIS_YZ_PC" />
<f name="MODIFYSDATE" type="93" table="HIS_YZ_PC" />
<f name="PCJZTS" type="8" table="HIS_YZ_PC" />
<f name="ISCHINESE" type="12" table="HIS_YZ_PC" />
<f name="ISMZ" type="12" table="HIS_YZ_PC" />
<f name="ISJZ" type="12" table="HIS_YZ_PC" />
<f name="ISZY" type="12" table="HIS_YZ_PC" />
<f name="ISTJ" type="12" table="HIS_YZ_PC" />
<f name="ISXSE" type="12" table="HIS_YZ_PC" />
<f name="JKPTBM" type="12" table="HIS_YZ_PC" />
<f name="JKPTMC" type="12" table="HIS_YZ_PC" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--处方的药品类型 100028-->
<dao id="cfyplxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100028' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--挂号排队优先级 100029-->
<dao id="ghpdyxjdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100029' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="gzzJbDic" cache="true" log="true" type="1">
<sql>select JBBM,JBMC,PYM,WBM,JBLX,SFYX,MZSYL,ZYSYL from HIS_JB </sql>
<tables>
<table name="HIS_JB" insert="true" update="true" delete="true">
<primary>JBBM</primary>
</table>
</tables>
//JBBM,JBMC,PYM,WBM,JBLX,SFYX,MZSYL,ZYSYL
<fields>
<f name="JBBM" type="12" table="HIS_JB" />
<f name="JBMC" type="12" table="HIS_JB" />
<f name="PYM" type="12" table="HIS_JB" />
<f name="WBM" type="12" table="HIS_JB" />
<f name="JBLX" type="12" table="HIS_JB" />
<f name="SFYX" type="12" table="HIS_JB" />
<f name="MZSYL" type="8" table="HIS_JB" />
<f name="ZYSYL" type="8" table="HIS_JB" />
</fields>
</dao>
<!--门诊疾病分类 100030-->
<dao id="mzjbfldic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100030' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊诊断状态 100031-->
<dao id="mzzdztdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100031' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="gzzJbZyzhDic" cache="true" log="true" type="1">
<sql>select PKEY,ZHBM,ZHMC,ZHFL,PYM,WBM from HIS_JB_ZYZH</sql>
<tables>
<table name="HIS_JB_ZYZH" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>ZHBM</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="-5" table="HIS_JB_ZYZH" />
<f name="ZHBM" type="12" table="HIS_JB_ZYZH" />
<f name="ZHMC" type="12" table="HIS_JB_ZYZH" />
<f name="ZHFL" type="12" table="HIS_JB_ZYZH" />
<f name="PYM" type="12" table="HIS_JB_ZYZH" />
<f name="WBM" type="12" table="HIS_JB_ZYZH" />
</fields>
</dao>
<!--医嘱子类设置类型 100032-->
<dao id="yzzlszTypedic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100032' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱大类字典-->
<dao id="yzdlDic" type="1">
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where JGID=? and JGZDLB_BH='Z00001' order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
<primary>JGID</primary>
<primary>JGZDLB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="JGID" type="12" table="MAIN_JGZDB" />
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
<f name="BH" type="12" table="MAIN_JGZDB" />
<f name="MC" type="12" table="MAIN_JGZDB" />
<f name="PYM" type="12" table="MAIN_JGZDB" />
<f name="WBM" type="12" table="MAIN_JGZDB" />
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
<f name="XH" type="12" table="MAIN_JGZDB" />
<f name="ZT" type="12" table="MAIN_JGZDB" />
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--医嘱子类字典-->
<dao id="yzzlDic" type="1">
<sql>select JGID,JGZDLB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT,VALUE3,VALUE4,VALUE5 from MAIN_JGZDB where JGID=? and JGZDLB_BH='Z00002' order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_JGZDB" insert="true" update="true" delete="true">
<primary>JGID</primary>
<primary>JGZDLB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="JGID" type="12" table="MAIN_JGZDB" />
<f name="JGZDLB_BH" type="12" table="MAIN_JGZDB" />
<f name="BH" type="12" table="MAIN_JGZDB" />
<f name="MC" type="12" table="MAIN_JGZDB" />
<f name="PYM" type="12" table="MAIN_JGZDB" />
<f name="WBM" type="12" table="MAIN_JGZDB" />
<f name="VALUE1" type="12" table="MAIN_JGZDB" />
<f name="VALUE2" type="12" table="MAIN_JGZDB" />
<f name="XH" type="12" table="MAIN_JGZDB" />
<f name="ZT" type="12" table="MAIN_JGZDB" />
<f name="VALUE3" type="12" table="MAIN_JGZDB" />
<f name="VALUE4" type="12" table="MAIN_JGZDB" />
<f name="VALUE5" type="12" table="MAIN_JGZDB" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--医嘱同组显示标识 100033-->
<dao id="yztzbsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100033' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--皮试备注选项 100034-->
<dao id="psbzdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100034' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱执行单 100035-->
<dao id="yzzxddic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100035' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱特殊用法类型 100036-->
<dao id="yztsyflxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100036' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊收费基础设置-门诊收费检索类型 100037-->
<dao id="mzsfjslxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100037' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊收费基础设置-退费审批模式 100038-->
<dao id="tfspmsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100038' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊收费基础设置-皮试医嘱收费类型 100039-->
<dao id="psyzsflxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100039' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊收费基础设置-退费申请审批范围 100040-->
<dao id="tfsqspfwdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100040' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊发药退药原因 100041-->
<dao id="mzfytyyydic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100041' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊发药取药算法 100042-->
<dao id="mzfyqysfdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100042' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--门诊发药窗口类型 100043-->
<dao id="mzfycklxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100043' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--中药备注 100045-->
<dao id="zybzdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100045' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--中药备注 100047-->
<dao id="zycfbzdic" cache="true" type="1" memo="中药处方备注">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100047' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱类别 DE06.00.286.00 -->
<dao id="yzlbDic" cache="true" type="1" memo="医嘱类别">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE06.00.286.00' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱项目类型代码表 CV06.00.229 -->
<dao id="yzxmlxDic" cache="true" type="1" memo="医嘱项目类型">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV06.00.229' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱申请单分类 100049 -->
<dao id="yzsqdflDic" cache="true" type="1" memo="医嘱申请单分类">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100049' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--收费项字典-->
<dao id="hissfxdic" type="1">
<sql>select JGID,BM,MC,JBDW,FYDL,FYZL,HSZFL,KJZFL,MZZFL,ZYZFL,BASYFL,KCFL,RKDW,ZHXS,MZFYDW,ZYFYDW,JG,JBJG,SFYJ,SFXMSM,BZ,ZT from HIS_SFX where JGID=? </sql>
<tables>
<table name="HIS_SFX" insert="true" update="true" delete="true">
<primary>JGID</primary>
<primary>BM</primary>
</table>
</tables>
<fields>
<f name="JGID" type="12" table="HIS_SFX" />
<f name="BM" type="12" table="HIS_SFX" />
<f name="MC" type="12" table="HIS_SFX" />
<f name="JBDW" type="12" table="HIS_SFX" />
<f name="FYDL" type="12" table="HIS_SFX" />
<f name="FYZL" type="12" table="HIS_SFX" />
<f name="HSZFL" type="12" table="HIS_SFX" />
<f name="KJZFL" type="12" table="HIS_SFX" />
<f name="MZZFL" type="12" table="HIS_SFX" />
<f name="ZYZFL" type="12" table="HIS_SFX" />
<f name="BASYFL" type="12" table="HIS_SFX" />
<f name="KCFL" type="12" table="HIS_SFX" />
<f name="RKDW" type="12" table="HIS_SFX" />
<f name="ZHXS" type="8" table="HIS_SFX" />
<f name="MZFYDW" type="12" table="HIS_SFX" />
<f name="ZYFYDW" type="12" table="HIS_SFX" />
<f name="JG" type="12" table="HIS_SFX" />
<f name="JBJG" type="12" table="HIS_SFX" />
<f name="SFYJ" type="12" table="HIS_SFX" />
<f name="SFXMSM" type="12" table="HIS_SFX" />
<f name="BZ" type="12" table="HIS_SFX" />
<f name="ZT" type="12" table="HIS_SFX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yzsqdQtxmDic" log="true" cache="true" type="1">
<sql>SELECT PKEY,MC,TYPE,ISBT,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID FROM HIS_YZSQD_QTXM WHERE JGID=? ORDER BY PKEY</sql>
<tables>
<table name="HIS_YZSQD_QTXM" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YZSQD_QTXM" />
<f name="MC" type="12" table="HIS_YZSQD_QTXM" />
<f name="TYPE" type="12" table="HIS_YZSQD_QTXM" />
<f name="ISBT" type="12" table="HIS_YZSQD_QTXM" />
<f name="BUILDER" type="12" table="HIS_YZSQD_QTXM" />
<f name="BUILDDATE" type="93" table="HIS_YZSQD_QTXM" />
<f name="MODIFYS" type="12" table="HIS_YZSQD_QTXM" />
<f name="MODIFYSDATE" type="93" table="HIS_YZSQD_QTXM" />
<f name="JGID" type="12" table="HIS_YZSQD_QTXM" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yzsqdZysxDic" log="true" cache="true" type="1" memo="医嘱申请单注意事项字典">
<sql>select PKEY,MC,MS,ZT,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YZSQD_ZYSX where JGID=? order by pkey</sql>
<tables>
<table name="HIS_YZSQD_ZYSX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YZSQD_ZYSX" />
<f name="MC" type="12" table="HIS_YZSQD_ZYSX" />
<f name="MS" type="12" table="HIS_YZSQD_ZYSX" />
<f name="ZT" type="12" table="HIS_YZSQD_ZYSX" />
<f name="BUILDER" type="12" table="HIS_YZSQD_ZYSX" />
<f name="BUILDDATE" type="93" table="HIS_YZSQD_ZYSX" />
<f name="MODIFYS" type="12" table="HIS_YZSQD_ZYSX" />
<f name="MODIFYSDATE" type="93" table="HIS_YZSQD_ZYSX" />
<f name="JGID" type="12" table="HIS_YZSQD_ZYSX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--医嘱申请单分类 100050 -->
<dao id="yzsqdztDic" cache="true" type="1" memo="医嘱申请单状态">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100050' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="yzsqdJctwDic" log="true" cache="true" type="1" memo="医嘱申请单体位字典">
<sql>select PKEY,MC,ZT,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YZSQD_JCTW where JGID=? order by pkey</sql>
<tables>
<table name="HIS_YZSQD_JCTW" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YZSQD_JCTW" />
<f name="MC" type="12" table="HIS_YZSQD_JCTW" />
<f name="ZT" type="12" table="HIS_YZSQD_JCTW" />
<f name="BUILDER" type="12" table="HIS_YZSQD_JCTW" />
<f name="BUILDDATE" type="93" table="HIS_YZSQD_JCTW" />
<f name="MODIFYS" type="12" table="HIS_YZSQD_JCTW" />
<f name="MODIFYSDATE" type="93" table="HIS_YZSQD_JCTW" />
<f name="JGID" type="12" table="HIS_YZSQD_JCTW" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yzsqdHclfsDic" log="true" cache="true" type="1" memo="后处理方式字典dao">
<sql>select PKEY,MC,ZT,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YZSQD_JCHCLFS where JGID=? order by pkey</sql>
<tables>
<table name="HIS_YZSQD_JCHCLFS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YZSQD_JCHCLFS" />
<f name="MC" type="12" table="HIS_YZSQD_JCHCLFS" />
<f name="ZT" type="12" table="HIS_YZSQD_JCHCLFS" />
<f name="BUILDER" type="12" table="HIS_YZSQD_JCHCLFS" />
<f name="BUILDDATE" type="93" table="HIS_YZSQD_JCHCLFS" />
<f name="MODIFYS" type="12" table="HIS_YZSQD_JCHCLFS" />
<f name="MODIFYSDATE" type="93" table="HIS_YZSQD_JCHCLFS" />
<f name="JGID" type="12" table="HIS_YZSQD_JCHCLFS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cwlxdic" cache="true" type="1" memo="床位类型字典">
<sql>select PKEY,BM,MC,MS,ICU,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID from HIS_BQCWLX where DELETEFLAG=1 and JGID=? order by BM</sql>
<tables>
<table name="HIS_BQCWLX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>DELETEFLAG</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQCWLX"/>
<f name="BM" type="12" table="HIS_BQCWLX"/>
<f name="MC" type="12" table="HIS_BQCWLX"/>
<f name="MS" type="12" table="HIS_BQCWLX"/>
<f name="ICU" type="12" table="HIS_BQCWLX"/>
<f name="BUILDER" type="12" table="HIS_BQCWLX"/>
<f name="BUILDDATE" type="93" table="HIS_BQCWLX"/>
<f name="MODIFYS" type="12" table="HIS_BQCWLX"/>
<f name="MODIFYSDATE" type="93" table="HIS_BQCWLX"/>
<f name="DELETER" type="12" table="HIS_BQCWLX"/>
<f name="DELETEDATA" type="93" table="HIS_BQCWLX"/>
<f name="DELETEFLAG" type="12" table="HIS_BQCWLX"/>
<f name="JGID" type="12" table="HIS_BQCWLX"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="bqfjdic" type="1" memo="房间字典">
<sql>select PKEY,BM,MC,MS,FJLX,FJTZXZ,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID,BQPKEY from HIS_BQFJ where JGID=? </sql>
<tables>
<table name="HIS_BQFJ" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>DELETEFLAG</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQFJ"/>
<f name="BM" type="12" table="HIS_BQFJ"/>
<f name="MC" type="12" table="HIS_BQFJ"/>
<f name="MS" type="12" table="HIS_BQFJ"/>
<f name="FJLX" type="12" table="HIS_BQFJ"/>
<f name="FJTZXZ" type="12" table="HIS_BQFJ"/>
<f name="BUILDER" type="12" table="HIS_BQFJ"/>
<f name="BUILDDATE" type="93" table="HIS_BQFJ"/>
<f name="MODIFYS" type="12" table="HIS_BQFJ"/>
<f name="MODIFYSDATE" type="93" table="HIS_BQFJ"/>
<f name="DELETER" type="12" table="HIS_BQFJ"/>
<f name="DELETEDATA" type="93" table="HIS_BQFJ"/>
<f name="DELETEFLAG" type="12" table="HIS_BQFJ"/>
<f name="JGID" type="12" table="HIS_BQFJ"/>
<f name="BQPKEY" type="12" table="HIS_BQFJ"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--医嘱项互斥类型字典 100051 -->
<dao id="yzxhclxDic" cache="true" type="1" memo="医嘱项互斥类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100051' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院证状态字典 100052 -->
<dao id="zygl_zyzztDic" cache="true" type="1" memo="住院证状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100052' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--入院病情代码表 CV05.10.019 -->
<dao id="zygl_rybqDic" cache="true" type="1" memo="入院病情代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV05.10.019' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者病情状态代码表 100100 -->
<dao id="zyhzbqztDic" cache="true" type="1" memo="患者病情状态代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100100' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院原因代码表 CV06.00.212 -->
<dao id="zygl_zyyyDic" cache="true" type="1" memo="住院原因代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV06.00.212' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--离院方式代码表 CV06.00.226 -->
<dao id="zygl_lyfsDic" cache="true" type="1" memo="离院方式代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV06.00.226' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--入院途径代码表 CV09.00.403 -->
<dao id="zygl_rytjDic" cache="true" type="1" memo="入院途径代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV09.00.403' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院情况代码表 DE02.10.091.00 -->
<dao id="zygl_zyqkDic" cache="true" type="1" memo="住院情况代码表字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE02.10.091.00' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--就诊状态字典 100053 -->
<dao id="jzztDic" cache="true" type="1" memo="就诊状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100053' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--患者押金类型字典 100054 -->
<dao id="hzYjlxDic" cache="true" type="1" memo="患者押金类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100054' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院押金状态字典 100055 -->
<dao id="zyyjztDic" cache="true" type="1" memo="住院押金状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100055' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--护士工作站显示性别 100056 -->
<dao id="hsgzzxbDic" cache="true" type="1" memo="护士工作站显示性别">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100056' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="bqcwdic" cache="true" type="1" memo="病区床位管理字典">
<sql>select PKEY,BM,MC,CWLX,SSFJ,SSBQ,SFJH,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID,SSKS from HIS_BQCW where JGID=? and SSBQ=? order by bm</sql>
<tables>
<table delete="true" insert="true" name="HIS_BQCW" update="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>SSFJ</primary>
<primary>SSBQ</primary>
<primary>SFJH</primary>
<primary>JGID</primary>
<primary>SSKS</primary>
</table>
</tables>
<fields>
<f name="PKEY" table="HIS_BQCW" type="12"/>
<f name="BM" table="HIS_BQCW" type="12"/>
<f name="MC" table="HIS_BQCW" type="12"/>
<f name="CWLX" table="HIS_BQCW" type="12"/>
<f name="SSFJ" table="HIS_BQCW" type="12"/>
<f name="SSBQ" table="HIS_BQCW" type="12"/>
<f name="SFJH" table="HIS_BQCW" type="12"/>
<f name="BUILDER" table="HIS_BQCW" type="12"/>
<f name="BUILDDATE" table="HIS_BQCW" type="93"/>
<f name="MODIFYS" table="HIS_BQCW" type="12"/>
<f name="MODIFYSDATE" table="HIS_BQCW" type="93"/>
<f name="DELETER" table="HIS_BQCW" type="12"/>
<f name="DELETEDATA" table="HIS_BQCW" type="93"/>
<f name="DELETEFLAG" table="HIS_BQCW" type="12"/>
<f name="JGID" table="HIS_BQCW" type="12"/>
<f name="SSKS" table="HIS_BQCW" type="12"/>
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cwdic" cache="true" type="1" memo="床位管理字典">
<sql>select PKEY,BM,MC,CWLX,SSFJ,SSBQ,SFJH,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,DELETER,DELETEDATA,DELETEFLAG,JGID,SSKS,QYSJ,TYSJ from HIS_BQCW where JGID=? order by bm</sql>
<tables>
<table delete="true" insert="true" name="HIS_BQCW" update="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>SSFJ</primary>
<primary>SSBQ</primary>
<primary>SFJH</primary>
<primary>JGID</primary>
<primary>SSKS</primary>
</table>
</tables>
<fields>
<f name="PKEY" table="HIS_BQCW" type="12"/>
<f name="BM" table="HIS_BQCW" type="12"/>
<f name="MC" table="HIS_BQCW" type="12"/>
<f name="CWLX" table="HIS_BQCW" type="12"/>
<f name="SSFJ" table="HIS_BQCW" type="12"/>
<f name="SSBQ" table="HIS_BQCW" type="12"/>
<f name="SFJH" table="HIS_BQCW" type="12"/>
<f name="BUILDER" table="HIS_BQCW" type="12"/>
<f name="BUILDDATE" table="HIS_BQCW" type="93"/>
<f name="MODIFYS" table="HIS_BQCW" type="12"/>
<f name="MODIFYSDATE" table="HIS_BQCW" type="93"/>
<f name="DELETER" table="HIS_BQCW" type="12"/>
<f name="DELETEDATA" table="HIS_BQCW" type="93"/>
<f name="DELETEFLAG" table="HIS_BQCW" type="12"/>
<f name="JGID" table="HIS_BQCW" type="12"/>
<f name="SSKS" table="HIS_BQCW" type="12"/>
<f name="QYSJ" table="HIS_BQCW" type="93"/>
<f name="TYSJ" table="HIS_BQCW" type="93"/>
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="yzxToSqdTypeDIC" log="true" cache="true" type="1" memo="通过医嘱项获取对应的申请单类型">
<sql>select a.YZXPKEY,b.SQDTYPE from HIS_YZSQD_JCS_YZX a left join HIS_YZSQD_JCS b on a.JCSPKEY=b.pkey and a.JGID=b.JGID where a.JGID=?</sql>
<tables>
<table name="HIS_YZSQD_JCS_YZX" insert="true" update="true" delete="true">
<primary>YZXPKEY</primary>
</table>
<table name="HIS_YZSQD_JCS" insert="true" update="true" delete="true">
<primary>SQDTYPE</primary>
</table>
</tables>
<fields>
<f name="YZXPKEY" type="12" table="HIS_YZSQD_JCS_YZX" />
<f name="SQDTYPE" type="12" table="HIS_YZSQD_JCS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--医嘱执行记录状态字典 100068 -->
<dao id="yzzxjlStateDic" cache="true" type="1" memo="医嘱执行记录状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100068' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院发药科室默认显示类型字典 100069 -->
<dao id="zyfyksmrxslxDao" cache="true" type="1" memo="住院发药科室默认显示类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100069' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院医嘱计费点字典 100070 -->
<dao id="zyyzjfdDic" cache="true" type="1" memo="住院医嘱计费点字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100070' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院医嘱需处理类型字典 100071 -->
<dao id="zyyzgzcllxdDic" cache="true" type="1" memo="住院医嘱需处理类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100071' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院诊断类型字典 100072 -->
<dao id="zyzdlxdDic" cache="true" type="1" memo="住院诊断类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100072' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院医嘱关注类型字典 100073 -->
<dao id="zyyzgzlxDic" cache="true" type="1" memo="住院医嘱关注类型字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100073' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院患者在院状态字典 100074 -->
<dao id="zyhzztDic" cache="true" type="1" memo="住院患者在院状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100074' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--账单状态字典 100075 -->
<dao id="zdztDic" cache="true" type="1" memo="账单状态字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100075' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--出院情况字典 100076 -->
<dao id="cyqkDic" cache="true" type="1" memo="出院情况字典">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100076' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--三测单起始测试时间点 100077 -->
<dao id="scdbegintimeDic" cache="true" type="1" memo="三测单起始测试时间点">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100077' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--三测单事件类型设置 100078 -->
<dao id="scdeventtypeDic" cache="true" type="1" memo="三测单事件类型设置">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100078' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--三测单每天测试次数 100079 -->
<dao id="scddaycsDic" cache="true" type="1" memo="三测单每天测试次数">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100079' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历显示状态 100080 -->
<dao id="emrBlxsztDic" cache="true" type="1" memo="病历显示状态">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100080' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 人员病历权限 100081 -->
<dao id="emrBlryqxDic" cache="true" type="1" memo="人员病历权限">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100081' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 书写时限控制要求 100082 -->
<dao id="emrBlsxWriteQxDic" cache="true" type="1" memo="书写时限控制要求">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100082' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历时限参考时间 100083 -->
<dao id="emrBlsxTimeDic" cache="true" type="1" memo="病历时限参考时间">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100083' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历内容写入数量限制 100084 -->
<dao id="emrBlslxzDic" cache="true" type="1" memo="病历内容写入数量限制">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100084' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历内容填写限制 100085 -->
<dao id="emrBlnrxzDic" cache="true" type="1" memo="病历内容填写限制">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100085' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历数据元取值类型 100086 -->
<dao id="emrBlDataElementValueSourceDic" cache="true" type="1" memo="病历数据元取值类型">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100086' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 电子病历标准模板标识符 100087 -->
<dao id="emrBlbsfDic" cache="true" type="1" memo="电子病历标准模板标识符">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100087' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历模板共享级别 100088 -->
<dao id="emrBlTemplateGxjbDic" cache="true" type="1" memo="病历模板共享级别">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100088' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历模板书写次数 100089 -->
<dao id="emrBlWriteCsDic" cache="true" type="1" memo="病历模板书写次数">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100089' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历模板书性别限制 100090 -->
<dao id="emrBlsexxzDic" cache="true" type="1" memo="病历模板书性别限制">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100090' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 电子病历模板数据元类型 100091 -->
<dao id="emrBlsjylxDic" cache="true" type="1" memo="电子病历模板数据元类型">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100091' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 医院医生级别 100092 -->
<dao id="yldyYsjbDic" cache="true" type="1" memo="医院医生级别">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100092' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病历签名单元级别 100093 -->
<dao id="emrBlQmjbDic" cache="true" type="1" memo="病历签名单元级别">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100093' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 住院护士护理文书显示菜单 100094 -->
<dao id="zyhshlwsmenuDao" cache="true" type="1" memo="住院护士护理文书显示菜单">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100094' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 住院护士诊疗菜单 100095 -->
<dao id="zyhszlmenuDao" cache="true" type="1" memo="住院护士诊疗菜单">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100095' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 住院护士查询菜单 100096 -->
<dao id="zyhscxDao" cache="true" type="1" memo="住院护士查询菜单">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100096' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="yyyfpsDic" cache="true" log="true" type="1" memo="获取用法对应是否皮试的dao">
<sql>select BM,MC,MS,PX,SFYX,ZJM,PRINTNAME,MRDS,JGID,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,ISZY,ISCHINESE,ISMZ,ISJZ,ISTJ,ISXSE,ISPS from HIS_YZ_YPYF where JGID=? order by px,bm</sql>
<tables>
<table name="HIS_YZ_YPYF" insert="false" update="false" delete="false">
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="BM" type="12" />
<f name="MC" type="12" />
<f name="MS" type="12" />
<f name="PX" type="8" />
<f name="SFYX" type="12" />
<f name="ZJM" type="12" />
<f name="PRINTNAME" type="12" />
<f name="MRDS" type="12" />
<f name="JGID" type="12" />
<f name="BUILDER" type="12" />
<f name="BUILDDATE" type="93" />
<f name="MODIFYS" type="12" />
<f name="MODIFYSDATE" type="93" />
<f name="ISZY" type="12" />
<f name="ISCHINESE" type="12" />
<f name="ISMZ" type="12" />
<f name="ISJZ" type="12" />
<f name="ISTJ" type="12" />
<f name="ISXSE" type="12" />
<f name="ISPS" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!-- 住院护士查询菜单 100098 -->
<dao id="fpjsztDic" cache="true" type="1" memo="发票结算表状态字典">
<sql>select '' value,ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100098' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="VALUE" type="12" />
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--医嘱左同组显示标识 100099-->
<dao id="yzlefttzbsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100099' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--取药医嘱来源字典 100101-->
<dao id="qyyzlydic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100101' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="yzzlDpbcldic" log="true" cache="true" type="1" memo="医嘱子类单瓶不拆零设置字典">
<sql>select YZZL,ISDPBCL,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YZ_YZZLMRDPBCL where JGID=? order by yzzl</sql>
<tables>
<table name="HIS_YZ_YZZLMRDPBCL" insert="true" update="true" delete="true">
<primary>YZZL</primary>
<primary>ISDPBCL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="YZZL" type="12" table="HIS_YZ_YZZLMRDPBCL" />
<f name="ISDPBCL" type="12" table="HIS_YZ_YZZLMRDPBCL" />
<f name="BUILDER" type="12" table="HIS_YZ_YZZLMRDPBCL" />
<f name="BUILDDATE" type="93" table="HIS_YZ_YZZLMRDPBCL" />
<f name="MODIFYS" type="12" table="HIS_YZ_YZZLMRDPBCL" />
<f name="MODIFYSDATE" type="93" table="HIS_YZ_YZZLMRDPBCL" />
<f name="JGID" type="12" table="HIS_YZ_YZZLMRDPBCL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--住院病情状态字典 100102-->
<dao id="zybqztdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100102' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--住院医嘱功能类型设置字典 100103-->
<dao id="zyyzfunctionItemsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100103' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="yffylbDao" log="true" cache="true" type="1" memo="药房发药类别dao">
<sql>select PKEY,BM,MC,ISDYMX,ISDYHZ,ISYL,ISCJTY,ISFSBZFY,ISJTYSQD,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_YFFY_FYLB where JGID=? order by pkey</sql>
<tables>
<table name="HIS_YFFY_FYLB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BM</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YFFY_FYLB" />
<f name="BM" type="12" table="HIS_YFFY_FYLB" />
<f name="MC" type="12" table="HIS_YFFY_FYLB" />
<f name="ISDYMX" type="12" table="HIS_YFFY_FYLB" />
<f name="ISDYHZ" type="12" table="HIS_YFFY_FYLB" />
<f name="ISYL" type="12" table="HIS_YFFY_FYLB" />
<f name="ISCJTY" type="12" table="HIS_YFFY_FYLB" />
<f name="ISFSBZFY" type="12" table="HIS_YFFY_FYLB" />
<f name="ISJTYSQD" type="12" table="HIS_YFFY_FYLB" />
<f name="BUILDER" type="12" table="HIS_YFFY_FYLB" />
<f name="BUILDDATE" type="93" table="HIS_YFFY_FYLB" />
<f name="MODIFYS" type="12" table="HIS_YFFY_FYLB" />
<f name="MODIFYSDATE" type="93" table="HIS_YFFY_FYLB" />
<f name="JGID" type="12" table="HIS_YFFY_FYLB" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!--病历操作类型字典 100104-->
<dao id="zybloperTypedic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100104' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页治疗类别代码表 CV06.00.225-->
<dao id="basyZllbdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV06.00.225' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页科别代码表 RC023-->
<dao id="basyKbdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC023' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页血型代码表 CV04.50.005-->
<dao id="basyABOdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV04.50.005' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页RH阴性代码表 CV04.50.020-->
<dao id="basyRHdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV04.50.020' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页病案质量代码表 DE09.00.103.00-->
<dao id="basyBazldic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE09.00.103.00' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页输血反应代码表 RC018-->
<dao id="basySxfydic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC018' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页手术代码表 ICD9CM3-->
<dao id="basySsbmdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='ICD9CM3' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页手术级别代码表 CV05.10.024-->
<dao id="basySsjbdmdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV05.10.024' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页手术切口愈合等级代码表 CV05.10.023-->
<dao id="basySsqkyhdjdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV05.10.023' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页麻醉方法代码表 CV06.00.103-->
<dao id="basymzfsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV06.00.103' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页麻醉分级代码表 RC024-->
<dao id="basymzfjdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='RC024' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页实施临床路径标志代码表 DE06.00.247.00-->
<dao id="basysslcljdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='DE06.00.247.00' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 病案首页医疗付费方式代码表 CV07.10.005-->
<dao id="basyylfffsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='CV07.10.005' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 护理指标数据类型 100105-->
<dao id="hlzbsjlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100105' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 表格文本水平对齐方式 100106-->
<dao id="aligndic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100106' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 护理指标绑定控件类型 100107-->
<dao id="hlzbkjlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100107' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 日期控件日期类型 100108-->
<dao id="rqkjdateTypedic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100108' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 护理级别提示颜色字典 100109-->
<dao id="hljbColordic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100109' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 医嘱类型字典 100110-->
<dao id="yzlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100110' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 医嘱执行单类型字典 100035-->
<dao id="yzzxdlxdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100035' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 医嘱绑定方式字典 100111-->
<dao id="yzbdfsdic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100111' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 自动任务时间类型字典 100112-->
<dao id="autoTaskTimeTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100112' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 自动运行任务状态字典 100113-->
<dao id="autoTaskStateDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100113' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 药品字号字典000013-->
<dao id="ypxxZHDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000013' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 药品高危级别000016-->
<dao id="ypxxGWJBDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='000016' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="allbqcwlxFjfDic" log="true" cache="true" type="1" memo="所有病区房间类型的附加费字典">
<sql>SELECT PKEY,CWLXPKEY,YZXPKEY,YZXNUM,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID from HIS_BQCWLXFJF where JGID=?</sql>
<tables>
<table name="HIS_BQCWLXFJF" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>CWLXPKEY</primary>
<primary>YZXPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQCWLXFJF" />
<f name="CWLXPKEY" type="12" table="HIS_BQCWLXFJF" />
<f name="YZXPKEY" type="12" table="HIS_BQCWLXFJF" />
<f name="YZXNUM" type="8" table="HIS_BQCWLXFJF" />
<f name="BUILDER" type="12" table="HIS_BQCWLXFJF" />
<f name="BUILDDATE" type="93" table="HIS_BQCWLXFJF" />
<f name="MODIFYS" type="12" table="HIS_BQCWLXFJF" />
<f name="MODIFYSDATE" type="93" table="HIS_BQCWLXFJF" />
<f name="JGID" type="12" table="HIS_BQCWLXFJF" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="allcwfjfDic" log="true" cache="true" type="1" memo="所有床位附加费字典">
<sql>select PKEY,CWKEY,YZXPKEY,YZXNUM,BUILDER,BUILDDATE,JGID from HIS_BQCWFJF where JGID=? </sql>
<tables>
<table name="HIS_BQCWFJF" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>CWKEY</primary>
<primary>YZXPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_BQCWFJF" />
<f name="CWKEY" type="12" table="HIS_BQCWFJF" />
<f name="YZXPKEY" type="12" table="HIS_BQCWFJF" />
<f name="YZXNUM" type="8" table="HIS_BQCWFJF" />
<f name="BUILDER" type="12" table="HIS_BQCWFJF" />
<f name="BUILDDATE" type="93" table="HIS_BQCWFJF" />
<f name="JGID" type="12" table="HIS_BQCWFJF" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!-- 抗菌药物级别字典 100114-->
<dao id="kjywJbDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100114' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 抗菌药物允许类型字典 100115-->
<dao id="kjywYxlxDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100115' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 抗菌药物申请状态字典 100116-->
<dao id="kjywSqztDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100116' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 抗菌药物申请流程类型字典 100117-->
<dao id="kjywSqlclxDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100117' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 抗菌类药基础数据设置类型字典 100118-->
<dao id="kjywBaseDataTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100118' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 院内会诊类型字典 100119-->
<dao id="zyhuizhenTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100119' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 会诊执行状态字典 100120-->
<dao id="zyhuizhenZxStateDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100120' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 抗生素审核流程类型字典 100121-->
<dao id="kssShLcTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100121' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 分娩登记状态字典 100122-->
<dao id="fmdjztDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100122' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 分娩方式字典 100123-->
<dao id="fmfsDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100123' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 分娩结果字典 100124-->
<dao id="fmjgDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100124' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 要求状态字典 100125-->
<dao id="yqztDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100125' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊既往史字典 100127-->
<dao id="emssJwsDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100127' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊病人来源字典 100128-->
<dao id="emssBrlyDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100128' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊病人来诊方式 100129-->
<dao id="emssBrlzfsDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100129' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊更改分级原因字典 100130-->
<dao id="emssGgfjyyDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100130' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊病人意识形态字典 100131-->
<dao id="emssBrysxtDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100131' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊特殊人群字典 100132-->
<dao id="emssTsrqDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100132' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊六大病种字典 100133-->
<dao id="emssLdbzDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100133' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊分级字典 100134-->
<dao id="emssFJDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100134' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊分区字典 100135-->
<dao id="emssFQDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100135' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 急诊病情颜色字典 100139-->
<dao id="emssBqYsDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100139' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 过敏类型字典 100140-->
<dao id="alTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100140' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 过敏源分类字典 100141-->
<dao id="alSourceTypeDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100141' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 过敏原因字典 100142-->
<dao id="alReasonDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100142' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 过敏改变原因字典 100143-->
<dao id="alChangeReasonDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100143' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 过敏严重程度字典 100144-->
<dao id="alSeverityDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100144' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!--WWCV5301_01药物使用频率代码表-->
<dao id="ypsypldic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='WWCV5301_01' order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 住院医嘱状态字典 100152-->
<dao id="zyyzZtDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100152' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="ghKszsDic" log="true" cache="true" type="1" memo="门诊挂号诊室字典dao">
<sql>
select PKEY,BM,MC,ZJM,ZSDZ,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,LOCKFLAG from HIS_GH_KSZS where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_GH_KSZS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_KSZS" />
<f name="BM" type="12" table="HIS_GH_KSZS" />
<f name="MC" type="12" table="HIS_GH_KSZS" />
<f name="ZJM" type="12" table="HIS_GH_KSZS" />
<f name="ZSDZ" type="12" table="HIS_GH_KSZS" />
<f name="BUILDER" type="12" table="HIS_GH_KSZS" />
<f name="BUILDDATE" type="93" table="HIS_GH_KSZS" />
<f name="MODIFYS" type="12" table="HIS_GH_KSZS" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_KSZS" />
<f name="JGID" type="12" table="HIS_GH_KSZS" />
<f name="LOCKFLAG" type="-5" table="HIS_GH_KSZS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ghlbglysDic" cache="true" log="true" type="1" memo="关联医生号别字典表dao,用于通过医生+科室+号别来获取关联号别主键">
<sql>
select PKEY,YSPKEY,LBPKEY,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,KSPKEY,ISMR,LOCKFLAG from HIS_GH_LBGLYS where JGID=?
</sql>
<tables>
<table name="HIS_GH_LBGLYS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="YSPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="LBPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="BUILDER" type="12" table="HIS_GH_LBGLYS" />
<f name="BUILDDATE" type="93" table="HIS_GH_LBGLYS" />
<f name="MODIFYS" type="12" table="HIS_GH_LBGLYS" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_LBGLYS" />
<f name="JGID" type="12" table="HIS_GH_LBGLYS" />
<f name="KSPKEY" type="12" table="HIS_GH_LBGLYS" />
<f name="ISMR" type="12" table="HIS_GH_LBGLYS" />
<f name="LOCKFLAG" type="-5" table="HIS_GH_LBGLYS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="fzqlbysdyDic" log="true" type="1" memo="分诊区对应医生号别的字典">
<sql>
select PKEY,FZQPKEY,LBGLYSPKEY,SFBD,SFQY,BUILDER,BUILDDATE,MODIFYS,MODIFYSDATE,JGID,LOCKFLAG from HIS_GH_FZQLBYSDY where JGID=?
</sql>
<tables>
<table name="HIS_GH_FZQLBYSDY" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="FZQPKEY" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="LBGLYSPKEY" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="SFBD" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="SFQY" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="BUILDER" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="BUILDDATE" type="93" table="HIS_GH_FZQLBYSDY" />
<f name="MODIFYS" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="MODIFYSDATE" type="93" table="HIS_GH_FZQLBYSDY" />
<f name="JGID" type="12" table="HIS_GH_FZQLBYSDY" />
<f name="LOCKFLAG" type="-5" table="HIS_GH_FZQLBYSDY" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<!-- 库存台账业务类型字典 100157-->
<dao id="kctzywlxDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100157' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<!-- 库存效期时间字典 100158-->
<dao id="kcxqsjDic" cache="true" type="1">
<sql>select ZDZB_BH,BH,MC,PYM,WBM,VALUE1,VALUE2,XH,ZT from MAIN_ZDB where ZDZB_BH='100158' and zt=1 order by XH asc,BH asc</sql>
<tables>
<table name="MAIN_ZDB" insert="true" update="true" delete="true">
<primary>ZDZB_BH</primary>
<primary>BH</primary>
</table>
</tables>
<fields>
<f name="ZDZB_BH" type="12" table="MAIN_ZDB" />
<f name="BH" type="12" table="MAIN_ZDB" />
<f name="MC" type="12" table="MAIN_ZDB" />
<f name="PYM" type="12" table="MAIN_ZDB" />
<f name="WBM" type="12" table="MAIN_ZDB" />
<f name="VALUE1" type="12" table="MAIN_ZDB" />
<f name="VALUE2" type="12" table="MAIN_ZDB" />
<f name="XH" type="-5" table="MAIN_ZDB" />
<f name="ZT" type="12" table="MAIN_ZDB" />
</fields>
</dao>
<dao id="hzinfoDic" log="true" type="1" memo="患者字典dic">
<sql>
select PKEY,XM,XB,PHONE,XZDZ from HIS_HZINFO where JGID=?
</sql>
<tables>
<table name="HIS_HZINFO" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_HZINFO" />
<f name="XM" type="12" table="HIS_HZINFO" />
<f name="XB" type="12" table="HIS_HZINFO" />
<f name="PHONE" type="12" table="HIS_HZINFO" />
<f name="XZDZ" type="12" table="HIS_HZINFO" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
</datasource>