跳到正文
小易说合规· 合规晓月·AI 评分66

解读AGIT立场文件2:GLP研究中用于数据处理的Excel电子表格是否必须正式验证

Excel 有公式,就一定要做完整 CSV 吗?AGIT的回答

AI 导读

AGIT立场文件2就GLP研究中用于数据处理的电子表格是否必须正式验证给出的答案是不需要。该文件版本1.0、发布日期为2020年9月1日,指出同一电子表格在相同环境中被重复使用则强烈建议按AGIT电子表格开发与验证指南验证,仅用于数据处理时验证核查可能已足够,并建议以电子形式或打印件归档表格、限制模板读写权限、对发现的错误开展影响分析。

正文

很多企业在管理 Excel 电子表格时,都会遇到一个很现实的问题:

如果一个 Excel 只是受控的转录、计算或打印工具,是不是就可以不做正式 CSV?那它里面还能不能有公式?

真正的分界线,不是“有没有公式”,而是这个 Excel 在 GxP 活动中承担了多大的风险。

换句话说,有公式不等于必须做完整 CSV;但只要 Excel 已经参与了复杂数据处理、自动判断或关键质量决策,就不能再简单地说“它只是一个打印工具”。

下面是个人对AGIT Position Paper 2 “关于GLP研究中用于数据处理的Excel电子表格是否必须进行正式验证”阅读后的理解。(AGIT Position Paper 2 “关于GLP研究中用于数据处理的Excel电子表格是否必须进行正式验证”中英对照附后)

Excel 电子表格可以分成四级

在企业内部建立 CSV 或电子表格管理程序时,不应只用“有公式/没公式”来分类,而是按照预期用途和风险,把 Excel 分成四级。

Level 1:纯数据录入或展示

这类 Excel 只用于输入样品编号、排版、打印,没有计算,也不承担数据处理功能。管理重点通常是程序控制、模板受控、版本受控,以及使用后的人工核对。

Level 2:简单计算 Spreadsheet

例如净重计算、三次结果平均、含量等于浓度乘以稀释倍数。功能简单、透明;公式数量很少;无宏;无复杂逻辑;不作为唯一电子原始记录;计算结果可以独立人工复核;每次使用均有第二人核对;模板受控;公式单元格锁定;版本受控。

这类场景可以考虑 复核确认,而不一定需要完整 CSV。

Level 3:复杂 Spreadsheet

如果 Excel 里出现多层嵌套公式、lookup、条件判断、多工作表联动、统计分析、曲线拟合、图表、外部链接或自动报告,风险就明显上升了。

这时企业就应该认真评估是否进入验证,而不是继续把它当成普通办公文件处理。

Level 4:Spreadsheet Application

如果 Excel 包含 VBA、Macro、自动导入、自动数据处理、自动生成报告、自动 Pass/Fail,甚至与 LIMS 等系统接口连接,那么它实质上已经不是普通 Excel 表,而是基于 Excel 平台开发的 GxP computerized application。

这种情况通常需要正式验证。

AGIT Position Paper 2

关于GLP研究中用于数据处理的Excel电子表格是否必须进行正式验证

AGIT: Swiss Working Group on Information Technology in a GLP Environment

AGIT:瑞士GLP环境信息技术工作组

Good Laboratory Practice

药物非临床研究质量管理规范(GLP)

POSITION PAPER 2:

立场文件2:

Is a formal validation of spreadsheets used for data processing in a GLP study in any case mandatory?

在GLP研究中,用于数据处理的电子表格是否在任何情况下都必须进行正式验证?

Release Date: 01.09.2020

发布日期:2020年9月1日

Version: 1.0

版本:1.0

1 OBJECTIVE 目的

The aim of this document is to take position on the issue regarding the validation of spreadsheets.

本文件旨在就电子表格验证这一问题阐明立场。

Spreadsheets are widely used in GLP studies, e.g. for acquisition of raw data, for data transfer from LIMS and instrument systems and for processing of data. A common approach to develop and validate spreadsheets is described in the correspondent AGIT Guidelines [1].

电子表格广泛用于GLP研究,例如用于原始数据采集、从LIMS和仪器系统进行数据传输以及数据处理。AGIT相关指南[1]中描述了开发和验证电子表格的一种通用方法。

Is a formal validation of spreadsheets used for data processing in a GLP study in any case mandatory?

在GLP研究中,用于数据处理的电子表格是否在任何情况下都必须进行正式验证?

Answer: No

答案:不需要。

In case a spreadsheet is repeatedly used in the same setting, a validation according to AGIT Guidelines for the Development and Validation of Spreadsheets [1] is highly recommended.

如果某个电子表格在相同的使用环境中被重复使用,则强烈建议按照AGIT《电子表格的开发与验证指南》[1]对其进行验证。

However, if spreadsheets are only used for data processing purposes, verification of the spreadsheets may be sufficient. Figures 1 and 2 on raw data capturing and processing should support test facilities with their decision on how to handle spreadsheets used in GLP studies.

但是,如果电子表格仅用于数据处理,则对电子表格进行验证核查可能已经足够。关于原始数据采集和处理的图1和图2,可帮助试验机构决定如何管理GLP研究中使用的电子表格。

This position paper specifies AGIT’s position and its rationale for the approach without validation.

本立场文件明确了AGIT对于不采用正式验证方法这一做法的立场及其理由。

2 GLP REQUIREMENTS GLP要求

Test facilities can use this approach of verified but not validated spreadsheets only if the raw data are stored for subsequent archiving according the AGIT guidelines [2,3]. These data are then copied (e.g. entered manually or uploaded) to a spreadsheet for processing. During this step, the raw data need to remain unchanged.

试验机构只有在以下条件下,才可以采用“已完成验证核查但未进行正式验证”的电子表格管理方式:原始数据应按照AGIT指南[2,3]进行保存,以便后续归档。之后,这些数据被复制到电子表格中进行处理,例如手工录入或上传。在这一过程中,原始数据必须保持不变。

In case non-validated spreadsheets are used, data transfer and processing need to be verified for each study under the responsibility of the SD. QA should have the possibility to check this during data inspection.

如果使用未经正式验证的电子表格,则数据传输和数据处理必须在研究负责人(SD)负责的情况下,对每项研究分别进行验证核查。QA应当能够在数据检查期间对该过程进行检查。

According to the Principles, the final report should contain a presentation of the results, including calculations and determinations of statistical significance [4]. QA should verify and confirm that the final report reflects the raw data. As usual, the reported raw data should allow a re-calculation of the results based on the formulas/equations given in the report.

根据相关原则,最终报告应当呈现研究结果,包括计算结果和统计显著性判断[4]。QA应当核实并确认最终报告能够反映原始数据。通常,报告中的原始数据应当能够依据报告中给出的公式或方程重新计算出结果。

It is recommended to archive the spreadsheets electronically or print-outs thereof as part of the study documentation to ensure traceability.

为确保可追溯性,建议将电子表格以电子形式归档,或者将其打印件作为研究文件的一部分进行归档。

3 RECOMMENDATIONS AND CONSIDERATIONS 建议与考虑事项

The following elements/approaches/aspects are recommended:

建议采用以下要素、方法或做法:

• Data and values on spreadsheets should be organized in a clear structure.

• 电子表格中的数据和数值应以清晰的结构进行组织。

• All values given on the spreadsheet should be assigned to a unique study identifier and the corresponding sample definition (e.g. sample type, sampling time point, group number and should be assigned to the corresponding unit, e.g. mL, g/L, dpm, g/cm2, %).

• 电子表格中给出的所有数值都应分配至唯一的研究标识符和相应的样品定义(例如样品类型、采样时间点、组编号),并应分配至相应的单位,例如mL、g/L、dpm、g/cm2、%。

• Values used for calculations should be visible/readable on the sheet (see figure 3).

• 用于计算的数值应在工作表中可见且可读(见图3)。

• Calculations across files should be avoided. If data from other files are needed, these data should be imported and then processed.

• 应避免跨文件计算。如果需要其他文件中的数据,应将这些数据导入后再进行处理。

• The use of macros should be kept to a minimum. If macros are needed a validated approach is recommended [1].

• 宏的使用应尽量减少。如果确实需要使用宏,建议采用经过验证的方法[1]。

• The use of an “empty” template is encouraged to avoid erroneous calculations due to data from previous use.

• 鼓励使用“空白”模板,以避免因上一次使用留下的数据而导致错误计算。

• Files and calculations should be protected in such a way that formulas are not accidentally overwritten.

• 应对文件和计算过程采取适当保护,防止公式被意外覆盖。

• The read-write access of template should be restricted to a limited number of users.

• 模板的读写访问权限应限制在少数用户范围内。

• Any recognized error or malfunction in a template should be subject to an impact analysis to allow identification of potentially impacted studies and correction measures. This is particularly relevant for multiple used spreadsheets.

• 对模板中发现的任何错误或故障,都应开展影响分析,以识别可能受影响的研究并确定纠正措施。这一点对于重复使用的电子表格尤其重要。

• An appropriate quality check should be conducted prior to release of data. The extent of this check should be defined in an SOP and consider critical steps e.g. changes in number of samples, missing samples, handling of outliers, hidden areas.

• 在数据发布前,应进行适当的质量检查。检查范围应在SOP中规定,并考虑关键步骤,例如样品数量变化、样品缺失、异常值处理和隐藏区域。

• If a spreadsheet is repeatedly used without changes, a validation may be a better approach than the study-specific verification.

• 如果某个电子表格在没有变化的情况下被反复使用,正式验证可能比针对每项研究分别进行验证核查更合适。

The following aspects should be considered since they might be critical:

由于以下方面可能具有关键性,因此应予以考虑:

• In general, spreadsheets in an open file system have poor security and no audit trail.

• 总体而言,开放文件系统中的电子表格通常安全性较弱,并且没有审计追踪。

• Formulas can be accidently added to spreadsheets using simple menu functions.

• 使用简单的菜单功能,可能会无意中向电子表格中添加公式。

• After reformatting of spreadsheets (e.g. hidden column but formula not adapted), reference areas may be no longer correct.

• 对电子表格重新格式化后(例如隐藏列但未相应调整公式),引用区域可能不再正确。

• Access control: unauthorized use of open sessions should be prevented.

• 访问控制:应防止未经授权使用已打开的会话。

• Changes in computer configuration/operating system/version of spreadsheet program: spreadsheets are developed on a specific computer configuration, with specific operating system and version of the spreadsheet program, therefore the impact of such changes should be evaluated.

• 计算机配置、操作系统或电子表格程序版本发生变化:电子表格是在特定的计算机配置、特定操作系统和特定版本的电子表格程序下开发的,因此应评估此类变化的影响。

Figure 1 Raw Data Capturing 原始数据采集

Figure 2 Data Processing using Spreadsheets 使用电子表格进行数据处理

Figure 3 Example Spreadsheet Print Out for Lab Journal 实验室日志电子表格打印件示例

4 REFERENCES 参考文献

[1] Working Group on Information Technology (AGIT): Good Laboratory Practice (GLP); Guidelines for the Development and Validation of Spreadsheets (AGIT)

[1] 信息技术工作组(AGIT):药物非临床研究质量管理规范(GLP);电子表格的开发与验证指南(AGIT)

[2] Working Group on Information Technology (AGIT): Good Laboratory Practice (GLP); Guidelines for the Acquisition and Processing of Electronic Raw Data. (AGIT)

[2] 信息技术工作组(AGIT):药物非临床研究质量管理规范(GLP);电子原始数据的采集与处理指南。(AGIT)

[3] Working Group on Information Technology (AGIT); Good Laboratory Practice (GLP); Guidelines for the Archiving of Electronic Raw Data in a GLP Environment. (AGIT)

[3] 信息技术工作组(AGIT):药物非临床研究质量管理规范(GLP);GLP环境下电子原始数据的归档指南。(AGIT)

[4] OECD Series on Principles of Good Laboratory Practice and Compliance Monitoring No. 1: OECD Principles of Good Laboratory Practice (as revised in 1997). Environment Directorate, OECD, Paris, 1998. (OECD)

[4] OECD《GLP原则和合规监测系列》第1号:经1997年修订的OECD《药物非临床研究质量管理规范原则》。环境局,OECD,巴黎,1998年。(OECD)

5 WORKING GROUP ON INFORMATION TECHNOLOGY 信息技术工作组

The Working Group on Information Technology (AGIT) was founded on 27 March 1998 with the objective of discussing relevant topics of Good Laboratory Practice in the field of information technology between industry and the monitoring authorities.

信息技术工作组(AGIT)成立于1998年3月27日,旨在促进工业界与监管机构之间就信息技术领域的药物非临床研究质量管理规范相关主题开展讨论。

The members of the AGIT are representatives of the Swiss GLP monitoring authorities and invited experts from industry.

AGIT成员包括瑞士GLP监管机构的代表以及受邀的工业界专家。

For the convenience of users, AGIT publications are available on the Swiss GLP website (see Good Laboratory Practice (GLP)). The Swiss GLP homepage also provides links and references to guidelines, laws and regulations, definitions etc.

为方便用户,AGIT出版物可在瑞士GLP网站上获取(参见Good Laboratory Practice(GLP))。瑞士GLP主页还提供指南、法律法规、定义等的链接和参考资料。

来源:小易说合规 · mp.weixin.qq.com