RIS与HIS数据导入方法-20120105.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
RIS与HIS数据导入方法-20120105

一般使用 Aqua Data Studio工具,点击对应的表,右键工具——export导出数据——,图如下: 保存生csv文件,使用excel打开,然后使用拷贝粘贴到相关表中。 每条sql生成的都是一个表的数据,如果数据太多可以分开提交。 保存后要修改相关数据库序列号。 RIS/UIS/EIS M_MODALITY_TYPE_TBL 使用SQL SELECT cast([code] as int) as MODALITY_TYPE_LID, [name] as MODALITY_TYPE_NAME, null AS MODALITY_DESC, null MODALITY_MEMO, 0 DELETE_FLAG, [code] as TYPE_CODE FROM [dbo].[jc_zd_exam_type] --WHERE [code] IN ( ) 括号内添加放射科需要检查类型的code ORDER BY MODALITY_TYPE_LID asc 执行时可以使用WHERE MODALITY_TYPE_LID STUDY_ITEM_TBL 使用SQl: SELECT cast(([type_code]+[sub_code]) as varchar) as STUDY_ITEM_LID, --该项为主键,可以在excel中修改该值,不重复即可。 cast([type_code] as int) as MODALITY_TYPE_LID, [name] as BODY_PART, [name] as STUDY_ITEM_NAME, null as SHORT_CODE, null as EXAM_BW, null as UPDATE_USER_ID, null as UPDATE_DATE, [sub_code] as TYPE_CODE FROM [dbo].[jc_zd_exam_sub_type] -- WHERE [type_code] IN ( ) 括号内添加放射科需要检查类型的code ORDER BY STUDY_ITEM_LID asc M_DEPARTMENT_INFO_TBL SELECT [unit_sn] as DEPT_LID, [name] as DEPT_NAME, null DEPT_NAME_EN, [code] as DEPT_ID, null as PARENT_DEPT_LID, null as RADIATION_DEPT_FLAG, null as DEPT_LEADER_NAME, null as DEPT_PHONE, null as DEPT_DESC, 0 as DELETE_FLAG, null as UPDATE_USER_ID, null as UPDATETIME, [code] as TYPE_CODE, 0 as DEPT_IF_FLAG FROM [dbo].[zd_unit_code] PRICE_ITEM_TBL SELECT 1 AS PRICE_ITEM_LID , P AS ITEM_CLASS, i.[name] AS PRICE_ITEM_NAME, charge_unit AS UNITS, charge_price AS PRICE, 1 AS FEE_TYPE_MASK, C.[name] AS PRICE_TYPE, NULL AS START_DATE, NULL AS STOP_DATE , NULL AS SHORT_CODE, NULL AS ITEM_XW , admin AS UPDATE_USER_ID, NULL AS UPDATE_TIME, i.code AS CHARGE_CODE, NULL AS PRICE_ITEM_ID FROM [dbo].[zd_charge_item] AS i INNER JOIN [dbo].[zd_charge_class] AS C ON i.charge

您可能关注的文档

文档评论(0)

yan698698 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档