tollitem.sql

来自「十分好的一个医院管理系统」· SQL 代码 · 共 20 行

SQL
20
字号
create table tollitem(
hoscode char(4) not null,				//医院编码
code char(16) not null,					//收费项目编码
itemname char(60) not null,			//收费项目名称
itemtype char(10) not null,			//收费类型
pycode char(10) null,					//五笔码
wbcode char(10) null,					//拼音码
dosis char(10) null,						//剂型
foreigncode char(20) null,				//外文名
packetunit char(4) null,				//包装单位
packetspec char(16) null,				//包装规格
bulkunit char(4) not null,				//散装单位
bulkspec char(16) null,					//散装规格
convertp numeric(5,0) not null,		//转换率(在医院信息系统中用于药库管理,在这里作为药品与医技的区分标志).  0-药品,-1-医技
saleprice numeric(10,4) not null,	//零售价
mcflag tinyint not null,				//医保统筹标志
mcselfpay numeric(10,2) not null,	//医保统筹参数
effectflag tinyint not null,			//有效标志  1 ---- 可以使用 0 ----不可以使用
updateflag tinyint not null,			//下载标志  1----允许下栽  0  ----不允许下栽
constraint p_tollitem primary key nonclustered (hoscode,code) on 'default');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?