简体   繁体   English

将HL7 RIM转换为SQL表结构

[英]Convert HL7 RIM to SQL Table Structure

Am I looking at this RIM thing wrong? 我看这个RIM事情不对吗? Does anyone know where I can find the HL7 RIM model as a sql table structure? 有谁知道在哪里可以找到HL7 RIM模型作为sql表结构? I've looked through all the files in http://www.hl7.org/implement/standards/rim.cfm and cannot find one that would easily lend itself. 我已经浏览了http://www.hl7.org/implement/standards/rim.cfm中的所有文件,但找不到容易借用的文件。 It seems like this should be easy? 看来这应该容易吗?

There is no such thing and this is for purpose. 没有这样的事情,这是有目的的。 By trying to convert RIM to the database you may end up significantly de-normalizing your initial structure. 通过尝试将RIM转换为数据库,您可能最终会严重破坏初始结构的规范化。 You may look at openEHR (and HL7 FHIR) instead. 您可以改为查看openEHR(和HL7 FHIR)。

(You may find "Unofficial Developer's Guide to HL7v3 Basics" helpful to understand the RIM. The book is available at - hl7basics.shamilpublishing.com) (您可能会发现“ HL7v3基础非官方开发人员指南”对理解RIM有所帮助。该书位于-hl7basics.shamilpublishing.com)

RIM based content is typically encoded as XML documents. 基于RIM的内容通常被编码为XML文档。 Rather than trying to shred it out into a normalized relational schema you may get better results by storing the whole XML document in a single database field and then query it using XQuery. 与其尝试将其分解为规范化的关系模式,不如将整个XML文档存储在单个数据库字段中,然后使用XQuery查询它,可以获得更好的结果。 All the major commercial relational databases have pretty good support for this now. 现在,所有主要的商业关系数据库都对此提供了很好的支持。

HL7 v3 RIM is the base model for all v3 standards, is not a persistence model. HL7 v3 RIM是所有v3标准的基本模型,不是持久性模型。 HL7 v3 is a family of standards, including messaging and clinical document specification for different domains. HL7 v3是一系列标准,包括针对不同领域的消息传递和临床文档规范。

Of course you can represent the HL7 RIM in a SQL schema, since a mapping can be done, but is not the purpose of the HL7. 当然,您可以在SQL模式中表示HL7 RIM,因为可以完成映射,但这并不是HL7的目的。

If you need to create a clinical data repository, start with your requirements, design a schema, then map RIM into your schema, but don't use the RIM as your database schema. 如果需要创建临床数据存储库,请从需求开始,设计架构,然后将RIM映射到您的架构中,但不要将RIM用作数据库架构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM