[go: up one dir, main page]

CN114664398B - A medical database system - Google Patents

A medical database system Download PDF

Info

Publication number
CN114664398B
CN114664398B CN202210192981.9A CN202210192981A CN114664398B CN 114664398 B CN114664398 B CN 114664398B CN 202210192981 A CN202210192981 A CN 202210192981A CN 114664398 B CN114664398 B CN 114664398B
Authority
CN
China
Prior art keywords
database
module
partition
data
public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210192981.9A
Other languages
Chinese (zh)
Other versions
CN114664398A (en
Inventor
吴霜
张志遵
朱瑞星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shenzhi Information Technology Co ltd
Original Assignee
Shanghai Shenzhi Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shenzhi Information Technology Co ltd filed Critical Shanghai Shenzhi Information Technology Co ltd
Priority to CN202210192981.9A priority Critical patent/CN114664398B/en
Publication of CN114664398A publication Critical patent/CN114664398A/en
Application granted granted Critical
Publication of CN114664398B publication Critical patent/CN114664398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of database systems, in particular to a medical database system, which comprises: the public database is used for storing personal information of patients; the operation end is connected with the public database, and a plurality of pre-generated script programs are pre-stored in the operation end; the operation end responds to an external access instruction, and calls the script program corresponding to the access instruction according to the access instruction to operate the personal information in the public database. The invention has the beneficial effects that: by adding the script program for operating the data in the operation end, the integrated process of data operation is realized, the problem of low efficiency in operating the database through the middleware in the prior art is avoided, higher operation efficiency is realized, and the pressure of the rear end is further reduced.

Description

一种医疗数据库系统A medical database system

技术领域Technical Field

本发明涉及数据库系统技术领域,具体涉及一种医疗数据库系统。The present invention relates to the technical field of database systems, and in particular to a medical database system.

背景技术Background Art

数据库,指一种按照数据结构来组织、存储和管理数据的计算机程序。是一个长期存储在计算机内的、有组织的、可共享的、统一管理的大量数据的集合。数字化医疗,指基于计算机技术、信息技术应用于医疗过程的现代化医疗方式。为实现较好的数字化医疗的效果,需要对数字化医疗过程中产生的大量数据进行整合、分析、处理,以符合医生进行诊疗的需要。Database refers to a computer program that organizes, stores and manages data according to data structure. It is a collection of large amounts of data that is stored in a computer for a long time, organized, shareable and uniformly managed. Digital medicine refers to a modern medical method based on computer technology and information technology applied to the medical process. In order to achieve better digital medical results, it is necessary to integrate, analyze and process the large amount of data generated in the digital medical process to meet the needs of doctors for diagnosis and treatment.

现有技术中,已存在有将数据库技术应用于医疗系统中的相关技术。比如,基于NOsql实现的医疗数据库系统,其通常是部署在院内系统中与医疗信息相结合,建立医疗信息之间的关系映射、设计表结构和主子表的查询工具。最终建立起针对患者的个人归档数据库,从而实现对诊疗过程中产生的数据进行收集,并为数字化医疗提供数据支持。In the prior art, there are related technologies that apply database technology to medical systems. For example, a medical database system based on NOSQL is usually deployed in the hospital system and combined with medical information to establish relationship mapping between medical information, design table structure and query tools for master and sub-tables. Finally, a personal archive database for patients is established, so as to collect data generated during the diagnosis and treatment process and provide data support for digital medicine.

但是,在实际实施过程中,发明人发现,基于现有技术实现的数据库系统,由于在医疗场景中表的数量较多,数据量较大,因此需要依赖于中间件对数据库进行操作,以降低硬件资源的消耗。这导致了数据库系统整体在处理过程中的管理效率较低,操作过程较为繁琐。However, in the actual implementation process, the inventors found that the database system implemented based on the existing technology needs to rely on middleware to operate the database in order to reduce the consumption of hardware resources due to the large number of tables and large amount of data in the medical scenario. This leads to low management efficiency of the database system as a whole during the processing process and a cumbersome operation process.

发明内容Summary of the invention

针对现有技术中存在的上述问题,现提供一种医疗数据库系统。In view of the above problems existing in the prior art, a medical database system is now provided.

具体技术方案如下:The specific technical solutions are as follows:

一种医疗数据库系统,包括:A medical database system, comprising:

公共数据库,所述公共数据库中存储有患者的个人信息;A public database storing personal information of patients;

操作端,所述操作端连接所述公共数据库,所述操作端中预先存储有多个预先生成的脚本程序;An operation terminal, the operation terminal is connected to the public database, and a plurality of pre-generated script programs are pre-stored in the operation terminal;

所述操作端响应一外部的访问指令,并根据所述访问指令调用对应于所述访问指令的所述脚本程序对所述公共数据库中的所述个人信息进行操作。The operating end responds to an external access instruction and calls the script program corresponding to the access instruction according to the access instruction to operate the personal information in the public database.

优选地,所述医疗数据库系统还包括:Preferably, the medical database system further includes:

多个分区数据库,所述分区数据库分别连接至所述公共数据库;A plurality of partition databases, each of which is connected to the public database;

所述分区数据库中分别存储有对应于所述患者的不同的诊断数据;Different diagnostic data corresponding to the patients are respectively stored in the partition databases;

所述脚本程序根据所述个人信息自所述分区数据库中获取所述诊断数据。The script program obtains the diagnostic data from the partition database according to the personal information.

优选地,所述操作端包括一脚本生成模块;Preferably, the operation terminal includes a script generation module;

所述脚本生成模块获取所述分区数据库中的字段,并根据所述字段和所述访问指令生成对应的所述脚本程序。The script generation module obtains the fields in the partition database, and generates the corresponding script program according to the fields and the access instructions.

优选地,所述公共数据库包括:Preferably, the public database includes:

信息存储模块,所述信息存储模块中存储有所述患者的所述个人信息An information storage module storing the patient's personal information

患者检索模块,所述患者检索模块连接所述信息存储模块,所述患者检索模块响应所述访问指令,自所述信息存储模块中获取所述个人信息,并将所述个人信息返回至所述操作端。A patient search module is connected to the information storage module. The patient search module responds to the access instruction, obtains the personal information from the information storage module, and returns the personal information to the operation end.

优选地,所述公共数据库还包括:Preferably, the public database further includes:

信息推送模块,所述信息推送模块连接所述患者检索模块和所述分区数据库,所述信息推送模块向所述分区数据库推送所述个人信息;An information push module, the information push module is connected to the patient search module and the partition database, and the information push module pushes the personal information to the partition database;

所述分区数据库包括:The partition database includes:

数据存储模块,所述数据存储模块中存储有所述诊断数据;A data storage module, wherein the diagnostic data is stored in the data storage module;

数据读取模块,所述数据读取模块连接所述信息推送模块,所述数据读取模块根据所述个人信息获取所述诊断数据。A data reading module, wherein the data reading module is connected to the information pushing module, and the data reading module obtains the diagnostic data according to the personal information.

优选地,所述公共数据库还包括:Preferably, the public database further includes:

视图生成模块,所述视图生成模块根据所述个人信息生成公共信息视图;A view generation module, wherein the view generation module generates a public information view according to the personal information;

所述分区数据库包括:The partition database includes:

定位模块,所述定位模块接收自所述公共数据库发出的所述公共信息视图;a positioning module, the positioning module receiving the public information view sent from the public database;

所述定位模块根据所述公共信息视图向所述公共数据库返回对应于所述个人信息的所述诊断数据。The positioning module returns the diagnostic data corresponding to the personal information to the public database according to the public information view.

优选地,所述分区数据库还包括:Preferably, the partition database further includes:

数据描述模块,所述数据描述模块连接所述数据存储模块;A data description module, the data description module is connected to the data storage module;

所述数据描述模块获取所述数据存储模块中的所述诊断数据,所述数据描述模块根据所述诊断数据生成对应于所述分区数据库的分区视图;The data description module acquires the diagnostic data in the data storage module, and the data description module generates a partition view corresponding to the partition database according to the diagnostic data;

则所述公共数据库还包括:Then the public database also includes:

视图获取模块,所述视图获取模块连接所述分区数据库的数据描述模块;A view acquisition module, wherein the view acquisition module is connected to a data description module of the partition database;

所述视图获取模块获取所述分区视图并将所述分区视图返回至所述操作端。The view acquisition module acquires the partition view and returns the partition view to the operation end.

优选地,所述医疗数据库系统还包括一数据库构建端;Preferably, the medical database system further comprises a database construction end;

所述数据库构建端连接一院内系统,所述院内系统中设置有多个科室采集端,所述科室采集端用于采集对应于所述患者的所述诊断数据;The database construction end is connected to an in-hospital system, and the in-hospital system is provided with a plurality of department collection ends, and the department collection ends are used to collect the diagnostic data corresponding to the patient;

所述数据库构建端响应一外部的构建指令以获取所述诊断数据;The database construction end responds to an external construction instruction to obtain the diagnostic data;

所述数据库构建端根据所述诊断数据的类型生成所述分区数据库。The database construction end generates the partition database according to the type of the diagnostic data.

上述技术方案具有如下优点或有益效果:通过在操作端中添加对数据进行操作的脚本程序,实现了数据操作的一体化过程,避免了现有技术中通过中间件对数据库进行操作,效率较低的问题,实现了更高的操作效率,进而降低了后端的压力。The above technical solution has the following advantages or beneficial effects: by adding a script program to operate data in the operation end, an integrated process of data operation is realized, avoiding the low efficiency problem of operating the database through middleware in the prior art, achieving higher operating efficiency, and thus reducing the pressure on the back end.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

参考所附附图,以更加充分的描述本发明的实施例。然而,所附附图仅用于说明和阐述,并不构成对本发明范围的限制。The embodiments of the present invention will be described more fully with reference to the attached drawings, which are provided for illustration and description only and are not intended to limit the scope of the present invention.

图1为本发明实施例的整体示意图;FIG1 is an overall schematic diagram of an embodiment of the present invention;

图2为本发明实施例中公共数据库2与分区数据库3A交互示意图;FIG2 is a schematic diagram of the interaction between the public database 2 and the partition database 3A in an embodiment of the present invention;

图3为本发明另一实施例中公共数据库2与分区数据库3A交互示意图;FIG3 is a schematic diagram of the interaction between the public database 2 and the partition database 3A in another embodiment of the present invention;

图4为本发明实施例中数据库构建端示意图。FIG. 4 is a schematic diagram of a database construction end in an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but they are not intended to limit the present invention.

本发明包括:The present invention comprises:

一种医疗数据库系统,包括:A medical database system, comprising:

公共数据库2,公共数据库2中存储有患者的个人信息;Public database 2, in which the patient's personal information is stored;

操作端1,操作端连接公共数据库2,操作端1中预先存储有多个预先生成的脚本程序;An operation terminal 1, the operation terminal is connected to a public database 2, and a plurality of pre-generated script programs are pre-stored in the operation terminal 1;

操作端1响应一外部的访问指令,并根据访问指令调用对应于访问指令的脚本程序对公共数据库2中的个人信息进行操作。The operating terminal 1 responds to an external access instruction and calls a script program corresponding to the access instruction to operate the personal information in the public database 2 according to the access instruction.

具体地,针对现有技术中依赖中间件对数据库进行操作效率较为低下的问题,本实施例中通过预先在操作端中编写并存储有用于对数据库进行操作的脚本程序,实现了较为简便的对数据库进行操作的过程。Specifically, in order to solve the problem of low efficiency in operating the database by relying on middleware in the prior art, this embodiment implements a simpler process of operating the database by pre-writing and storing a script program for operating the database in the operation terminal.

在实施过程中,公共数据库为基于现有技术实现的一独立数据库或数据库分区,其用于存储患者的个人信息,包括姓名、编号、性别、年龄等。操作端1体现为数据库系统中的前端部分,其通过可视化界面或命令行界面接收自外部输入的访问指令。该访问指令为类SQL语句,比如insert、drop、update,通过该语句调用相关的脚本程序对后端的数据库进行增删改查等操作,避免了通过中间件对数据库进行操作的繁琐。In the implementation process, the public database is an independent database or database partition implemented based on the existing technology, which is used to store the patient's personal information, including name, number, gender, age, etc. The operation terminal 1 is embodied as the front-end part of the database system, which receives access instructions from external input through a visual interface or a command line interface. The access instruction is a SQL-like statement, such as insert, drop, update, which calls the relevant script program to perform operations such as adding, deleting, modifying, and checking the back-end database, avoiding the tediousness of operating the database through the middleware.

在一种较优的实施例中,医疗数据库系统还包括:In a preferred embodiment, the medical database system further includes:

多个分区数据库3A、3B、3C,分区数据库3A、3B、3C分别连接至公共数据库;A plurality of partition databases 3A, 3B, 3C, wherein the partition databases 3A, 3B, 3C are respectively connected to a public database;

分区数据库3A、3B、3C中分别存储有对应于患者的不同的诊断数据;Different diagnostic data corresponding to the patients are stored in the partition databases 3A, 3B, and 3C respectively;

脚本程序根据个人信息自分区数据库3A、3B、3C中获取诊断数据。The script program obtains diagnostic data from the partitioned databases 3A, 3B, 3C based on the personal information.

具体地,针对现有技术中的数据库系统不能很好地应对大量数据的问题,本实施例中,通过设置多个分区数据库3A、3B、3C以分别存储不同的诊断数据,进而提高了医疗数据库系统中针对大量数据的读写效率。Specifically, in view of the problem that the database system in the prior art cannot cope well with large amounts of data, in this embodiment, multiple partitioned databases 3A, 3B, and 3C are set up to respectively store different diagnostic data, thereby improving the reading and writing efficiency of large amounts of data in the medical database system.

在实施过程中,分区数据库3A、3B、3C为多个数据库或一个独立数据库中的分区,其根据预设的存储规则存储不同的诊断数据。比如,在一种实施例中,分区数据库包括有:MRI数据库、CT数据库、超声数据库,用于分别存储不同类型的影像数据,以实现对不同类型数据的优化存储,进而提升每个分区数据库的读写效率。或者,在另一个实施例中,分区数据库根据科室进行设置,比如骨科医疗数据库、循环科医疗数据库、上呼吸科医疗数据库等,以实现根据患者的不同的诊疗需求对治疗过程中产生的相关检查和诊断数据的集中存储,便于脚本程序采用个人信息对某一次就诊产生的数据进行调阅。脚本程序为预先生成于操作端1中的脚本程序,其根据分区数据库3A、3B、3C的不同设置有相关的指令,比如采用个人信息获取某个数据库中某个特定字段或数据范围内的数据,以实现数据库操作过程。During the implementation process, the partition databases 3A, 3B, and 3C are partitions in multiple databases or an independent database, which store different diagnostic data according to preset storage rules. For example, in one embodiment, the partition database includes: an MRI database, a CT database, and an ultrasound database, which are used to store different types of image data respectively, so as to achieve optimized storage of different types of data, thereby improving the read and write efficiency of each partition database. Or, in another embodiment, the partition database is set according to the department, such as an orthopedic medical database, a circulatory medical database, an upper respiratory medical database, etc., to achieve centralized storage of relevant inspection and diagnostic data generated during the treatment process according to the different diagnosis and treatment needs of the patient, so that the script program uses personal information to access the data generated by a certain visit. The script program is a script program pre-generated in the operating terminal 1, which has relevant instructions according to the different settings of the partition databases 3A, 3B, and 3C, such as using personal information to obtain data in a specific field or data range in a database to implement the database operation process.

在一种较优的实施例中,操作端1包括一脚本生成模块11;In a preferred embodiment, the operating terminal 1 includes a script generating module 11;

脚本生成模块11获取分区数据库中的字段,并根据字段和访问指令生成对应的脚本程序。The script generation module 11 obtains the fields in the partition database and generates corresponding script programs according to the fields and access instructions.

具体地,针对现有技术中的数据库系统通过中间件进行操作,过程较为繁琐、指令冗长的问题,本实施例中通过设置脚本生成模块11,根据分区数据库中的字段和调阅该字段所需的访问指令生成对应的脚本程序,进而使得用户通过相应的脚本程序实现了对数据库系统的简单访问,简化了操作过程。Specifically, in order to solve the problem that the database system in the prior art is operated through middleware, the process is relatively cumbersome and the instructions are lengthy, in this embodiment, a script generation module 11 is set to generate a corresponding script program according to the fields in the partitioned database and the access instructions required to access the fields, so that the user can achieve simple access to the database system through the corresponding script program, thereby simplifying the operation process.

在实施过程中,操作端1采用VUE实现,进而使得脚本程序可以直接对公共数据库2和分区数据库3A、3B、3C进行直接操作。脚本程序基于PostgREST实现,进而使得操作端1可以通过类sql脚本实现对数据库的底层代码进行处理,以实现增删改查的操作。During the implementation process, the operation terminal 1 is implemented using VUE, so that the script program can directly operate the public database 2 and the partition databases 3A, 3B, and 3C. The script program is implemented based on PostgREST, so that the operation terminal 1 can process the underlying code of the database through sql-like scripts to achieve the operations of adding, deleting, modifying, and checking.

在一种较优的实施例中,如图2所示,公共数据库2包括:In a preferred embodiment, as shown in FIG2 , the public database 2 includes:

信息存储模块21,信息存储模块21中存储有患者的个人信息Information storage module 21, which stores the patient's personal information

患者检索模块22,患者检索模块22连接信息存储模块21,患者检索模块22响应访问指令,自信息存储模块21中获取个人信息,并将个人信息返回至操作端1。The patient search module 22 is connected to the information storage module 21 . The patient search module 22 responds to the access instruction, obtains the personal information from the information storage module 21 , and returns the personal information to the operation terminal 1 .

具体地,针对现有技术中医疗数据库中,对大量数据处理效率较低的问题,本实施例中通过设置信息存储模块21和患者检索模块22实现了对个人信息的获取,并返回至操作端,实现了较高的处理效率。Specifically, in order to solve the problem of low efficiency in processing large amounts of data in the medical database in the prior art, in this embodiment, the information storage module 21 and the patient retrieval module 22 are set up to obtain personal information and return it to the operation end, thereby achieving higher processing efficiency.

在一种较优的实施例中,如图2所示,公共数据库2还包括:In a preferred embodiment, as shown in FIG2 , the public database 2 further includes:

信息推送模块23,信息推送模块23连接患者检索模块22和分区数据库3A,信息推送模块23向分区数据库推送个人信息;An information push module 23, the information push module 23 is connected to the patient search module 22 and the partition database 3A, and the information push module 23 pushes personal information to the partition database;

分区数据库3A包括:The partition database 3A includes:

数据存储模块31,数据存储模块31中存储有诊断数据;A data storage module 31, wherein the data storage module 31 stores diagnostic data;

数据读取模块32,数据读取模块32连接信息推送模块23,数据读取模块根据个人信息获取诊断数据。The data reading module 32 is connected to the information pushing module 23 , and the data reading module obtains the diagnostic data according to the personal information.

具体地,针对现有技术中跨数据库查询效率较低的问题,本实施例中通过在公共数据库2中设置信息推送模块23,以及在分区数据库3A中设置数据读取模块32,实现了根据个人信息对诊断数据的抓取,进而提升了查询的效率。Specifically, in order to address the problem of low cross-database query efficiency in the prior art, this embodiment achieves the capture of diagnostic data based on personal information by setting an information push module 23 in the public database 2 and a data reading module 32 in the partitioned database 3A, thereby improving the query efficiency.

在一种较优的实施例中,公共数据库2还包括:In a preferred embodiment, the public database 2 also includes:

视图生成模块24,视图生成模块24根据个人信息生成公共信息视图;A view generation module 24, the view generation module 24 generates a public information view according to the personal information;

分区数据库3A包括:The partition database 3A includes:

定位模块33,定位模块33接收自公共数据库2发出的公共信息视图;A positioning module 33, the positioning module 33 receives the public information view sent from the public database 2;

定位模块33根据公共信息视图向公共数据库2返回对应于个人信息的诊断数据。The positioning module 33 returns the diagnostic data corresponding to the personal information to the public database 2 according to the public information view.

具体地,针对现有技术中跨数据库查询效率较低的问题,本实施例中通过公共数据库2生成公共信息视图并推送给分区数据库3A,进而使得分区数据库3A可根据公共信息视图中的关键字段定位到特定的患者及其诊断数据。Specifically, in order to address the problem of low efficiency of cross-database queries in the prior art, in this embodiment, a public information view is generated through the public database 2 and pushed to the partitioned database 3A, so that the partitioned database 3A can locate specific patients and their diagnostic data based on the key fields in the public information view.

在实施过程中,当分区数据库3A、3B、3C构建完成后,采用sql建立分区数据库3A、3B、3C中的表与索引,进而生成公共信息视图。公共信息视图为基于个人信息生成的虚拟表,其包含有自个人信息及对应于个人信息的诊断数据映射至虚拟表中的查询语句,用于在分区数据库3A、3B、3C中定位相关的诊断数据。In the implementation process, after the partition databases 3A, 3B, and 3C are constructed, SQL is used to establish tables and indexes in the partition databases 3A, 3B, and 3C, thereby generating a public information view. The public information view is a virtual table generated based on personal information, which includes query statements that map personal information and diagnostic data corresponding to the personal information to the virtual table, and is used to locate relevant diagnostic data in the partition databases 3A, 3B, and 3C.

在一种较优的实施例中,如图3所示,分区数据库3A还包括:In a preferred embodiment, as shown in FIG3 , the partition database 3A further includes:

数据描述模块34,数据描述模块34连接数据存储模块31;A data description module 34, the data description module 34 is connected to the data storage module 31;

数据描述模块34获取数据存储模块中的诊断数据,数据描述模块34根据诊断数据生成对应于分区数据库3A的分区视图;The data description module 34 obtains the diagnostic data in the data storage module, and the data description module 34 generates a partition view corresponding to the partition database 3A according to the diagnostic data;

则公共数据库2还包括:The public database 2 also includes:

视图获取模块25,视图获取模块25连接分区数据库3A的数据描述模块34;A view acquisition module 25, the view acquisition module 25 is connected to a data description module 34 of the partition database 3A;

视图获取模块25获取分区视图并将分区视图返回至操作端1。The view acquisition module 25 acquires the partition view and returns the partition view to the operation terminal 1 .

具体地,针对现有技术中,医疗数据库系统跨库查询有时需要开放超级管理员权限,安全性较低的问题,本实施例中,通过设置数据描述模块34生成对应于分区数据库3A中的诊断数据的分区视图,实现了对数据库内的数据的描述,从而在较低的权限等级下实现了查询过程,提高了数据库系统的安全性。Specifically, in view of the problem in the prior art that cross-database queries in medical database systems sometimes require the opening of super administrator privileges and have low security, in this embodiment, a data description module 34 is set to generate a partitioned view corresponding to the diagnostic data in the partitioned database 3A, thereby realizing the description of the data in the database, thereby realizing the query process at a lower authority level, and improving the security of the database system.

在实施过程中,分区视图为基于分区数据库3A建立的表索引,其用于定位分区数据库3A中的诊断数据,进而使得控制端1可以对诊断数据进行调用、增删改查等操作。In the implementation process, the partition view is a table index established based on the partition database 3A, which is used to locate the diagnostic data in the partition database 3A, so that the control terminal 1 can call, add, delete, modify and query the diagnostic data.

在一种较优的实施例中,如图4所示,医疗数据库系统还包括一数据库构建端4;In a preferred embodiment, as shown in FIG4 , the medical database system further includes a database construction terminal 4;

数据库构建端4连接一院内系统5,院内系统5中设置有多个科室采集端6A、6B、6C,科室采集端6A、6B、6C用于采集对应于患者的诊断数据;The database construction terminal 4 is connected to an in-hospital system 5, and a plurality of department collection terminals 6A, 6B, and 6C are provided in the in-hospital system 5. The department collection terminals 6A, 6B, and 6C are used to collect the diagnosis data corresponding to the patient;

数据库构建端5响应一外部的构建指令以获取诊断数据;The database construction terminal 5 responds to an external construction instruction to obtain diagnostic data;

数据库构建端5根据诊断数据的类型生成分区数据库3A、3B、3C。The database construction terminal 5 generates partition databases 3A, 3B, 3C according to the type of diagnostic data.

具体地,针对现有技术中医疗数据库系统效率较为低下的问题,本实施例中通过设置数据库构建端4对院内系统5中可能产生的诊断数据进行建模,以描述不同的科室采集端6A、6B、6C生成的诊断数据。并根据建模结果生成分区数据库3A、3B、3C,从而实现对诊断数据较好的分类效果,提升了数据库系统的管理效率。Specifically, in view of the problem of low efficiency of the medical database system in the prior art, in this embodiment, a database construction terminal 4 is set to model the diagnostic data that may be generated in the hospital system 5 to describe the diagnostic data generated by different department collection terminals 6A, 6B, and 6C. And according to the modeling results, partition databases 3A, 3B, and 3C are generated, thereby achieving a better classification effect on the diagnostic data and improving the management efficiency of the database system.

在实际实施过程中,数据库构建端4采用PowerDesigner实现,其根据连接的院内系统5中实际产生的数据生成相关的数据建模,进而根据建立的模型对院内系统5在运行过程中产生的诊断数据进行描述,以生成不同的分区数据库3A、3B、3C来存放产生的诊断数据。In the actual implementation process, the database construction end 4 is implemented using PowerDesigner, which generates relevant data modeling based on the data actually generated in the connected in-hospital system 5, and then describes the diagnostic data generated by the in-hospital system 5 during operation according to the established model to generate different partitioned databases 3A, 3B, and 3C to store the generated diagnostic data.

作为可选的实施方式,当数据库构建端4生成了分区数据库3A、3B、3C后,根据分区数据库3A、3B、3C中字段的不同可进一步生成对应于每个分区数据库3A、3B、3C中的表的索引,该索引用于描述分区数据库3A、3B、3C中的字段。公共数据库2根据该索引可生成相应的公共信息视图,以实现对分区数据库3A、3B、3C中具体字段的定位。As an optional implementation, after the database construction end 4 generates the partition databases 3A, 3B, 3C, an index corresponding to the table in each partition database 3A, 3B, 3C can be further generated according to the difference in fields in the partition databases 3A, 3B, 3C, and the index is used to describe the fields in the partition databases 3A, 3B, 3C. The public database 2 can generate a corresponding public information view according to the index to locate specific fields in the partition databases 3A, 3B, 3C.

本发明的有益效果在于:通过在操作端中添加对数据进行操作的脚本程序,实现了数据操作的一体化过程,避免了现有技术中通过中间件对数据库进行操作,效率较低的问题,实现了更高的操作效率,进而降低了后端的压力。The beneficial effect of the present invention is that by adding a script program for operating data in the operation terminal, an integrated process of data operation is realized, avoiding the low efficiency problem of operating the database through middleware in the prior art, achieving higher operating efficiency, and thus reducing the pressure on the back end.

以上仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the description and illustrations of the present invention should be included in the protection scope of the present invention.

Claims (3)

1. A medical database system, comprising:
the public database is used for storing personal information of patients;
The operation end is connected with the public database, and a plurality of pre-generated script programs are pre-stored in the operation end;
the operation end responds to an external access instruction and calls the script program corresponding to the access instruction to operate the personal information in the public database according to the access instruction;
The medical database system further comprises:
A plurality of partitioned databases, the partitioned databases being respectively connected to the common database;
The partition database stores therein different diagnostic data corresponding to the patient, respectively;
the script program obtains the diagnosis data from the partition database according to the personal information;
the public database comprises:
The personal information retrieval module of the patient is stored in the information storage module, the patient retrieval module is connected with the information storage module, the patient retrieval module responds to the access instruction, acquires the personal information from the information storage module, and returns the personal information to the operation end;
the public database further includes:
The information pushing module is connected with the patient retrieval module and the partition database and is used for pushing the personal information to the partition database;
the partitioned database includes:
the data storage module is used for storing the diagnosis data;
The data reading module is connected with the information pushing module and acquires the diagnosis data according to the personal information;
the public database further includes:
a view generation module which generates a public information view according to the personal information;
the partitioned database includes:
The positioning module is used for receiving the public information view sent from the public database; the positioning module returns the diagnosis data corresponding to the personal information to the public database according to the public information view;
the partitioned database further includes:
the data description module is connected with the data storage module;
the data description module acquires the diagnosis data in the data storage module, and generates a partition view corresponding to the partition database according to the diagnosis data;
the public database further comprises:
The view acquisition module is connected with the data description module of the partition database;
and the view acquisition module acquires the partition view and returns the partition view to the operation end.
2. The medical database system of claim 1, wherein the operator terminal comprises a script generation module;
and the script generation module acquires the fields in the partition database and generates the corresponding script program according to the fields and the access instruction.
3. The medical database system of claim 1, further comprising a database construction site;
the database construction end is connected with an intra-hospital system, a plurality of department acquisition ends are arranged in the intra-hospital system, and the department acquisition ends are used for acquiring the diagnosis data corresponding to the patient;
the database construction end responds to an external construction instruction to acquire the diagnosis data;
and the database construction end generates the partition database according to the type of the diagnosis data.
CN202210192981.9A 2022-02-28 2022-02-28 A medical database system Active CN114664398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210192981.9A CN114664398B (en) 2022-02-28 2022-02-28 A medical database system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210192981.9A CN114664398B (en) 2022-02-28 2022-02-28 A medical database system

Publications (2)

Publication Number Publication Date
CN114664398A CN114664398A (en) 2022-06-24
CN114664398B true CN114664398B (en) 2024-10-18

Family

ID=82027397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210192981.9A Active CN114664398B (en) 2022-02-28 2022-02-28 A medical database system

Country Status (1)

Country Link
CN (1) CN114664398B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934243A (en) * 2017-03-17 2017-07-07 北京好运到信息科技有限公司 A kind of electronic health record management method and system
CN109784081A (en) * 2019-02-18 2019-05-21 成都卫士通信息产业股份有限公司 A kind of database transparent encryption method, device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990016898A (en) * 1997-08-20 1999-03-15 전주범 Database system for on-demand video subscriber management
US5999941A (en) * 1997-11-25 1999-12-07 Micron Electronics, Inc. Database access using active server pages
AU4971499A (en) * 1998-07-30 2000-02-21 Arcturus Engineering, Inc. Medical diagnostic and treatment information system and method
KR20050121778A (en) * 2004-06-23 2005-12-28 육상수 Method and system for audit and control database system
KR101331452B1 (en) * 2012-03-22 2013-11-21 주식회사 엘지씨엔에스 Method for providing database management and the database management server there of
US10268721B2 (en) * 2013-11-07 2019-04-23 Salesforce.Com, Inc Protected handling of database queries
US10650028B2 (en) * 2017-01-25 2020-05-12 Salesforce.Com, Inc. Relational database instruction validation
US11507571B2 (en) * 2019-04-16 2022-11-22 Snowflake Inc. Materialized views over external tables in database systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934243A (en) * 2017-03-17 2017-07-07 北京好运到信息科技有限公司 A kind of electronic health record management method and system
CN109784081A (en) * 2019-02-18 2019-05-21 成都卫士通信息产业股份有限公司 A kind of database transparent encryption method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114664398A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US8010499B2 (en) Database staging area read-through or forced flush with dirty notification
KR102229010B1 (en) System and method for modelling data
CN109471866B (en) Incremental medical data updating method and system
US20160292358A1 (en) Method for preparing a system for searching databases and system and method for executing queries to a connected data source
CN106933859B (en) Method and device for migrating medical data
CN115563127B (en) Query method and system based on big data medical general retrieval index construction
US20210202111A1 (en) Method of classifying medical records
CN110993116B (en) Diagnosis and treatment data extraction method and device, electronic equipment and storage medium
CN112002384A (en) Method and device for summarizing medical record information, computer equipment and storage medium
Janaswamy et al. Semantic interoperability and data mapping in EHR systems
CN114664398B (en) A medical database system
CN106503457A (en) The integrated technical data introduction method of clinical data based on translational medicine analysis platform
CN112269785B (en) Method and system for dynamically filling field in subject state details in EDC (electronic data communication) system
CN115905259B (en) Pure column type updating method and device supporting row-level concurrency control
Taira et al. PACS database architecture and design
Wiederhold Database technology in health care
CN111414335B (en) Data file searching method and device
Salgado et al. Towards a common framework for clinical trials information systems
US20250174321A1 (en) Techniques for transmitting unstructured data between different systems
GB2573512A (en) Database and associated method
CN119513142B (en) Medical big data ES (ES) wide table generation method and device based on efficient dynamic data configuration
KR101760773B1 (en) Method and apparatus for managing master data of electronic document
Johansson et al. Database and knowledge base integration in decision support systems
WO2006005715A1 (en) System for interrogating heterogeneous databases and method for interrogation
Basit et al. Databases and Registries

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A medical database system

Granted publication date: 20241018

Pledgee: Bank of Tianjin Co.,Ltd. Shanghai Branch

Pledgor: Shanghai Shenzhi Information Technology Co.,Ltd.

Registration number: Y2025310000255