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_openhis_jyjchr.xml

1859 lines
104 KiB

<?xml version="1.0" encoding="UTF-8"?>
<datasource> <!-- 1 表示 sql语句dao 2表示存储过程dao 默认为sql语句dao-->
<dao id="jgrytempdao" cache="true" type="1">
<sql>select USERID,EMPID,PKEY from MAIN_USERS where COMPANYID=? and EFFICET='0' and PKEY is null</sql>
<tables>
<table name="MAIN_USERS" insert="true" update="true" delete="true">
<primary>EMPID</primary>
</table>
</tables>
<fields>
<f name="USERID" type="12" table="MAIN_USERS" />
<f name="EMPID" type="12" table="MAIN_USERS" />
<f name="PKEY" type="12" table="MAIN_USERS" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hrjgdao" cache="true" type="1">
<sql>select JGMC,PKEY,JKPTJGBM from MAIN_YLJG where JKPTJGBM is not null</sql>
<fields>
<f name="JGMC" type="12" />
<f name="PKEY" type="12" />
<f name="JKPTJGBM" type="12" />
</fields>
</dao>
<dao id="hrptysdao" log="true" type="1">
<sql>select a.COMPANYID,a.YBID,b.USERACCOUNT,a.USERID,a.PKEY,b.NAME from MAIN_USERS a left join MAIN_EMPLOYEES b on a.EMPID=b.EMPID where a.EFFICET='0' and a.COMPANYID=?</sql>
<fields>
<f name="COMPANYID" type="12" />
<f name="YBID" type="12" />
<f name="USERACCOUNT" type="12" />
<f name="USERID" type="12" />
<f name="PKEY" type="12" />
<f name="NAME" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hrksdao" log="true" type="1">
<sql>select a.COMPANYID,a.DPTID,a.DPTNAME,ISJZ from MAIN_DEPARTMENT a where a.COMPANYID=?</sql>
<fields>
<f name="COMPANYID" type="12" />
<f name="DPTID" type="12" />
<f name="DPTNAME" type="12" />
<f name="ISJZ" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hrqtscdao" log="true" type="1">
<sql>select PKEY,COMPANYID,YWLX,RF1,RF2,RF3,RF4,RF5,SCZT1,SCZT2,SCZT3,SCZT4,SCZT5 from HIS_YB_QTSC where 1=2</sql>
<tables>
<table name="HIS_YB_QTSC" insert="true" update="true" delete="true">
<primary>PKEY</primary>
</table>
</tables>
<fields>
<f name="PKEY" type="12" table="HIS_YB_QTSC" />
<f name="COMPANYID" type="12" table="HIS_YB_QTSC" />
<f name="YWLX" type="12" table="HIS_YB_QTSC" />
<f name="RF1" type="12" table="HIS_YB_QTSC" />
<f name="RF2" type="12" table="HIS_YB_QTSC" />
<f name="RF3" type="12" table="HIS_YB_QTSC" />
<f name="RF4" type="12" table="HIS_YB_QTSC" />
<f name="RF5" type="12" table="HIS_YB_QTSC" />
<f name="SCZT1" type="12" table="HIS_YB_QTSC" />
<f name="SCZT2" type="12" table="HIS_YB_QTSC" />
<f name="SCZT3" type="12" table="HIS_YB_QTSC" />
<f name="SCZT4" type="12" table="HIS_YB_QTSC" />
<f name="SCZT5" type="12" table="HIS_YB_QTSC" />
</fields>
</dao>
<dao id="hrryxxdao" log="true" type="1">
<sql><![CDATA[
select p.pkey scpkey,a.JZNO,a.JJKS,a.JJYS,b.XM,b.PHONE,b.ZJHM,a.JJRQ,'5' KLX,a.HZPKEY KH
from HIS_JZ_BASEINFO a
left join HIS_YB_QTSC p on a.COMPANYID=p.COMPANYID and p.YWLX='GH_RYXXB' and p.RF1=a.JZNO
left join HIS_HZINFO b on a.hzpkey = b.pkey and a.companyid=b.companyid
where nvl(p.SCZT1,'0')='0' and (a.JZLX='M' or a.JZLX='J') and (a.JZZT='J' OR a.JZZT='Z' or a.JZZT='C') and b.ZJHM is not null and a.COMPANYID=? and a.JJRQ<=?
]]></sql>
<fields>
<f name="SCPKEY" type="12" />
<f name="JZNO" type="12" />
<f name="JJKS" type="12" />
<f name="JJYS" type="12" />
<f name="XM" type="12" />
<f name="PHONE" type="12" />
<f name="ZJHM" type="12" />
<f name="JJRQ" type="93" />
<f name="KLX" type="1" />
<f name="KH" type="12" />
</fields>
<parameter>
<p>12</p>
<p>93</p>
</parameter>
</dao>
<dao id="hrghryxxbdao" log="true" type="1">
<sql>select HOS_CODE,OUTPATIENT_NO,DEPT_CODE,DOC_NAME,DOC_CODE,PATIENT_NAME,PATIENT_PHONE,CARD_CODE,ORDER_DATE,ORDER_TYPE,CREATE_TIME,HOS_CARD_TYPE,HOS_CARD
from GH_RYXXB where HOS_CODE like ? and ORDER_DATE like ?</sql>
<tables>
<table name="GH_RYXXB" insert="true" update="true" delete="true">
<primary>HOS_CODE</primary>
<primary>OUTPATIENT_NO</primary>
</table>
</tables>
<fields>
<f name="HOS_CODE" type="12" table="GH_RYXXB" />
<f name="OUTPATIENT_NO" type="12" table="GH_RYXXB" />
<f name="DEPT_CODE" type="12" table="GH_RYXXB" />
<f name="DOC_NAME" type="12" table="GH_RYXXB" />
<f name="DOC_CODE" type="12" table="GH_RYXXB" />
<f name="PATIENT_NAME" type="12" table="GH_RYXXB" />
<f name="PATIENT_PHONE" type="12" table="GH_RYXXB" />
<f name="CARD_CODE" type="12" table="GH_RYXXB" />
<f name="ORDER_DATE" type="12" table="GH_RYXXB" />
<f name="ORDER_TYPE" type="12" table="GH_RYXXB" />
<f name="CREATE_TIME" type="12" table="GH_RYXXB" />
<f name="HOS_CARD_TYPE" type="12" table="GH_RYXXB" />
<f name="HOS_CARD" type="12" table="GH_RYXXB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="hryhryxxdao" log="true" type="1">
<sql> select p.PKEY scpkey,a.PKEY ZGBM,b.USERACCOUNT GH,b.NAME XM,b.SEX Xb,b.BIRTHDAY CSRQ,b.MZ MZDM,b.IDTYPE SFBSLBDM,b.IDENTITYID SFBSHM,d.DPTID SSKS,d.DPTNAME SSKSMC,y.VALUE3 SSZXKSDM,'90' RYLB,'0' Ghzt,'2' BZQK,'0' SJTRYBZ,'1' GZZT,'2' PXLB,'0' SFNRQKYSPX,d.DPTYBCODE
from MAIN_USERS a
left join MAIN_EMPLOYEES b on a.EMPID=b.EMPID
left join HIS_YB_QTSC p on a.COMPANYID=p.COMPANYID and p.YWLX='JC_YHRYXXB' and p.RF1=a.PKEY
left join MAIN_DEPARTMENT d on a.COMPANYID=d.COMPANYID and a.MRKS=d.DPTID
left join HIS_YB_DMZDB y on y.LBBM='caty' and d.DPTYBCODE=y.BM
where a.EFFICET='0' and nvl(p.SCZT1,'0')='0' and b.USERACCOUNT is not null and a.COMPANYID=?</sql>
<fields>
<f name="SCPKEY" type="12"/>
<f name="ZGBM" type="12"/>
<f name="GH" type="12"/>
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="CSRQ" type="12" />
<f name="MZDM" type="12" />
<f name="SFBSLBDM" type="12" />
<f name="SFBSHM" type="12" />
<f name="SSKS" type="12" />
<f name="SSKSMC" type="12" />
<f name="SSZXKSDM" type="12" />
<f name="RYLB" type="12" />
<f name="GHZT" type="12" />
<f name="BZQK" type="12" />
<f name="SJTRYBZ" type="12" />
<f name="GZZT" type="12" />
<f name="PXLB" type="12" />
<f name="SFNRQKYSPX" type="12" />
<f name="DPTYBCODE" type="12" />
</fields>
<parameter>
<p>12</p>
</parameter>
</dao>
<dao id="hrjcyhryxxbdao" log="true" type="1">
<sql>select YLJGDM,ZGBM,GH,XM,XB,CSRQ,MZDM,SFBSLBDM,SFBSHM,SSKS,SSKSMC,SSZXKSDM,KSLB,ZWDM,ZWMC,ZCDM,ZCHENGMC,ZY,RYLB,EMAIL,JTDZ,YZBM,DHHM,SJHM1,YSJJ,GHZT,WHCD,DYXLDM,DYXLMC,DYXLBYYX,DYXLBYSJ,DYXLZSH,ZGXLBYYX,XWDM,XZGLZWDM,XZGLZWMC,GW,ZYZSH,ZYZGMC,ZYZSZCSJ,QKYSBZ,PXLX,SCPXYLJGDM,SCPXYLJGMC,PXSZYZCDM,PXSZYZCMX,PXJD,PXJGMC,QKYSPXKSSJ,QKYSPXJSSJ,YSZYLBDM,YSZYFWDM,ZCWDDZYYSBZ,D2ZYDWLBDM,DSZYDWLBDM,RYDRQK,RYDCQK,DRSJ,DCSJ,CJGZRQ,BZQK,SJTRYBZ,GZZT,PXLB,SYQBZ,ZZMM,GWJB,JYJGDM,JYJGMC,SFNRQKYSPX,ZGXLDM,ZGXLMC,ZGXLBYSJ,ZGXLBYZSH,QKYSZCZSH,QKYSZCZSSJ,ZCZSH,ZCSJ,YSZP,MJ,TBRQ,XGBZ,SCZT,SJBZ,JYZT,PCH from JC_YHRYXXB where YLJGDM like ? and PCH like ?</sql>
<tables>
<table name="JC_YHRYXXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZGBM</primary>
<primary>PCH</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="JC_YHRYXXB" />
<f name="ZGBM" type="12" table="JC_YHRYXXB" />
<f name="GH" type="12" table="JC_YHRYXXB" />
<f name="XM" type="12" table="JC_YHRYXXB" />
<f name="XB" type="12" table="JC_YHRYXXB" />
<f name="CSRQ" type="12" table="JC_YHRYXXB" />
<f name="MZDM" type="12" table="JC_YHRYXXB" />
<f name="SFBSLBDM" type="12" table="JC_YHRYXXB" />
<f name="SFBSHM" type="12" table="JC_YHRYXXB" />
<f name="SSKS" type="12" table="JC_YHRYXXB" />
<f name="SSKSMC" type="12" table="JC_YHRYXXB" />
<f name="SSZXKSDM" type="12" table="JC_YHRYXXB" />
<f name="KSLB" type="12" table="JC_YHRYXXB" />
<f name="ZWDM" type="12" table="JC_YHRYXXB" />
<f name="ZWMC" type="12" table="JC_YHRYXXB" />
<f name="ZCDM" type="12" table="JC_YHRYXXB" />
<f name="ZCHENGMC" type="12" table="JC_YHRYXXB" />
<f name="ZY" type="12" table="JC_YHRYXXB" />
<f name="RYLB" type="12" table="JC_YHRYXXB" />
<f name="EMAIL" type="12" table="JC_YHRYXXB" />
<f name="JTDZ" type="12" table="JC_YHRYXXB" />
<f name="YZBM" type="12" table="JC_YHRYXXB" />
<f name="DHHM" type="12" table="JC_YHRYXXB" />
<f name="SJHM1" type="12" table="JC_YHRYXXB" />
<f name="YSJJ" type="12" table="JC_YHRYXXB" />
<f name="GHZT" type="12" table="JC_YHRYXXB" />
<f name="WHCD" type="12" table="JC_YHRYXXB" />
<f name="DYXLDM" type="12" table="JC_YHRYXXB" />
<f name="DYXLMC" type="12" table="JC_YHRYXXB" />
<f name="DYXLBYYX" type="12" table="JC_YHRYXXB" />
<f name="DYXLBYSJ" type="93" table="JC_YHRYXXB" />
<f name="DYXLZSH" type="12" table="JC_YHRYXXB" />
<f name="ZGXLBYYX" type="12" table="JC_YHRYXXB" />
<f name="XWDM" type="12" table="JC_YHRYXXB" />
<f name="XZGLZWDM" type="12" table="JC_YHRYXXB" />
<f name="XZGLZWMC" type="12" table="JC_YHRYXXB" />
<f name="GW" type="12" table="JC_YHRYXXB" />
<f name="ZYZSH" type="12" table="JC_YHRYXXB" />
<f name="ZYZGMC" type="12" table="JC_YHRYXXB" />
<f name="ZYZSZCSJ" type="93" table="JC_YHRYXXB" />
<f name="QKYSBZ" type="12" table="JC_YHRYXXB" />
<f name="PXLX" type="12" table="JC_YHRYXXB" />
<f name="SCPXYLJGDM" type="12" table="JC_YHRYXXB" />
<f name="SCPXYLJGMC" type="12" table="JC_YHRYXXB" />
<f name="PXSZYZCDM" type="12" table="JC_YHRYXXB" />
<f name="PXSZYZCMX" type="12" table="JC_YHRYXXB" />
<f name="PXJD" type="12" table="JC_YHRYXXB" />
<f name="PXJGMC" type="12" table="JC_YHRYXXB" />
<f name="QKYSPXKSSJ" type="93" table="JC_YHRYXXB" />
<f name="QKYSPXJSSJ" type="93" table="JC_YHRYXXB" />
<f name="YSZYLBDM" type="12" table="JC_YHRYXXB" />
<f name="YSZYFWDM" type="12" table="JC_YHRYXXB" />
<f name="ZCWDDZYYSBZ" type="-5" table="JC_YHRYXXB" />
<f name="D2ZYDWLBDM" type="12" table="JC_YHRYXXB" />
<f name="DSZYDWLBDM" type="12" table="JC_YHRYXXB" />
<f name="RYDRQK" type="12" table="JC_YHRYXXB" />
<f name="RYDCQK" type="12" table="JC_YHRYXXB" />
<f name="DRSJ" type="93" table="JC_YHRYXXB" />
<f name="DCSJ" type="93" table="JC_YHRYXXB" />
<f name="CJGZRQ" type="12" table="JC_YHRYXXB" />
<f name="BZQK" type="12" table="JC_YHRYXXB" />
<f name="SJTRYBZ" type="12" table="JC_YHRYXXB" />
<f name="GZZT" type="12" table="JC_YHRYXXB" />
<f name="PXLB" type="12" table="JC_YHRYXXB" />
<f name="SYQBZ" type="12" table="JC_YHRYXXB" />
<f name="ZZMM" type="12" table="JC_YHRYXXB" />
<f name="GWJB" type="12" table="JC_YHRYXXB" />
<f name="JYJGDM" type="12" table="JC_YHRYXXB" />
<f name="JYJGMC" type="12" table="JC_YHRYXXB" />
<f name="SFNRQKYSPX" type="12" table="JC_YHRYXXB" />
<f name="ZGXLDM" type="12" table="JC_YHRYXXB" />
<f name="ZGXLMC" type="12" table="JC_YHRYXXB" />
<f name="ZGXLBYSJ" type="93" table="JC_YHRYXXB" />
<f name="ZGXLBYZSH" type="12" table="JC_YHRYXXB" />
<f name="QKYSZCZSH" type="12" table="JC_YHRYXXB" />
<f name="QKYSZCZSSJ" type="93" table="JC_YHRYXXB" />
<f name="ZCZSH" type="12" table="JC_YHRYXXB" />
<f name="ZCSJ" type="93" table="JC_YHRYXXB" />
<f name="YSZP" type="12" table="JC_YHRYXXB" />
<f name="MJ" type="12" table="JC_YHRYXXB" />
<f name="TBRQ" type="12" table="JC_YHRYXXB" />
<f name="XGBZ" type="12" table="JC_YHRYXXB" />
<f name="SCZT" type="12" table="JC_YHRYXXB" />
<f name="SJBZ" type="12" table="JC_YHRYXXB" />
<f name="JYZT" type="12" table="JC_YHRYXXB" />
<f name="PCH" type="12" table="JC_YHRYXXB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="hrjyjldao" log="true" type="1">
<sql><![CDATA[
select p.pkey scpkey,a.XH JYJLLSH,a.JYSJ BGRQ,jz.HZPKEY KH,'8' KLX,a.ZJHM,'01' ZJLX,a.XM,a.XB,a.NL,a.SJYS SQYSGH,a.JYYS BGYSGH,a.FHYS SHYSGH,nvl(a.DYSJ,a.FHSJ) DYRQ, a.SJSJ SQSJ,a.CYSJ CJSJ,a.JYSJ JYRQ,b.JKPTBM BBDM,b.JKPTMC BBMC,y.JKPTBM BGDLBBM,a.BRLX JLLB,a.BLH ZYH,a.CH,a.SJKS SQKSBM,'-' BQMC,a.tmh,
a.KLS,jz.JZNO JZLSH,hz.ECARDID
from LIS_BRJYXX a
left join HIS_JZ_BASEINFO jz on a.COMPANYID=jz.COMPANYID and a.KLS=jz.PKEY
left join HIS_HZINFO hz on jz.hzpkey = hz.pkey and jz.companyid=hz.companyid
left join HIS_YB_QTSC p on a.COMPANYID=p.COMPANYID and p.YWLX='SY_JYJLB' and p.RF1=a.XH
left join LIS_YBLX b on a.YBLX=b.BH
left join LIS_YQBGWH y on y.BH =a.JYYQ and y.COMPANYID = a.COMPANYID
where a.FBBZ='Y' and a.KLS is not null and a.COMPANYID=? and nvl(p.SCZT1,'0')='0' and a.JYSJ<=?
]]></sql>
<fields>
<f name="SCPKEY" type="12" />
<f name="JYJLLSH" type="12" />
<f name="BGRQ" type="93" />
<f name="KH" type="12" />
<f name="KLX" type="1" />
<f name="ZJHM" type="12" />
<f name="ZJLX" type="1" />
<f name="XM" type="12" />
<f name="XB" type="12" />
<f name="NL" type="12" />
<f name="SQYSGH" type="12" />
<f name="BGYSGH" type="12" />
<f name="SHYSGH" type="12" />
<f name="DYRQ" type="93" />
<f name="SQSJ" type="93" />
<f name="CJSJ" type="93" />
<f name="JYRQ" type="93" />
<f name="BBDM" type="12" />
<f name="BBMC" type="12" />
<f name="BGDLBBM" type="12" />
<f name="JLLB" type="12" />
<f name="ZYH" type="12" />
<f name="CH" type="12" />
<f name="SQKSBM" type="4" />
<f name="BQMC" type="1" />
<f name="TMH" type="12" />
<f name="KLS" type="12" />
<f name="JZLSH" type="12" />
<f name="ECARDID" type="12" />
</fields>
<parameter>
<p>12</p>
<p>93</p>
</parameter>
</dao>
<dao id="hrsyjyjlbdao" log="true" type="1">
<sql>select YLJGDM,JYJLLSH,BGRQ,JZLSH,KH,KLX,ZJHM,ZJLX,XM,XB,NL,SQYSGH,SQYSXM,BGYSGH,BGYSXM,SHYSGH,SHYSXM,DYRQ,SQSJ,CJSJ,JYRQ,SQKSBM,SQKSMC,BQMC,CH,BGBZ,BBDM,BBMC,BGDLBBM,BGDLBMC,YZLSH,YZXMDM,JLLB,ZYH,HZLXDM,DHHM,BFH,MJ,TBRQ,XGBZ,SCZT,SJBZ,JYZT,PCH from SY_JYJLB where YLJGDM like ? and PCH like ?</sql>
<tables>
<table name="SY_JYJLB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JYJLLSH</primary>
<primary>BGRQ</primary>
<primary>PCH</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="SY_JYJLB" />
<f name="JYJLLSH" type="12" table="SY_JYJLB" />
<f name="BGRQ" type="12" table="SY_JYJLB" />
<f name="JZLSH" type="12" table="SY_JYJLB" />
<f name="KH" type="12" table="SY_JYJLB" />
<f name="KLX" type="12" table="SY_JYJLB" />
<f name="ZJHM" type="12" table="SY_JYJLB" />
<f name="ZJLX" type="12" table="SY_JYJLB" />
<f name="XM" type="12" table="SY_JYJLB" />
<f name="XB" type="12" table="SY_JYJLB" />
<f name="NL" type="4" table="SY_JYJLB" />
<f name="SQYSGH" type="12" table="SY_JYJLB" />
<f name="SQYSXM" type="12" table="SY_JYJLB" />
<f name="BGYSGH" type="12" table="SY_JYJLB" />
<f name="BGYSXM" type="12" table="SY_JYJLB" />
<f name="SHYSGH" type="12" table="SY_JYJLB" />
<f name="SHYSXM" type="12" table="SY_JYJLB" />
<f name="DYRQ" type="12" table="SY_JYJLB" />
<f name="SQSJ" type="12" table="SY_JYJLB" />
<f name="CJSJ" type="12" table="SY_JYJLB" />
<f name="JYRQ" type="12" table="SY_JYJLB" />
<f name="SQKSBM" type="12" table="SY_JYJLB" />
<f name="SQKSMC" type="12" table="SY_JYJLB" />
<f name="BQMC" type="12" table="SY_JYJLB" />
<f name="CH" type="12" table="SY_JYJLB" />
<f name="BGBZ" type="12" table="SY_JYJLB" />
<f name="BBDM" type="12" table="SY_JYJLB" />
<f name="BBMC" type="12" table="SY_JYJLB" />
<f name="BGDLBBM" type="12" table="SY_JYJLB" />
<f name="BGDLBMC" type="12" table="SY_JYJLB" />
<f name="YZLSH" type="12" table="SY_JYJLB" />
<f name="YZXMDM" type="12" table="SY_JYJLB" />
<f name="JLLB" type="12" table="SY_JYJLB" />
<f name="ZYH" type="12" table="SY_JYJLB" />
<f name="HZLXDM" type="12" table="SY_JYJLB" />
<f name="DHHM" type="12" table="SY_JYJLB" />
<f name="BFH" type="12" table="SY_JYJLB" />
<f name="MJ" type="12" table="SY_JYJLB" />
<f name="TBRQ" type="12" table="SY_JYJLB" />
<f name="XGBZ" type="12" table="SY_JYJLB" />
<f name="SCZT" type="12" table="SY_JYJLB" />
<f name="SJBZ" type="12" table="SY_JYJLB" />
<f name="JYZT" type="12" table="SY_JYJLB" />
<f name="PCH" type="12" table="SY_JYJLB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<dao id="hrjyjgzbbdao" log="true" type="1">
<sql><![CDATA[select p.pkey scpkey,a.XH JYLSH,a.JYSJ BGRQ,a.JYYS JCRGH,a.FHYS SHRGH,'3' JYLBDM,'ZZZZZZZZZZZZZZZ' JYSFDM,'ZZZZZZZZZZZZZZZ' JYSFYBDM,t3.XMBM JYBZXMDM,nvl(fr.FRXMBM,t3.XMDH) JYXMDM,nvl(fr.FRXMMC,t3.XMMC) JYXMMC,t3.TSXX JYJGDM,
t3.JG,t3.JGLX,t3.DLJG,dw.CJDW JYJLDW,a.SBH YQBH,y.YQMC YQMC,t3.CKZ CKZFW,t3.DYSX DYXH
from LIS_BRJYXX a
left join HIS_YB_QTSC p on a.COMPANYID=p.COMPANYID and p.YWLX='SY_JYJGZBB' and p.RF1=a.XH
left join LIS_JYJG t3 on a.COMPANYID = t3.COMPANYID and a.SBH = t3.SBH and a.RJBH= t3.RJBH and a.YBH = t3.YBH
left join LIS_CJDW dw on t3.JYDW=dw.BH
left join LIS_YQSBDJ y on y.SBH =a.SBH and y.COMPANYID = a.COMPANYID
left join LISFRXM fr on fr.COMPANYID=t3.COMPANYID and fr.XMBH=t3.XMBM
where a.FBBZ='Y' and a.KLS is not null and nvl(p.SCZT1,'0')='0' and t3.JGLX!='P' and t3.XMBM!='8888' and a.COMPANYID=? and a.JYSJ<=?]]></sql>
<fields>
<f name="SCPKEY" type="12" />
<f name="JYLSH" type="12" />
<f name="BGRQ" type="93" />
<f name="JCRGH" type="12" />
<f name="SHRGH" type="12" />
<f name="JYLBDM" type="1" />
<f name="JYSFDM" type="1" />
<f name="JYSFYBDM" type="1" />
<f name="JYBZXMDM" type="12" />
<f name="JYXMDM" type="12" />
<f name="JYXMMC" type="12" />
<f name="JYJGDM" type="12" />
<f name="JG" type="12" />
<f name="JGLX" type="12" />
<f name="DLJG" type="12" />
<f name="JYJLDW" type="12" />
<f name="YQBH" type="12" />
<f name="YQMC" type="12" />
<f name="CKZFW" type="12" />
<f name="DYXH" type="-5" />
</fields>
<parameter>
<p>12</p>
<p>93</p>
</parameter>
</dao>
<dao id="hrsyjyjgzbbdao" log="true" type="1">
<sql>select YLJGDM,JYMXLSH,JYLSH,YZLSH,LCXMDM,BGRQ,JCRGH,JCRXM,SHRGH,SHRXM,JYLBDM,JYSFDM,JYSFYBDM,JYBZXMDM,JYXMDM,JYXMMC,LOINC,JYJGDM,JYJGDX,JYJGDL,JYJGLX,JYJLDW,SBLBBM,YQBH,YQMC,CKZFW,CKZSX,CKZXX,JGTS,DYXH,YZID,MJ,TBRQ,XGBZ,SCZT,SJBZ,JYZT,PCH from SY_JYJGZBB where YLJGDM like ? and PCH like ?</sql>
<tables>
<table name="SY_JYJGZBB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JYMXLSH</primary>
<primary>PCH</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="SY_JYJGZBB" />
<f name="JYMXLSH" type="12" table="SY_JYJGZBB" />
<f name="JYLSH" type="12" table="SY_JYJGZBB" />
<f name="YZLSH" type="12" table="SY_JYJGZBB" />
<f name="LCXMDM" type="12" table="SY_JYJGZBB" />
<f name="BGRQ" type="12" table="SY_JYJGZBB" />
<f name="JCRGH" type="12" table="SY_JYJGZBB" />
<f name="JCRXM" type="12" table="SY_JYJGZBB" />
<f name="SHRGH" type="12" table="SY_JYJGZBB" />
<f name="SHRXM" type="12" table="SY_JYJGZBB" />
<f name="JYLBDM" type="12" table="SY_JYJGZBB" />
<f name="JYSFDM" type="12" table="SY_JYJGZBB" />
<f name="JYSFYBDM" type="12" table="SY_JYJGZBB" />
<f name="JYBZXMDM" type="12" table="SY_JYJGZBB" />
<f name="JYXMDM" type="12" table="SY_JYJGZBB" />
<f name="JYXMMC" type="12" table="SY_JYJGZBB" />
<f name="LOINC" type="12" table="SY_JYJGZBB" />
<f name="JYJGDM" type="12" table="SY_JYJGZBB" />
<f name="JYJGDX" type="12" table="SY_JYJGZBB" />
<f name="JYJGDL" type="12" table="SY_JYJGZBB" />
<f name="JYJGLX" type="12" table="SY_JYJGZBB" />
<f name="JYJLDW" type="12" table="SY_JYJGZBB" />
<f name="SBLBBM" type="12" table="SY_JYJGZBB" />
<f name="YQBH" type="12" table="SY_JYJGZBB" />
<f name="YQMC" type="12" table="SY_JYJGZBB" />
<f name="CKZFW" type="12" table="SY_JYJGZBB" />
<f name="CKZSX" type="8" table="SY_JYJGZBB" />
<f name="CKZXX" type="8" table="SY_JYJGZBB" />
<f name="JGTS" type="12" table="SY_JYJGZBB" />
<f name="DYXH" type="-5" table="SY_JYJGZBB" />
<f name="YZID" type="12" table="SY_JYJGZBB" />
<f name="MJ" type="12" table="SY_JYJGZBB" />
<f name="TBRQ" type="12" table="SY_JYJGZBB" />
<f name="XGBZ" type="12" table="SY_JYJGZBB" />
<f name="SCZT" type="12" table="SY_JYJGZBB" />
<f name="SJBZ" type="12" table="SY_JYJGZBB" />
<f name="JYZT" type="12" table="SY_JYJGZBB" />
<f name="PCH" type="12" table="SY_JYJGZBB" />
</fields>
<parameter>
<p>12</p>
<p>12</p>
</parameter>
</dao>
<!-- 4.2.1患者基本信息 -->
<dao id="sjghzjbxxbdao" log="true" type="1">
<sql>select YLJGDM,GRBSLX,GRBSH,JGID,ZJLX,ZJHM,SFZHM,JKDABH,JKKKH,YBKKH,XB,XM,HZLX,HYZK,CSRQ,CSD,MZ,GJ,DHHM,SJHM,GZDWYB,GZDWMC,GZDWDZ,GZDWDHHM,JZDZ,HKDZ,HKDZYB,LXRXM,
LXRGX,LXRDZ,LXRYB,LXRDH,CJGZRQ,DZYJDZ,LXDH_LBDM,LXDH_LB,NLS,NLY,NLT,MJ from TB_HZXX where 1=2</sql>
<tables>
<table name="TB_HZXX" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>GRBSLX</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_HZXX" />
<f name="GRBSLX" type="12" table="TB_HZXX" />
<f name="GRBSH" type="12" table="TB_HZXX" />
<f name="JGID" type="12" table="TB_HZXX" />
<f name="ZJLX" type="12" table="TB_HZXX" />
<f name="ZJHM" type="12" table="TB_HZXX" />
<f name="SFZHM" type="12" table="TB_HZXX" />
<f name="JKDABH" type="12" table="TB_HZXX" />
<f name="JKKKH" type="12" table="TB_HZXX" />
<f name="YBKKH" type="12" table="TB_HZXX" />
<f name="XB" type="12" table="TB_HZXX" />
<f name="XM" type="12" table="TB_HZXX" />
<f name="HZLX" type="12" table="TB_HZXX" />
<f name="HYZK" type="12" table="TB_HZXX" />
<f name="CSRQ" type="93" table="TB_HZXX" />
<f name="CSD" type="12" table="TB_HZXX" />
<f name="MZ" type="12" table="TB_HZXX" />
<f name="GJ" type="12" table="TB_HZXX" />
<f name="DHHM" type="12" table="TB_HZXX" />
<f name="SJHM" type="12" table="TB_HZXX" />
<f name="GZDWYB" type="12" table="TB_HZXX" />
<f name="GZDWMC" type="12" table="TB_HZXX" />
<f name="GZDWDZ" type="12" table="TB_HZXX" />
<f name="GZDWDHHM" type="12" table="TB_HZXX" />
<f name="JZDZ" type="12" table="TB_HZXX" />
<f name="HKDZ" type="12" table="TB_HZXX" />
<f name="HKDZYB" type="12" table="TB_HZXX" />
<f name="LXRXM" type="12" table="TB_HZXX" />
<f name="LXRGX" type="12" table="TB_HZXX" />
<f name="LXRDZ" type="12" table="TB_HZXX" />
<f name="LXRYB" type="12" table="TB_HZXX" />
<f name="LXRDH" type="12" table="TB_HZXX" />
<f name="CJGZRQ" type="12" table="TB_HZXX" />
<f name="DZYJDZ" type="12" table="TB_HZXX" />
<f name="LXDH_LBDM" type="12" table="TB_HZXX" />
<f name="LXDH_LB" type="12" table="TB_HZXX" />
<f name="NLS" type="-5" table="TB_HZXX" />
<f name="NLY" type="12" table="TB_HZXX" />
<f name="NLT" type="12" table="TB_HZXX" />
<f name="MJ" type="12" table="TB_HZXX" />
</fields>
</dao>
<!-- 4.3.1.1挂号明细表 -->
<dao id="sdgghmxbdao" log="true" type="1">
<sql>select YLJGDM,GHJLID,JGID,JZLSH,YNLSH,GRBSLX,GRBSH,GTHBZ,STFBH,GTHSJ,GHLB,SFJZ,JZXZ,
GHTJBM,BXLX,KSBM,KSMC,LCYXLXDM,GHYSBH,GHYSXM,GHYSSFZHM,TXBZ,WDBZ,GHZFY,XGBZ from TB_MZ_GHMXB where 1=2</sql>
<tables>
<table name="TB_MZ_GHMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>GHJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_GHMXB" />
<f name="GHJLID" type="12" table="TB_MZ_GHMXB" />
<f name="JGID" type="12" table="TB_MZ_GHMXB" />
<f name="JZLSH" type="12" table="TB_MZ_GHMXB" />
<f name="YNLSH" type="12" table="TB_MZ_GHMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_GHMXB" />
<f name="GRBSH" type="12" table="TB_MZ_GHMXB" />
<f name="GTHBZ" type="12" table="TB_MZ_GHMXB" />
<f name="STFBH" type="12" table="TB_MZ_GHMXB" />
<f name="GTHSJ" type="93" table="TB_MZ_GHMXB" />
<f name="GHLB" type="12" table="TB_MZ_GHMXB" />
<f name="SFJZ" type="12" table="TB_MZ_GHMXB" />
<f name="JZXZ" type="12" table="TB_MZ_GHMXB" />
<f name="GHTJBM" type="12" table="TB_MZ_GHMXB" />
<f name="BXLX" type="12" table="TB_MZ_GHMXB" />
<f name="KSBM" type="12" table="TB_MZ_GHMXB" />
<f name="KSMC" type="12" table="TB_MZ_GHMXB" />
<f name="LCYXLXDM" type="12" table="TB_MZ_GHMXB" />
<f name="GHYSBH" type="12" table="TB_MZ_GHMXB" />
<f name="GHYSXM" type="12" table="TB_MZ_GHMXB" />
<f name="GHYSSFZHM" type="12" table="TB_MZ_GHMXB" />
<f name="TXBZ" type="12" table="TB_MZ_GHMXB" />
<f name="WDBZ" type="12" table="TB_MZ_GHMXB" />
<f name="GHZFY" type="8" table="TB_MZ_GHMXB" />
<f name="XGBZ" type="12" table="TB_MZ_GHMXB" />
</fields>
</dao>
<!--4.3.1.2门急诊就诊明细表-->
<dao id="sjgmjzjzmxbdao" log="true" type="1">
<sql>select YLJGDM,JGID,YNLSH,JZMXID,GRBSLX,GRBSH,JZLSH,SFFZ,LCYXLXDM,MJZH,HZXM,HZSX,JZLX,
SFJZ,JZXZ,JZKSBM,JZKSMC,JZKSRQ,JZSJ,WCJZSJ,ZZYSBH,ZZYSXM,ZZYSSFZHM,MZZDDM,MZZDMC,ZXDM,
ZXMC,ZFMC,BMLX,JZZDSM,ZS,MZZZMC,MZZZZDDM,LGGC,ZZMS,FBRQSJ,SSY,SZY,
TW,ZZCXSJ,ZZCXSJDW,XGBZ,MJ from TB_MZ_JZMXB where 1=2</sql>
<tables>
<table name="TB_MZ_JZMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JZMXID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_JZMXB" />
<f name="JGID" type="12" table="TB_MZ_JZMXB" />
<f name="YNLSH" type="12" table="TB_MZ_JZMXB" />
<f name="JZMXID" type="12" table="TB_MZ_JZMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_JZMXB" />
<f name="GRBSH" type="12" table="TB_MZ_JZMXB" />
<f name="JZLSH" type="12" table="TB_MZ_JZMXB" />
<f name="SFFZ" type="12" table="TB_MZ_JZMXB" />
<f name="LCYXLXDM" type="12" table="TB_MZ_JZMXB" />
<f name="MJZH" type="12" table="TB_MZ_JZMXB" />
<f name="HZXM" type="12" table="TB_MZ_JZMXB" />
<f name="HZSX" type="12" table="TB_MZ_JZMXB" />
<f name="JZLX" type="12" table="TB_MZ_JZMXB" />
<f name="SFJZ" type="12" table="TB_MZ_JZMXB" />
<f name="JZXZ" type="12" table="TB_MZ_JZMXB" />
<f name="JZKSBM" type="12" table="TB_MZ_JZMXB" />
<f name="JZKSMC" type="12" table="TB_MZ_JZMXB" />
<f name="JZKSRQ" type="93" table="TB_MZ_JZMXB" />
<f name="JZSJ" type="93" table="TB_MZ_JZMXB" />
<f name="WCJZSJ" type="93" table="TB_MZ_JZMXB" />
<f name="ZZYSBH" type="12" table="TB_MZ_JZMXB" />
<f name="ZZYSXM" type="12" table="TB_MZ_JZMXB" />
<f name="ZZYSSFZHM" type="12" table="TB_MZ_JZMXB" />
<f name="MZZDDM" type="12" table="TB_MZ_JZMXB" />
<f name="MZZDMC" type="12" table="TB_MZ_JZMXB" />
<f name="ZXDM" type="12" table="TB_MZ_JZMXB" />
<f name="ZXMC" type="12" table="TB_MZ_JZMXB" />
<f name="ZFMC" type="12" table="TB_MZ_JZMXB" />
<f name="BMLX" type="12" table="TB_MZ_JZMXB" />
<f name="JZZDSM" type="12" table="TB_MZ_JZMXB" />
<f name="ZS" type="12" table="TB_MZ_JZMXB" />
<f name="MZZZMC" type="12" table="TB_MZ_JZMXB" />
<f name="MZZZZDDM" type="12" table="TB_MZ_JZMXB" />
<f name="LGGC" type="12" table="TB_MZ_JZMXB" />
<f name="ZZMS" type="12" table="TB_MZ_JZMXB" />
<f name="FBRQSJ" type="93" table="TB_MZ_JZMXB" />
<f name="SSY" type="-5" table="TB_MZ_JZMXB" />
<f name="SZY" type="-5" table="TB_MZ_JZMXB" />
<f name="TW" type="8" table="TB_MZ_JZMXB" />
<f name="ZZCXSJ" type="12" table="TB_MZ_JZMXB" />
<f name="ZZCXSJDW" type="12" table="TB_MZ_JZMXB" />
<f name="XGBZ" type="12" table="TB_MZ_JZMXB" />
<f name="MJ" type="12" table="TB_MZ_JZMXB" />
</fields>
</dao>
<!-- 4.3.1.3门急诊处方主表 -->
<dao id="sjgmjzypcfmxbdao" log="true" type="1">
<sql>select YLJGDM,JGID,YNLSH,JZLSH,GRBSLX,GRBSH,MJZH,CFDL,CFLX,CFHM,KFKSDM,KFKSMC,
KFYSBH,KFYSXM,KFYSSFZHM,KFSJ,HZBSH,HZXM,HZXBDM,HZXB,HZNL,HZTZ,FYLX,XYZDDM,XYZDMC,ZYBMDM,
ZYBMMC,ZYZHDM,ZYZHMC,CFJE,CFYXTS,CFBZXX,ZZZF,WDBGJGMC,WDBGJGDZ,CFSHYJSBH,
CFSHYJSQM,CFSHYJSSFZHM,CFTPYJSBH,CFTPYJSQM,CFTPYJSSFZHM,CFFYYJSBH,CFFYYJSQM,CFFYYJSSFZHM,
CFHDYJSBH,CFHDYJSQM,CFHDYJSSFZHM,ZYYPJSJ,ZYJZPC,ZYYPJZF,ZYYPFF,ZYYYFF,ZYYPCF,BZ,XGBZ from TB_MZ_CFZB where 1=2</sql>
<tables>
<table name="TB_MZ_CFZB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>CFZID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_CFZB" />
<f name="CFZID" type="12" table="TB_MZ_CFZB" />
<f name="JGID" type="12" table="TB_MZ_CFZB" />
<f name="YNLSH" type="12" table="TB_MZ_CFZB" />
<f name="JZLSH" type="12" table="TB_MZ_CFZB" />
<f name="GRBSLX" type="12" table="TB_MZ_CFZB" />
<f name="GRBSH" type="12" table="TB_MZ_CFZB" />
<f name="MJZH" type="12" table="TB_MZ_CFZB" />
<f name="CFDL" type="12" table="TB_MZ_CFZB" />
<f name="CFLX" type="12" table="TB_MZ_CFZB" />
<f name="CFHM" type="12" table="TB_MZ_CFZB" />
<f name="KFKSDM" type="12" table="TB_MZ_CFZB" />
<f name="KFKSMC" type="12" table="TB_MZ_CFZB" />
<f name="KFYSBH" type="12" table="TB_MZ_CFZB" />
<f name="KFYSXM" type="12" table="TB_MZ_CFZB" />
<f name="KFYSSFZHM" type="12" table="TB_MZ_CFZB" />
<f name="KFSJ" type="93" table="TB_MZ_CFZB" />
<f name="HZBSH" type="12" table="TB_MZ_CFZB" />
<f name="HZXM" type="12" table="TB_MZ_CFZB" />
<f name="HZXBDM" type="12" table="TB_MZ_CFZB" />
<f name="HZXB" type="12" table="TB_MZ_CFZB" />
<f name="HZNL" type="12" table="TB_MZ_CFZB" />
<f name="HZTZ" type="8" table="TB_MZ_CFZB" />
<f name="FYLX" type="12" table="TB_MZ_CFZB" />
<f name="XYZDDM" type="12" table="TB_MZ_CFZB" />
<f name="XYZDMC" type="12" table="TB_MZ_CFZB" />
<f name="ZYBMDM" type="12" table="TB_MZ_CFZB" />
<f name="ZYBMMC" type="12" table="TB_MZ_CFZB" />
<f name="ZYZHDM" type="12" table="TB_MZ_CFZB" />
<f name="ZYZHMC" type="12" table="TB_MZ_CFZB" />
<f name="CFJE" type="8" table="TB_MZ_CFZB" />
<f name="CFYXTS" type="-5" table="TB_MZ_CFZB" />
<f name="CFBZXX" type="12" table="TB_MZ_CFZB" />
<f name="ZZZF" type="12" table="TB_MZ_CFZB" />
<f name="WDBGJGMC" type="12" table="TB_MZ_CFZB" />
<f name="WDBGJGDZ" type="12" table="TB_MZ_CFZB" />
<f name="CFSHYJSBH" type="12" table="TB_MZ_CFZB" />
<f name="CFSHYJSQM" type="12" table="TB_MZ_CFZB" />
<f name="CFSHYJSSFZHM" type="12" table="TB_MZ_CFZB" />
<f name="CFTPYJSBH" type="12" table="TB_MZ_CFZB" />
<f name="CFTPYJSQM" type="12" table="TB_MZ_CFZB" />
<f name="CFTPYJSSFZHM" type="12" table="TB_MZ_CFZB" />
<f name="CFFYYJSBH" type="12" table="TB_MZ_CFZB" />
<f name="CFFYYJSQM" type="12" table="TB_MZ_CFZB" />
<f name="CFFYYJSSFZHM" type="12" table="TB_MZ_CFZB" />
<f name="CFHDYJSBH" type="12" table="TB_MZ_CFZB" />
<f name="CFHDYJSQM" type="12" table="TB_MZ_CFZB" />
<f name="CFHDYJSSFZHM" type="12" table="TB_MZ_CFZB" />
<f name="ZYYPJSJ" type="-5" table="TB_MZ_CFZB" />
<f name="ZYJZPC" type="12" table="TB_MZ_CFZB" />
<f name="ZYYPJZF" type="12" table="TB_MZ_CFZB" />
<f name="ZYYPFF" type="12" table="TB_MZ_CFZB" />
<f name="ZYYYFF" type="12" table="TB_MZ_CFZB" />
<f name="ZYYPCF" type="12" table="TB_MZ_CFZB" />
<f name="BZ" type="12" table="TB_MZ_CFZB" />
<f name="XGBZ" type="12" table="TB_MZ_CFZB" />
</fields>
</dao>
<!-- 4.3.1.4门急诊药品处方明细表 -->
<dao id="sjgmjzypcdmxbdao" log="true" type="1">
<sql>select YLJGDM,CFMXID,JGID,YNLSH,JZLSH,GRBSLX,GRBSH,CFZID,CFYZXH,CFYZZH,ZLXMLBBM,
XMBM,XMMC,XMFLBM,XMFLMC,YNSFXMBM,YNSFXMMC,YBSFXMBM,YBSFXMMC,JXDM,YPGG,YYTJDM,SYPCDM,
YYPC,SYCJL,SYJLDW,SYZJL,ZYYYFF,FYSL,FYSLDW,YYTS,YWLX,CFKSSJ,CFTZSJ,PSPB,
SFCGYP,SFJY,SFZBY,ZXKSBM,ZXKSMC,ZXRBH,ZXRXM,ZXRSFZHM,CFZXSJ,BZ,MJ,XGBZ from TB_MZ_YPCFMXB where 1=2</sql>
<tables>
<table name="TB_MZ_YPCFMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>CFMXID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_YPCFMXB" />
<f name="CFMXID" type="12" table="TB_MZ_YPCFMXB" />
<f name="JGID" type="12" table="TB_MZ_YPCFMXB" />
<f name="YNLSH" type="12" table="TB_MZ_YPCFMXB" />
<f name="JZLSH" type="12" table="TB_MZ_YPCFMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_YPCFMXB" />
<f name="GRBSH" type="12" table="TB_MZ_YPCFMXB" />
<f name="CFZID" type="12" table="TB_MZ_YPCFMXB" />
<f name="CFYZXH" type="-5" table="TB_MZ_YPCFMXB" />
<f name="CFYZZH" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZLXMLBBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="XMBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="XMMC" type="12" table="TB_MZ_YPCFMXB" />
<f name="XMFLBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="XMFLMC" type="12" table="TB_MZ_YPCFMXB" />
<f name="YNSFXMBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="YNSFXMMC" type="12" table="TB_MZ_YPCFMXB" />
<f name="YBSFXMBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="YBSFXMMC" type="12" table="TB_MZ_YPCFMXB" />
<f name="JXDM" type="12" table="TB_MZ_YPCFMXB" />
<f name="YPGG" type="12" table="TB_MZ_YPCFMXB" />
<f name="YYTJDM" type="12" table="TB_MZ_YPCFMXB" />
<f name="SYPCDM" type="12" table="TB_MZ_YPCFMXB" />
<f name="YYPC" type="12" table="TB_MZ_YPCFMXB" />
<f name="SYCJL" type="8" table="TB_MZ_YPCFMXB" />
<f name="SYJLDW" type="12" table="TB_MZ_YPCFMXB" />
<f name="SYZJL" type="8" table="TB_MZ_YPCFMXB" />
<f name="ZYYYFF" type="12" table="TB_MZ_YPCFMXB" />
<f name="FYSL" type="8" table="TB_MZ_YPCFMXB" />
<f name="FYSLDW" type="12" table="TB_MZ_YPCFMXB" />
<f name="YYTS" type="8" table="TB_MZ_YPCFMXB" />
<f name="YWLX" type="12" table="TB_MZ_YPCFMXB" />
<f name="CFKSSJ" type="93" table="TB_MZ_YPCFMXB" />
<f name="CFTZSJ" type="93" table="TB_MZ_YPCFMXB" />
<f name="PSPB" type="12" table="TB_MZ_YPCFMXB" />
<f name="SFCGYP" type="12" table="TB_MZ_YPCFMXB" />
<f name="SFJY" type="12" table="TB_MZ_YPCFMXB" />
<f name="SFZBY" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZXKSBM" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZXKSMC" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZXRBH" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZXRXM" type="12" table="TB_MZ_YPCFMXB" />
<f name="ZXRSFZHM" type="12" table="TB_MZ_YPCFMXB" />
<f name="CFZXSJ" type="93" table="TB_MZ_YPCFMXB" />
<f name="BZ" type="12" table="TB_MZ_YPCFMXB" />
<f name="MJ" type="12" table="TB_MZ_YPCFMXB" />
<f name="XGBZ" type="12" table="TB_MZ_YPCFMXB" />
</fields>
</dao>
<!-- 4.3.1.5门急诊其他处方明细表 -->
<dao id="sjgmjzqtcfmxbdao" log="true" type="1">
<sql>select YLJGDM,CFMXID,JGID,YNLSH,JZLSH,GRBSLX,GRBSH,CFZID,YZXH,YZZH,ZLXMLBBM,XMBM,
XMMC,XMFLBM,XMFLMC,YBSFXMBM,YBSFXMMC,ZXPL,CJFX,CJBB,JCBW,MZFS,CFKSSJ,CFTZSJ,ZXKSBM,ZXKSMC,
ZXRBH,ZXRXM,CFZXRSFZHM,CFZXSJ,WSFWYQ,QTYXCZ,ZZBZ,JKWTPG,JZJGMC,ZWT,CZJH,
KFCSZD,BZ,MJ,XGBZ from TB_MZ_QTCFMX where 1=2</sql>
<tables>
<table name="TB_MZ_QTCFMX" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>CFMXID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_QTCFMX" />
<f name="CFMXID" type="12" table="TB_MZ_QTCFMX" />
<f name="JGID" type="12" table="TB_MZ_QTCFMX" />
<f name="YNLSH" type="12" table="TB_MZ_QTCFMX" />
<f name="JZLSH" type="12" table="TB_MZ_QTCFMX" />
<f name="GRBSLX" type="12" table="TB_MZ_QTCFMX" />
<f name="GRBSH" type="12" table="TB_MZ_QTCFMX" />
<f name="CFZID" type="12" table="TB_MZ_QTCFMX" />
<f name="YZXH" type="-5" table="TB_MZ_QTCFMX" />
<f name="YZZH" type="12" table="TB_MZ_QTCFMX" />
<f name="ZLXMLBBM" type="12" table="TB_MZ_QTCFMX" />
<f name="XMBM" type="12" table="TB_MZ_QTCFMX" />
<f name="XMMC" type="12" table="TB_MZ_QTCFMX" />
<f name="XMFLBM" type="12" table="TB_MZ_QTCFMX" />
<f name="XMFLMC" type="12" table="TB_MZ_QTCFMX" />
<f name="YBSFXMBM" type="12" table="TB_MZ_QTCFMX" />
<f name="YBSFXMMC" type="12" table="TB_MZ_QTCFMX" />
<f name="ZXPL" type="12" table="TB_MZ_QTCFMX" />
<f name="CJFX" type="12" table="TB_MZ_QTCFMX" />
<f name="CJBB" type="12" table="TB_MZ_QTCFMX" />
<f name="JCBW" type="12" table="TB_MZ_QTCFMX" />
<f name="MZFS" type="12" table="TB_MZ_QTCFMX" />
<f name="CFKSSJ" type="93" table="TB_MZ_QTCFMX" />
<f name="CFTZSJ" type="93" table="TB_MZ_QTCFMX" />
<f name="ZXKSBM" type="12" table="TB_MZ_QTCFMX" />
<f name="ZXKSMC" type="12" table="TB_MZ_QTCFMX" />
<f name="ZXRBH" type="12" table="TB_MZ_QTCFMX" />
<f name="ZXRXM" type="12" table="TB_MZ_QTCFMX" />
<f name="CFZXRSFZHM" type="12" table="TB_MZ_QTCFMX" />
<f name="CFZXSJ" type="93" table="TB_MZ_QTCFMX" />
<f name="WSFWYQ" type="12" table="TB_MZ_QTCFMX" />
<f name="QTYXCZ" type="12" table="TB_MZ_QTCFMX" />
<f name="ZZBZ" type="12" table="TB_MZ_QTCFMX" />
<f name="JKWTPG" type="12" table="TB_MZ_QTCFMX" />
<f name="JZJGMC" type="12" table="TB_MZ_QTCFMX" />
<f name="ZWT" type="12" table="TB_MZ_QTCFMX" />
<f name="CZJH" type="12" table="TB_MZ_QTCFMX" />
<f name="KFCSZD" type="12" table="TB_MZ_QTCFMX" />
<f name="BZ" type="12" table="TB_MZ_QTCFMX" />
<f name="MJ" type="12" table="TB_MZ_QTCFMX" />
<f name="XGBZ" type="12" table="TB_MZ_QTCFMX" />
</fields>
</dao>
<!-- 4.3.1.6门急诊费用明细表 -->
<dao id="sjgmjzfymxbdao" log="true" type="1">
<sql>select YLJGDM,SFMXID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,BTFMXID,TFBZ,SFCJBM,YZMXID,SFXMLBBM,
FYSRGLBM,FYSRGLMC,FYFSSJ,SYJSID,SFJSSJ,KDKSBM,KDKSMC,KDYSBH,KDYSXM,KDYSSFZHM,ZXKSBM,ZXKSMC,
ZXRYBH,ZXRYXM,ZXRYSFZHM,MXXMBM,MXXMMC,MXXMDW,MXXMDJ,XMFLBM,XMFLMC,MXXMSL,MXXMYSJE,MXXMSSJE,
XGBZ from TB_MZ_SFMXB where 1=2</sql>
<tables>
<table name="TB_MZ_SFMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>CFMXID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_SFMXB" />
<f name="SFMXID" type="12" table="TB_MZ_SFMXB" />
<f name="JGID" type="12" table="TB_MZ_SFMXB" />
<f name="YNLSH" type="12" table="TB_MZ_SFMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_SFMXB" />
<f name="GRBSH" type="12" table="TB_MZ_SFMXB" />
<f name="JZLSH" type="12" table="TB_MZ_SFMXB" />
<f name="BTFMXID" type="12" table="TB_MZ_SFMXB" />
<f name="TFBZ" type="12" table="TB_MZ_SFMXB" />
<f name="SFCJBM" type="12" table="TB_MZ_SFMXB" />
<f name="YZMXID" type="12" table="TB_MZ_SFMXB" />
<f name="SFXMLBBM" type="12" table="TB_MZ_SFMXB" />
<f name="FYSRGLBM" type="12" table="TB_MZ_SFMXB" />
<f name="FYSRGLMC" type="12" table="TB_MZ_SFMXB" />
<f name="FYFSSJ" type="93" table="TB_MZ_SFMXB" />
<f name="SYJSID" type="12" table="TB_MZ_SFMXB" />
<f name="SFJSSJ" type="93" table="TB_MZ_SFMXB" />
<f name="KDKSBM" type="12" table="TB_MZ_SFMXB" />
<f name="KDKSMC" type="12" table="TB_MZ_SFMXB" />
<f name="KDYSBH" type="12" table="TB_MZ_SFMXB" />
<f name="KDYSXM" type="12" table="TB_MZ_SFMXB" />
<f name="KDYSSFZHM" type="12" table="TB_MZ_SFMXB" />
<f name="ZXKSBM" type="12" table="TB_MZ_SFMXB" />
<f name="ZXKSMC" type="12" table="TB_MZ_SFMXB" />
<f name="ZXRYBH" type="12" table="TB_MZ_SFMXB" />
<f name="ZXRYXM" type="12" table="TB_MZ_SFMXB" />
<f name="ZXRYSFZHM" type="12" table="TB_MZ_SFMXB" />
<f name="MXXMBM" type="12" table="TB_MZ_SFMXB" />
<f name="MXXMMC" type="12" table="TB_MZ_SFMXB" />
<f name="MXXMDW" type="12" table="TB_MZ_SFMXB" />
<f name="MXXMDJ" type="8" table="TB_MZ_SFMXB" />
<f name="XMFLBM" type="12" table="TB_MZ_SFMXB" />
<f name="XMFLMC" type="12" table="TB_MZ_SFMXB" />
<f name="MXXMSL" type="8" table="TB_MZ_SFMXB" />
<f name="MXXMYSJE" type="8" table="TB_MZ_SFMXB" />
<f name="MXXMSSJE" type="8" table="TB_MZ_SFMXB" />
<f name="XGBZ" type="12" table="TB_MZ_SFMXB" />
</fields>
</dao>
<!-- 4.3.1.7门急诊结算明细表 -->
<dao id="sjgmjzjsmxbdao" log="true" type="1">
<sql>select YLJGDM,JSJLID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,JSFPH,SFCJBM,JLSFZT,FYJSSJ,HZLYSX,
YLFFFSDM,FYJSZJE,GRCDFYJE,JSRYBH,JSRYXM,JSRYSFZHM,XGBZ from TB_MZ_JSMXB where 1=2</sql>
<tables>
<table name="TB_MZ_JSMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JSJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_JSMXB" />
<f name="JSJLID" type="12" table="TB_MZ_JSMXB" />
<f name="JGID" type="12" table="TB_MZ_JSMXB" />
<f name="YNLSH" type="12" table="TB_MZ_JSMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_JSMXB" />
<f name="GRBSH" type="12" table="TB_MZ_JSMXB" />
<f name="JZLSH" type="12" table="TB_MZ_JSMXB" />
<f name="JSFPH" type="12" table="TB_MZ_JSMXB" />
<f name="SFCJBM" type="12" table="TB_MZ_JSMXB" />
<f name="JLSFZT" type="12" table="TB_MZ_JSMXB" />
<f name="FYJSSJ" type="93" table="TB_MZ_JSMXB" />
<f name="HZLYSX" type="12" table="TB_MZ_JSMXB" />
<f name="YLFFFSDM" type="12" table="TB_MZ_JSMXB" />
<f name="FYJSZJE" type="8" table="TB_MZ_JSMXB" />
<f name="GRCDFYJE" type="8" table="TB_MZ_JSMXB" />
<f name="JSRYBH" type="12" table="TB_MZ_JSMXB" />
<f name="JSRYXM" type="12" table="TB_MZ_JSMXB" />
<f name="JSRYSFZHM" type="12" table="TB_MZ_JSMXB" />
<f name="XGBZ" type="12" table="TB_MZ_JSMXB" />
</fields>
</dao>
<!-- 4.3.1.8门急诊结算支付方式明细表 -->
<dao id="sjgmjzjsmxbdao" log="true" type="1">
<sql>select YLJGDM,ZFFSJLID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,JSJLID,JLSFZT,ZFFSDM,
ZFFSJE,FYJSSJ,JSRYBH,JSRYXM,JSRYSFZHM,XGBZ from TB_MZ_JSZFFSMXB where 1=2</sql>
<tables>
<table name="TB_MZ_JSZFFSMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZFFSJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="ZFFSJLID" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JGID" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="YNLSH" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="GRBSH" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JZLSH" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JSJLID" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JLSFZT" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="ZFFSDM" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="ZFFSJE" type="8" table="TB_MZ_JSZFFSMXB" />
<f name="FYJSSJ" type="93" table="TB_MZ_JSZFFSMXB" />
<f name="JSRYBH" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JSRYXM" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="JSRYSFZHM" type="12" table="TB_MZ_JSZFFSMXB" />
<f name="XGBZ" type="12" table="TB_MZ_JSZFFSMXB" />
</fields>
</dao>
<!-- 4.3.1.9门急诊诊断明细表 -->
<dao id="sjgmjzzdmxbdao" log="true" type="1">
<sql>select YLJGDM,ZDID,JGID,YNLSH,ZYJZLSH,GRBSLX,GRBSH,XGBZ,ZDRQSJ,ZDFFBM,
ZDBZBM,ZDLBBM,BZQBDM,ZDYBID,ZDZCBM,ZDSX,ZDBM,ZDMC,SFYZ,CYQKBM,ZDLX,
JLSJ_YWK,CXSJ_YWK,BJSJ_YWK from TB_MZ_ZDMXB where 1=2</sql>
<tables>
<table name="TB_MZ_ZDMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZFFSJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDID" type="12" table="TB_MZ_ZDMXB" />
<f name="JGID" type="12" table="TB_MZ_ZDMXB" />
<f name="YNLSH" type="12" table="TB_MZ_ZDMXB" />
<f name="ZYJZLSH" type="12" table="TB_MZ_ZDMXB" />
<f name="GRBSLX" type="12" table="TB_MZ_ZDMXB" />
<f name="GRBSH" type="12" table="TB_MZ_ZDMXB" />
<f name="XGBZ" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDRQSJ" type="93" table="TB_MZ_ZDMXB" />
<f name="ZDFFBM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDBZBM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDLBBM" type="12" table="TB_MZ_ZDMXB" />
<f name="BZQBDM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDYBID" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDZCBM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDSX" type="-5" table="TB_MZ_ZDMXB" />
<f name="ZDBM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDMC" type="12" table="TB_MZ_ZDMXB" />
<f name="SFYZ" type="12" table="TB_MZ_ZDMXB" />
<f name="CYQKBM" type="12" table="TB_MZ_ZDMXB" />
<f name="ZDLX" type="12" table="TB_MZ_ZDMXB" />
<f name="JLSJ_YWK" type="93" table="TB_MZ_ZDMXB" />
<f name="CXSJ_YWK" type="93" table="TB_MZ_ZDMXB" />
<f name="BJSJ_YWK" type="93" table="TB_MZ_ZDMXB" />
</fields>
</dao>
<!-- 4.4.1.1入院登记明细表 -->
<dao id="sjgrydjmxbdao" log="true" type="1">
<sql>select YLJGDM,RYJLID,JGID,YNLSH,GRBSLX,GRBSH,SJJLZT,ZYJZLSH,ZYH,ZYCS,
MZYSBH,MZYSXM,MZYSSFZHM,ZYYSBH,ZYYSXM,ZYYSSFZHM,RYBQDM,RYTJBM,RYYYBM,YLFFFS,ZYYYSJ,
RYKSBM,RYKSMC,KJRYZRQ,RYSJ,RYDJYBH,RYDJYXM,RYDJYSFZHM,LGBZ,XGBZ from TB_ZY_RYDJMXB where 1=2</sql>
<tables>
<table name="TB_ZY_RYDJMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>RYJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYJLID" type="12" table="TB_ZY_RYDJMXB" />
<f name="JGID" type="12" table="TB_ZY_RYDJMXB" />
<f name="YNLSH" type="12" table="TB_ZY_RYDJMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_RYDJMXB" />
<f name="GRBSH" type="12" table="TB_ZY_RYDJMXB" />
<f name="SJJLZT" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYJZLSH" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYH" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYCS" type="12" table="TB_ZY_RYDJMXB" />
<f name="MZYSBH" type="12" table="TB_ZY_RYDJMXB" />
<f name="MZYSXM" type="12" table="TB_ZY_RYDJMXB" />
<f name="MZYSSFZHM" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYYSBH" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYYSXM" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYYSSFZHM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYBQDM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYTJBM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYYYBM" type="12" table="TB_ZY_RYDJMXB" />
<f name="YLFFFS" type="12" table="TB_ZY_RYDJMXB" />
<f name="ZYYYSJ" type="93" table="TB_ZY_RYDJMXB" />
<f name="RYKSBM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYKSMC" type="12" table="TB_ZY_RYDJMXB" />
<f name="KJRYZRQ" type="93" table="TB_ZY_RYDJMXB" />
<f name="RYSJ" type="93" table="TB_ZY_RYDJMXB" />
<f name="RYDJYBH" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYDJYXM" type="12" table="TB_ZY_RYDJMXB" />
<f name="RYDJYSFZHM" type="12" table="TB_ZY_RYDJMXB" />
<f name="LGBZ" type="12" table="TB_ZY_RYDJMXB" />
<f name="XGBZ" type="12" table="TB_ZY_RYDJMXB" />
</fields>
</dao>
<!-- 4.4.1.2住院医嘱主表 -->
<dao id="sjgzyyzzbdao" log="true" type="1">
<sql>select YLJGDM,YZZID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,CFDL,CXBZ,YZXQ,DJBH,
HZXM,HZXB,HZNL,HZKS,HZBQ,HZBSH,ZYCS,XDKSBM,XDKSMC,YZXDYSBH,YZXDYSXM,YZXDYSSFZHM,
YZXDSJ,YZJHZXSJ,QTYXCZ,ZZBZ,JKWTPG,CZJH,ZYFA,KFCSZD,BZ,MJ,XGBZ from TB_ZY_YZZB where 1=2</sql>
<tables>
<table name="TB_ZY_YZZB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>YZZID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_YZZB" />
<f name="YZZID" type="12" table="TB_ZY_YZZB" />
<f name="JGID" type="12" table="TB_ZY_YZZB" />
<f name="YNLSH" type="12" table="TB_ZY_YZZB" />
<f name="GRBSLX" type="12" table="TB_ZY_YZZB" />
<f name="GRBSH" type="12" table="TB_ZY_YZZB" />
<f name="JZLSH" type="12" table="TB_ZY_YZZB" />
<f name="CFDL" type="12" table="TB_ZY_YZZB" />
<f name="CXBZ" type="12" table="TB_ZY_YZZB" />
<f name="YZXQ" type="12" table="TB_ZY_YZZB" />
<f name="DJBH" type="12" table="TB_ZY_YZZB" />
<f name="HZXM" type="12" table="TB_ZY_YZZB" />
<f name="HZXB" type="12" table="TB_ZY_YZZB" />
<f name="HZNL" type="12" table="TB_ZY_YZZB" />
<f name="HZKS" type="12" table="TB_ZY_YZZB" />
<f name="HZBQ" type="12" table="TB_ZY_YZZB" />
<f name="HZBSH" type="12" table="TB_ZY_YZZB" />
<f name="ZYCS" type="12" table="TB_ZY_YZZB" />
<f name="XDKSBM" type="12" table="TB_ZY_YZZB" />
<f name="XDKSMC" type="12" table="TB_ZY_YZZB" />
<f name="YZXDYSBH" type="12" table="TB_ZY_YZZB" />
<f name="YZXDYSXM" type="12" table="TB_ZY_YZZB" />
<f name="YZXDYSSFZHM" type="12" table="TB_ZY_YZZB" />
<f name="YZXDSJ" type="93" table="TB_ZY_YZZB" />
<f name="YZJHZXSJ" type="93" table="TB_ZY_YZZB" />
<f name="QTYXCZ" type="12" table="TB_ZY_YZZB" />
<f name="ZZBZ" type="12" table="TB_ZY_YZZB" />
<f name="JKWTPG" type="12" table="TB_ZY_YZZB" />
<f name="CZJH" type="12" table="TB_ZY_YZZB" />
<f name="ZYFA" type="12" table="TB_ZY_YZZB" />
<f name="KFCSZD" type="12" table="TB_ZY_YZZB" />
<f name="BZ" type="12" table="TB_ZY_YZZB" />
<f name="MJ" type="12" table="TB_ZY_YZZB" />
<f name="XGBZ" type="12" table="TB_ZY_YZZB" />
</fields>
</dao>
<!-- 4.4.1.3住院药品医嘱明细表 -->
<dao id="sjgzyyzzbdao" log="true" type="1">
<sql>select YLJGDM,YZID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,YZZID,CXBZ,YZKSSJ,
YZJDHSBH,YZJDHSXM,YZJDHSSFZHM,YZJDSJ,TZYSBH,TZYSXM,TZYSSFZHM,YSTZSJ,QRTZHSBH,
QRTZHSXM,QRTZHSSFZHM,HSQRTZSJ,ZXKSBM,ZXKSMC,ZXRBH,ZXRXM,ZXRSFZHM,YZZXSJ,YZZZSJ,
YZSM,YZXH,YZZH,YZMXBM,YZMXMC,YZXMFLDM,YZXMFLMC,ZLXMLBBM,YNSFXMBM,YNSFXMMC,YBSFXMBM,
YBSFXMMC,YPGG,JXDM,YZYF,YZPD,YYTJDM,MCSYJL,MCSYJLDW,SYZJL,MCSL,MCDW,FYSL,FYSLDW,
YYTS,ZYJZF,PSPB,SFCGYP,SFJY,CYDYBZ,WGYWBZ,BZ,MJ,XGBZ from TB_ZY_YPYZMX where 1=2</sql>
<tables>
<table name="TB_ZY_YPYZMX" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>YZZID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZID" type="12" table="TB_ZY_YPYZMX" />
<f name="JGID" type="12" table="TB_ZY_YPYZMX" />
<f name="YNLSH" type="12" table="TB_ZY_YPYZMX" />
<f name="GRBSLX" type="12" table="TB_ZY_YPYZMX" />
<f name="GRBSH" type="12" table="TB_ZY_YPYZMX" />
<f name="JZLSH" type="12" table="TB_ZY_YPYZMX" />
<f name="YZZID" type="12" table="TB_ZY_YPYZMX" />
<f name="CXBZ" type="12" table="TB_ZY_YPYZMX" />
<f name="YZKSSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="YZJDHSBH" type="12" table="TB_ZY_YPYZMX" />
<f name="YZJDHSXM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZJDHSSFZHM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZJDSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="TZYSBH" type="12" table="TB_ZY_YPYZMX" />
<f name="TZYSXM" type="12" table="TB_ZY_YPYZMX" />
<f name="TZYSSFZHM" type="12" table="TB_ZY_YPYZMX" />
<f name="YSTZSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="QRTZHSBH" type="12" table="TB_ZY_YPYZMX" />
<f name="QRTZHSXM" type="12" table="TB_ZY_YPYZMX" />
<f name="QRTZHSSFZHM" type="12" table="TB_ZY_YPYZMX" />
<f name="HSQRTZSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="ZXKSBM" type="12" table="TB_ZY_YPYZMX" />
<f name="ZXKSMC" type="12" table="TB_ZY_YPYZMX" />
<f name="ZXRBH" type="12" table="TB_ZY_YPYZMX" />
<f name="ZXRXM" type="12" table="TB_ZY_YPYZMX" />
<f name="ZXRSFZHM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZZXSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="YZZZSJ" type="93" table="TB_ZY_YPYZMX" />
<f name="YZSM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZXH" type="-5" table="TB_ZY_YPYZMX" />
<f name="YZZH" type="12" table="TB_ZY_YPYZMX" />
<f name="YZMXBM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZMXMC" type="12" table="TB_ZY_YPYZMX" />
<f name="YZXMFLDM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZXMFLMC" type="12" table="TB_ZY_YPYZMX" />
<f name="ZLXMLBBM" type="12" table="TB_ZY_YPYZMX" />
<f name="YNSFXMBM" type="12" table="TB_ZY_YPYZMX" />
<f name="YNSFXMMC" type="12" table="TB_ZY_YPYZMX" />
<f name="YBSFXMBM" type="12" table="TB_ZY_YPYZMX" />
<f name="YBSFXMMC" type="12" table="TB_ZY_YPYZMX" />
<f name="YPGG" type="12" table="TB_ZY_YPYZMX" />
<f name="JXDM" type="12" table="TB_ZY_YPYZMX" />
<f name="YZYF" type="12" table="TB_ZY_YPYZMX" />
<f name="YZPD" type="12" table="TB_ZY_YPYZMX" />
<f name="YYTJDM" type="12" table="TB_ZY_YPYZMX" />
<f name="MCSYJL" type="8" table="TB_ZY_YPYZMX" />
<f name="MCSYJLDW" type="12" table="TB_ZY_YPYZMX" />
<f name="SYZJL" type="8" table="TB_ZY_YPYZMX" />
<f name="MCSL" type="8" table="TB_ZY_YPYZMX" />
<f name="MCDW" type="12" table="TB_ZY_YPYZMX" />
<f name="FYSL" type="8" table="TB_ZY_YPYZMX" />
<f name="FYSLDW" type="12" table="TB_ZY_YPYZMX" />
<f name="YYTS" type="12" table="TB_ZY_YPYZMX" />
<f name="ZYJZF" type="12" table="TB_ZY_YPYZMX" />
<f name="PSPB" type="12" table="TB_ZY_YPYZMX" />
<f name="SFCGYP" type="12" table="TB_ZY_YPYZMX" />
<f name="SFJY" type="12" table="TB_ZY_YPYZMX" />
<f name="CYDYBZ" type="12" table="TB_ZY_YPYZMX" />
<f name="WGYWBZ" type="12" table="TB_ZY_YPYZMX" />
<f name="BZ" type="12" table="TB_ZY_YPYZMX" />
<f name="MJ" type="12" table="TB_ZY_YPYZMX" />
<f name="XGBZ" type="12" table="TB_ZY_YPYZMX" />
</fields>
</dao>
<!-- 4.4.1.4住院其他医嘱明细表 -->
<dao id="sjgzyyzzbdao" log="true" type="1">
<sql>select YLJGDM,YZID,JGID,YNLSH,GRBSLX,GRBSH,JZLSH,YZZID,CXBZ,YZKSSJ,YZJDHSBH,
YZJDHSXM,YZJDHSSFZHM,YZJDSJ,TZYSBH,TZYSXM,TZYSSFZHM,YSTZSJ,QRTZHSBH,QRTZHSXM,
QRTZHSSFZHM,HSQRTZSJ,ZXKSBM,ZXKSMC,XZKS,XZKSMC,ZXRBH,ZXRXM,YZZXRSFZHM,YZZXSJ,YZZZSJ,
YZSM,YZXH,YZZH,YZMXBM,YZMXMC,YZXMFLDM,YZXMFLMC,ZLXMLBBM,YBSFXMBM,YBSFXMMC,
ZXPL,CJFX,CJBB,JCBW,MZFS,BZ,MJ,XGBZ from TB_ZY_QTYZMX where 1=2</sql>
<tables>
<table name="TB_ZY_QTYZMX" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>YZID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZID" type="12" table="TB_ZY_QTYZMX" />
<f name="JGID" type="12" table="TB_ZY_QTYZMX" />
<f name="YNLSH" type="12" table="TB_ZY_QTYZMX" />
<f name="GRBSLX" type="12" table="TB_ZY_QTYZMX" />
<f name="GRBSH" type="12" table="TB_ZY_QTYZMX" />
<f name="JZLSH" type="12" table="TB_ZY_QTYZMX" />
<f name="YZZID" type="12" table="TB_ZY_QTYZMX" />
<f name="CXBZ" type="12" table="TB_ZY_QTYZMX" />
<f name="YZKSSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="YZJDHSBH" type="12" table="TB_ZY_QTYZMX" />
<f name="YZJDHSXM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZJDHSSFZHM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZJDSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="TZYSBH" type="12" table="TB_ZY_QTYZMX" />
<f name="TZYSXM" type="12" table="TB_ZY_QTYZMX" />
<f name="TZYSSFZHM" type="12" table="TB_ZY_QTYZMX" />
<f name="YSTZSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="QRTZHSBH" type="12" table="TB_ZY_QTYZMX" />
<f name="QRTZHSXM" type="12" table="TB_ZY_QTYZMX" />
<f name="QRTZHSSFZHM" type="12" table="TB_ZY_QTYZMX" />
<f name="HSQRTZSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="ZXKSBM" type="12" table="TB_ZY_QTYZMX" />
<f name="ZXKSMC" type="12" table="TB_ZY_QTYZMX" />
<f name="XZKS" type="12" table="TB_ZY_QTYZMX" />
<f name="XZKSMC" type="12" table="TB_ZY_QTYZMX" />
<f name="ZXRBH" type="12" table="TB_ZY_QTYZMX" />
<f name="ZXRXM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZZXRSFZHM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZZXSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="YZZZSJ" type="93" table="TB_ZY_QTYZMX" />
<f name="YZSM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZXH" type="12" table="TB_ZY_QTYZMX" />
<f name="YZZH" type="12" table="TB_ZY_QTYZMX" />
<f name="YZMXBM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZMXMC" type="12" table="TB_ZY_QTYZMX" />
<f name="YZXMFLDM" type="12" table="TB_ZY_QTYZMX" />
<f name="YZXMFLMC" type="12" table="TB_ZY_QTYZMX" />
<f name="ZLXMLBBM" type="12" table="TB_ZY_QTYZMX" />
<f name="YBSFXMBM" type="12" table="TB_ZY_QTYZMX" />
<f name="YBSFXMMC" type="12" table="TB_ZY_QTYZMX" />
<f name="ZXPL" type="12" table="TB_ZY_QTYZMX" />
<f name="CJFX" type="12" table="TB_ZY_QTYZMX" />
<f name="CJBB" type="12" table="TB_ZY_QTYZMX" />
<f name="JCBW" type="12" table="TB_ZY_QTYZMX" />
<f name="MZFS" type="12" table="TB_ZY_QTYZMX" />
<f name="BZ" type="12" table="TB_ZY_QTYZMX" />
<f name="MJ" type="12" table="TB_ZY_QTYZMX" />
<f name="XGBZ" type="12" table="TB_ZY_QTYZMX" />
</fields>
</dao>
<!-- 4.4.1.5住院收费明细表 -->
<dao id="sjgzysfmxbdao" log="true" type="1">
<sql>select YLJGDM,SFMXID,JGID,YNLSH,JZLSH,GRBSLX,GRBSH,TFBZ,YZMXID,SYJSID,SFJSSJ,
KDKSBM,KDKSMC,KDYSBH,KDYSXM,KDSFZHM,ZXKSBM,ZXKSMC,XZKS,XZKSMC,ZXRYBH,ZXRYXM,ZXRYSFZHM,
SFXMLBBM,FYSRGLBM,FYSRGLMC,FYFSSJ,MXXMBM,MXXMMC,XMFLBM,XMFLMC,MXXMDW,MXXMDJ,MXXMSL,
MXXMYSJE,MXXMSSJE,XGBZ from TB_ZY_SFMXB where 1=2</sql>
<tables>
<table name="TB_ZY_SFMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>YZID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_SFMXB" />
<f name="SFMXID" type="12" table="TB_ZY_SFMXB" />
<f name="JGID" type="12" table="TB_ZY_SFMXB" />
<f name="YNLSH" type="12" table="TB_ZY_SFMXB" />
<f name="JZLSH" type="12" table="TB_ZY_SFMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_SFMXB" />
<f name="GRBSH" type="12" table="TB_ZY_SFMXB" />
<f name="TFBZ" type="12" table="TB_ZY_SFMXB" />
<f name="YZMXID" type="12" table="TB_ZY_SFMXB" />
<f name="SYJSID" type="12" table="TB_ZY_SFMXB" />
<f name="SFJSSJ" type="93" table="TB_ZY_SFMXB" />
<f name="KDKSBM" type="12" table="TB_ZY_SFMXB" />
<f name="KDKSMC" type="12" table="TB_ZY_SFMXB" />
<f name="KDYSBH" type="12" table="TB_ZY_SFMXB" />
<f name="KDYSXM" type="12" table="TB_ZY_SFMXB" />
<f name="KDSFZHM" type="12" table="TB_ZY_SFMXB" />
<f name="ZXKSBM" type="12" table="TB_ZY_SFMXB" />
<f name="ZXKSMC" type="12" table="TB_ZY_SFMXB" />
<f name="XZKS" type="12" table="TB_ZY_SFMXB" />
<f name="XZKSMC" type="12" table="TB_ZY_SFMXB" />
<f name="ZXRYBH" type="12" table="TB_ZY_SFMXB" />
<f name="ZXRYXM" type="12" table="TB_ZY_SFMXB" />
<f name="ZXRYSFZHM" type="12" table="TB_ZY_SFMXB" />
<f name="SFXMLBBM" type="12" table="TB_ZY_SFMXB" />
<f name="FYSRGLBM" type="12" table="TB_ZY_SFMXB" />
<f name="FYSRGLMC" type="12" table="TB_ZY_SFMXB" />
<f name="FYFSSJ" type="93" table="TB_ZY_SFMXB" />
<f name="MXXMBM" type="12" table="TB_ZY_SFMXB" />
<f name="MXXMMC" type="12" table="TB_ZY_SFMXB" />
<f name="XMFLBM" type="12" table="TB_ZY_SFMXB" />
<f name="XMFLMC" type="12" table="TB_ZY_SFMXB" />
<f name="MXXMDW" type="12" table="TB_ZY_SFMXB" />
<f name="MXXMDJ" type="8" table="TB_ZY_SFMXB" />
<f name="MXXMSL" type="8" table="TB_ZY_SFMXB" />
<f name="MXXMYSJE" type="8" table="TB_ZY_SFMXB" />
<f name="MXXMSSJE" type="8" table="TB_ZY_SFMXB" />
<f name="XGBZ" type="12" table="TB_ZY_SFMXB" />
</fields>
</dao>
<!-- 4.4.1.6出院登记明细表 -->
<dao id="sjgcydjmxbdao" log="true" type="1">
<sql>select YLJGDM,CYJLID,JGID,YNLSH,GRBSLX,GRBSH,SJJLZT,ZYJZLSH,CYKSBM,CYKSMC,ZYYSBH,
ZYYSXM,ZYYSSFZHM,SFLCLJ,LCLJLX,CYSJ,LCYXLXDM,RYQK,SQSHZDFHQK,MZCYZDFHQK,RYCYZDFHQK,
FSBLZDFHQK,BLJCLCZDFHQK,YYGRQK,GRBW,YYGRMC,QJCS,QJCGCS,LGBZ,BXLX,WDBZ,TXBZ,XGBZ from TB_ZY_CYDJMXB where 1=2</sql>
<tables>
<table name="TB_ZY_CYDJMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>CYJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_CYDJMXB" />
<f name="CYJLID" type="12" table="TB_ZY_CYDJMXB" />
<f name="JGID" type="12" table="TB_ZY_CYDJMXB" />
<f name="YNLSH" type="12" table="TB_ZY_CYDJMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_CYDJMXB" />
<f name="GRBSH" type="12" table="TB_ZY_CYDJMXB" />
<f name="SJJLZT" type="12" table="TB_ZY_CYDJMXB" />
<f name="ZYJZLSH" type="12" table="TB_ZY_CYDJMXB" />
<f name="CYKSBM" type="12" table="TB_ZY_CYDJMXB" />
<f name="CYKSMC" type="12" table="TB_ZY_CYDJMXB" />
<f name="ZYYSBH" type="12" table="TB_ZY_CYDJMXB" />
<f name="ZYYSXM" type="12" table="TB_ZY_CYDJMXB" />
<f name="ZYYSSFZHM" type="12" table="TB_ZY_CYDJMXB" />
<f name="SFLCLJ" type="12" table="TB_ZY_CYDJMXB" />
<f name="LCLJLX" type="12" table="TB_ZY_CYDJMXB" />
<f name="CYSJ" type="93" table="TB_ZY_CYDJMXB" />
<f name="LCYXLXDM" type="12" table="TB_ZY_CYDJMXB" />
<f name="RYQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="SQSHZDFHQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="MZCYZDFHQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="RYCYZDFHQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="FSBLZDFHQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="BLJCLCZDFHQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="YYGRQK" type="12" table="TB_ZY_CYDJMXB" />
<f name="GRBW" type="12" table="TB_ZY_CYDJMXB" />
<f name="YYGRMC" type="12" table="TB_ZY_CYDJMXB" />
<f name="QJCS" type="-5" table="TB_ZY_CYDJMXB" />
<f name="QJCGCS" type="-5" table="TB_ZY_CYDJMXB" />
<f name="LGBZ" type="12" table="TB_ZY_CYDJMXB" />
<f name="BXLX" type="12" table="TB_ZY_CYDJMXB" />
<f name="WDBZ" type="12" table="TB_ZY_CYDJMXB" />
<f name="TXBZ" type="12" table="TB_ZY_CYDJMXB" />
<f name="XGBZ" type="12" table="TB_ZY_CYDJMXB" />
</fields>
</dao>
<!-- 4.4.1.7住院结算明细表 -->
<dao id="sjgzyjsmxbdao" log="true" type="1">
<sql>select YLJGDM,JSJLID,JGID,YNLSH,ZYJZLSH,GRBSLX,GRBSH,JLSFZT,JSFPH,SFCJBM,FYJSSJ,
HZLYSX,YLFFFSDM,FYJSZJE,GRCDFYJE,JSRYBH,JSRYXM from TB_ZY_JSMXB where 1=2</sql>
<tables>
<table name="TB_ZY_JSMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JSJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_JSMXB" />
<f name="JSJLID" type="12" table="TB_ZY_JSMXB" />
<f name="JGID" type="12" table="TB_ZY_JSMXB" />
<f name="YNLSH" type="12" table="TB_ZY_JSMXB" />
<f name="ZYJZLSH" type="12" table="TB_ZY_JSMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_JSMXB" />
<f name="GRBSH" type="12" table="TB_ZY_JSMXB" />
<f name="JLSFZT" type="12" table="TB_ZY_JSMXB" />
<f name="JSFPH" type="12" table="TB_ZY_JSMXB" />
<f name="SFCJBM" type="12" table="TB_ZY_JSMXB" />
<f name="FYJSSJ" type="93" table="TB_ZY_JSMXB" />
<f name="HZLYSX" type="12" table="TB_ZY_JSMXB" />
<f name="YLFFFSDM" type="12" table="TB_ZY_JSMXB" />
<f name="FYJSZJE" type="8" table="TB_ZY_JSMXB" />
<f name="GRCDFYJE" type="8" table="TB_ZY_JSMXB" />
<f name="JSRYBH" type="12" table="TB_ZY_JSMXB" />
<f name="JSRYXM" type="12" table="TB_ZY_JSMXB" />
<f name="JSRYSFZHM" type="12" table="TB_ZY_JSMXB" />
<f name="XGBZ" type="12" table="TB_ZY_JSMXB" />
</fields>
</dao>
<!-- 4.4.1.8住院结算支付方式明细表 -->
<dao id="sjgzyjszffsmxbdao" log="true" type="1">
<sql>select YLJGDM,ZFFSJLID,JGID,YNLSH,ZYJZLSH,GRBSLX,GRBSH,JSJLID,JLSFZT,
ZFFSDM,ZFFSJE,FYJSSJ,JSRYBH,JSRYXM,JSRYSFZHM,XGBZ from TB_ZY_JSZFFSMXB where 1=2</sql>
<tables>
<table name="TB_ZY_JSZFFSMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZFFSJLID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JSJLID" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JGID" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="YNLSH" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="ZYJZLSH" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="GRBSH" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JSJLID" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JLSFZT" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="ZFFSDM" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="ZFFSJE" type="8" table="TB_ZY_JSZFFSMXB" />
<f name="FYJSSJ" type="93" table="TB_ZY_JSZFFSMXB" />
<f name="JSRYBH" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JSRYXM" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="JSRYSFZHM" type="12" table="TB_ZY_JSZFFSMXB" />
<f name="XGBZ" type="12" table="TB_ZY_JSZFFSMXB" />
</fields>
</dao>
<!-- 4.4.1.9住院诊断明细表 -->
<dao id="sjgzyzdmxbdao" log="true" type="1">
<sql>select YLJGDM,ZDID,JGID,YNLSH,ZYJZLSH,GRBSLX,GRBSH,XGBZ,ZDRQSJ,ZDFFBM,ZDBZBM,
ZDLBBM,BZQBDM,ZDYBID,ZDZCBM,ZDSX,ZDBM,ZDMC,SFYZ,CYQKBM,ZDLX,JLSJ_YWK,CXSJ_YWK,
BJSJ_YWK from TB_ZY_ZDMXB where 1=2</sql>
<tables>
<table name="TB_ZY_ZDMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZDID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDID" type="12" table="TB_ZY_ZDMXB" />
<f name="JGID" type="12" table="TB_ZY_ZDMXB" />
<f name="YNLSH" type="12" table="TB_ZY_ZDMXB" />
<f name="ZYJZLSH" type="12" table="TB_ZY_ZDMXB" />
<f name="GRBSLX" type="12" table="TB_ZY_ZDMXB" />
<f name="GRBSH" type="12" table="TB_ZY_ZDMXB" />
<f name="XGBZ" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDRQSJ" type="93" table="TB_ZY_ZDMXB" />
<f name="ZDFFBM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDBZBM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDLBBM" type="12" table="TB_ZY_ZDMXB" />
<f name="BZQBDM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDYBID" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDZCBM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDSX" type="-5" table="TB_ZY_ZDMXB" />
<f name="ZDBM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDMC" type="12" table="TB_ZY_ZDMXB" />
<f name="SFYZ" type="12" table="TB_ZY_ZDMXB" />
<f name="CYQKBM" type="12" table="TB_ZY_ZDMXB" />
<f name="ZDLX" type="12" table="TB_ZY_ZDMXB" />
<f name="JLSJ_YWK" type="93" table="TB_ZY_ZDMXB" />
<f name="CXSJ_YWK" type="93" table="TB_ZY_ZDMXB" />
<f name="BJSJ_YWK" type="93" table="TB_ZY_ZDMXB" />
</fields>
</dao>
<!-- 4.4.1.10费用结算记录表 -->
<dao id="sjgfyjsjlbdao" log="true" type="1">
<sql>select YLJGDM,DDYLJGDM,YBQDJSLSH,JGID,BAH,SFZHM,JZLSH,YNLSH,YBKKH,GRBSLX,GRBSH,
YBJSDJ,SBSJ,YBLX,TSRYLX,XSRRYLX,RYSJ,CBD,BZDM,BZMC,SSJCZDM,SSJCZMC,YBFPDH,YBFPHM,
YBJSQSSJ,YBJSZZSJ,YBZFFS,ZJE,YBTCJJZFJE,ZGDEBZ,JMDBBX,GWYYLBZ,YLJZZFJE,QTZFQYBC,
QTZFSYBX,GRZHZFJE,GRXJZFJE,GRZFJE,GRYBZFJE,ZYYLLB,ZLLB,HXJSYJS,ZZJHBFLX from TB_ZY_FYJSJLB where 1=2</sql>
<tables>
<table name="TB_ZY_FYJSJLB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>ZDID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_ZY_FYJSJLB" />
<f name="DDYLJGDM" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBQDJSLSH" type="12" table="TB_ZY_FYJSJLB" />
<f name="JGID" type="12" table="TB_ZY_FYJSJLB" />
<f name="BAH" type="12" table="TB_ZY_FYJSJLB" />
<f name="SFZHM" type="12" table="TB_ZY_FYJSJLB" />
<f name="JZLSH" type="12" table="TB_ZY_FYJSJLB" />
<f name="YNLSH" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBKKH" type="12" table="TB_ZY_FYJSJLB" />
<f name="GRBSLX" type="12" table="TB_ZY_FYJSJLB" />
<f name="GRBSH" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBJSDJ" type="12" table="TB_ZY_FYJSJLB" />
<f name="SBSJ" type="93" table="TB_ZY_FYJSJLB" />
<f name="YBLX" type="12" table="TB_ZY_FYJSJLB" />
<f name="TSRYLX" type="12" table="TB_ZY_FYJSJLB" />
<f name="XSRRYLX" type="12" table="TB_ZY_FYJSJLB" />
<f name="RYSJ" type="93" table="TB_ZY_FYJSJLB" />
<f name="CBD" type="12" table="TB_ZY_FYJSJLB" />
<f name="BZDM" type="12" table="TB_ZY_FYJSJLB" />
<f name="BZMC" type="12" table="TB_ZY_FYJSJLB" />
<f name="SSJCZDM" type="12" table="TB_ZY_FYJSJLB" />
<f name="SSJCZMC" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBFPDH" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBFPHM" type="12" table="TB_ZY_FYJSJLB" />
<f name="YBJSQSSJ" type="93" table="TB_ZY_FYJSJLB" />
<f name="YBJSZZSJ" type="93" table="TB_ZY_FYJSJLB" />
<f name="YBZFFS" type="12" table="TB_ZY_FYJSJLB" />
<f name="ZJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="YBTCJJZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="ZGDEBZ" type="8" table="TB_ZY_FYJSJLB" />
<f name="JMDBBX" type="8" table="TB_ZY_FYJSJLB" />
<f name="GWYYLBZ" type="8" table="TB_ZY_FYJSJLB" />
<f name="YLJZZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="QTZFQYBC" type="8" table="TB_ZY_FYJSJLB" />
<f name="QTZFSYBX" type="8" table="TB_ZY_FYJSJLB" />
<f name="GRZHZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="GRXJZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="GRZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="GRYBZFJE" type="8" table="TB_ZY_FYJSJLB" />
<f name="ZYYLLB" type="12" table="TB_ZY_FYJSJLB" />
<f name="ZLLB" type="12" table="TB_ZY_FYJSJLB" />
<f name="HXJSYJS" type="12" table="TB_ZY_FYJSJLB" />
<f name="ZZJHBFLX" type="12" table="TB_ZY_FYJSJLB" />
<f name="JCZZJHSSJ" type="12" table="TB_ZY_FYJSJLB" />
<f name="SXJL" type="12" table="TB_ZY_FYJSJLB" />
<f name="TJHLTS" type="-5" table="TB_ZY_FYJSJLB" />
<f name="YJHLTS" type="-5" table="TB_ZY_FYJSJLB" />
<f name="EJHLTS" type="-5" table="TB_ZY_FYJSJLB" />
<f name="SJHLTS" type="-5" table="TB_ZY_FYJSJLB" />
<f name="CYSJ" type="93" table="TB_ZY_FYJSJLB" />
<f name="XGBZ" type="12" table="TB_ZY_FYJSJLB" />
</fields>
</dao>
<!-- 4.5.1.1检验报告主表 -->
<dao id="sjgjybgzbdao" log="true" type="1">
<sql>select YLJGDM,JYBGID,JGID,YNLSH,JZLSH,GRBSLX,GRBSH,MZZYBZ,MJZH,ZYH,HZLXDM,
HZXM,HZXB,HZNL,DHHM,HZKSDM,HZKSMC,HZBQMC,HZBFH,BZBCH,SQDBH,SQJGDM,SQJGMC,SQKSDM,SQKSMC,
SQRQSJ,SQRBH,SQRXM,SQRSFZHM,XYZDDM,XYZDMC,ZDJGDM,ZDJGMC,ZDRQ,BBLX,JYBBH,BBZT,CYRQSJ,
JSRQSJ,JYXMDM,JYXMMC,JYJSBH,JYJSQM,JYYSBH,JYYSQM,JYYSSFZHM,JYRQ,JYBGDH,BGKSBH,
BGKSMC,JYBGJG,JYBGBZ,JYBGRQ,BGYSBH,BGYSQM,BGYSSFZHM,SHYSBH,SHYSQM,SHYSSFZHM,DYRQ,SQRQ,
BBDM,BBMC,WJZ,BGDLBBM,BGDLB,WJLJ,JLYSBH,DABCJGBM,DABCJGMC,DABCJGDZ,MJ,XGBZ from TB_JY_JYBGZB where 1=2</sql>
<tables>
<table name="TB_JY_JYBGZB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JYBGID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_JY_JYBGZB" />
<f name="JYBGID" type="12" table="TB_JY_JYBGZB" />
<f name="JGID" type="12" table="TB_JY_JYBGZB" />
<f name="YNLSH" type="12" table="TB_JY_JYBGZB" />
<f name="JZLSH" type="12" table="TB_JY_JYBGZB" />
<f name="GRBSLX" type="12" table="TB_JY_JYBGZB" />
<f name="GRBSH" type="12" table="TB_JY_JYBGZB" />
<f name="MZZYBZ" type="12" table="TB_JY_JYBGZB" />
<f name="MJZH" type="12" table="TB_JY_JYBGZB" />
<f name="ZYH" type="12" table="TB_JY_JYBGZB" />
<f name="HZLXDM" type="12" table="TB_JY_JYBGZB" />
<f name="HZXM" type="12" table="TB_JY_JYBGZB" />
<f name="HZXB" type="12" table="TB_JY_JYBGZB" />
<f name="HZNL" type="12" table="TB_JY_JYBGZB" />
<f name="DHHM" type="12" table="TB_JY_JYBGZB" />
<f name="HZKSDM" type="12" table="TB_JY_JYBGZB" />
<f name="HZKSMC" type="12" table="TB_JY_JYBGZB" />
<f name="HZBQMC" type="12" table="TB_JY_JYBGZB" />
<f name="HZBFH" type="12" table="TB_JY_JYBGZB" />
<f name="BZBCH" type="12" table="TB_JY_JYBGZB" />
<f name="SQDBH" type="12" table="TB_JY_JYBGZB" />
<f name="SQJGDM" type="12" table="TB_JY_JYBGZB" />
<f name="SQJGMC" type="12" table="TB_JY_JYBGZB" />
<f name="SQKSDM" type="12" table="TB_JY_JYBGZB" />
<f name="SQKSMC" type="12" table="TB_JY_JYBGZB" />
<f name="SQRQSJ" type="93" table="TB_JY_JYBGZB" />
<f name="SQRBH" type="12" table="TB_JY_JYBGZB" />
<f name="SQRXM" type="12" table="TB_JY_JYBGZB" />
<f name="SQRSFZHM" type="12" table="TB_JY_JYBGZB" />
<f name="XYZDDM" type="12" table="TB_JY_JYBGZB" />
<f name="XYZDMC" type="12" table="TB_JY_JYBGZB" />
<f name="ZDJGDM" type="12" table="TB_JY_JYBGZB" />
<f name="ZDJGMC" type="12" table="TB_JY_JYBGZB" />
<f name="ZDRQ" type="93" table="TB_JY_JYBGZB" />
<f name="BBLX" type="12" table="TB_JY_JYBGZB" />
<f name="JYBBH" type="12" table="TB_JY_JYBGZB" />
<f name="BBZT" type="12" table="TB_JY_JYBGZB" />
<f name="CYRQSJ" type="93" table="TB_JY_JYBGZB" />
<f name="JSRQSJ" type="93" table="TB_JY_JYBGZB" />
<f name="JYXMDM" type="12" table="TB_JY_JYBGZB" />
<f name="JYXMMC" type="12" table="TB_JY_JYBGZB" />
<f name="JYJSBH" type="12" table="TB_JY_JYBGZB" />
<f name="JYJSQM" type="12" table="TB_JY_JYBGZB" />
<f name="JYYSBH" type="12" table="TB_JY_JYBGZB" />
<f name="JYYSQM" type="12" table="TB_JY_JYBGZB" />
<f name="JYYSSFZHM" type="12" table="TB_JY_JYBGZB" />
<f name="JYRQ" type="93" table="TB_JY_JYBGZB" />
<f name="JYBGDH" type="12" table="TB_JY_JYBGZB" />
<f name="BGKSBH" type="12" table="TB_JY_JYBGZB" />
<f name="BGKSMC" type="12" table="TB_JY_JYBGZB" />
<f name="JYBGJG" type="12" table="TB_JY_JYBGZB" />
<f name="JYBGBZ" type="12" table="TB_JY_JYBGZB" />
<f name="JYBGRQ" type="93" table="TB_JY_JYBGZB" />
<f name="BGYSBH" type="12" table="TB_JY_JYBGZB" />
<f name="BGYSQM" type="12" table="TB_JY_JYBGZB" />
<f name="BGYSSFZHM" type="12" table="TB_JY_JYBGZB" />
<f name="SHYSBH" type="12" table="TB_JY_JYBGZB" />
<f name="SHYSQM" type="12" table="TB_JY_JYBGZB" />
<f name="SHYSSFZHM" type="12" table="TB_JY_JYBGZB" />
<f name="DYRQ" type="93" table="TB_JY_JYBGZB" />
<f name="SQRQ" type="93" table="TB_JY_JYBGZB" />
<f name="BBDM" type="12" table="TB_JY_JYBGZB" />
<f name="BBMC" type="12" table="TB_JY_JYBGZB" />
<f name="WJZ" type="-5" table="TB_JY_JYBGZB" />
<f name="BGDLBBM" type="12" table="TB_JY_JYBGZB" />
<f name="BGDLB" type="12" table="TB_JY_JYBGZB" />
<f name="WJLJ" type="12" table="TB_JY_JYBGZB" />
<f name="JLYSBH" type="12" table="TB_JY_JYBGZB" />
<f name="DABCJGBM" type="12" table="TB_JY_JYBGZB" />
<f name="DABCJGMC" type="12" table="TB_JY_JYBGZB" />
<f name="DABCJGDZ" type="12" table="TB_JY_JYBGZB" />
<f name="MJ" type="12" table="TB_JY_JYBGZB" />
<f name="XGBZ" type="12" table="TB_JY_JYBGZB" />
</fields>
</dao>
<!-- 4.5.1.2检验结果指标表 -->
<dao id="sjgjybgzbdao" log="true" type="1">
<sql>select JYZBLSH,YLJGDM,JYBGID,JGID,YNLSH,DYXH,BGRQ,JCRBH,JCRXM,JCRSFZHM,SHRBH,
SHRXM,SHRSFZHM,YBSFDM,JCFFMC,JCLB,LOINCDM,JCZBDM,JCZBMC,ZBJGLX,JCZBJG,JYDLJGJSDW,YCTS,
CKZFW,SBBM,YQBH,YQMC,JLDW,YZID,XGBZ from TB_JY_JYJGZBB where 1=2</sql>
<tables>
<table name="TB_JY_JYJGZBB" insert="true" update="true" delete="true">
<primary>JYZBLSH</primary>
<primary>YLJGDM</primary>
</table>
</tables>
<fields>
<f name="JYZBLSH" type="12" table="TB_JY_JYJGZBB" />
<f name="YLJGDM" type="12" table="TB_JY_JYJGZBB" />
<f name="JYBGID" type="12" table="TB_JY_JYJGZBB" />
<f name="JGID" type="12" table="TB_JY_JYJGZBB" />
<f name="YNLSH" type="12" table="TB_JY_JYJGZBB" />
<f name="DYXH" type="-5" table="TB_JY_JYJGZBB" />
<f name="BGRQ" type="12" table="TB_JY_JYJGZBB" />
<f name="JCRBH" type="12" table="TB_JY_JYJGZBB" />
<f name="JCRXM" type="12" table="TB_JY_JYJGZBB" />
<f name="JCRSFZHM" type="12" table="TB_JY_JYJGZBB" />
<f name="SHRBH" type="12" table="TB_JY_JYJGZBB" />
<f name="SHRXM" type="12" table="TB_JY_JYJGZBB" />
<f name="SHRSFZHM" type="12" table="TB_JY_JYJGZBB" />
<f name="YBSFDM" type="12" table="TB_JY_JYJGZBB" />
<f name="JCFFMC" type="12" table="TB_JY_JYJGZBB" />
<f name="JCLB" type="12" table="TB_JY_JYJGZBB" />
<f name="LOINCDM" type="12" table="TB_JY_JYJGZBB" />
<f name="JCZBDM" type="12" table="TB_JY_JYJGZBB" />
<f name="JCZBMC" type="12" table="TB_JY_JYJGZBB" />
<f name="ZBJGLX" type="-5" table="TB_JY_JYJGZBB" />
<f name="JCZBJG" type="12" table="TB_JY_JYJGZBB" />
<f name="JYDLJGJSDW" type="12" table="TB_JY_JYJGZBB" />
<f name="YCTS" type="12" table="TB_JY_JYJGZBB" />
<f name="CKZFW" type="12" table="TB_JY_JYJGZBB" />
<f name="SBBM" type="12" table="TB_JY_JYJGZBB" />
<f name="YQBH" type="12" table="TB_JY_JYJGZBB" />
<f name="YQMC" type="12" table="TB_JY_JYJGZBB" />
<f name="JLDW" type="12" table="TB_JY_JYJGZBB" />
<f name="YZID" type="12" table="TB_JY_JYJGZBB" />
<f name="XGBZ" type="12" table="TB_JY_JYJGZBB" />
</fields>
</dao>
<!-- 4.6.1.1医学检查报告表 -->
<!-- <dao id="sjgjybgzbdao" log="true" type="1">
<sql>select YLJGDM,JCBGID,JGID,YNLSH,JZLSH,MJZH,GRBSLX,GRBSH,MZZYBZ,ZYH,HZLXDM,HZXM,
HZXB,HZNL,DHHM,HZKSDM,HZKSMC,HZBQMC,HZBFH,BZBCH,SQDBH,SQJGDM,SQJGMC,SQKSDM,SQKSMC,
SQRQSJ,SQRBH,SQRXM,SQRSFZHM,XYZDDM,XYZDMC,ZDJGDM,ZDJGMC,ZDRQ,HZZS,ZZKSRQSJ,ZZTZRQSJ,
ZZMS,TSJCBZ,CZBM,CZMC,CZBWDM,JRWMC,CZFFMS,CZCS,CZRQSJ,MZFFDM,MZGCJG,MZZXYBSDM,MZYSBH,
MZYSQM,ZLGCMS,BBLB,JCBBH,BBZT,BBGDYMC,JSCYRQSJ,JSBBRQSJ,JCFFMC,JCLB,JCXMDM,JCXMMC,
ZBJGLX,JCXMJG,JYDLJGJLDW,JCJGDM,JCJSBH,JYJSQM,JCYSBH,JCYSQM,JCYSSFZHM,JCRQ,JCBGDBH,
BGJGDM,BGJGMC,BGKSBH,BGKSMC,JCBGJGKGSJ,JCBGJGZGTS,JCBGBZ,BGRQSJ,BGYSBH,BGYSQM,
BGYSSFZHM,SHYSBH,SHYSQM,SHYSSFZHM,JCH,YXH,KDSJ,JYSJ,JCLX,SBBM,YQBM,JCKS,JCKSMC,
JCBW,BWACR,JCMC,YYS,BGLCZD,YXBX,YXZD,BZHJY,SFYYY,JLYSBH,SJJLSJ,DABCJGBM,DABCJGMC,
DABCJGDZ,XGBZ,MJ from TB_JC_YXJCBGB where 1=2</sql>
<tables>
<table name="TB_JC_YXJCBGB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>JCBGID</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBGID" type="12" table="TB_JC_YXJCBGB" />
<f name="JGID" type="12" table="TB_JC_YXJCBGB" />
<f name="YNLSH" type="12" table="TB_JC_YXJCBGB" />
<f name="JZLSH" type="12" table="TB_JC_YXJCBGB" />
<f name="MJZH" type="12" table="TB_JC_YXJCBGB" />
<f name="GRBSLX" type="12" table="TB_JC_YXJCBGB" />
<f name="GRBSH" type="12" table="TB_JC_YXJCBGB" />
<f name="MZZYBZ" type="12" table="TB_JC_YXJCBGB" />
<f name="ZYH" type="12" table="TB_JC_YXJCBGB" />
<f name="HZLXDM" type="-5" table="TB_JC_YXJCBGB" />
<f name="HZXM" type="12" table="TB_JC_YXJCBGB" />
<f name="HZXB" type="12" table="TB_JC_YXJCBGB" />
<f name="HZNL" type="12" table="TB_JC_YXJCBGB" />
<f name="DHHM" type="12" table="TB_JC_YXJCBGB" />
<f name="HZKSDM" type="12" table="TB_JC_YXJCBGB" />
<f name="HZKSMC" type="12" table="TB_JC_YXJCBGB" />
<f name="HZBQMC" type="12" table="TB_JC_YXJCBGB" />
<f name="HZBFH" type="12" table="TB_JC_YXJCBGB" />
<f name="BZBCH" type="12" table="TB_JC_YXJCBGB" />
<f name="SQDBH" type="12" table="TB_JC_YXJCBGB" />
<f name="SQJGDM" type="12" table="TB_JC_YXJCBGB" />
<f name="SQJGMC" type="12" table="TB_JC_YXJCBGB" />
<f name="SQKSDM" type="12" table="TB_JC_YXJCBGB" />
<f name="SQKSMC" type="12" table="TB_JC_YXJCBGB" />
<f name="SQRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="SQRBH" type="12" table="TB_JC_YXJCBGB" />
<f name="SQRXM" type="12" table="TB_JC_YXJCBGB" />
<f name="SQRSFZHM" type="12" table="TB_JC_YXJCBGB" />
<f name="XYZDDM" type="12" table="TB_JC_YXJCBGB" />
<f name="XYZDMC" type="12" table="TB_JC_YXJCBGB" />
<f name="ZDJGDM" type="12" table="TB_JC_YXJCBGB" />
<f name="ZDJGMC" type="12" table="TB_JC_YXJCBGB" />
<f name="ZDRQ" type="93" table="TB_JC_YXJCBGB" />
<f name="HZZS" type="12" table="TB_JC_YXJCBGB" />
<f name="ZZKSRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="ZZTZRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="ZZMS" type="12" table="TB_JC_YXJCBGB" />
<f name="TSJCBZ" type="-5" table="TB_JC_YXJCBGB" />
<f name="CZBM" type="12" table="TB_JC_YXJCBGB" />
<f name="CZMC" type="12" table="TB_JC_YXJCBGB" />
<f name="CZBWDM" type="12" table="TB_JC_YXJCBGB" />
<f name="JRWMC" type="12" table="TB_JC_YXJCBGB" />
<f name="CZFFMS" type="12" table="TB_JC_YXJCBGB" />
<f name="CZCS" type="-5" table="TB_JC_YXJCBGB" />
<f name="CZRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="MZFFDM" type="12" table="TB_JC_YXJCBGB" />
<f name="MZGCJG" type="12" table="TB_JC_YXJCBGB" />
<f name="MZZXYBSDM" type="12" table="TB_JC_YXJCBGB" />
<f name="MZYSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="MZYSQM" type="12" table="TB_JC_YXJCBGB" />
<f name="ZLGCMS" type="12" table="TB_JC_YXJCBGB" />
<f name="BBLB" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBBH" type="12" table="TB_JC_YXJCBGB" />
<f name="BBZT" type="12" table="TB_JC_YXJCBGB" />
<f name="BBGDYMC" type="12" table="TB_JC_YXJCBGB" />
<f name="JSCYRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="JSBBRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="JCFFMC" type="12" table="TB_JC_YXJCBGB" />
<f name="JCLB" type="12" table="TB_JC_YXJCBGB" />
<f name="JCXMDM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCXMMC" type="12" table="TB_JC_YXJCBGB" />
<f name="ZBJGLX" type="-5" table="TB_JC_YXJCBGB" />
<f name="JCXMJG" type="12" table="TB_JC_YXJCBGB" />
<f name="JYDLJGJLDW" type="12" table="TB_JC_YXJCBGB" />
<f name="JCJGDM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCJSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="JYJSQM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCYSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="JCYSQM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCYSSFZHM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCRQ" type="93" table="TB_JC_YXJCBGB" />
<f name="JCBGDBH" type="12" table="TB_JC_YXJCBGB" />
<f name="BGJGDM" type="12" table="TB_JC_YXJCBGB" />
<f name="BGJGMC" type="12" table="TB_JC_YXJCBGB" />
<f name="BGKSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="BGKSMC" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBGJGKGSJ" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBGJGZGTS" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBGBZ" type="12" table="TB_JC_YXJCBGB" />
<f name="BGRQSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="BGYSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="BGYSQM" type="12" table="TB_JC_YXJCBGB" />
<f name="BGYSSFZH" type="12" table="TB_JC_YXJCBGB" />
<f name="SHYSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="SHYSQM" type="12" table="TB_JC_YXJCBGB" />
<f name="SHYSSFZHM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCH" type="12" table="TB_JC_YXJCBGB" />
<f name="YXH" type="12" table="TB_JC_YXJCBGB" />
<f name="KDSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="JYSJ" type="93" table="TB_JC_YXJCBGB" />
<f name="JCLX" type="12" table="TB_JC_YXJCBGB" />
<f name="SBBM" type="12" table="TB_JC_YXJCBGB" />
<f name="YQBM" type="12" table="TB_JC_YXJCBGB" />
<f name="JCKS" type="12" table="TB_JC_YXJCBGB" />
<f name="JCKSMC" type="12" table="TB_JC_YXJCBGB" />
<f name="JCBW" type="12" table="TB_JC_YXJCBGB" />
<f name="BWACR" type="12" table="TB_JC_YXJCBGB" />
<f name="JCMC" type="12" table="TB_JC_YXJCBGB" />
<f name="YYS" type="12" table="TB_JC_YXJCBGB" />
<f name="BGLCZD" type="12" table="TB_JC_YXJCBGB" />
<f name="YXBX" type="12" table="TB_JC_YXJCBGB" />
<f name="YXZD" type="12" table="TB_JC_YXJCBGB" />
<f name="BZHJY" type="12" table="TB_JC_YXJCBGB" />
<f name="SFYYY" type="12" table="TB_JC_YXJCBGB" />
<f name="JLYSBH" type="12" table="TB_JC_YXJCBGB" />
<f name="SJJLSJ" type="93D" table="TB_JC_YXJCBGB" />
<f name="DABCJGBM" type="12" table="TB_JC_YXJCBGB" />
<f name="DABCJGMC" type="12" table="TB_JC_YXJCBGB" />
<f name="DABCJGDZ" type="12" table="TB_JC_YXJCBGB" />
<f name="XGBZ" type="12" table="TB_JC_YXJCBGB" />
<f name="MJ" type="12" table="TB_JC_YXJCBGB" />
</fields>
</dao> -->
<!-- 4.7.1.1手术记录表 -->
<dao id="ssjlbdao" log="true" type="1">
<sql>select SSID,YLJGDM,JGID,YNLSH,MZZYBZ,JZLSH,GRBSLX,GRBSH,SQRYBH,SQRYXM,DJRYBH,
DJRYXM,SQKSDM,SQKSMC,SSKS,SSKSMC,SQYSBH,SQYSXM,SQYSSFZHM,SSYSBH,SSYSXM,SSYSSFZHM,
SSMC,SSCZMBBW,SSYYRQ,SSSQRQ,MZSSBZ,RJSSBZ,XGBZ from TB_SS_SSJLB where 1=2</sql>
<tables>
<table name="TB_SS_SSJLB" insert="true" update="true" delete="true">
<primary>SSID</primary>
<primary>YLJGDM</primary>
</table>
</tables>
<fields>
<f name="SSID" type="12" table="TB_SS_SSJLB" />
<f name="YLJGDM" type="12" table="TB_SS_SSJLB" />
<f name="JGID" type="12" table="TB_SS_SSJLB" />
<f name="YNLSH" type="12" table="TB_SS_SSJLB" />
<f name="MZZYBZ" type="12" table="TB_SS_SSJLB" />
<f name="JZLSH" type="12" table="TB_SS_SSJLB" />
<f name="GRBSLX" type="12" table="TB_SS_SSJLB" />
<f name="GRBSH" type="12" table="TB_SS_SSJLB" />
<f name="SQRYBH" type="12" table="TB_SS_SSJLB" />
<f name="SQRYXM" type="12" table="TB_SS_SSJLB" />
<f name="DJRYBH" type="12" table="TB_SS_SSJLB" />
<f name="DJRYXM" type="12" table="TB_SS_SSJLB" />
<f name="SQKSDM" type="12" table="TB_SS_SSJLB" />
<f name="SQKSMC" type="12" table="TB_SS_SSJLB" />
<f name="SSKS" type="12" table="TB_SS_SSJLB" />
<f name="SSKSMC" type="12" table="TB_SS_SSJLB" />
<f name="SQYSBH" type="12" table="TB_SS_SSJLB" />
<f name="SQYSXM" type="12" table="TB_SS_SSJLB" />
<f name="SQYSSFZHM" type="12" table="TB_SS_SSJLB" />
<f name="SSYSBH" type="12" table="TB_SS_SSJLB" />
<f name="SSYSXM" type="12" table="TB_SS_SSJLB" />
<f name="SSYSSFZHM" type="12" table="TB_SS_SSJLB" />
<f name="SSMC" type="12" table="TB_SS_SSJLB" />
<f name="SSCZMBBW" type="12" table="TB_SS_SSJLB" />
<f name="SSYYRQ" type="93" table="TB_SS_SSJLB" />
<f name="SSSQRQ" type="93" table="TB_SS_SSJLB" />
<f name="MZSSBZ" type="12" table="TB_SS_SSJLB" />
<f name="RJSSBZ" type="12" table="TB_SS_SSJLB" />
<f name="XGBZ" type="12" table="TB_SS_SSJLB" />
</fields>
</dao>
<!-- 4.7.1.2手术明细表-->
<dao id="ssmxbdao" log="true" type="1">
<sql>select YLJGDM,SSMXLSH,YNLSH,SSID,JZLSH,GRBSLX,GRBSH,MZZYBZ,RJSSBZ,SSLX,SSCZDM,
SSCZMC,SSQZD,SSHZD,SSKSSJ,SSJSSJ,SSJB,SSYSBH,SSYSXM,SSYSSFZHM,SSYSZ1BH,SSYSZ1XM,
SSYSZ2BH,SSYSZ2XM,SSHS,MZYSBH,MZYSSFZH,MZYSXM,MZFF,MZFS,MZFJDM,SSCZBWDM,SSCZBW,
SSHZLX,QKYHDJ,MJ,XGBZ from TB_SS_SSMXB where 1=2</sql>
<tables>
<table name="TB_SS_SSMXB" insert="true" update="true" delete="true">
<primary>YLJGDM</primary>
<primary>SSMXLSH</primary>
</table>
</tables>
<fields>
<f name="YLJGDM" type="12" table="TB_SS_SSMXB" />
<f name="SSMXLSH" type="12" table="TB_SS_SSMXB" />
<f name="YNLSH" type="12" table="TB_SS_SSMXB" />
<f name="SSID" type="12" table="TB_SS_SSMXB" />
<f name="JZLSH" type="12" table="TB_SS_SSMXB" />
<f name="GRBSLX" type="12" table="TB_SS_SSMXB" />
<f name="GRBSH" type="12" table="TB_SS_SSMXB" />
<f name="MZZYBZ" type="12" table="TB_SS_SSMXB" />
<f name="RJSSBZ" type="12" table="TB_SS_SSMXB" />
<f name="SSLX" type="12" table="TB_SS_SSMXB" />
<f name="SSCZDM" type="12" table="TB_SS_SSMXB" />
<f name="SSCZMC" type="12" table="TB_SS_SSMXB" />
<f name="SSQZD" type="12" table="TB_SS_SSMXB" />
<f name="SSHZD" type="12" table="TB_SS_SSMXB" />
<f name="SSKSSJ" type="93" table="TB_SS_SSMXB" />
<f name="SSJSSJ" type="93" table="TB_SS_SSMXB" />
<f name="SSJB" type="12" table="TB_SS_SSMXB" />
<f name="SSYSBH" type="12" table="TB_SS_SSMXB" />
<f name="SSYSXM" type="12" table="TB_SS_SSMXB" />
<f name="SSYSSFZHM" type="12" table="TB_SS_SSMXB" />
<f name="SSYSZ1BH" type="12" table="TB_SS_SSMXB" />
<f name="SSYSZ1XM" type="12" table="TB_SS_SSMXB" />
<f name="SSYSZ2BH" type="12" table="TB_SS_SSMXB" />
<f name="SSYSZ2XM" type="12" table="TB_SS_SSMXB" />
<f name="SSHS" type="12" table="TB_SS_SSMXB" />
<f name="MZYSBH" type="12" table="TB_SS_SSMXB" />
<f name="MZYSSFZH" type="12" table="TB_SS_SSMXB" />
<f name="MZYSXM" type="12" table="TB_SS_SSMXB" />
<f name="MZFF" type="12" table="TB_SS_SSMXB" />
<f name="MZFS" type="12" table="TB_SS_SSMXB" />
<f name="MZFJDM" type="12" table="TB_SS_SSMXB" />
<f name="SSCZBWDM" type="12" table="TB_SS_SSMXB" />
<f name="SSCZBW" type="12" table="TB_SS_SSMXB" />
<f name="SSHZLX" type="12" table="TB_SS_SSMXB" />
<f name="QKYHDJ" type="12" table="TB_SS_SSMXB" />
<f name="MJ" type="12" table="TB_SS_SSMXB" />
<f name="XGBZ" type="12" table="TB_SS_SSMXB" />
</fields>
</dao>
</datasource>