Cross-regional main index authentication method and system for regional electronic health card
By establishing a local database and health data mirroring indexed by resident ID numbers in the electronic health card management system, the problem of low efficiency in electronic health card information retrieval in the existing technology is solved, and the efficiency of cross-regional authentication and sharing is achieved. and data consistency.
Patent Information
- Application Number
- CN202411869227.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The method of constructing a unified index of electronic health card information in the prior art will increase the search burden on the system databases of medical institutions in various places, resulting in inefficient searches.
By establishing a local electronic health card database and a health data mirror of the residential health card with the resident ID number as the indexed, the health data mirror of the local database is retrieved from the local database and the health data mirror of the corresponding household registration place is retrieved to the regional electronic health Card information, reduce the demand for massive data directly.
It reduces the retrieval workload, improves the efficiency of cross-regional authentication and sharing of electronic health card information, and ensures the consistency, accuracy and real-time nature of data.
Smart Images

Figure CN119336775A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic digital data processing, and in particular to a cross-regional master index authentication method and system for a regional electronic health card. Background Art
[0002] With the rapid development of information technology, electronic health cards have been widely used in medical systems across the country as an important tool to improve the efficiency of medical services. Electronic health cards record residents' health information electronically, making medical services more personalized and continuous, and also facilitating the management and query of health information. In actual applications, many residents have the need to seek medical treatment in other places. In order to understand the patient's complete medical records, cross-regional authentication of electronic health cards is required, so as to realize cross-regional sharing of patients' health information.
[0003] In related technologies, in order to realize cross-regional authentication of electronic health cards, it is necessary to integrate the electronic health card information of residents in different regions, and at the same time build a unified index to facilitate medical institutions to call residents' health card information across regions.
[0004] However, the method of constructing a unified index of electronic health card information in related technologies will increase the retrieval burden of system databases of medical institutions in various places, resulting in low retrieval efficiency. Summary of the invention
[0005] The present application provides a cross-regional master index authentication method and system for regional electronic health cards, which are used to achieve rapid authentication and sharing of cross-regional electronic health card information.
[0006] In a first aspect, the present application provides a cross-regional primary index authentication method for a regional electronic health card, which is applied to an electronic health card management system, and the method includes: Obtaining the registered regional electronic health card information of residents from the local electronic health card database, where the regional electronic health card information includes the resident ID card number; Determine the household registration place corresponding to each resident based on the ID card number; Classify the regional electronic health card information according to the household registration place, and obtain multiple regional electronic health card information corresponding to each household registration place; The electronic health card information of multiple regions corresponding to each registered place of residence is formatted, and the health data mirror corresponding to each registered resident in the registered place of residence is obtained, and the health data mirror formats corresponding to different registered places of residence are the same; After detecting a new electronic health card to be authenticated, preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database; If it is detected that the regional electronic health card information corresponding to the new electronic health card does not exist in the local electronic health card database, the corresponding regional electronic health card information will be retrieved from the health data mirror of the corresponding household registration place based on the resident ID number corresponding to the new electronic health card.
[0007] Through the above embodiments, the electronic health card management system uses the resident ID number as an index to establish a local electronic health card database for each medical area (such as province, city, etc.), as well as a health data mirror corresponding to each household registration place. When cross-regional electronic health card information authentication and sharing is performed, the search is performed from the local electronic health card database or the health data mirror corresponding to the user's household registration place, and the electronic health card information of all medical areas is no longer directly queried, which reduces the search workload and improves the efficiency of cross-regional authentication and sharing of electronic health card information.
[0008] In some embodiments, after detecting a new electronic health card to be authenticated, the step of preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database specifically includes: After detecting a new electronic health card to be authenticated, retrieve the first region electronic health card information and the second region electronic health card information from the local electronic health card database and the corresponding health data mirror respectively according to the resident identity card number corresponding to the new electronic health card; Determine whether the first-region electronic health card information is consistent with the second-region electronic health card information; If they are consistent, the first regional electronic health card information is determined as the regional electronic health card information corresponding to the new electronic health card; If there is inconsistency, the regional electronic health card information containing the latest medical records will be determined as the regional electronic health card information corresponding to the new electronic health card.
[0009] Through the above embodiments, the electronic health card management system ensures the consistency and accuracy of information by comparing the information in the local database and the health data mirror. When the information is inconsistent, the system can select the data containing the latest medical records to ensure the real-time and accuracy of the electronic health card information.
[0010] In some embodiments, after the step of retrieving the corresponding regional electronic health card information from the health data mirror of the corresponding household registration place according to the resident ID number corresponding to the new electronic health card if it is detected that the regional electronic health card information corresponding to the new electronic health card does not exist in the local electronic health card database, the method further includes: Check whether there is any modification record of the electronic health card information in the area; If there is no modification record, the electronic health card information of the area is temporarily stored according to the preset storage period; If there is a modification record, the local electronic health card database and the health data mirror of the corresponding registered place of residence will be updated synchronously.
[0011] Through the above embodiment, after the electronic health card management system retrieves the regional electronic health card information, it detects whether there is a modification record of the information. Temporary storage is adopted for the unmodified information to avoid data redundancy; and for the modified information, the local and cloud data are updated synchronously in time to ensure the consistency of cross-regional data.
[0012] In some embodiments, after the step of synchronously updating the local electronic health card database and the health data mirror of the corresponding household registration place if there is a modification record, it also includes: Filter the electronic health card information of the target area that has not been retrieved within the preset time period; Delete the target area's electronic health card information from the local electronic health card database.
[0013] Through the above embodiment, after synchronously updating the electronic health card information locally and in the cloud, the electronic health card management system screens the electronic health card information of the target area that has not been called within a certain period of time and deletes it from the local database, thereby effectively controlling the amount of data in the local database and improving retrieval and storage efficiency.
[0014] In some embodiments, before the step of preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database after detecting the new electronic health card to be authenticated, the method further includes: Receive a request from a resident for information on a regional electronic health card, which includes the resident ID number; Based on the call request, the regional electronic health card information is retrieved from the health data mirror corresponding to the resident’s registered residence and stored in the local electronic health card database.
[0015] Through the above embodiments, residents can send a request containing their ID number to allow the electronic health card management system to retrieve the regional electronic health card information from the health data mirror of the corresponding place of household registration to the local database. This allows residents to retrieve electronic health card information in other places in advance according to their own medical needs, and medical institutions can directly obtain it locally during authentication, eliminating the need to call from the cloud, and improving the speed of information authentication and sharing.
[0016] In some embodiments, before the step of obtaining the regional electronic health card information of residents registered from the local electronic health card database, the step further includes: Obtain information on regional electronic health cards where residents have registered from different local medical institutions; The electronic health card information of the area is integrated and stored to obtain a local electronic health card database.
[0017] Through the above embodiments, the electronic health card management system obtains the regional electronic health card information of residents who have registered from different local medical institutions, and then integrates and stores this information to obtain a local electronic health card database, thereby realizing the sharing of regional electronic health card information between different local medical institutions and providing data support for cross-regional authentication.
[0018] In some embodiments, the step of integrating and storing the electronic health card information of the region to obtain a local electronic health card database specifically includes: Set the resident ID number of the electronic health card information of the area as the primary index of the local electronic health card database; The regional electronic health card information is retrieved in the local electronic health card database based on the primary index.
[0019] Through the above embodiments, the electronic health card management system uses the resident ID number as the primary index when integrating regional electronic health card information from different sources to build a local database. This provides a unified and efficient retrieval entry for electronic health card information, improves the efficiency and versatility of query instructions, and makes it easier to connect and exchange data with other systems.
[0020] In a second aspect, the present application provides an electronic health card management system, the electronic health card management system comprising: one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, which includes computer instructions. The one or more processors call the computer instructions so that the electronic health card management system can implement a cross-regional main index authentication method for a regional electronic health card provided in the above embodiment, which will not be repeated here.
[0021] In the third aspect, the present application provides a computer-readable storage medium, including instructions. When the instructions are run on an electronic health card management system, the electronic health card management system can implement a cross-regional main index authentication method for a regional electronic health card provided in the above embodiment, which will not be repeated here.
[0022] Fourthly, the present application provides a computer program product. When the computer program product runs on an electronic health card management system, the electronic health card management system can implement a cross-regional main index authentication method for a regional electronic health card provided in the above embodiment, which will not be repeated here.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The electronic health card management system adopts a hierarchical storage and indexing architecture. By establishing a local electronic health card database indexed by the resident ID number and a health data mirror of the registered place of residence, efficient cross-regional authentication and sharing of electronic health card information is achieved. This avoids direct queries on massive data, reduces the retrieval workload, and improves retrieval efficiency. At the same time, by comparing the information in the local database and the health data mirror, and dynamically updating according to the modification records, the consistency, accuracy and real-time nature of the data are ensured.
[0024] 2. The electronic health card management system introduces an information call request mechanism initiated by residents, allowing residents to retrieve remote electronic health card information from the health data mirror of their registered place of residence to the local database in advance according to their own medical needs. This improves the flexibility and response speed of information authentication and sharing, making the service closer to the actual needs of residents.
[0025] 3. The electronic health card management system gathers residents' electronic health card information from local medical institutions, realizing local data sharing; it uses the resident ID number as the primary index, provides a unified and efficient search entry, and improves query performance and data interoperability. At the same time, the system effectively controls the amount of data in the local database, avoids data redundancy, and optimizes storage efficiency by temporarily storing unmodified data and regularly cleaning up long-term unused data. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of a cross-regional master index authentication method of a regional electronic health card in an embodiment of the present application; Figure 2 It is another flowchart of a cross-regional primary index authentication method of a regional electronic health card in an embodiment of the present application; Figure 3 This is a schematic diagram of an exemplary scenario in which the electronic health card management system in an embodiment of the present application performs cross-region sharing of regional electronic health cards; Figure 4 It is a schematic diagram of the structure of a physical device of the electronic health card management system in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0028] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0029] For ease of understanding, the following is a flow chart of the method provided in this implementation. Figure 1 The figure shows a flow chart of a cross-regional master index authentication method for a regional electronic health card in an embodiment of the present application.
[0030] S101. Obtain the regional electronic health card information of residents who have registered from the local electronic health card database.
[0031] The electronic health card management system includes a local electronic health card database and a cloud database that stores health data images. The local electronic health card database is used to store the electronic health card information of residents registered in local medical institutions. The database can be connected with the information systems of local medical institutions to regularly update the residents' electronic health card registration information.
[0032] It should be noted that the electronic health card management system builds an index based on the resident ID number in the local electronic health card database to facilitate subsequent queries on the user's regional electronic health card information.
[0033] S102. Determine the registered place of residence of each resident based on the resident ID number.
[0034] The registered permanent residence is the administrative division where the permanent residence is located, usually accurate to the prefecture-level city or district or county. The electronic health card management system can obtain the registered permanent residence information of residents by parsing the first 6 digits of the ID card number.
[0035] For example, the resident with ID number "42011119800101XXXX" has his / her registered place of residence in Wuhan, Hubei Province, because the first 6 digits "420111" correspond to the administrative division code of Wuhan, Hubei Province. Specifically, the electronic health card management system can pre-build an administrative division code table to establish a mapping relationship between the division code and the place of residence name. After the registered place code is extracted from the ID card, the system mapping relationship can quickly retrieve the corresponding place of residence information.
[0036] S103. Classify the regional electronic health card information according to the household registration place, and obtain multiple regional electronic health card information corresponding to each household registration place.
[0037] There are multiple regional electronic health card information in the local electronic health card database. Due to the mobility of people, there may be foreign populations in the local urban area or districts and counties, resulting in the existence of regional electronic health card information of other registered places in the local electronic health card database. Therefore, after determining the registered place of each resident, the electronic health card management system classifies the multiple regional electronic health card information in the local electronic health card database according to the registered place of residence. The electronic health card information scattered in different regions is collected according to the registered place of the residents, thus providing a basis for subsequent regional information sharing.
[0038] Specifically, the electronic health card management system can construct an information classification algorithm based on the place of household registration. The algorithm takes the ID number and the place of household registration as input and scans the data in the local electronic health card database. When a piece of electronic health card information is scanned, the algorithm first extracts the ID number in the information, and calls the administrative division code table generated in step S102 to find the place of household registration of the resident. Subsequently, the algorithm divides the electronic health card information into the classification corresponding to the place of household registration. Similarly, the local electronic health card databases in other regions are also scanned and classified. When all the information is scanned and classified, a set of regional electronic health card information corresponding to each place of household registration is obtained.
[0039] S104, converting the format of multiple regional electronic health card information corresponding to each registered place of residence to obtain a health data mirror image corresponding to the registered place of residence.
[0040] After completing the classification of electronic health card information based on household registration, the electronic health card management system further converts and standardizes the classified data into health mirror data in a unified format, and uploads the health mirror data to the cloud database to obtain the health data mirror corresponding to each registered resident's household registration place.
[0041] Specifically, relevant technical personnel can formulate a unified set of health data format standards to be stored in the electronic health card management system. The health data format standard clearly stipulates the data type, field name, value range, etc. of various types of information in the electronic health card. The formulation of this standard can refer to relevant national and industry specifications, such as the health information data meta-directory, the basic structure and data standards of electronic medical records, etc., to ensure the standardization and universality of the standard, which is not limited here.
[0042] The electronic health card management system classifies the information of each registered place of residence according to the health data format standard and converts the data format one by one. For each piece of electronic health card information, the system first reads its original format and content, and then recodes, converts the type, maps the field, etc. according to the established standards, and finally outputs the electronic health card mirror data that conforms to the standard format.
[0043] S105. After detecting a new electronic health card to be authenticated, the regional electronic health card information corresponding to the new electronic health card is preferentially retrieved from the local electronic health card database.
[0044] When residents seek medical treatment at a medical institution in a certain area, they may need to use a new electronic health card. For such new cards to be authenticated, the electronic health card management system should first retrieve information from the local electronic health card database to improve authentication efficiency and reduce network overhead for cross-regional data retrieval.
[0045] Specifically, when the electronic health card management system detects an electronic health card to be authenticated submitted by a medical institution, it first reads the resident ID number recorded in the card. Using the ID number as an index, a query operation is performed in the local electronic health card database to try to match whether the electronic health card registration information of the resident already exists. The query process here should make full use of the database index mechanism, such as B+ tree, hash index, etc., to speed up the retrieval speed.
[0046] If the regional electronic health card information corresponding to the new card is successfully retrieved from the local database, it means that the resident may have previously registered for an electronic health card in other local medical institutions. The system can directly retrieve the existing local information for subsequent authentication.
[0047] S106. If it is detected that the regional electronic health card information corresponding to the new electronic health card does not exist in the local electronic health card database, the corresponding regional electronic health card information is retrieved from the health data mirror of the corresponding household registration place based on the resident ID number corresponding to the new electronic health card.
[0048] When the local database cannot retrieve the information of the new card to be authenticated, the electronic health card management system further retrieves the resident's health mirror data from the cloud database to complete the cross-regional authentication.
[0049] Specifically, the system reads the resident ID number from the new electronic health card to be authenticated, and determines its registered place of residence through the first 6 digits of the ID card. Then, based on the resident ID number and the corresponding registered place of residence, an information call instruction is generated. According to the call instruction, the system queries the health data image stored in the cloud database, extracts the regional electronic health card information that matches the card to be authenticated in the health data image, and transmits it back to the local electronic health card database or relevant medical institutions through a secure channel.
[0050] In the above embodiment, the electronic health card management system uses the resident ID number as an index to establish a local electronic health card database for each medical area (such as province, city, etc.), as well as a health data mirror corresponding to each household registration place. When cross-regional electronic health card information authentication and sharing is performed, the search is performed from the local electronic health card database or the health data mirror corresponding to the user's household registration place, and the electronic health card information of all medical areas is no longer directly queried, which reduces the search workload and improves the efficiency of cross-regional authentication and sharing of electronic health card information.
[0051] S107. Check whether there is any modification record of the regional electronic health card information.
[0052] The electronic health card management system monitors the retrieved regional electronic health card information in real time to ensure the accuracy and completeness of the data. When it is detected that the information of an electronic health card has been modified, the content and time of the modification are immediately recorded for subsequent data synchronization and update.
[0053] Furthermore, after the electronic health card management system finds that there is a modification record of the electronic health card information in the detection area, it executes subsequent steps such as S108. Conversely, if the electronic health card management system does not find a modification record of the electronic health card information in the detection area, it executes step S111.
[0054] S108. Synchronously update the local electronic health card database and the health data mirror of the corresponding household registration location.
[0055] When the electronic health card management system detects that the electronic health card information in the area has been modified, the modified data will be synchronously updated to the local electronic health card database and the health data mirror of the corresponding household registration place to ensure data consistency and accuracy.
[0056] In the above embodiment, after the electronic health card management system retrieves the regional electronic health card information, it detects whether there is a modification record of the information. Temporary storage is adopted for the unmodified information to avoid data redundancy; and for the modified information, the local and cloud data are updated synchronously in time to ensure the consistency of cross-regional data.
[0057] S109. Filter the target area electronic health card information that has not been retrieved within a preset time period.
[0058] In order to improve the management efficiency of electronic health card information and the utilization rate of storage space, the electronic health card management system regularly screens out electronic health card information that has not been retrieved for a period of time and archives or deletes it.
[0059] Specifically, the system administrator can pre-set a screening condition and specify a time period (such as 30 days, 60 days or 90 days) as the judgment standard for unretrieved information. The electronic health card management system scans the electronic health card retrieval records within a certain time range and filters out the last retrieval time of each electronic health card. For each electronic health card, calculate the number of days from the last retrieval time to the current time, and determine whether it exceeds the preset screening condition. If so, it will be marked as an electronic health card in the target area and a target list will be generated.
[0060] S110. Delete the target area's electronic health card information from the local electronic health card database.
[0061] When the electronic health card management system screens out a batch of electronic health cards in the target area that have not been retrieved for a long time, the electronic health card information in the target list will be deleted from the local electronic health card database to free up storage space and improve database performance and management efficiency.
[0062] In the above embodiment, after synchronously updating the electronic health card information locally and in the cloud, the electronic health card management system screens the electronic health card information of the target area that has not been called within a certain period of time and deletes it from the local database, thereby effectively controlling the amount of data in the local database and improving retrieval and storage efficiency.
[0063] S111. Temporarily store the regional electronic health card information according to a preset storage period.
[0064] Specifically, after retrieving the user's regional electronic health card information, the electronic health card management system temporarily stores the regional electronic health card information. During this process, it monitors in real time whether the regional electronic health card information has been modified. If it is detected that the regional electronic health card information has not been modified within the preset storage period (such as 20 days), it will be deleted.
[0065] The following is a more detailed description of the process of the method provided by this embodiment. Figure 2 Shown is another flow chart of a cross-regional master index authentication method for a regional electronic health card in an embodiment of the present application.
[0066] S201. Obtain the residents' registered regional electronic health card information from different local medical institutions.
[0067] The electronic health card management system establishes a data connection channel with local medical institutions and obtains the registered regional electronic health card information of residents in the jurisdiction from the databases of local medical institutions. For example, the electronic health card management system automatically connects to the databases of major hospitals, community health service centers and other medical institutions in the city every morning, and imports the newly registered or updated electronic health card information of the day into its own database. This information usually includes residents' identity information, health records, medical records, physical examination reports and other contents.
[0068] S202. Set the resident ID number of the regional electronic health card information as the primary index of the local electronic health card database.
[0069] After obtaining the residents' electronic health card information provided by various medical institutions, the electronic health card management system first performs pre-processing operations such as cleaning, deduplication and integration on the acquired data, and converts it into a unified storage format.
[0070] Next, in order to facilitate the unique identification and quick retrieval of each resident's information, the system chooses to use the resident ID number as the primary index of the database, making the ID number a unique field in the database table, with no duplicate values allowed, for subsequent retrieval operations.
[0071] S203. Retrieve regional electronic health card information in the local electronic health card database based on the main index.
[0072] Specifically, the electronic health card management system can use data structures such as B+ trees to implement the primary index of the ID card number. When a user enters an ID card number, the system will first compare it at the root node of the B+ tree, then select a child node to enter the next layer based on the comparison result, and so on, until the ID card number stored in the leaf node is found, and finally, according to the data pointer stored in the leaf node, the complete electronic health card information of the resident is directly located.
[0073] In the above embodiment, the electronic health card management system uses the resident ID number as the primary index when integrating regional electronic health card information from different sources to build a local database. This provides a unified and efficient retrieval entry for electronic health card information, improves the efficiency and versatility of query instructions, and makes it easier to connect and exchange data with other systems.
[0074] S204, classify and format the regional electronic health card information according to the household registration place, and obtain multiple health data images corresponding to each household registration place.
[0075] This step has been introduced in steps S103 and S104 and will not be repeated here.
[0076] S205. Receive a request for regional electronic health card information from a resident.
[0077] Specifically, in order to enable residents to manage their own health information more proactively, the electronic health card management system can open API interfaces or online services, allowing residents to actively initiate calls for personal electronic health card information through channels such as web pages or APPs.
[0078] After receiving the request from the resident, the system first authenticates the identity of the requester to ensure that it is a legitimate request initiated by the resident himself or an authorized agent. Optional identity authentication methods include but are not limited to: real-name registration + account password login, digital certificate signature, face recognition, electronic signature, etc. After the authentication is passed, the system records the initiation time, destination, request parameters and other information of the request, and sends the electronic health card information to the local electronic health card database corresponding to the destination according to the destination.
[0079] S206. Retrieve the regional electronic health card information from the health data mirror corresponding to the resident’s registered place of residence according to the call request, and transfer it to the local electronic health card database.
[0080] Upon receiving a request for electronic health card information for out-of-town medical treatment initiated by a resident, the electronic health card management system retrieves the relevant health data mirror file from the cloud database and temporarily caches the electronic health card information in the local database for local medical institutions to review.
[0081] In the above embodiment, residents can send a request containing their ID number to allow the electronic health card management system to retrieve the regional electronic health card information from the health data mirror of the corresponding place of household registration to the local database. This allows residents to retrieve electronic health card information in other places in advance according to their own medical needs, and medical institutions can directly obtain it locally during authentication, eliminating the need to call from the cloud, and improving the speed of information authentication and sharing.
[0082] S207. After detecting a new electronic health card to be authenticated, retrieve the first-region electronic health card information and the second-region electronic health card information from the local electronic health card database and the corresponding health data mirror respectively according to the resident ID number corresponding to the new electronic health card.
[0083] When the electronic health card management system detects a new electronic health card that needs to be authenticated, the system extracts the resident ID number recorded in the new card. Then the system searches the local electronic health card database and the corresponding health data mirror in the cloud database based on the resident ID number, and obtains two regional electronic health card information records corresponding to the new electronic health card, namely the first regional electronic health card information and the second regional electronic health card information. Of course, if the regional electronic health card information corresponding to the resident ID number does not exist in the local electronic health card database, the first regional electronic health card information is marked as "None".
[0084] S208. Determine whether the electronic health card information of the first and second regions is consistent.
[0085] After obtaining the two regional electronic health card information corresponding to the new electronic health card, the electronic health card management system will immediately compare the two records. Specifically, the system will compare each field of the first regional electronic health card information and the second regional electronic health card information item by item, including name, gender, date of birth, ID number, permanent address, past medical history, medical records, medication status, etc. Through refined comparison, it is determined whether the two are consistent. If there are inconsistent fields, it is determined that the electronic health card information in the first region and the electronic health card information in the second region are inconsistent, and the process goes to step S210. On the contrary, if the field information of the two is exactly the same, it is determined that the electronic health card information in the first region and the electronic health card information in the second region are consistent, and the process goes to step S209.
[0086] S209. Determine the first regional electronic health card information as the regional electronic health card information corresponding to the new electronic health card.
[0087] If the electronic health card management system detects that the electronic health card information in the first area and the electronic health card information in the second area are exactly the same when comparing the two, the system will directly use the record in the local electronic health card database, that is, the electronic health card information in the first area, and determine it as the health data corresponding to the new electronic health card to be authenticated.
[0088] S210. Determine the regional electronic health card information containing the latest medical records as the regional electronic health card information corresponding to the new electronic health card.
[0089] When the electronic health card management system compares the electronic health card information of the first region and the electronic health card information of the second region, if it detects that the two records are inconsistent, the system will further obtain the timestamp of the latest medical information of the residents in both, and determine the regional electronic health card information corresponding to the latest timestamp as the health data corresponding to the new electronic health card to be authenticated.
[0090] In the above embodiment, the electronic health card management system ensures the consistency and accuracy of information by comparing the information in the local database and the health data mirror. When the information is inconsistent, the system can select the data containing the latest medical records to ensure the timeliness and accuracy of the electronic health card information.
[0091] The following is an exemplary schematic diagram of a scenario in which the electronic health card management system in the embodiment of the present application performs cross-region sharing of regional electronic health cards. Figure 3 shown.
[0092] In an embodiment of the present application, each registered place of residence corresponds to a local electronic health card database and a health data mirror of a cloud server. For example, registered place of residence A corresponds to a local electronic health card database 1 and a health data mirror 1 stored on a cloud server, and registered place of residence B corresponds to a local electronic health card database 2 and a health data mirror 2 stored on a cloud server. The electronic health card management system can upload the updated regional electronic health card information in the local electronic health card database to the health data mirror corresponding to the cloud server, and can also send the health data mirror in the cloud server to the local electronic health card database corresponding to any registered place of residence.
[0093] Among them, multiple health data images are stored in the cloud database, and each health data image is obtained by classifying the regional electronic health card information in all local electronic health card databases according to the household registration location. Of course, the cloud database can also be split into multiple databases according to the household registration location, and each database corresponds to a health data image of the household registration location, which is not limited here.
[0094] The electronic health card management system of the embodiment of the present invention is applied to electronic equipment. Figure 4 A schematic diagram of the architecture of an electronic device suitable for implementing an embodiment of the present invention is shown.
[0095] It should be noted that Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0096] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructions (computer programs), or by controlling related hardware through instructions (computer programs), and the instructions can be stored in a computer-readable storage medium and loaded and executed by a processor. The electronic device of this embodiment includes a storage medium and a processor, wherein a plurality of instructions are stored in the storage medium, and the instructions can be loaded by the processor to execute any step of the method provided in the embodiment of the present invention.
[0097] Specifically, the storage medium and the processor are electrically connected directly or indirectly to realize data transmission or interaction. For example, these elements can be electrically connected to each other through one or more signal lines. The storage medium stores computer execution instructions for implementing the data access control method, including at least one software function module that can be stored in the storage medium in the form of software or firmware. The processor executes various functional applications and data processing by running the software program and module stored in the storage medium. The storage medium can be, but is not limited to, random access storage medium (Random Access Memory, referred to as: RAM), read-only storage medium (Read Only Memory, referred to as: ROM), programmable read-only storage medium (Programmable Read-Only Memory, referred to as: PROM), erasable read-only storage medium (Erasable Programmable Read-Only Memory, referred to as: EPROM), electrically erasable read-only storage medium (Electric Erasable Programmable Read-Only Memory, referred to as: EEPROM), etc. Among them, the storage medium is used to store programs, and the processor executes the program after receiving the execution instruction.
[0098] Furthermore, the software programs and modules in the above-mentioned storage medium may also include an operating system, which may include various software components and / or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components. The processor may be an integrated circuit chip having signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., which may implement or execute the various methods, steps, and logic flow diagrams disclosed in this embodiment. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0099] Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present invention, the beneficial effects of any method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0100] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A cross-regional master index authentication method for a regional electronic health card, applied to an electronic health card management system, characterized in that: The method comprises: Obtaining the registered regional electronic health card information of residents from the local electronic health card database, wherein the regional electronic health card information includes the resident ID card number; Determine the household registration place corresponding to each resident based on the ID card number; Classifying the regional electronic health card information according to the household registration place to obtain multiple regional electronic health card information corresponding to each household registration place; The electronic health card information of multiple regions corresponding to each registered place of residence is formatted, and the health data image corresponding to each registered resident at the registered place of residence is obtained, and the health data image formats corresponding to different registered places of residence are the same; After detecting a new electronic health card to be authenticated, preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database; If it is detected that the regional electronic health card information corresponding to the new electronic health card does not exist in the local electronic health card database, the corresponding regional electronic health card information is retrieved from the health data mirror of the corresponding household registration place based on the resident ID number corresponding to the new electronic health card.
2. The method according to claim 1, characterized in that The step of preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database after detecting the new electronic health card to be authenticated specifically includes: After detecting a new electronic health card to be authenticated, retrieving the first region electronic health card information and the second region electronic health card information from the local electronic health card database and the corresponding health data mirror respectively according to the resident identity card number corresponding to the new electronic health card; Determine whether the electronic health card information of the first region is consistent with the electronic health card information of the second region; If they are consistent, the first regional electronic health card information is determined as the regional electronic health card information corresponding to the new electronic health card; If there is inconsistency, the regional electronic health card information containing the latest medical records will be determined as the regional electronic health card information corresponding to the new electronic health card.
3. The method according to claim 1, characterized in that: After the step of retrieving the corresponding regional electronic health card information from the health data mirror of the corresponding household registration place according to the resident ID number corresponding to the new electronic health card if it is detected that the regional electronic health card information corresponding to the new electronic health card does not exist in the local electronic health card database, the method further includes: Detect whether there is a modification record of the electronic health card information in the area; If there is no modification record, the regional electronic health card information is temporarily stored according to a preset storage period; If there is a modification record, the local electronic health card database and the health data mirror of the corresponding registered place of residence will be updated synchronously.
4. The method according to claim 3, characterized in that: After the step of synchronously updating the local electronic health card database and the health data mirror of the corresponding household registration place if there is a modification record, the method further includes: Filter the electronic health card information of the target area that has not been retrieved within the preset time period; The target area electronic health card information is deleted from the local electronic health card database.
5. The method according to claim 1, characterized in that Before the step of preferentially retrieving the regional electronic health card information corresponding to the new electronic health card from the local electronic health card database after detecting the new electronic health card to be authenticated, the method further includes: Receive a regional electronic health card information call request sent by a resident, the call request including the resident ID number; According to the call request, the regional electronic health card information is retrieved from the health data mirror corresponding to the resident's registered residence to the local electronic health card database.
6. The method according to claim 1, characterized in that Before the step of obtaining the regional electronic health card information of residents registered from the local electronic health card database, it also includes: Obtain information on regional electronic health cards where residents have registered from different local medical institutions; The regional electronic health card information is integrated and stored to obtain a local electronic health card database.
7. The method according to claim 6, characterized in that The step of integrating and storing the regional electronic health card information to obtain a local electronic health card database specifically includes: Setting the resident ID number of the regional electronic health card information as the primary index of the local electronic health card database; The regional electronic health card information is retrieved in the local electronic health card database according to the primary index.
8. An electronic health card management system, characterized in that: The electronic health card management system includes: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic health card management system to execute the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instruction is executed on the electronic health card management system, the electronic health card management system executes the method as described in any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product runs on an electronic health card management system, the electronic health card management system executes the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
A regional health record management system and its implementation method
CN102262711A
Resident information collecting system and method
CN104156902A
Intelligent regional newborn information interconnection and intercommunication system based on health card
CN115331794A
Electronic health record management method and system
WO2010052638A1
Cited By
One-person, one-file and one-attribution cleaning and attribution method for historical repeated archives of crowds in super-large area
CN120047294A