Inpatient bed fee automatic charging method and system, storage medium and equipment
By automatically obtaining and processing the hospital's inpatient list and bed configuration information, automatic billing of inpatient bed fees is realized, which solves the problem of manual billing in the existing technology that is time-consuming and error-prone, and improves the accuracy and accuracy of calculations. efficiency.
Patent Information
- Application Number
- CN202410828841.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
AI Technical Summary
The current billing method for inpatient bed fees in the hospital's His system mainly relies on manual operations, which results in high time consumption and prone to billing errors, and cannot meet the needs of intelligence and convenience.
By obtaining the hospital's hospitalization list information and bed configuration information, it automatically identifies patient information and bed level information, calculates and generates real-time hospitalization fee data, establishes a correlation between patient numbers and bed fees, and realizes automatic billing.
It realizes the convenient and accurate calculation of bed fees for inpatients, reduces manual operation time, improves the accuracy and efficiency of billing, and avoids billing errors.
Smart Images

Figure CN118657570A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method, system, storage medium and device for automatically charging inpatient bed fees. Background Art
[0002] In the hospital's HIS system, some inpatients need to choose the number of days they need to stay in hospital according to their condition. To this end, the ward staff will allocate beds to patients, create medical records and bedside cards, etc. For beds, hospitals generally divide them into different levels, such as VIP, first-class, second-class, ICU, mother-and-baby beds, etc. The costs incurred by beds of different levels are also different. For inpatients, bed fees are incurred every day, and it is extremely important to record these costs in the total costs of the corresponding patients.
[0003] In the existing HIS system, there are two ways to calculate bed fees: one is that the ward staff manually adds the fees to the patient's total expenses every morning based on the bed grade; the other is to charge when the patient is discharged. When the patient is discharged, the ward staff will add the fees to the patient's total hospitalization expenses based on the number of days the patient stayed and the bed grade. The above two methods are manual billing methods, both of which require manual operation by the ward staff.
[0004] With the continuous upgrading and updating of HIS system, intelligence and convenience are particularly important for hospital staff. Therefore, manual billing can no longer meet the requirements of hospital staff. Whether it is manual billing in the morning or overall billing at discharge, it takes a lot of time, especially when there are a large number of patients in the ward, it takes more time to operate, and manual operation is prone to billing errors. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide a method, system, storage medium and device for automatic billing of inpatient bed fees, aiming to conveniently and automatically bill inpatient bed fees and ensure the accuracy of billing.
[0006] The first aspect of the present invention is to provide a method for automatically charging inpatient bed fees, the method comprising: Acquire the inpatient list information of the hospital at the current moment, identify the patient information of each inpatient in the inpatient list information, and import the patient information of each patient into the patient information set; Acquire the bed configuration information of the hospital at the current moment, identify the bed grade information of each bed in the bed configuration information, and import the bed grade information of each bed into the bed grade information set; Traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, traversing the bed grade information set, and querying the bed billing information corresponding to the bed number; The hospitalization expense information is generated based on the bed billing information, an association relationship between the hospitalization expense information and the patient number is established, and real-time hospitalization expense data is automatically generated.
[0007] According to one aspect of the above technical solution, the steps of obtaining the inpatient list information of the hospital at the current moment, identifying the patient information of each inpatient in the inpatient list information, and importing the patient information of each patient into the patient information set respectively include: In response to a preset billing update instruction; According to the receiving time of the billing update instruction, obtaining the inpatient list information of the hospital at the current moment; According to the inpatient list information, identifying patient information of each inpatient in the inpatient list information; Import the patient information of each patient into the patient information collection separately.
[0008] According to one aspect of the above technical solution, the billing update instruction is automatically triggered according to a preset billing cycle, or is automatically triggered after receiving a fee settlement request.
[0009] According to one aspect of the above technical solution, the steps of traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, traversing the bed grade information set, and querying the bed billing information corresponding to the bed number specifically include: Traversing the patient information set, identifying the corresponding patient number and the corresponding bed number of each inpatient according to the patient name; Traversing the bed grade information set, and determining the corresponding bed grade according to the bed number of each bed; Calculate the billing cycle from the initial billing node to the current billing node corresponding to the bed number; Calculate the bed fee amount corresponding to the bed number according to the billing cycle, the bed grade and the preset bed billing rules; Bed billing information is automatically generated according to the bed fee amount.
[0010] According to one aspect of the above technical solution, the natural day of the initial billing node is T1, the natural day of the current billing node is T2, and the billing period is T1 to T2-1.
[0011] According to one aspect of the above technical solution, after generating real-time hospitalization expense data, the method further includes: Encrypting the hospitalization expense data; When a preset fee settlement request is received, the hospitalization fee data is decrypted to obtain the real hospitalization fee data.
[0012] According to one aspect of the above technical solution, the step of encrypting the hospitalization expense data specifically includes: Divide the plain text hospitalization expense data into a plurality of sub-data, number the plurality of sub-data, and determine the data number; Rearrange the data numbers and their corresponding sub-data according to a preset rule to obtain a number sequence and a data sequence respectively; The numbering sequence and the data sequence are encrypted respectively using different keys to obtain encrypted hospitalization expense data.
[0013] The second aspect of the present invention is to provide an automatic billing system for inpatient bed fees, the system comprising: The first information acquisition module is used to obtain the inpatient list information of the hospital at the current moment, identify the patient information of each inpatient in the inpatient list information, and import the patient information of each patient into the patient information set; The second information acquisition module is used to acquire the bed configuration information of the hospital at the current moment, identify the bed grade information of each bed in the bed configuration information, and import the bed grade information of each bed into the bed grade information set; A traversal query module, used to traverse the patient information set, identify the patient number of each inpatient and its corresponding bed number, traverse the bed grade information set, and query the bed billing information corresponding to the bed number; The expense data generation module is used to generate hospitalization expense information based on the bed billing information, establish an association between the hospitalization expense information and the patient number, and automatically generate real-time hospitalization expense data.
[0014] The third aspect of the present invention is to provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the above technical solution.
[0015] The fourth aspect of the present invention is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above technical solution when executing the program.
[0016] Compared with the prior art, the automatic billing method for inpatient bed fees shown in the present invention has the following beneficial effects: By acquiring the inpatient list information to construct a patient information set, and acquiring the bed configuration information to construct a bed grade information set, then traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, and traversing the bed grade information set, querying the bed billing information corresponding to the bed number, and finally generating the inpatient expense information based on the bed billing information, establishing the association between the inpatient expense information and the patient number, and automatically generating real-time inpatient expense data. The billing method shown in this embodiment can conveniently calculate the bed fee for all or designated inpatients in the hospital, and the calculation is highly accurate and error-prone, ensuring the accuracy of the inpatient expense data. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flowchart of the automatic billing method for inpatient bed fees in the first embodiment of the present invention; Figure 2 It is a structural block diagram of the automatic billing system for inpatient bed fees in the third embodiment of the present invention.
[0018] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0019] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0020] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0022] Embodiment 1 See also Figure 1The first embodiment of the present invention provides a method for automatically charging inpatient bed fees, the method comprising steps S10 to S40: Step S10, obtaining the inpatient list information of the hospital at the current moment, identifying the patient information of each inpatient in the inpatient list information, and importing the patient information of each patient into the patient information set respectively.
[0023] In this embodiment, the steps of obtaining the inpatient list information of the hospital at the current moment, identifying the patient information of each inpatient in the inpatient list information, and importing the patient information of each patient into the patient information set respectively include: In response to a preset billing update instruction; According to the receiving time of the billing update instruction, obtaining the inpatient list information of the hospital at the current moment; According to the inpatient list information, identifying patient information of each inpatient in the inpatient list information; Import the patient information of each patient into the patient information collection separately.
[0024] First of all, it should be noted that there are many departments in the hospital, such as general medicine, general surgery, neurology, neurosurgery, etc., and the hospital divides the corresponding wards for each business department according to the business situation of the hospital. The wards have beds for patients to lie down and rest. In order to meet various needs, even in the same department, there will be certain differences in bed fees. For example, the bed fee of a double ward is more expensive than that of a four-person ward, and the bed fee of a ward with air conditioning is more expensive than that of an ordinary ward. This is mainly determined by the configuration of the ward.
[0025] In this embodiment, when it is necessary to calculate the bed charges for inpatients in the hospital, the inpatient list information within the hospital or a ward or a department at the current moment will be obtained. The inpatient list information is recorded in the HIS system. After obtaining the inpatient list information, the patient information of each inpatient in the inpatient list will be identified. The patient information includes, for example, the hospitalization number, patient name, gender, age, clinical symptoms, inpatient department, hospitalization start time and other information. Then, these patient information are respectively imported into the patient information set L1.
[0026] Among them, the calculation of the bed fees of inpatients can be automatically triggered based on a preset billing cycle, for example, the bed fees of all or part of the inpatients in the hospital are updated at 1 a.m. every day, and then the billing data is output; or it can be automatically triggered based on the fee settlement request received when the inpatient is discharged, and then the bed fees are calculated for individual inpatients.
[0027] It should also be noted that the billing rule for bed fees is "count in but not count out", that is, the bed fee on the day when the inpatient goes through the admission procedures is calculated, but the bed fee on the day when the inpatient goes through the discharge procedures is not calculated. In the billing method of this embodiment, the natural day of the initial billing node for the admission procedures is T1, and the natural day of the current billing node for the discharge procedures is T2. In order to meet the billing rule of "count in but not count out", the billing period is T1 to T2-1.
[0028] Step S20, obtaining the bed configuration information of the hospital at the current moment, identifying the bed grade information of each bed in the bed configuration information, and importing the bed grade information of each bed into the bed grade information set.
[0029] Similarly, when it is necessary to calculate the bed fees for inpatients in the hospital, the bed configuration information of the hospital at the current moment will be obtained to clarify the software and hardware configuration in the ward, so as to clarify the bed grade information of each bed based on the bed configuration information, such as VIP level, first class, second class, ICU, and then import the bed grade information of each bed into the bed grade information set L2.
[0030] Step S30, traverse the patient information set, identify the patient number of each inpatient and its corresponding bed number, traverse the bed grade information set, and query the bed billing information corresponding to the bed number.
[0031] In this embodiment, the steps of traversing the patient information set, identifying the patient number of each inpatient and the corresponding bed number, traversing the bed grade information set, and querying the bed billing information corresponding to the bed number specifically include: Traversing the patient information set, identifying the corresponding patient number and the corresponding bed number of each inpatient according to the patient name; Traversing the bed grade information set, and determining the corresponding bed grade according to the bed number of each bed; Calculate the billing cycle from the initial billing node to the current billing node corresponding to the bed number; Calculate the bed fee amount corresponding to the bed number according to the billing cycle, the bed grade and the preset bed billing rules; Bed billing information is automatically generated according to the bed fee amount.
[0032] In this embodiment, after obtaining the patient information set and the bed level information set respectively, the patient information set will be traversed first to identify each inpatient to obtain the patient number and its corresponding bed number, and then the bed level information set will be traversed to query the bed billing information corresponding to the above bed number.
[0033] Specifically, the patient information set L1 is traversed to identify the patient number H1 and the bed number B1 of each inpatient, and the bed billing information C1 corresponding to the bed number B1 is queried by traversing the bed level information set L2.
[0034] Step S40, generating hospitalization expense information based on the bed billing information, establishing an association between the hospitalization expense information and the patient number, and automatically generating real-time hospitalization expense data.
[0035] Specifically, the bed billing information C1 is used to generate hospitalization expense information, which is associated with the corresponding inpatient according to the patient number H1 and saved in the patient's hospitalization expense table. Finally, the total hospitalization expense of the inpatient H1 is updated, and then the hospitalization expense data is generated. The hospitalization expense data will be automatically synchronized to the HIS system to refresh the original hospitalization expense data.
[0036] As an example, when the hospital spontaneously updates the bed fee, it will obtain the inpatient list information, and then import the patient information of each patient into the patient information set L1. Similarly, it will obtain the bed configuration information, and then import the bed grade information of each bed into the bed grade information set L2. Then, it will traverse the patient information set L1 to obtain the patient number H1 and the bed number B1, and traverse the bed grade information set L2 to obtain the bed billing information C1. Finally, based on the bed billing information C1, the hospitalization fee information is updated to generate the total hospitalization fee including the real-time bed fee.
[0037] Compared with the prior art, the automatic billing method for inpatient bed fees shown in this embodiment has the following beneficial effects: By acquiring the inpatient list information to construct a patient information set, and acquiring the bed configuration information to construct a bed grade information set, then traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, and traversing the bed grade information set, querying the bed billing information corresponding to the bed number, and finally generating the inpatient expense information based on the bed billing information, establishing the association between the inpatient expense information and the patient number, and automatically generating real-time inpatient expense data. The billing method shown in this embodiment can conveniently calculate the bed fee for all or designated inpatients in the hospital, and the calculation is highly accurate and error-prone, ensuring the accuracy of the inpatient expense data.
[0038] Embodiment 2 The second embodiment of the present invention also provides an automatic billing method for inpatient bed fees. The billing method shown in this embodiment is basically the same as the billing method shown in the first embodiment, except that: In this embodiment, after generating the real-time hospitalization expense data, the method further includes: Encrypting the hospitalization expense data; When a preset fee settlement request is received, the hospitalization fee data is decrypted to obtain the real hospitalization fee data.
[0039] In this embodiment, in order to prevent the hospitalization expense data from being tampered with by malicious attacks, the hospitalization expense data will be encrypted. When the inpatient goes through the discharge procedures and when the fee settlement request is received, the encrypted hospitalization expense data will be automatically decrypted to obtain the real hospitalization expense data.
[0040] The step of encrypting the hospitalization expense data specifically includes: Divide the plain text hospitalization expense data into a plurality of sub-data, number the plurality of sub-data, and determine the data number; Rearrange the data numbers and their corresponding sub-data according to a preset rule to obtain a number sequence and a data sequence respectively; The numbering sequence and the data sequence are encrypted respectively using different keys to obtain encrypted hospitalization expense data.
[0041] Specifically, after the hospitalization expense data is generated, the hospitalization expense data in plain text form will be sequentially divided by the set unit quantity to obtain several sub-data, such as the first sub-data, the second sub-data, etc., and then the data number and its corresponding sub-data will be reordered to obtain a number sequence and a data sequence, and then different key factors will be used to encrypt the number sequence and the data sequence respectively, and they will be combined and packaged to obtain the encrypted hospitalization expense data.
[0042] When receiving the fee settlement request, the HIS system will perform a reverse operation on the encrypted hospitalization fee data to decrypt the hospitalization fee data and obtain the real hospitalization fee data.
[0043] Compared with the first embodiment, this embodiment can effectively ensure that the hospitalization expense data generated during the hospitalization stage is authentic by encrypting the hospitalization expense data and performing corresponding decryption processing, and there is no problem of data being tampered with by malicious attacks.
[0044] Embodiment 3 See also Figure 2 The third embodiment of the present invention provides an automatic billing system for inpatient bed fees, the system comprising: a first information acquisition module 10, a second information acquisition module 20, a traversal query module 30 and a fee data generation 40.
[0045] The first information acquisition module 10 is used to obtain the inpatient list information of the hospital at the current moment, identify the patient information of each inpatient in the inpatient list information, and import the patient information of each patient into the patient information set.
[0046] In this embodiment, the first information acquisition module 10 is specifically used for: In response to a preset billing update instruction; According to the receiving time of the billing update instruction, obtaining the inpatient list information of the hospital at the current moment; According to the inpatient list information, identifying patient information of each inpatient in the inpatient list information; Import the patient information of each patient into the patient information collection separately.
[0047] First of all, it should be noted that there are many departments in the hospital, such as general medicine, general surgery, neurology, neurosurgery, etc., and the hospital divides the corresponding wards for each business department according to the business situation of the hospital. The wards have beds for patients to lie down and rest. In order to meet various needs, even in the same department, there will be certain differences in bed fees. For example, the bed fee of a double ward is more expensive than that of a four-person ward, and the bed fee of a ward with air conditioning is more expensive than that of an ordinary ward. This is mainly determined by the configuration of the ward.
[0048] In this embodiment, when it is necessary to calculate the bed charges for inpatients in the hospital, the inpatient list information within the hospital at the current moment will be obtained. The inpatient list information is recorded in the HIS system. After obtaining the inpatient list information, the patient information of each inpatient in the inpatient list will be identified. The patient information includes, for example, the hospitalization number, patient name, gender, age, clinical symptoms, inpatient department, hospitalization start time and other information. Then, these patient information are imported into the patient information set L1 respectively.
[0049] Among them, the calculation of the bed fees of inpatients can be automatically triggered based on a preset billing cycle, for example, the bed fees of all or part of the inpatients in the hospital are updated at 1 a.m. every day, and then the billing data is output; or it can be automatically triggered based on the fee settlement request received when the inpatient is discharged, and then the bed fees are calculated for individual inpatients.
[0050] It should also be noted that the billing rule for bed fees is "count in but not count out", that is, the bed fee on the day when the inpatient goes through the admission procedures is calculated, but the bed fee on the day when the inpatient goes through the discharge procedures is not calculated. In the billing system of this embodiment, the natural day of the initial billing node for the admission procedures is T1, and the natural day of the current billing node for the discharge procedures is T2. In order to meet the billing rule of "count in but not count out", the billing period is T1 to T2-1.
[0051] The second information acquisition module 20 is used to acquire the bed configuration information of the hospital at the current moment, identify the bed grade information of each bed in the bed configuration information, and import the bed grade information of each bed into the bed grade information set.
[0052] Similarly, when it is necessary to calculate the bed fees for inpatients in the hospital, the bed configuration information of the hospital at the current moment will be obtained to clarify the software and hardware configuration in the ward, so as to clarify the bed grade information of each bed based on the bed configuration information, such as VIP level, first class, second class, ICU, and then import the bed grade information of each bed into the bed grade information set L2.
[0053] The traversal query module 30 is used to traverse the patient information set, identify the patient number of each inpatient and its corresponding bed number, traverse the bed grade information set, and query the bed billing information corresponding to the bed number.
[0054] In this embodiment, the traversal query module 30 is specifically used for: Traversing the patient information set, identifying the corresponding patient number and the corresponding bed number of each inpatient according to the patient name; Traversing the bed grade information set, and determining the corresponding bed grade according to the bed number of each bed; Calculate the billing cycle from the initial billing node to the current billing node corresponding to the bed number; Calculate the bed fee amount corresponding to the bed number according to the billing cycle, the bed grade and the preset bed billing rules; Bed billing information is automatically generated according to the bed fee amount.
[0055] In this embodiment, after obtaining the patient information set and the bed level information set respectively, the patient information set will be traversed first to identify each inpatient to obtain the patient number and its corresponding bed number, and then the bed level information set will be traversed to query the bed billing information corresponding to the above bed number.
[0056] Specifically, the patient information set L1 is traversed to identify the patient number H1 and the bed number B1 of each inpatient, and the bed billing information C1 corresponding to the bed number B1 is queried by traversing the bed level information set L2.
[0057] Cost data generation 40 is used to generate hospitalization cost information based on the bed billing information, establish an association between the hospitalization cost information and the patient number, and automatically generate real-time hospitalization cost data.
[0058] Specifically, the bed billing information C1 is used to generate hospitalization expense information, which is associated with the corresponding inpatient according to the patient number H1 and saved in the patient's hospitalization expense table. Finally, the total hospitalization expense of the inpatient H1 is updated, and then the hospitalization expense data is generated. The hospitalization expense data will be automatically synchronized to the HIS system to refresh the original hospitalization expense data.
[0059] As an example, when the hospital spontaneously updates the bed fee, it will obtain the inpatient list information, and then import the patient information of each patient into the patient information set L1. Similarly, it will obtain the bed configuration information, and then import the bed grade information of each bed into the bed grade information set L2. Then, it will traverse the patient information set L1 to obtain the patient number H1 and the bed number B1, and traverse the bed grade information set L2 to obtain the bed billing information C1. Finally, based on the bed billing information C1, the hospitalization fee information is updated to generate the total hospitalization fee including the real-time bed fee.
[0060] Compared with the prior art, the automatic billing system for inpatient bed fees shown in this embodiment has the following beneficial effects: By acquiring the inpatient list information to construct a patient information set, and acquiring the bed configuration information to construct a bed grade information set, then traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, and traversing the bed grade information set, querying the bed billing information corresponding to the bed number, and finally generating the inpatient expense information based on the bed billing information, establishing the association between the inpatient expense information and the patient number, and automatically generating real-time inpatient expense data. The billing method shown in this embodiment can conveniently calculate the bed fee for all or designated inpatients in the hospital, and the calculation is highly accurate and error-prone, ensuring the accuracy of the inpatient expense data.
[0061] Embodiment 4 A fourth embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the above embodiment.
[0062] Embodiment 5 A fifth embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above embodiment when executing the program.
[0063] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0064] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for automatically charging inpatient bed fees, characterized in that: The method comprises: Acquire the inpatient list information of the hospital at the current moment, identify the patient information of each inpatient in the inpatient list information, and import the patient information of each patient into the patient information set; Acquire the bed configuration information of the hospital at the current moment, identify the bed grade information of each bed in the bed configuration information, and import the bed grade information of each bed into the bed grade information set; Traversing the patient information set, identifying the patient number of each inpatient and its corresponding bed number, traversing the bed grade information set, and querying the bed billing information corresponding to the bed number; The hospitalization expense information is generated based on the bed billing information, an association relationship between the hospitalization expense information and the patient number is established, and real-time hospitalization expense data is automatically generated.
2. The automatic billing method for inpatient bed fees according to claim 1, characterized in that: The steps of obtaining the inpatient list information of the hospital at the current moment, identifying the patient information of each inpatient in the inpatient list information, and importing the patient information of each patient into the patient information set respectively include: In response to a preset billing update instruction; According to the receiving time of the billing update instruction, obtaining the inpatient list information of the hospital at the current moment; According to the inpatient list information, identifying patient information of each inpatient in the inpatient list information; Import the patient information of each patient into the patient information collection separately.
3. The method for automatically generating inpatient bed fees according to claim 2, characterized in that: The billing update instruction is automatically triggered according to a preset billing cycle, or is automatically triggered after receiving a fee settlement request.
4. The automatic billing method for inpatient bed fees according to claim 3 is characterized in that: The steps of traversing the patient information set, identifying the patient number of each inpatient and the corresponding bed number, traversing the bed grade information set, and querying the bed billing information corresponding to the bed number specifically include: Traversing the patient information set, identifying the corresponding patient number and the corresponding bed number of each inpatient according to the patient name; Traversing the bed grade information set, and determining the corresponding bed grade according to the bed number of each bed; Calculate the billing cycle from the initial billing node to the current billing node corresponding to the bed number; Calculate the bed fee amount corresponding to the bed number according to the billing cycle, the bed grade and the preset bed billing rules; Bed billing information is automatically generated according to the bed fee amount.
5. The automatic billing method for inpatient bed fees according to claim 4 is characterized in that: The natural day of the initial billing node is T1, the natural day of the current billing node is T2, and the billing period is T1 to T2-1.
6. The automatic billing method for inpatient bed fees according to any one of claims 1 to 5, characterized in that: After generating the real-time hospitalization cost data, the method further includes: Encrypting the hospitalization expense data; When a preset fee settlement request is received, the hospitalization fee data is decrypted to obtain the real hospitalization fee data.
7. The automatic billing method for inpatient bed fees according to claim 6 is characterized in that: The step of encrypting the hospitalization expense data specifically includes: Divide the plain text hospitalization expense data into a plurality of sub-data, number the plurality of sub-data, and determine the data number; Rearrange the data numbers and their corresponding sub-data according to a preset rule to obtain a number sequence and a data sequence respectively; The numbering sequence and the data sequence are encrypted respectively using different keys to obtain encrypted hospitalization expense data.
8. An automatic billing system for inpatient bed fees, characterized in that: The system comprises: The first information acquisition module is used to obtain the inpatient list information of the hospital at the current moment, identify the patient information of each inpatient in the inpatient list information, and import the patient information of each patient into the patient information set; The second information acquisition module is used to acquire the bed configuration information of the hospital at the current moment, identify the bed grade information of each bed in the bed configuration information, and import the bed grade information of each bed into the bed grade information set; A traversal query module, used to traverse the patient information set, identify the patient number of each inpatient and its corresponding bed number, traverse the bed grade information set, and query the bed billing information corresponding to the bed number; The expense data generation module is used to generate hospitalization expense information based on the bed billing information, establish an association between the hospitalization expense information and the patient number, and automatically generate real-time hospitalization expense data.
9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.
