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

1494 lines
79 KiB

<?xml version="1.0" encoding="UTF-8"?>
<datasource>
<!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
<dao id="cpByzdSetupDao" log="true" type="1" memo="变异字典设置dao">
<sql>
select PKEY,BYYYLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_BYZD where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_BYZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BYYYLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BYYYLX" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_BYZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjbzSetupDao" log="true" type="1" memo="临床路径病种设置dao">
<sql>
select PKEY,LJLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJBZ where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJBZ" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="LJLX" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJBZ" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJBZ" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJBZ" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjlxSetupDao" log="true" type="1" memo="临床路径类型设置dao">
<sql>
select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJLX where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJLX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJLX" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJLX" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJLX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjzdSetupDao" log="true" type="1" memo="临床路径字典设置dao">
<sql>
select PKEY,LJLX,LJBZ,BM,MC,BZFF,BZZL,CKFY,CKTS,ISYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJZD where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJLX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJBZ" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZFF" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZZL" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CKFY" type="8" table="HIS_CP_SETUP_LJZD" />
<f name="CKTS" type="-5" table="HIS_CP_SETUP_LJZD" />
<f name="ISYX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpXmflSetupDao" log="true" type="1" memo="临床项目分类设置dao">
<sql>
select PKEY,XMDL,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_XMFL where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_XMFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="BM" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="MC" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="XGR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="JGID" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_XMFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjlxDic" cache="true" log="true" type="1" memo="临床路径类型dic">
<sql>
select PKEY,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJLX where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJLX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJLX" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJLX" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJLX" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJLX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjbzDic" cache="true" log="true" type="1" memo="临床路径病种dic">
<sql>
select PKEY,LJLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJBZ where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJBZ" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="LJLX" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJBZ" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJBZ" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJBZ" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJBZ" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="ljzrxxSetupDao" log="true" type="1" memo="临床路径准入信息dao">
<sql>
select PKEY,LJPKEY,JBLX,ICD,ICDNAME,OPAICD,OPAICDNAME,SFZXYZDZH,SFOPAZDZH,SFQY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJZRXX where JGID=? and LJPKEY=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJZRXX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="JBLX" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="ICD" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="ICDNAME" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="OPAICD" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="OPAICDNAME" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFZXYZDZH" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFOPAZDZH" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFQY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJZRXX" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJZRXX" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJZRXX" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjzdDic" cache="true" log="true" type="1" memo="临床路径字典dic">
<sql>
select PKEY,LJLX,LJBZ,BM,MC,BZFF,BZZL,CKFY,CKTS,ISYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJZD where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJLX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJBZ" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZFF" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZZL" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CKFY" type="8" table="HIS_CP_SETUP_LJZD" />
<f name="CKTS" type="-5" table="HIS_CP_SETUP_LJZD" />
<f name="ISYX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjzdDao" cache="true" log="true" type="1" memo="临床路径字典dao">
<sql>
select PKEY,LJLX,LJBZ,BM,MC,BZFF,BZZL,CKFY,CKTS,ISYX,BBH,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJZD where JGID=? and pkey=?
</sql>
<tables>
<table name="HIS_CP_SETUP_LJZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJLX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LJBZ" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZFF" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BZZL" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CKFY" type="8" table="HIS_CP_SETUP_LJZD" />
<f name="CKTS" type="-5" table="HIS_CP_SETUP_LJZD" />
<f name="ISYX" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="BBH" type="-5" table="HIS_CP_SETUP_LJZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJZD" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjVersionDao" log="true" type="1" memo="临床路径版本设置dao">
<sql>
select PKEY,LJPKEY,LJVERSION,LJVERSIONSTATE,LVERSIONHELP,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJVERSION where JGID=? and PKEY=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJVERSION" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSION" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSIONSTATE" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LVERSIONHELP" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJVERSION" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjPhaseDao" log="true" type="1" memo="临床路径版本阶段设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,PMEMO,PNAME,PXH,PDAYS,SFGJ,SFOPADAY,SFFIRSTDAY,SFYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJPHASE where JGID=? and LJVERSIONPKEY=? order by pxh
</sql>
<tables>
<table name="HIS_CP_SETUP_LJPHASE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="PMEMO" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="PNAME" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="PXH" type="-5" table="HIS_CP_SETUP_LJPHASE" />
<f name="PDAYS" type="-5" table="HIS_CP_SETUP_LJPHASE" />
<f name="SFGJ" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="SFOPADAY" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="SFFIRSTDAY" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJPHASE" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJPHASE" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJPHASE" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJPHASE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjZlItemsDao" log="true" type="1" memo="临床路径版本阶段主要诊疗项目设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,XMDL,XMFL,XMMS,XH,ZXTS,SFMUST,SFYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJPHASE_ITEMS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? and XMDL='001' order by XH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJPHASE_ITEMS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMFL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMMS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XH" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="ZXTS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFMUST" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjHlItemsDao" log="true" type="1" memo="临床路径版本阶段主要护理项目设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,XMDL,XMFL,XMMS,XH,ZXTS,SFMUST,SFYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJPHASE_ITEMS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? and XMDL='002' order by XH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJPHASE_ITEMS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMFL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMMS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XH" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="ZXTS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFMUST" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjYzItemsDao" log="true" type="1" memo="临床路径版本阶段医嘱项目设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,XMDL,XMFL,XMMS,XH,ZXTS,SFMUST,SFYX,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJPHASE_ITEMS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? and XMDL='003' order by XH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJPHASE_ITEMS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMFL" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XMMS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XH" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="ZXTS" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFMUST" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJPHASE_ITEMS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjOrdersDao" log="true" type="1" memo="临床路径版本项目对应医嘱设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,LJITEMPKEY,YZCL,YZLB,YZZL,YZMC,YZXPKEY,YZJL,YZJLDW,YZPC,YZTS,YZYF,YZLC,YZTZH,YZTBM,SFSXYZ,SFZYZ,SFYX,YZBZ,YZSFZYZ,YZXH,TYMPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJORDERS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? and LJITEMPKEY =? order by YZXH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJORDERS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>LJITEMPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJITEMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZCL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLB" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZZL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZMC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJLDW" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZPC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTS" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZYF" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTZH" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTBM" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFSXYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZBZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZSFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXH" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="TYMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJORDERS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpAllLjVersionDao" log="true" type="1" memo="临床路径所有版本dao">
<sql>
select PKEY,LJPKEY,LJVERSION,LJVERSIONSTATE,LVERSIONHELP,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJVERSION where JGID=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJVERSION" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSION" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSIONSTATE" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LVERSIONHELP" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJVERSION" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjNewVersionDao" log="true" type="1" memo="新建临床路径版本dao">
<sql>
select PKEY,LJPKEY,LJVERSION,LJVERSIONSTATE,LVERSIONHELP,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJVERSION where 1=2
</sql>
<tables>
<table name="HIS_CP_SETUP_LJVERSION" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSION" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSIONSTATE" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LVERSIONHELP" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJVERSION" />
</fields>
</dao>
<dao id="cpXmflDao" log="true" cache="true" type="1" memo="临床项目分类dao">
<sql>
select PKEY,XMDL,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_XMFL where JGID=? and XMDL=? order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_XMFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="BM" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="MC" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="XGR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="JGID" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_XMFL" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpZyzlXmflDic" log="true" cache="true" type="1" memo="临床主要诊疗工作项目分类dao">
<sql>
select PKEY,XMDL,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_XMFL where JGID=? and XMDL='001' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_XMFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="BM" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="MC" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="XGR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="JGID" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_XMFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpZyhlXmflDic" log="true" cache="true" type="1" memo="临床主要护理工作项目分类dao">
<sql>
select PKEY,XMDL,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_XMFL where JGID=? and XMDL='002' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_XMFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="BM" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="MC" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="XGR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="JGID" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_XMFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpZyyzXmflDic" log="true" cache="true" type="1" memo="临床主要医嘱工作项目分类dao">
<sql>
select PKEY,XMDL,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_XMFL where JGID=? and XMDL='003' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_XMFL" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>XMDL</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XMDL" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="BM" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="MC" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="XGR" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_XMFL" />
<f name="JGID" type="12" table="HIS_CP_SETUP_XMFL" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_XMFL" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hzCpAllPathDao" log="true" type="1" memo="住院患者入径记录dao">
<sql>
select PKEY,HZPKEY,JZPKEY,LJPKEY,LJVERSIONPKEY,SFRJ,RJRQ,NORJREASON,NORJMEMO,RJZD,SFSQ,SQLX,SQZT,RJKS,RJYS,SHR,SHRQ,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_INPATH where JGID=? and hzpkey=? and jzpkey=? order by pkey
</sql>
<tables>
<table name="HIS_CP_INPATH" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH" />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH" />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH" />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH" />
<f name="SFRJ" type="12" table="HIS_CP_INPATH" />
<f name="RJRQ" type="93" table="HIS_CP_INPATH" />
<f name="NORJREASON" type="12" table="HIS_CP_INPATH" />
<f name="NORJMEMO" type="12" table="HIS_CP_INPATH" />
<f name="RJZD" type="12" table="HIS_CP_INPATH" />
<f name="SFSQ" type="12" table="HIS_CP_INPATH" />
<f name="SQLX" type="12" table="HIS_CP_INPATH" />
<f name="SQZT" type="12" table="HIS_CP_INPATH" />
<f name="RJKS" type="12" table="HIS_CP_INPATH" />
<f name="RJYS" type="12" table="HIS_CP_INPATH" />
<f name="SHR" type="12" table="HIS_CP_INPATH" />
<f name="SHRQ" type="93" table="HIS_CP_INPATH" />
<f name="CJR" type="12" table="HIS_CP_INPATH" />
<f name="CJRQ" type="93" table="HIS_CP_INPATH" />
<f name="XGR" type="12" table="HIS_CP_INPATH" />
<f name="XGRQ" type="93" table="HIS_CP_INPATH" />
<f name="JGID" type="12" table="HIS_CP_INPATH" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="allCpPathVersionDic" cache="true" type="1" memo="所有临床路径版本字典">
<sql>
select a.PKEY,a.LJPKEY,a.LJVERSION,a.LJVERSIONSTATE,a.LVERSIONHELP,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,b.MC,b.bm,b.ljlx,b.ljbz from HIS_CP_SETUP_LJVERSION a left join HIS_CP_SETUP_LJZD b on a.ljpkey=b.pkey and a.JGID=b.JGID where a.JGID=? and a.LJVERSIONSTATE=1 order by a.pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_LJVERSION" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSION" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LJVERSIONSTATE" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LVERSIONHELP" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJVERSION" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJVERSION" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJVERSION" />
<f name="MC" type="12" />
<f name="BM" type="12" />
<f name="LJLX" type="12" />
<f name="LJBZ" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="allCpLjZrxxDic" cache="true" type="1" memo="所有临床路径准入疾病信息字典">
<sql>
select PKEY,LJPKEY,JBLX,ICD,ICDNAME,OPAICD,OPAICDNAME,SFZXYZDZH,SFOPAZDZH,SFQY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJZRXX where JGID = ? and SFQY=1
</sql>
<tables>
<table name="HIS_CP_SETUP_LJZRXX" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="JBLX" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="ICD" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="ICDNAME" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="OPAICD" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="OPAICDNAME" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFZXYZDZH" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFOPAZDZH" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="SFQY" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJZRXX" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJZRXX" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJZRXX" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJZRXX" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpNoInPathReasonDao" log="true" cache="true" type="1" memo="变异字典设置dao">
<sql>
select PKEY,BYYYLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_BYZD where JGID=? and BYYYLX='002' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_BYZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BYYYLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BYYYLX" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_BYZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hzCpSqPathDao" log="true" type="1">
<sql>
select a.PKEY,a.HZPKEY,a.JZPKEY,a.LJPKEY,a.LJVERSIONPKEY,a.SFRJ,a.RJRQ,a.NORJREASON,a.NORJMEMO,a.RJZD,a.SFSQ,a.SQLX,a.SQZT,a.RJKS,a.RJYS,a.SHR,a.SHRQ,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,c.ZYNO,c.ZYBAH,b.xm,b.xb,c.jznl from HIS_CP_INPATH a left join HIS_HZINFO b on a.hzpkey=b.pkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID where a.JGID=? and a.hzpkey=? and a.jzpkey=? and a.SFSQ=1 order by a.pkey
</sql>
<tables>
<table name="HIS_CP_INPATH " insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH " />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH " />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH " />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH " />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH " />
<f name="SFRJ" type="12" table="HIS_CP_INPATH " />
<f name="RJRQ" type="93" table="HIS_CP_INPATH " />
<f name="NORJREASON" type="12" table="HIS_CP_INPATH " />
<f name="NORJMEMO" type="12" table="HIS_CP_INPATH " />
<f name="RJZD" type="12" table="HIS_CP_INPATH " />
<f name="SFSQ" type="12" table="HIS_CP_INPATH " />
<f name="SQLX" type="12" table="HIS_CP_INPATH " />
<f name="SQZT" type="12" table="HIS_CP_INPATH " />
<f name="RJKS" type="12" table="HIS_CP_INPATH " />
<f name="RJYS" type="12" table="HIS_CP_INPATH " />
<f name="SHR" type="12" table="HIS_CP_INPATH " />
<f name="SHRQ" type="93" table="HIS_CP_INPATH " />
<f name="CJR" type="12" table="HIS_CP_INPATH " />
<f name="CJRQ" type="93" table="HIS_CP_INPATH " />
<f name="XGR" type="12" table="HIS_CP_INPATH " />
<f name="XGRQ" type="93" table="HIS_CP_INPATH " />
<f name="JGID" type="12" table="HIS_CP_INPATH " />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH " />
<f name="ZYNO" type="12" />
<f name="ZYBAH" type="12" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="JZNL" type="12" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="hzCpInPathDao" log="true" type="1" memo="住院患者入径dao">
<sql>
select a.PKEY,a.HZPKEY,a.JZPKEY,a.LJPKEY,a.LJVERSIONPKEY,a.SFRJ,a.RJRQ,a.NORJREASON,a.NORJMEMO,a.RJZD,a.SFSQ,a.SQLX,a.SQZT,a.RJKS,a.RJYS,a.SHR,a.SHRQ,a.CJR,a.CJRQ,a.XGR,a.XGRQ,a.JGID,a.LOCKFLAG,c.ZYNO,c.ZYBAH,b.xm,b.xb,c.jznl,a.INPATHSTATE,a.OUTPATHTIME,a.OUTPATHMAN,a.COMPLETETIME,a.COMPLETEMAN,a.OUTPATHREASON,a.OUTPATHMEMO from HIS_CP_INPATH a left join HIS_HZINFO b on a.hzpkey=b.pkey and a.JGID=b.JGID left join HIS_JZ_BASEINFO c on a.jzpkey=c.pkey and a.JGID=c.JGID where a.JGID=? and a.hzpkey=? and a.jzpkey=? and a.SFRJ=1 and a.SFSQ=0 order by a.pkey
</sql>
<tables>
<table name="HIS_CP_INPATH " insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH " />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH " />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH " />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH " />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH " />
<f name="SFRJ" type="12" table="HIS_CP_INPATH " />
<f name="RJRQ" type="93" table="HIS_CP_INPATH " />
<f name="NORJREASON" type="12" table="HIS_CP_INPATH " />
<f name="NORJMEMO" type="12" table="HIS_CP_INPATH " />
<f name="RJZD" type="12" table="HIS_CP_INPATH " />
<f name="SFSQ" type="12" table="HIS_CP_INPATH " />
<f name="SQLX" type="12" table="HIS_CP_INPATH " />
<f name="SQZT" type="12" table="HIS_CP_INPATH " />
<f name="RJKS" type="12" table="HIS_CP_INPATH " />
<f name="RJYS" type="12" table="HIS_CP_INPATH " />
<f name="SHR" type="12" table="HIS_CP_INPATH " />
<f name="SHRQ" type="93" table="HIS_CP_INPATH " />
<f name="CJR" type="12" table="HIS_CP_INPATH " />
<f name="CJRQ" type="93" table="HIS_CP_INPATH " />
<f name="XGR" type="12" table="HIS_CP_INPATH " />
<f name="XGRQ" type="93" table="HIS_CP_INPATH " />
<f name="JGID" type="12" table="HIS_CP_INPATH " />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH " />
<f name="ZYNO" type="12" />
<f name="ZYBAH" type="12" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="JZNL" type="12" />
<f name="INPATHSTATE" type="12" table="HIS_CP_INPATH " />
<f name="OUTPATHTIME" type="93" table="HIS_CP_INPATH " />
<f name="OUTPATHMAN" type="12" table="HIS_CP_INPATH " />
<f name="COMPLETETIME" type="93" table="HIS_CP_INPATH " />
<f name="COMPLETEMAN" type="12" table="HIS_CP_INPATH " />
<f name="OUTPATHREASON" type="12" table="HIS_CP_INPATH " />
<f name="OUTPATHMEMO" type="12" table="HIS_CP_INPATH " />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="inpathPhaseDao" log="true" type="1" memo="住院患者入径阶段dao">
<sql>
select PKEY,HZPKEY,JZPKEY,LJPKEY,LJVERSIONPKEY,INPATHPKEY,LJPHASEPKEY,INPATHSTATE,INPATHTIME,INPATHMAN,OUTPATHTIME,OUTPATHMAN,MEMO,INPATHKS,INPATHWARD,PHASEDAYS,PAHSEBEGIN,PHASEEND,CONFIRMFLAG,CONFIRMMAN,CONFIRMTIME,DOCTORSIGN,DOCTORSIGNTIME,NURSESIGN,NURSESIGNTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_INPATH_PHASE where JGID=? and hzpkey=? and jzpkey=? and INPATHPKEY=? order by pkey
</sql>
<tables>
<table name="HIS_CP_INPATH_PHASE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHSTATE" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHTIME" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHMAN" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="OUTPATHTIME" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="OUTPATHMAN" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="MEMO" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHKS" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="INPATHWARD" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="PHASEDAYS" type="-5" table="HIS_CP_INPATH_PHASE" />
<f name="PAHSEBEGIN" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="PHASEEND" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="CONFIRMFLAG" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="CONFIRMMAN" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="CONFIRMTIME" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="DOCTORSIGN" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="DOCTORSIGNTIME" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="NURSESIGN" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="NURSESIGNTIME" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="CJR" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="CJRQ" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="XGR" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="XGRQ" type="93" table="HIS_CP_INPATH_PHASE" />
<f name="JGID" type="12" table="HIS_CP_INPATH_PHASE" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH_PHASE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpItemActionDao" log="true" type="1" memo="临床路径阶段项目执行dao">
<sql>
select PKEY,HZPKEY,JZPKEY,LJPKEY,LJVERSIONPKEY,INPATHPKEY,INPHASEPKEY,LJITEMTYPE,LJITEMPKEY,YZMX,SAVETIME,SAVEMAN,ACTIONTIME,ACTIONDOCTOR,CANCELTIME,CANCELMAN,SFCANCEL,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_INPATH_ITEMACTION where JGID=? and hzpkey=? and jzpkey=? and INPATHPKEY=? and INPHASEPKEY=? AND LJITEMTYPE=? and SFCANCEL='0' order by pkey
</sql>
<tables>
<table name="HIS_CP_INPATH_ITEMACTION" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
<primary>INPHASEPKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="INPATHPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="INPHASEPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="LJITEMTYPE" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="LJITEMPKEY" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="YZMX" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="SAVETIME" type="93" table="HIS_CP_INPATH_ITEMACTION" />
<f name="SAVEMAN" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="ACTIONTIME" type="93" table="HIS_CP_INPATH_ITEMACTION" />
<f name="ACTIONDOCTOR" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="CANCELTIME" type="93" table="HIS_CP_INPATH_ITEMACTION" />
<f name="CANCELMAN" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="SFCANCEL" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="CJR" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="CJRQ" type="93" table="HIS_CP_INPATH_ITEMACTION" />
<f name="XGR" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="XGRQ" type="93" table="HIS_CP_INPATH_ITEMACTION" />
<f name="JGID" type="12" table="HIS_CP_INPATH_ITEMACTION" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH_ITEMACTION" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpUserCurKsOrdersDao" log="true" type="1" memo="临床路径用于处理当前科室开具的医嘱dao">
<sql>
select a.PKEY,a.HZPKEY,a.JZPKEY,a.JZH,a.CFH,a.YZCL,a.YZLB,a.YZLX,a.YZXPKEY,a.YZSHZT,a.YZJL,a.YZJLDW,a.YZPC,a.YZTS,a.YZYF,a.YZZCYYF,a.YZZCYYFMS,a.YZTZH,a.YZXZSJ,a.YZXZYS,a.YZLRYS,a.YZJE,a.YZSL,a.YZJX,a.YZBEGINJDSJ,a.YZENDJDSJ,a.YZBEGINZXSJ,a.YZZXSJ,a.YZYTZSJ,a.YZTZSJ,a.YZDJ,a.YZBEGINJDHS,a.YZENDJDHS,a.YZTZYS,a.YZZT,a.YZFYLB,a.YZDAYCS,a.YZJDBZ,a.YZYX,a.YZZDY,a.YZXZSXYS,a.YZTZSXYS,a.ZYCS,a.YZXZRLX,a.YZCXR,a.YZCXBZ,a.YZCXSJ,a.YZCXYY,a.YZFYZH,a.YZSFZYZ,a.YZSCZXCS,a.YZZTPKEY,a.YZDS,a.YZJJBZ,a.CJR,a.CJRQ,a.JGID,a.YZLC,a.YZGLYZ,a.YZSYCS,a.YZZXKS,a.YZKZXTS,a.PS,a.PSBZ,a.YZFJSM,a.YZFB,a.YZSYLS,a.YZLSDW,a.YZSFPY,a.YZCLTM,a.YZCLYY,a.YZBZ,a.YZBBLX,a.YZDW,a.YZXZKS,a.YZZL,a.YZJZJLXS,a.YZJZZHXS,a.YPYZJBJG,a.YPYZJBDW,a.YPYZBZJG,a.YPYZBZDW,a.YPYZDXDW,a.YPYZDXSL,a.YPYZZHXS,a.YZMC,a.YZSFZT,a.YZTFSL,a.YZDJSL,a.YZYL,a.YZZCYFSKEY,a.YZZCYFS,a.YZZCYJX,a.YZZCYDJF,a.ISDJJS,a.DJJSSL,a.ISZCYDJCL,a.IZZCYDJFJF,a.ISGFFJ,a.YZZCYBZ,a.SQDTYPE,a.SQDPKEY,a.SQDJSPKEY,a.SQDTFJE,a.ZYYZFL,a.YZSHYS,a.YZSHRQ,a.ISZPC,a.YZZPC,a.YZPCFFSJ,a.YZXH,a.PSJG,a.ZCYGLCZLX,a.YZZFR,a.YZZFSJ,a.YZZFYY,a.PSJGSJ,a.PSJGR,a.ISDPBCL,a.HZSZKS,a.LOCKFLAG,a.YFBDZYZPKEY,a.BDYF,a.BDEXECPKEY,a.BDZC,a.YPGZLX,a.SFQYKSS,a.KSSSQDPKEY,a.SFXSYZ,a.GLLX,a.OPAPKEY,a.ANESPKEY,a.ISOPAORDER,a.ISANESORDER,a.SMORDERPKEY,a.LMT_USED_FLAG,a.XZSYFW,a.CHRGITM_LV,a.YBBM,a.YBMC from HIS_YZ_MXB a where a.JGID=? and a.HZPKEY=? and a.JZPKEY=? and a.YZXZKS=? and (a.YZLX='0' or a.YZLX='5') and a.YZZT !='5' and a.YZSHZT=1 order by a.yzxh
</sql>
<tables>
<table name="HIS_YZ_MXB" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YZ_MXB" />
<f name="HZPKEY" type="12" table="HIS_YZ_MXB" />
<f name="JZPKEY" type="12" table="HIS_YZ_MXB" />
<f name="JZH" type="12" table="HIS_YZ_MXB" />
<f name="CFH" type="12" table="HIS_YZ_MXB" />
<f name="YZCL" type="12" table="HIS_YZ_MXB" />
<f name="YZLB" type="12" table="HIS_YZ_MXB" />
<f name="YZLX" type="12" table="HIS_YZ_MXB" />
<f name="YZXPKEY" type="12" table="HIS_YZ_MXB" />
<f name="YZSHZT" type="12" table="HIS_YZ_MXB" />
<f name="YZJL" type="12" table="HIS_YZ_MXB" />
<f name="YZJLDW" type="12" table="HIS_YZ_MXB" />
<f name="YZPC" type="12" table="HIS_YZ_MXB" />
<f name="YZTS" type="12" table="HIS_YZ_MXB" />
<f name="YZYF" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYYF" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYYFMS" type="12" table="HIS_YZ_MXB" />
<f name="YZTZH" type="12" table="HIS_YZ_MXB" />
<f name="YZXZSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZXZYS" type="12" table="HIS_YZ_MXB" />
<f name="YZLRYS" type="12" table="HIS_YZ_MXB" />
<f name="YZJE" type="12" table="HIS_YZ_MXB" />
<f name="YZSL" type="12" table="HIS_YZ_MXB" />
<f name="YZJX" type="12" table="HIS_YZ_MXB" />
<f name="YZBEGINJDSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZENDJDSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZBEGINZXSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZZXSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZYTZSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZTZSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZDJ" type="12" table="HIS_YZ_MXB" />
<f name="YZBEGINJDHS" type="12" table="HIS_YZ_MXB" />
<f name="YZENDJDHS" type="12" table="HIS_YZ_MXB" />
<f name="YZTZYS" type="12" table="HIS_YZ_MXB" />
<f name="YZZT" type="12" table="HIS_YZ_MXB" />
<f name="YZFYLB" type="12" table="HIS_YZ_MXB" />
<f name="YZDAYCS" type="12" table="HIS_YZ_MXB" />
<f name="YZJDBZ" type="12" table="HIS_YZ_MXB" />
<f name="YZYX" type="12" table="HIS_YZ_MXB" />
<f name="YZZDY" type="12" table="HIS_YZ_MXB" />
<f name="YZXZSXYS" type="12" table="HIS_YZ_MXB" />
<f name="YZTZSXYS" type="12" table="HIS_YZ_MXB" />
<f name="ZYCS" type="12" table="HIS_YZ_MXB" />
<f name="YZXZRLX" type="12" table="HIS_YZ_MXB" />
<f name="YZCXR" type="12" table="HIS_YZ_MXB" />
<f name="YZCXBZ" type="12" table="HIS_YZ_MXB" />
<f name="YZCXSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZCXYY" type="12" table="HIS_YZ_MXB" />
<f name="YZFYZH" type="12" table="HIS_YZ_MXB" />
<f name="YZSFZYZ" type="12" table="HIS_YZ_MXB" />
<f name="YZSCZXCS" type="12" table="HIS_YZ_MXB" />
<f name="YZZTPKEY" type="12" table="HIS_YZ_MXB" />
<f name="YZDS" type="12" table="HIS_YZ_MXB" />
<f name="YZJJBZ" type="12" table="HIS_YZ_MXB" />
<f name="CJR" type="12" table="HIS_YZ_MXB" />
<f name="CJRQ" type="93" table="HIS_YZ_MXB" />
<f name="JGID" type="12" table="HIS_YZ_MXB" />
<f name="YZLC" type="12" table="HIS_YZ_MXB" />
<f name="YZGLYZ" type="12" table="HIS_YZ_MXB" />
<f name="YZSYCS" type="12" table="HIS_YZ_MXB" />
<f name="YZZXKS" type="12" table="HIS_YZ_MXB" />
<f name="YZKZXTS" type="12" table="HIS_YZ_MXB" />
<f name="PS" type="12" table="HIS_YZ_MXB" />
<f name="PSBZ" type="12" table="HIS_YZ_MXB" />
<f name="YZFJSM" type="12" table="HIS_YZ_MXB" />
<f name="YZFB" type="12" table="HIS_YZ_MXB" />
<f name="YZSYLS" type="12" table="HIS_YZ_MXB" />
<f name="YZLSDW" type="12" table="HIS_YZ_MXB" />
<f name="YZSFPY" type="12" table="HIS_YZ_MXB" />
<f name="YZCLTM" type="12" table="HIS_YZ_MXB" />
<f name="YZCLYY" type="12" table="HIS_YZ_MXB" />
<f name="YZBZ" type="12" table="HIS_YZ_MXB" />
<f name="YZBBLX" type="12" table="HIS_YZ_MXB" />
<f name="YZDW" type="12" table="HIS_YZ_MXB" />
<f name="YZXZKS" type="12" table="HIS_YZ_MXB" />
<f name="YZZL" type="12" table="HIS_YZ_MXB" />
<f name="YZJZJLXS" type="12" table="HIS_YZ_MXB" />
<f name="YZJZZHXS" type="12" table="HIS_YZ_MXB" />
<f name="YPYZJBJG" type="12" table="HIS_YZ_MXB" />
<f name="YPYZJBDW" type="12" table="HIS_YZ_MXB" />
<f name="YPYZBZJG" type="12" table="HIS_YZ_MXB" />
<f name="YPYZBZDW" type="12" table="HIS_YZ_MXB" />
<f name="YPYZDXDW" type="12" table="HIS_YZ_MXB" />
<f name="YPYZDXSL" type="12" table="HIS_YZ_MXB" />
<f name="YPYZZHXS" type="12" table="HIS_YZ_MXB" />
<f name="YZMC" type="12" table="HIS_YZ_MXB" />
<f name="YZSFZT" type="12" table="HIS_YZ_MXB" />
<f name="YZTFSL" type="12" table="HIS_YZ_MXB" />
<f name="YZDJSL" type="12" table="HIS_YZ_MXB" />
<f name="YZYL" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYFSKEY" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYFS" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYJX" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYDJF" type="12" table="HIS_YZ_MXB" />
<f name="ISDJJS" type="12" table="HIS_YZ_MXB" />
<f name="DJJSSL" type="12" table="HIS_YZ_MXB" />
<f name="ISZCYDJCL" type="12" table="HIS_YZ_MXB" />
<f name="IZZCYDJFJF" type="12" table="HIS_YZ_MXB" />
<f name="ISGFFJ" type="12" table="HIS_YZ_MXB" />
<f name="YZZCYBZ" type="12" table="HIS_YZ_MXB" />
<f name="SQDTYPE" type="12" table="HIS_YZ_MXB" />
<f name="SQDPKEY" type="12" table="HIS_YZ_MXB" />
<f name="SQDJSPKEY" type="12" table="HIS_YZ_MXB" />
<f name="SQDTFJE" type="12" table="HIS_YZ_MXB" />
<f name="ZYYZFL" type="12" table="HIS_YZ_MXB" />
<f name="YZSHYS" type="12" table="HIS_YZ_MXB" />
<f name="YZSHRQ" type="93" table="HIS_YZ_MXB" />
<f name="ISZPC" type="12" table="HIS_YZ_MXB" />
<f name="YZZPC" type="12" table="HIS_YZ_MXB" />
<f name="YZPCFFSJ" type="12" table="HIS_YZ_MXB" />
<f name="YZXH" type="8" table="HIS_YZ_MXB" />
<f name="PSJG" type="12" table="HIS_YZ_MXB" />
<f name="ZCYGLCZLX" type="12" table="HIS_YZ_MXB" />
<f name="YZZFR" type="12" table="HIS_YZ_MXB" />
<f name="YZZFSJ" type="93" table="HIS_YZ_MXB" />
<f name="YZZFYY" type="12" table="HIS_YZ_MXB" />
<f name="PSJGSJ" type="93" table="HIS_YZ_MXB" />
<f name="PSJGR" type="12" table="HIS_YZ_MXB" />
<f name="ISDPBCL" type="12" table="HIS_YZ_MXB" />
<f name="HZSZKS" type="12" table="HIS_YZ_MXB" />
<f name="LOCKFLAG" type="-5" table="HIS_YZ_MXB" />
<f name="YFBDZYZPKEY" type="12" table="HIS_YZ_MXB" />
<f name="BDYF" type="12" table="HIS_YZ_MXB" />
<f name="BDEXECPKEY" type="12" table="HIS_YZ_MXB" />
<f name="BDZC" type="12" table="HIS_YZ_MXB" />
<f name="YPGZLX" type="12" table="HIS_YZ_MXB" />
<f name="SFQYKSS" type="12" table="HIS_YZ_MXB" />
<f name="KSSSQDPKEY" type="12" table="HIS_YZ_MXB" />
<f name="SFXSYZ" type="12" table="HIS_YZ_MXB" />
<f name="GLLX" type="12" table="HIS_YZ_MXB" />
<f name="OPAPKEY" type="12" table="HIS_YZ_MXB" />
<f name="ANESPKEY" type="12" table="HIS_YZ_MXB" />
<f name="ISOPAORDER" type="12" table="HIS_YZ_MXB" />
<f name="ISANESORDER" type="12" table="HIS_YZ_MXB" />
<f name="SMORDERPKEY" type="12" table="HIS_YZ_MXB" />
<f name="LMT_USED_FLAG" type="12" table="HIS_YZ_MXB" />
<f name="XZSYFW" type="12" table="HIS_YZ_MXB" />
<f name="CHRGITM_LV" type="12" table="HIS_YZ_MXB" />
<f name="YBBM" type="12" table="HIS_YZ_MXB" />
<f name="YBMC" type="12" table="HIS_YZ_MXB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpOutpathOrdersDao" log="true" type="1" memo="临床路路径阶段的所有路径外医嘱">
<sql>
select PKEY,HZPKEY,JZPKEY,LJPKEY,LJVERSIONPKEY,INPATHPKEY,INPHASEPKEY,YZMX,YZMC,BYNR,BYYY,BYBZ,SAVETIME,SAVEMAN,CONFIRMDOCTOR,CANCELFLAG,CANCELMAN,CANCELTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_OUTPATH_ORDERS where JGID=? and hzpkey=? and jzpkey=? and INPATHPKEY=? and INPHASEPKEY=? and CANCELFLAG='0' order by pkey
</sql>
<tables>
<table name="HIS_CP_OUTPATH_ORDERS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="HZPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="JZPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="LJPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="INPATHPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="INPHASEPKEY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="YZMX" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="YZMC" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="BYNR" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="BYYY" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="BYBZ" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="SAVETIME" type="93" table="HIS_CP_OUTPATH_ORDERS" />
<f name="SAVEMAN" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CONFIRMDOCTOR" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CANCELFLAG" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CANCELMAN" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CANCELTIME" type="93" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CJR" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="CJRQ" type="93" table="HIS_CP_OUTPATH_ORDERS" />
<f name="XGR" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="XGRQ" type="93" table="HIS_CP_OUTPATH_ORDERS" />
<f name="JGID" type="12" table="HIS_CP_OUTPATH_ORDERS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_OUTPATH_ORDERS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjOrdersByPhaseDao" log="true" cache="true" type="1" memo="临床路径版本项目阶段对应医嘱设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,LJITEMPKEY,YZCL,YZLB,YZZL,YZMC,YZXPKEY,YZJL,YZJLDW,YZPC,YZTS,YZYF,YZLC,YZTZH,YZTBM,SFSXYZ,SFZYZ,SFYX,YZBZ,YZSFZYZ,YZXH,TYMPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJORDERS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? and SFYX=1 order by YZXH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJORDERS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>LJITEMPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJITEMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZCL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLB" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZZL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZMC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJLDW" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZPC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTS" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZYF" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTZH" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTBM" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFSXYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZBZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZSFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXH" type="-5" table="HIS_CP_SETUP_LJORDERS" />
<f name="TYMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJORDERS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpPathVarianceDao" log="true" type="1" memo="临床路径阶段未执行项目变异原因">
<sql>
select PKEY,HZPKEY,JZPKEY,LJPKEY,LJVERSIONPKEY,INPATHPKEY,INPHASEPKEY,LJITEMTYPE,LJITEMPKEY,BYNR,BYYY,BYBZ,SAVETIME,SAVEMAN,CONFIRMDOCTOR,CANCELFLAG,CANCELMAN,CANCELTIME,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_INPATH_VARIANCE where JGID=? and hzpkey=? and jzpkey=? and INPATHPKEY=? and INPHASEPKEY=? and CANCELFLAG='0' order by pkey
</sql>
<tables>
<table name="HIS_CP_INPATH_VARIANCE" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="HZPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="JZPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="LJPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="INPATHPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="INPHASEPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="LJITEMTYPE" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="LJITEMPKEY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="BYNR" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="BYYY" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="BYBZ" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="SAVETIME" type="93" table="HIS_CP_INPATH_VARIANCE" />
<f name="SAVEMAN" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="CONFIRMDOCTOR" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="CANCELFLAG" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="CANCELMAN" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="CANCELTIME" type="93" table="HIS_CP_INPATH_VARIANCE" />
<f name="CJR" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="CJRQ" type="93" table="HIS_CP_INPATH_VARIANCE" />
<f name="XGR" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="XGRQ" type="93" table="HIS_CP_INPATH_VARIANCE" />
<f name="JGID" type="12" table="HIS_CP_INPATH_VARIANCE" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_INPATH_VARIANCE" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="cpVarianceReasonDao" log="true" cache="true" type="1" memo="变异原因字典设置dao">
<sql>
select PKEY,BYYYLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_BYZD where JGID=? and BYYYLX='001' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_BYZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BYYYLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BYYYLX" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_BYZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpOutPathReasonDao" log="true" cache="true" type="1" memo="出径原因字典设置dao">
<sql>
select PKEY,BYYYLX,BM,MC,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_BYZD where JGID=? and BYYYLX='003' order by pkey
</sql>
<tables>
<table name="HIS_CP_SETUP_BYZD" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>BYYYLX</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BYYYLX" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="BM" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="MC" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="XGR" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_BYZD" />
<f name="JGID" type="12" table="HIS_CP_SETUP_BYZD" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_BYZD" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="cpLjAllOrdersDao" log="true" cache="true" type="1" memo="临床路径阶段对应所有医嘱设置dao">
<sql>
select PKEY,LJPKEY,LJVERSIONPKEY,LJPHASEPKEY,LJITEMPKEY,YZCL,YZLB,YZZL,YZMC,YZXPKEY,YZJL,YZJLDW,YZPC,YZTS,YZYF,YZLC,YZTZH,YZTBM,SFSXYZ,SFZYZ,SFYX,YZBZ,YZSFZYZ,YZXH,TYMPKEY,CJR,CJRQ,XGR,XGRQ,JGID,LOCKFLAG from HIS_CP_SETUP_LJORDERS where JGID=? and LJPKEY=? and LJVERSIONPKEY=? and LJPHASEPKEY=? order by LJITEMPKEY,YZXH
</sql>
<tables>
<table name="HIS_CP_SETUP_LJORDERS" insert="true" update="true" delete="true">
<primary>PKEY</primary>
<primary>LJPKEY</primary>
<primary>LJVERSIONPKEY</primary>
<primary>LJPHASEPKEY</primary>
<primary>LJITEMPKEY</primary>
<primary>JGID</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJVERSIONPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJPHASEPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LJITEMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZCL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLB" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZZL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZMC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJL" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZJLDW" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZPC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTS" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZYF" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZLC" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTZH" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZTBM" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFSXYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="SFYX" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZBZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZSFZYZ" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="YZXH" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="TYMPKEY" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="CJRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGR" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="XGRQ" type="93" table="HIS_CP_SETUP_LJORDERS" />
<f name="JGID" type="12" table="HIS_CP_SETUP_LJORDERS" />
<f name="LOCKFLAG" type="-5" table="HIS_CP_SETUP_LJORDERS" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
<p>12</p>
<p>12</p>
</parameter>
</dao>
</datasource>