A clinical quality event dynamic approval routing method, device, equipment and medium

By using enumerated fields and mapping tables to automatically match approval flow templates in clinical quality events, the problem of approval path errors caused by manual judgment was solved, and an efficient and compliant quality event approval process was achieved.

CN123161807APending Publication Date: 2026-11-24BEIJING BLUEBALLON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611325199.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-28
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In current clinical quality management, the selection of approval workflows relies on the submitter's manual judgment, resulting in insufficient control over the approval of high-risk events and redundant approval processes for low-risk events. This makes it difficult to ensure the compliance of quality event approvals and reduces processing efficiency.

Method used

By selecting an enumerated field as the approval flow condition in the clinical quality event configuration, an approval routing mapping table is generated. When a quality event record is submitted, the current value is automatically read, and the corresponding approval flow template is matched according to the mapping table to achieve automatic routing.

Benefits of technology

It has achieved automated matching of approval processes, reduced manual operation costs, avoided human judgment errors, ensured that quality events of different risk levels are accurately matched with approval processes of corresponding strictness, and improved processing efficiency and compliance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161807A_ABST
    Figure CN123161807A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, and medium for dynamic approval routing of clinical quality events. In the clinical quality event configuration phase, an enumerated approval flow condition field is selected, and all enumerated values ​​of this field are read to generate an approval routing mapping table containing the correspondence between the enumerated values ​​and approval flow templates. When a user submits a quality event record, the system automatically reads the current value of the approval flow condition field within the record, matches the corresponding approval flow template by querying the approval routing mapping table, and finally creates an approval instance based on the matched template and binds it to the quality event record. This eliminates the need for manual selection of the approval process, achieving automated dynamic approval routing for clinical quality events. Using this method, the overall processing efficiency and control quality of clinical quality event approval are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of workflow approval technology, and more specifically, to a dynamic approval routing method, apparatus, equipment, and medium for clinical quality events. Background Technology

[0002] Clinical trial quality management is a core component of ensuring the authenticity and reliability of clinical trial data and protecting the safety and rights of trial participants. The tiered approval process for clinical quality events such as protocol deviations is a crucial part of the overall quality control of clinical trials. Matching appropriate approval processes with varying levels of rigor to quality events of different risk levels is a universal requirement for clinical trial quality management.

[0003] Currently, the clinical quality management field generally adopts a fixed approval workflow configuration technical solution: multiple approval workflow templates corresponding to different risk levels are pre-configured for a single clinical trial project. When submitting a quality event record, the quality event submitter judges the risk level of the event and manually selects the corresponding approval process to initiate the approval.

[0004] The drawback of this technical solution is that the selection of the approval flow depends entirely on the submitter's manual judgment. It is very easy for the submitter to choose the wrong approval path due to a misunderstanding of the classification standards or a mistake in business judgment. This leads to insufficient control over the approval of high-risk quality events and redundancy in the approval process for low-risk quality events. This not only makes it difficult to ensure the compliance of quality event approvals, but also reduces the overall efficiency of approval processing. Summary of the Invention

[0005] In view of this, the purpose of the present invention is to provide a method, apparatus, equipment and medium for dynamic approval routing of clinical quality events, which improves the overall processing efficiency and control quality of clinical quality event approval.

[0006] In a first aspect, embodiments of this application provide a dynamic approval routing method for clinical quality events, the method comprising: In the clinical quality event configuration, select the approval flow condition field, where the approval flow condition field is an enumerated field; Read all enumerated values ​​of the approval flow condition field, and generate an approval route mapping table based on the enumerated values. The approval route mapping table contains the correspondence between the enumerated values ​​and the approval flow template. When a user submits a quality event record, read the current value of the approval flow condition field in the quality event record; Based on the current value, query the corresponding relationship in the approval route mapping table to determine the approval flow template corresponding to the current value; An approval instance is created based on the approval flow template, and the quality event record is bound to the approval instance to achieve automatic routing.

[0007] Optionally, the approval route mapping table is generated when the quality event configuration is published; The correspondence in the approval route mapping table is stored in key-value pair format, wherein the enumeration value is used as the key and the approval flow template is used as the value. When the enumeration value changes or the correspondence is adjusted, the approval route mapping table is regenerated.

[0008] Optionally, after reading the current value of the approval flow condition field in the quality event record, a value validity verification step is also included: Verify whether the current value is empty; If the current value is empty, the submission will be blocked and the user will be prompted to complete the approval flow condition field; If the current value is not empty, then continue to execute the step of querying the approval route mapping table based on the current value.

[0009] Optionally, the approval flow template corresponding to the current value is determined by querying the corresponding relationship in the approval route mapping table, specifically including: Filter the correspondence in the approval route mapping table according to the enabled status, and retain only the correspondence in the enabled status; The current value is precisely matched with the enumerated value of the filtered correspondence; If a match is successful, the approval flow template corresponding to the current value is determined; If the match fails, the process will proceed to the pre-defined fallback approval flow.

[0010] Optionally, it also includes a multi-SOP configuration consistency verification step: When selecting a monitoring SOP for a project, obtain the clinical quality event configuration of the candidate SOP and the clinical quality event configuration of the selected SOP. Compare whether the clinical quality event configuration of the candidate SOP is consistent with the clinical quality event configuration of the selected SOP; If they match, the candidate SOP can be selected and added to the project. If there is a discrepancy, the candidate SOP will not be allowed to be selected, or the candidate SOP will not be displayed.

[0011] Optionally, consistent configuration of clinical quality events means: The candidate SOP and the selected SOP have the same approval flow condition fields; and, The enumeration values ​​of the candidate SOP and the selected SOP have the same correspondence with the approval flow template; When both of the above conditions are met, it is determined that the candidate SOP and the selected SOP have the same clinical quality event configuration.

[0012] Optionally, the clinical quality event is a protocol deviation record, and the approval flow condition field is a protocol deviation grading field; The enumerated values ​​include at least minor and major; When the current value is "minor", the approval flow template is a minor deviation from the approval flow. When the current value is "significant", the approval flow template is "significant proposal deviates from the approval flow". The minor deviation from the approval flow is configured with a first set of approvers, and the major deviation from the approval flow is configured with a second set of approvers. The second set of approvers has more approval levels than the first set of approvers.

[0013] Secondly, embodiments of this application provide a dynamic approval routing device for clinical quality events, the device comprising: The condition field configuration module is used to select approval flow condition fields in the clinical quality event configuration, wherein the approval flow condition fields are enumerated fields. The enumeration mapping module is used to read all enumeration values ​​of the approval flow condition field and generate an approval route mapping table based on the enumeration values. The approval route mapping table contains the correspondence between the enumeration values ​​and the approval flow template. The record reading module is used to read the current value of the approval flow condition field in the quality event record when the user submits the quality event record; The routing matching module is used to query the corresponding relationship in the approval routing mapping table based on the current value, and determine the approval flow template corresponding to the current value; The approval instance module is used to create approval instances based on the approval flow template and bind the quality event records to the approval instances to achieve automatic routing.

[0014] Optionally, the enumeration mapping module is specifically used to generate the approval route mapping table when the quality event configuration is released; the correspondence in the approval route mapping table is stored in the form of key-value pairs, wherein the enumeration value is used as the key and the approval flow template is used as the value; when the enumeration value changes or the correspondence is adjusted, the enumeration mapping module regenerates the approval route mapping table.

[0015] Optionally, the device further includes a value verification module, used to perform a value validity verification after reading the current value of the approval flow condition field in the quality event record: verifying whether the current value is empty; if the current value is empty, blocking the submission and prompting the user to complete the approval flow condition field; if the current value is not empty, triggering the route matching module to perform the step of querying the approval route mapping table according to the current value.

[0016] Optionally, the route matching module is specifically used to: filter the corresponding relationships in the approval route mapping table according to the enabled state, and retain only the corresponding relationships in the enabled state; perform precise matching between the current value and the enumerated value of the filtered corresponding relationship; if the matching is successful, determine the approval flow template corresponding to the current value; if the matching fails, enter the preset fallback approval flow.

[0017] Optionally, the device further includes an SOP consistency verification module, used to perform multi-SOP configuration consistency verification: when a monitoring SOP is selected for a project, the clinical quality event configuration of the candidate SOP is obtained, and the clinical quality event configuration of the selected SOP is obtained; the clinical quality event configuration of the candidate SOP is compared with the clinical quality event configuration of the selected SOP; if they are consistent, the candidate SOP is allowed to be selected and added to the project; if they are inconsistent, the candidate SOP is not allowed to be selected, or the candidate SOP is not displayed.

[0018] Optionally, the SOP consistency verification module determines that the clinical quality event configuration is consistent according to the following rules: the approval flow condition fields of the candidate SOP and the selected SOP are the same; and the enumeration values ​​of the candidate SOP and the selected SOP are completely identical to the correspondence of the approval flow template; when both of the above conditions are met, it is determined that the clinical quality event configuration of the candidate SOP and the selected SOP is consistent.

[0019] Optionally, the clinical quality event is a protocol deviation record, and the approval flow condition field is a protocol deviation grading field; the enumerated values ​​include at least minor and major; when the current value is minor, the approval flow template determined by the routing matching module is a minor protocol deviation approval flow; when the current value is major, the approval flow template determined by the routing matching module is a major protocol deviation approval flow; the minor protocol deviation approval flow is configured with a first set of approvers, and the major protocol deviation approval flow is configured with a second set of approvers, wherein the number of approval levels in the second set of approvers is greater than that in the first set of approvers.

[0020] Thirdly, embodiments of this application provide a computer device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the dynamic approval routing method for clinical quality events described in any of the optional embodiments of the first aspect are performed.

[0021] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the dynamic approval routing method for clinical quality events described in any of the optional embodiments of the first aspect.

[0022] The technical solution provided in this application includes, but is not limited to, the following beneficial effects: Selecting enumerated fields as approval flow condition fields in the clinical quality event configuration allows the decision criteria for approval routing to be directly associated with the business form fields of the quality event. This eliminates the need for hard-coding routing conditions, improving the flexibility and scalability of routing rule configuration and adapting to the routing decision requirements of different types of clinical quality events.

[0023] The system reads all enumerated values ​​of the approval flow condition fields and generates an approval route mapping table containing the correspondence between the enumerated values ​​and the approval flow template. This enables centralized and standardized management of the corresponding rules between the enumeration levels and the approval process, making the routing rules clear, traceable, and easy to maintain. It provides a stable and unified query benchmark for automatic route matching in the submission process.

[0024] When a user submits a quality event record, the system automatically reads the current value of the approval flow condition field, which can directly use the actual business data in the record as the basis for routing determination. This eliminates the need for manual judgment of the event level and manual selection of the approval process, reducing the manual operation cost in the submission process and avoiding subjective bias caused by manual classification judgment.

[0025] By querying the corresponding relationship in the approval route mapping table based on the current value and determining the matching approval flow template, the approval process can be automatically matched, replacing the traditional manual selection of approval flow. This avoids the risk of manually selecting the wrong approval path from the root and ensures that quality events of different risk levels can be accurately matched with the corresponding approval process of strictness.

[0026] An approval instance is created based on the matched approval flow template, and the quality event record is bound to the approval instance. This enables the automatic initiation of the approval process and the solidification of business data association, eliminating the need for manual initiation of the approval process. This improves the efficiency of clinical quality event approval and processing, while ensuring a one-to-one correspondence between business records and approval processes, facilitating the synchronous update of approval status and full-process tracking.

[0027] In summary, this invention achieves dynamic and automatic approval routing for clinical quality events through a full-link design that includes enumerated condition field configuration, centralized management of mapping relationships, automatic value retrieval upon submission, automatic rule matching, and automatic process binding. While improving the flexibility of routing configuration and the standardization of rule management, it effectively reduces judgment errors caused by manual operation, ensures the compliance and accuracy of the approval path, and improves the overall processing efficiency and control quality of clinical quality event approval.

[0028] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0029] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 A flowchart of a dynamic approval routing method for clinical quality events provided in Embodiment 1 of the present invention is shown; Figure 2 A flowchart of a validity verification method provided in Embodiment 1 of the present invention is shown; Figure 3 The flowchart of an approval workflow template determination method provided in Embodiment 1 of the present invention is shown; Figure 4 A flowchart of a consistency verification method provided in Embodiment 1 of the present invention is shown; Figure 5 This diagram illustrates the structure of a dynamic approval routing device for clinical quality events provided in Embodiment 2 of the present invention. Figure 6 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0032] Example 1 To facilitate understanding of this application, the following is combined with... Figure 1 The flowchart of the dynamic approval routing method for clinical quality events provided in Embodiment 1 of the present invention is shown below, which provides a detailed description of Embodiment 1 of this application.

[0033] See Figure 1 As shown, Figure 1 A flowchart of a dynamic approval routing method for clinical quality events provided in Embodiment 1 of the present invention is shown, wherein the method includes steps S101 to S105: S101: Select the approval flow condition field in the clinical quality event configuration. The approval flow condition field is an enumerated field.

[0034] Specifically, in the configuration phase of clinical quality events such as PD (Protocol Deviation), the system provides a dedicated entry point for configuring approval flow condition fields, allowing users to select condition fields from the available fields in the current quality event form to drive automatic matching of approval routes.

[0035] The system will perform double validation on the selected field: first, it will check whether the data type of the field is an enumeration type, and non-enumeration fields cannot be used as condition fields for routing determination; second, it will check whether the field has been enabled in the current quality event form, and fields that have not been enabled are not allowed to be selected.

[0036] After successful verification, the system will save the field identifier, field name, field version, and the corresponding SOP (Standard Operating Procedure) configuration information of the condition field, providing a basis for subsequent mapping table generation and route matching.

[0037] S102: Read all enumerated values ​​of the approval flow condition field, and generate an approval route mapping table based on the enumerated values. The approval route mapping table contains the correspondence between the enumerated values ​​and the approval flow template.

[0038] Specifically, the system will read the complete set of all valid enumeration values ​​under the approval flow condition field and generate a mapping record to be configured for each enumeration value, which will serve as the basic entry for the approval route mapping table.

[0039] The approval routing mapping table is divided into two parts: the location field and the mapping content field. The location field is used to identify the mapping affiliation and includes the SOP identifier, quality event type, and condition field identifier. The mapping content field is used to store the routing rules and includes enumeration values, approval flow template ID (Identifier), combination relationship, priority, approver rules, operator rules, and effective status.

[0040] The system will normalize all combined conditions into ordered field-value pairs, eliminating the interference of the display order in the configuration interface on the matching results, and ensuring that the matching results of the same set of enumerated values ​​are stable and unique.

[0041] Specifically, when a user configures the corresponding approval flow and approver rules for each enumeration value, the system will simultaneously perform three configuration checks: check whether the selected approval flow template can be used for the current project or organizational level, check whether the configured approver has the corresponding role and operation permissions, and check whether there are multiple duplicate mapping rules under the same enumeration value; only after the checks pass can the configuration be saved and the formal mapping table entries be generated.

[0042] S103: When a user submits a quality event record, read the current value of the approval flow condition field in the quality event record.

[0043] Specifically, users can submit quality events such as PD through the project workbench, central workbench, or quality event record page. After the submission action is triggered, the system will automatically extract the configured approval flow condition fields from the current record and extract the enumerated values ​​that are currently filled in.

[0044] This value is the core basis for subsequent route matching approval. After the value is read, it will first enter the validity verification stage before the subsequent route matching operation is executed.

[0045] Specifically, the system will generate stable value keys based on the extracted enumeration field values, which will serve as a unified query identifier for route matching, avoiding matching anomalies due to differences in field format and expression, and ensuring the consistency of matching results.

[0046] S104: Based on the current value, query the corresponding relationship in the approval route mapping table to determine the approval flow template corresponding to the current value.

[0047] Specifically, the system uses project identifier, SOP configuration, quality event type, condition field identifier, and enumerated value as combined query conditions to perform rule matching in the approval route mapping table.

[0048] The matching process uses a layered filtering logic: first, it filters by rule version and activation status, retaining only rules that are active under the current SOP version; then, it precisely matches the recorded actual enumeration value with the enumeration value in the rule to locate the unique corresponding approval flow template.

[0049] The current solution uses a single enumeration field for exact matching logic and does not support multi-layered composite condition matching. The matching process does not require the submitter to manually select the approval process, which can avoid judgment errors caused by manual selection.

[0050] S105: Create an approval instance based on the approval flow template, and bind the quality event record to the approval instance to achieve automatic routing.

[0051] Specifically, the system generates a formal approval instance based on the matched approval flow template. The instance will fully save information such as quality event record identifier, condition field values, approval flow identifier, approver, copy recipient, mapping table version, submitter and submission time.

[0052] The system will synchronously update the status of the quality event record to "under approval" and strongly bind the approval instance to the quality event record; when subsequent approval, rejection or withdrawal operations occur, the system will synchronously update the status of the corresponding quality event record, forming a complete closed loop of approval process.

[0053] Once the approval instance is created, the system will generate a to-do entry and a record list based on the permission rules of the project workbench and the central workbench. The visibility range will be filtered based on the record creator, the corresponding approver, and the hierarchical relationship of the organizational structure. Users can only view the to-do and quality event records within their own permission range.

[0054] The system will fully save the condition field configuration, enumeration mapping relationship, field values ​​at the time of submission, route matching results, approval process and other full-link data to form an audit trail record for compliance traceability and historical approval path review. It can explain the rule basis for each quality event to enter a specific approval flow.

[0055] In one feasible implementation, the approval route mapping table is generated when the quality event configuration is published.

[0056] Specifically, the system will only officially generate an effective approval route mapping table when the routing configuration of the quality event form is completed and the publishing operation is performed; if the configuration is not published, the relevant routing rules will not take effect and will not affect business submissions.

[0057] During the configuration release process, the system will automatically compile all enabled routing rules and check for overlapping conditions to avoid rule conflicts that could lead to abnormal matching results and ensure the determinism of routing rules.

[0058] The correspondence in the approval route mapping table is stored in key-value pair format, wherein the enumeration value is used as the key and the approval flow template is used as the value.

[0059] Specifically, the system stores the binding relationship between enumeration values ​​and approval workflow templates in a key-value pair structure, with the enumeration value as the query key and the approval workflow template as the matching result, which can improve the efficiency and stability of routing queries.

[0060] The key-value pairs adopt the ordered field-value pair format. The actual matching involves the binding relationship between the enumeration value and the approval flow template, which is not affected by changes in the display order of the enumeration values ​​on the configuration page, thus ensuring the consistency of the matching logic.

[0061] When the enumeration value changes or the correspondence is adjusted, the approval route mapping table is regenerated.

[0062] Specifically, scenarios that trigger the regeneration of the mapping table include adding or deleting enumeration values, modifying the binding relationship between enumeration values ​​and approval workflow templates, and adjusting approver rules. Whenever the routing rules change, the system will generate a new version of the approval routing mapping table.

[0063] Different versions of the mapping table are stored independently. The historical records of submitted and generated approval instances will continue to use the mapping table version corresponding to the submission time and will not be affected by subsequent configuration changes. Approval instances that have been submitted but have not yet been finalized will also be executed according to the configuration version fixed at the time of submission until completion.

[0064] This version's snapshot policy ensures that historical approval paths are verifiable and explainable, preventing the loss of historical approval links due to subsequent configuration adjustments, while also supporting continuous iterative optimization of configurations.

[0065] Specifically, the trigger dimensions for the mapping table version are divided into SOP configuration dimension and project configuration dimension. The SOP itself does not store specific approver information, and the approver rules are configured at the project dimension. Adjustments to approvers at the project dimension alone will trigger a new version mapping table snapshot, while changes to the SOP version will not directly alter the flow rules of the generated approval instances.

[0066] In one feasible implementation plan, see Figure 2 As shown, Figure 2The flowchart of a validity verification method provided in Embodiment 1 of the present invention is shown. After reading the current value of the approval flow condition field in the quality event record, the method further includes value validity verification steps S201-S203: S201: Verify whether the current value is empty.

[0067] Specifically, the validity check includes multi-dimensional judgment. In addition to checking whether the field is empty, it also checks whether the value belongs to the enumeration value set of the current mapping table and whether the mapping rule corresponding to the value is enabled, so as to comprehensively ensure the legality of the value.

[0068] S202: If the current value is empty, then the submission is blocked and the user is prompted to complete the approval flow condition field.

[0069] Specifically, when the system detects that a condition field has an empty value, is outside the range of valid enumerations, or the corresponding mapping rule is not enabled, it will terminate the submission process and display the corresponding prompt information to the user on the front-end page, guiding the user to complete or correct the field content before resubmitting.

[0070] This pre-verification can prevent invalid values ​​from entering the routing matching process and prevent abnormal flow without a corresponding approval flow.

[0071] S203: If the current value is not empty, continue to execute the step of querying the approval route mapping table based on the current value.

[0072] Specifically, when a field value is not empty, belongs to the valid enumeration set of the current mapping table, and the corresponding mapping rule is enabled, the system determines that the value is valid, allows it to proceed to the routing matching stage, and continues to search for the corresponding approval flow template based on the value.

[0073] In one feasible implementation plan, see Figure 3 As shown, Figure 3 The flowchart illustrates a method for determining an approval flow template according to Embodiment 1 of the present invention. Specifically, determining the approval flow template corresponding to the current value involves querying the corresponding relationship in the approval route mapping table based on the current value, and includes steps S301-S304: S301: Filter the correspondence in the approval route mapping table according to the enabled state, and retain only the correspondence in the enabled state.

[0074] Specifically, before the system performs matching, it will first filter the rules to ensure their validity, selecting the rules that are enabled under the current SOP version. Routing rules that are disabled or expired will not participate in this matching.

[0075] This filtering step prevents historical configurations that have been taken offline from interfering with normal business operations and ensures that the matching results are consistent with the currently effective rules.

[0076] S302: Perform an exact match between the current value and the enumerated value of the filtered correspondence.

[0077] Specifically, this solution uses a single enumeration field for exact matching and does not support multi-layered composite condition matching. It compares the actual enumeration value in the record with the enumeration value in the mapping table one by one to find a completely consistent match.

[0078] The matching process is based on standardized ordered field-value pairs and is not affected by the display order of the configuration interface, ensuring the stability and reproducibility of the matching results.

[0079] S303: If the match is successful, then determine the approval flow template corresponding to the current value.

[0080] Specifically, after a successful match, the system will synchronously extract the approval flow template ID, approver rules, and copy recipient rules bound to the mapping record, as the complete configuration basis for creating the approval instance.

[0081] The approver and copy recipient support multiple parsing methods, which can parse the actual processing personnel from project roles, central roles or designated users, adapting to the organizational structure configuration of different projects.

[0082] Specifically, after the approver is parsed into an independent execution step after route matching, the system will parse out the actual list of approvers based on the preset approver parsing method in the mapping rules, combined with the current project's role configuration, central personnel configuration, or specified user list, and use this list as the node processor for the approval instance.

[0083] S304: If the match fails, proceed to the preset fallback approval flow.

[0084] Specifically, typical scenarios where matching fails include: a new enumeration value has been added to the field but no approval flow has been configured for that enumeration value, or all related mapping rules have become invalid.

[0085] When a match fails, the system automatically enters the pre-configured default fallback approval flow, and records the fields and values ​​that were not matched to prevent quality event records from being abnormally transferred without an approval link, thus ensuring the closed-loop nature of the approval process.

[0086] Specifically, the fallback process is triggered in two scenarios: random occurrence and empty parsing result of approver. If either of these occurs, the system will enter the preset fallback approval flow to avoid interruption of the approval process due to lack of personnel.

[0087] In one feasible implementation plan, see Figure 4 As shown, Figure 4 The flowchart of a consistency verification method provided in Embodiment 1 of the present invention is shown, which further includes multi-SOP configuration consistency verification steps S401~S404: S401: When selecting a monitoring SOP for a project, obtain the clinical quality event configuration of the candidate SOP and the clinical quality event configuration of the selected SOP.

[0088] Specifically, after the project selects the first monitoring SOP, the system will record the quality event configuration corresponding to that SOP as the project baseline. The baseline content includes core information such as approval flow condition fields, enumeration value set, and approval route mapping table version.

[0089] As the project continues to add other monitoring SOPs, the system will automatically pull the quality event configuration information of the candidate SOPs for comparison with the project's existing baseline configuration.

[0090] S402: Compare whether the clinical quality event configuration of the candidate SOP is consistent with the clinical quality event configuration of the selected SOP.

[0091] Specifically, the consistency comparison includes two core judgment criteria. Both criteria must be met simultaneously to determine that the configuration is consistent, thereby strictly constraining the approval criteria within the same project.

[0092] This verification mechanism can avoid the problem of inconsistent approval standards within a project due to inconsistent PD configurations when multiple monitoring SOPs coexist, thus ensuring the standardization of quality management.

[0093] S403: If they match, then the candidate SOP can be selected to be added to the project.

[0094] Specifically, candidate SOPs with consistent configurations will be displayed normally in the selection list, and project administrators can normally include them in the project's monitoring SOP system to ensure that the quality event approval standards of multiple SOPs within the same project are consistent.

[0095] S404: If there is a discrepancy, the candidate SOP is not allowed to be selected, or the candidate SOP is not displayed.

[0096] Specifically, candidate SOPs with inconsistent configurations will not appear in the selectable list or will be set to an unselectable state, thus avoiding the risk of different SOPs using different approval criteria within the same project from the entry point.

[0097] This design can solve the compliance problem of inconsistent approval standards when multiple SOPs coexist, and ensure that the approval standards for all quality events within the project are consistent.

[0098] In a feasible implementation, consistent configuration of clinical quality events means: The candidate SOP has the same approval flow condition field as the selected SOP.

[0099] Specifically, the condition field used by two SOPs to trigger the approval route must be the same field. The field identifier, field name, and enumeration value definition must be completely consistent. It is not allowed to use different fields as the basis for determining the approval route.

[0100] Furthermore, the enumeration values ​​of the candidate SOP and the selected SOP have the same correspondence with the approval flow template.

[0101] Specifically, the approval workflow template, approver rules, and copy recipient rules bound to each enumeration value must correspond one-to-one and be completely consistent, and there should be no difference in the configuration of different approval workflows corresponding to the same enumeration value.

[0102] When both of the above conditions are met, it is determined that the candidate SOP and the selected SOP have the same clinical quality event configuration.

[0103] Specifically, the two conditions are in an AND relationship; if either condition is not met, it is determined to be an inconsistency in configuration, strictly ensuring the consistency and compliance of the approval criteria for quality events within the same project.

[0104] In one feasible implementation, the clinical quality event is a protocol deviation record, and the approval flow condition field is a protocol deviation grading field.

[0105] Specifically, the most core application scenario of this solution is the deviation from the plan, i.e., the PD record. Using the PD classification field as the routing condition, it is possible to automatically match PDs of different risk levels with the corresponding approval processes of strictness.

[0106] In addition to PD grading, the approval flow condition fields can also be replaced with other enumerated fields such as severity, whether it affects the main endpoint, and whether the applicant needs to confirm, to adapt to different quality management scenarios.

[0107] Specifically, the decision logic for approval routes can be expanded to a multi-enumerated field combination condition pattern, such as a multi-dimensional combination decision of PD level + center type + project stage; when using multi-condition combination rules, the system will perform deterministic sorting in the order of "number of combined conditions satisfied, rule priority, configuration time", complete the rule conflict resolution, and take the unique highest priority rule as the matching result to solve the scenario where different approval paths need to be matched due to different security and impact scope under the same risk level.

[0108] Specifically, the mapping configuration also supports flexible expansion. In addition to mapping a single approval workflow template, a single enumeration value can also be mapped to a combination configuration of approval workflow template and approver rules, adapting to more refined personnel permission management needs.

[0109] The enumerated values ​​include at least minor and major.

[0110] Specifically, minor and major are the basic levels of PD grading in clinical research, corresponding to low-risk and high-risk protocol deviation events, respectively. More grading enumeration values ​​can also be added according to the specific quality management requirements of the project to adapt to the needs of refined grading management.

[0111] When the current value is "minor", the approval flow template is a minor deviation from the approval flow.

[0112] Specifically, minor PDs have a lower risk level. The corresponding minor solutions deviate from the simplified approval flow configuration with fewer approval nodes and approval levels, which can improve the processing efficiency of low-risk quality events and avoid redundant consumption of approval resources.

[0113] When the current value is "major", the approval flow template is "major proposal deviates from the approval flow".

[0114] Specifically, major PDs have a higher risk level and may involve key dimensions such as subject safety and core trial indicators. Correspondingly, major protocols deviate from the approval flow and are configured with stricter approval nodes to ensure the compliance of approval for high-risk quality events and avoid management loopholes caused by overly lenient approval.

[0115] The minor deviation from the approval flow is configured with a first set of approvers, and the major deviation from the approval flow is configured with a second set of approvers. The second set of approvers has more approval levels than the first set of approvers.

[0116] Specifically, the approver set can be parsed from project roles, central roles, or designated users. The first approver set for minor project decisions (PDs) usually has fewer levels and a simpler process, while the second approver set for major PDs usually includes multiple levels of approval roles such as project manager, quality management personnel, and applicant representative.

[0117] This differentiated approval hierarchy design enables tiered management that allows for strict approval of high-risk events and efficient handling of low-risk events. This not only improves overall approval efficiency and ensures compliance of high-risk events, but also reduces judgment errors caused by manual selection of approval flows.

[0118] In one feasible implementation, once a monitoring SOP has been selected for a project, when the user continues to add other monitoring SOPs, the system only displays candidate SOPs whose clinical quality event configuration is consistent with the selected SOP. SOPs with inconsistent configurations are not presented in the selectable list.

[0119] Specifically, this embodiment can unify the approval standards for quality events within a project at the entry level, avoid project administrators mistakenly selecting SOPs with different configuration standards, and ensure the consistency of approval rules within the project.

[0120] In one feasible implementation, when a user clicks on a PD to-do item in the to-do list of the project workbench, the system will automatically populate the current project's filter criteria and directly jump to the approval and processing page for the corresponding quality event.

[0121] Specifically, this embodiment can reduce manual filtering operations for users, realize a direct closed loop from the to-do entry to the approval processing page, and improve the efficiency of approval operations.

[0122] In a feasible implementation, the method can be implemented through a corresponding dynamic approval routing system for clinical quality events. The system includes a condition field configuration module, an enumeration mapping module, an SOP consistency verification module, a submission routing module, an approval instance module, a workbench permission module, and an audit trail module.

[0123] Specifically, the condition field configuration module provides the entry point for selecting condition fields in the approval flow and performs validation of field types and enabled status; the enumeration mapping module reads enumeration values, generates mapping relationships between enumeration values ​​and approval flows and approvers, and maintains the version of the mapping table; the SOP consistency verification module verifies whether the quality event configurations of multiple SOPs are consistent and limits the range of selectable SOPs within the project.

[0124] Specifically, the submission routing module is used to read field values, generate value keys, and perform route matching when a quality event record is submitted; the approval instance module is used to create approval instances based on the matching results and bind them to the quality event record for status synchronization; the workbench permission module is used to generate to-do entries and visible record lists based on personnel permissions and organizational structure; and the audit trail module is used to save configuration, submission, routing, and approval data across the entire chain, supporting compliance traceability.

[0125] Example 2 See Figure 5 As shown, Figure 5 The diagram shows a schematic of a dynamic approval routing device for clinical quality events provided in Embodiment 2 of the present invention, wherein the device includes: The condition field configuration module 501 is used to select an approval flow condition field in the clinical quality event configuration, wherein the approval flow condition field is an enumerated field. The enumeration mapping module 502 is used to read all the enumeration values ​​of the approval flow condition field and generate an approval route mapping table based on the enumeration values. The approval route mapping table contains the correspondence between the enumeration values ​​and the approval flow template. The record reading module 503 is used to read the current value of the approval flow condition field in the quality event record when the user submits the quality event record; The routing matching module 504 is used to query the corresponding relationship in the approval routing mapping table based on the current value, and determine the approval flow template corresponding to the current value; The approval instance module 505 is used to create an approval instance based on the approval flow template and bind the quality event record to the approval instance to achieve automatic routing.

[0126] In a feasible implementation, the enumeration mapping module is specifically used to generate the approval route mapping table when the quality event configuration is released; the correspondence in the approval route mapping table is stored in key-value pair form, wherein the enumeration value is used as the key and the approval flow template is used as the value; when the enumeration value changes or the correspondence is adjusted, the enumeration mapping module regenerates the approval route mapping table.

[0127] In a feasible implementation, the device further includes a value verification module, which performs a value validity verification after reading the current value of the approval flow condition field in the quality event record: verifying whether the current value is empty; if the current value is empty, blocking the submission and prompting the user to complete the approval flow condition field; if the current value is not empty, triggering the route matching module to perform the step of querying the approval route mapping table based on the current value.

[0128] In a feasible implementation, the route matching module is specifically used to: filter the correspondences in the approval route mapping table according to the enabled state, and retain only the correspondences in the enabled state; perform precise matching between the current value and the enumerated value of the filtered correspondences; if the match is successful, determine the approval flow template corresponding to the current value; if the match fails, enter the preset fallback approval flow.

[0129] In one feasible implementation, the device further includes an SOP consistency verification module for performing multi-SOP configuration consistency verification: when a project selects a monitoring SOP, the clinical quality event configuration of the candidate SOP is obtained, and the clinical quality event configuration of the selected SOP is obtained; the clinical quality event configuration of the candidate SOP is compared with the clinical quality event configuration of the selected SOP; if they are consistent, the candidate SOP is allowed to be selected and added to the project; if they are inconsistent, the candidate SOP is not allowed to be selected, or the candidate SOP is not displayed.

[0130] In a feasible implementation, the SOP consistency verification module determines that the clinical quality event configuration is consistent according to the following rules: the approval flow condition fields of the candidate SOP and the selected SOP are the same; and the enumeration values ​​of the candidate SOP and the selected SOP are completely identical to the correspondence of the approval flow template; when both of the above conditions are met, it is determined that the clinical quality event configuration of the candidate SOP and the selected SOP is consistent.

[0131] In a feasible implementation, the clinical quality event is a protocol deviation record, and the approval flow condition field is a protocol deviation grading field; the enumerated values ​​include at least minor and major; when the current value is minor, the approval flow template determined by the routing matching module is a minor protocol deviation approval flow; when the current value is major, the approval flow template determined by the routing matching module is a major protocol deviation approval flow; the minor protocol deviation approval flow is configured with a first set of approvers, and the major protocol deviation approval flow is configured with a second set of approvers, wherein the second set of approvers has more approval levels than the first set of approvers.

[0132] Example 3 Based on the same application concept, see [link / reference] Figure 6 As shown, Figure 6 A schematic diagram of the structure of a computer device provided in Embodiment 3 of the present invention is shown, wherein, as Figure 6 As shown, the computer device 600 provided in Embodiment 3 of this application includes: The computer device 600 includes a processor 601, a memory 602, and a bus 603. The memory 602 stores machine-readable instructions that can be executed by the processor 601. When the computer device 600 is running, the processor 601 communicates with the memory 602 through the bus 603. When the machine-readable instructions are executed by the processor 601, the steps of the dynamic approval routing method for clinical quality events shown in Embodiment 1 are performed.

[0133] Example 4 Based on the same application concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the dynamic approval routing method for clinical quality events as described in any of the above embodiments.

[0134] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0135] The computer program product for dynamic approval routing of clinical quality events provided in this embodiment of the invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.

[0136] The dynamic approval routing device for clinical quality events provided in this embodiment of the invention can be specific hardware on a device or software or firmware installed on the device. The implementation principle and technical effects of the device provided in this embodiment of the invention are the same as those in the foregoing method embodiments. For the sake of brevity, any parts not mentioned in the device embodiments can be referred to the corresponding content in the foregoing method embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can all be referred to the corresponding processes in the above method embodiments, and will not be repeated here.

[0137] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0138] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0139] In addition, the functional units in the embodiments provided by the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0140] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0141] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0142] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. All should be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A dynamic approval routing method for clinical quality events, characterized in that, include: In the clinical quality event configuration, select the approval flow condition field, where the approval flow condition field is an enumerated field; Read all enumerated values ​​of the approval flow condition field, and generate an approval route mapping table based on the enumerated values. The approval route mapping table contains the correspondence between the enumerated values ​​and the approval flow template. When a user submits a quality event record, read the current value of the approval flow condition field in the quality event record; Based on the current value, query the corresponding relationship in the approval route mapping table to determine the approval flow template corresponding to the current value; An approval instance is created based on the approval flow template, and the quality event record is bound to the approval instance to achieve automatic routing.

2. The method according to claim 1, characterized in that, The approval route mapping table is generated when the quality event configuration is published. The correspondence in the approval route mapping table is stored in key-value pair format, wherein the enumeration value is used as the key and the approval flow template is used as the value. When the enumeration value changes or the correspondence is adjusted, the approval route mapping table is regenerated.

3. The method according to claim 1, characterized in that, After reading the current value of the approval flow condition field in the quality event record, the method further includes a value validity verification step: Verify whether the current value is empty; If the current value is empty, the submission will be blocked and the user will be prompted to complete the approval flow condition field; If the current value is not empty, then continue to execute the step of querying the approval route mapping table based on the current value.

4. The method according to claim 1, characterized in that, Based on the current value, the corresponding relationship in the approval route mapping table is queried to determine the approval flow template corresponding to the current value, specifically including: Filter the correspondence in the approval route mapping table according to the enabled status, and retain only the correspondence in the enabled status; The current value is precisely matched with the enumerated value of the filtered correspondence; If a match is successful, the approval flow template corresponding to the current value is determined; If the match fails, the process will proceed to the pre-defined fallback approval flow.

5. The method according to claim 1, characterized in that, It also includes a multi-SOP configuration consistency verification step: When selecting a monitoring SOP for a project, obtain the clinical quality event configuration of the candidate SOP and the clinical quality event configuration of the selected SOP. Compare whether the clinical quality event configuration of the candidate SOP is consistent with the clinical quality event configuration of the selected SOP; If they match, the candidate SOP can be selected and added to the project. If there is a discrepancy, the candidate SOP will not be allowed to be selected, or the candidate SOP will not be displayed.

6. The method according to claim 5, characterized in that, The consistent configuration of clinical quality events means that: The candidate SOP and the selected SOP have the same approval flow condition fields; and, The enumeration values ​​of the candidate SOP and the selected SOP have the same correspondence with the approval flow template; When both of the above conditions are met, it is determined that the candidate SOP and the selected SOP have the same clinical quality event configuration.

7. The method according to claim 1, characterized in that, The clinical quality events are protocol deviation records, and the approval flow condition field is a protocol deviation classification field; The enumerated values ​​include at least minor and major; When the current value is "minor", the approval flow template is a minor deviation from the approval flow. When the current value is "significant", the approval flow template is "significant proposal deviates from the approval flow". The minor deviation from the approval flow is configured with a first set of approvers, and the major deviation from the approval flow is configured with a second set of approvers. The second set of approvers has more approval levels than the first set of approvers.

8. A dynamic approval routing device for clinical quality events, characterized in that, include: The condition field configuration module is used to select approval flow condition fields in the clinical quality event configuration, wherein the approval flow condition fields are enumerated fields. The enumeration mapping module is used to read all enumeration values ​​of the approval flow condition field and generate an approval route mapping table based on the enumeration values. The approval route mapping table contains the correspondence between the enumeration values ​​and the approval flow template. The record reading module is used to read the current value of the approval flow condition field in the quality event record when the user submits the quality event record; The routing matching module is used to query the corresponding relationship in the approval routing mapping table based on the current value, and determine the approval flow template corresponding to the current value; The approval instance module is used to create approval instances based on the approval flow template and bind the quality event records to the approval instances to achieve automatic routing.

9. A computer device, characterized in that, include: The computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the dynamic approval routing method for clinical quality events as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the dynamic approval routing method for clinical quality events as described in any one of claims 1 to 7.