System & Data-Flow Description
Version: 0.1 (SAMPLE)
What QA should look for
Is employment status sourced from a single system? Does each message specify its source, destination and acknowledgment requirement?
Assumptions
- Plant X is a fictional pharmaceutical manufacturer; all names, IDs and scenarios are fictional.
- Employment status (joiner, mover, leaver) is owned by the HR system; the directory service manages accounts and log-in, and the eQMS manages GxP roles and e-signatures. The eQMS cannot change employment status, and HR and the directory service cannot assign eQMS roles.
- The HR→directory service and directory service→eQMS links communicate via message interfaces with sequence numbers and acknowledgments; actual protocols to be provided by suppliers.
- This sample names no software product or service provider; 'eQMS' means any system with electronic document management and e-signature functions, and 'directory service' means the corporate directory service.
- All time limits, intervals and thresholds are marked 'to be confirmed by client'; this sample provides no numeric values.
- Electronic records and electronic signatures: the US follows 21 CFR Part 11; PIC/S Participating Authorities apply PIC/S GMP Annex 11.
Client requirements and open items
- To be confirmed by client: maximum allowed time for leaver and mover changes to reach the eQMS, retry count and interval.
- To be confirmed by client: reconciliation job frequency and handling procedure on mismatch.
- Already required in the client URS: after a job change, GxP roles that no longer fit the new job must be suspended, and signing with a former role is not permitted until the reassessment is complete (URS-02).
- Already required in the client URS: e-signatures must show name, date/time and meaning, and be bound to the signed document version (URS-08).
- To be confirmed by client: the frequency of periodic access review and the confirming person in each department.
- To be confirmed by client: the data-criticality class of each audit trail event type and the review depth for each class.
- To be confirmed by client: the current role matrix version and its change control procedure.
- To be confirmed by client: whether product is supplied to the US market or subject to FDA inspection or submission, including API DMFs (determines whether 21 CFR Part 11 also applies).
Scope
User account and GxP role provisioning for the Plant X eQMS (electronic document management), and the e-signature flow for authoring, reviewing and approving GMP documents; accounts follow HR changes and sync to the eQMS via directory service.
System & message diagram
- 1HR staff → HR Employment-status masterJoiner, mover, leaver
- 2HR Employment-status master → Directory Accounts and log-inMSG-01 EMPLOYEE_EVENT
- 3Directory Accounts and log-in → HR Employment-status masterMSG-02 ACK
- 4Directory Accounts and log-in → eQMS GxP roles and e-signaturesMSG-03 ACCOUNT_SYNC
- 5eQMS GxP roles and e-signatures → Directory Accounts and log-inMSG-04 ACK
- 6eQMS GxP roles and e-signatures ↔ Directory Accounts and log-inMSG-07 AUTH_CHECK
- 7HR Employment-status master → eQMS GxP roles and e-signaturesMSG-06 HR_ROSTER reconciliation
- 8eQMS GxP roles and e-signatures → System ownerMSG-05 ROLE_REVIEW_TASK
- 9System owner → eQMS GxP roles and e-signaturesRole assignment per role matrix
- 10Author → eQMS GxP roles and e-signaturesSignature: authored
- 11Reviewer → eQMS GxP roles and e-signaturesSignature: reviewed
- 12QA approver → eQMS GxP roles and e-signaturesSignature: approved
- 1Joiner, mover, leaver
- 2MSG-01 EMPLOYEE_EVENT
- 3MSG-02 ACK
- 4MSG-03 ACCOUNT_SYNC
- 5MSG-04 ACK
- 6MSG-07 AUTH_CHECK
- 7MSG-06 HR_ROSTER reconciliation
- 8MSG-05 ROLE_REVIEW_TASK
- 9Role assignment per role matrix
- 10Signature: authored
- 11Signature: reviewed
- 12Signature: approved
All systems synchronize their clocks with the NTP server (see CTRL-09, time synchronization control).
Systems & actors
| System / actor | Name | Role | Employment-status master? |
|---|---|---|---|
| SYS-HR | HR system | Source of joiner, mover and leaver events; employment-status master; holds no GxP roles. | yes |
| SYS-DIR | Corporate directory (directory service) | Corporate accounts and log-in authentication; enables or disables accounts per HR events and syncs them to the eQMS; assigns no GxP roles. | no |
| SYS-EQMS | eQMS (document management) | Authoring, review, approval and versioning of GMP documents; GxP roles per the role matrix; e-signatures and audit trail. | no |
| ACT-HR | HR staff | Enters personnel changes; no rights to assign eQMS roles. | n/a |
| ACT-SO | System owner | Approves role assignments per the role matrix; handles role re-assessment after job changes; leads periodic access review. | n/a |
| ACT-ADM | eQMS administrator (IT) | Performs account and configuration settings; cannot change own roles; holds no document-approval role. | n/a |
| ACT-USR | Document author / reviewer | Authors or reviews documents with a personal account and e-signs. | n/a |
| ACT-QA | QA approver | Approves GMP documents; reviews the audit trail; approves access review results. | n/a |
SYS-xxx IDs are sample system-list identifiers for demonstration; an actual project uses your existing system IDs.
Interface messages
| Message | From | To | Content | ACK required? |
|---|---|---|---|---|
| MSG-01EMPLOYEE_ | HR | Directory | Employee ID, event type (joiner/mover/leaver), effective date, new department and job, sequence no. | yes |
| MSG-02ACK | Directory | HR | Referenced sequence no. and processing result | no |
| MSG-03ACCOUNT_ | Directory | eQMS | Account, enabled/disabled, department and job attributes, source event sequence no. | yes |
| MSG-04ACK | eQMS | Directory | Referenced sequence no. and result (applied / roles pending re-assessment / rejected with reason) | no |
| MSG-05ROLE_ | eQMS | System owner (task notification) | GxP roles suspended after a job change, and affected pending signature tasks | human acknowledgment |
| MSG-06HR_ | HR | eQMS reconciliation job | List of current staff and jobs, for reconciliation | no |
| MSG-07AUTH_ | eQMS ↔ Directory | Directory ↔ eQMS | Identity check at log-in and at e-signature | yes |
Core scenario
QA document approver U-07 moves to another department and is no longer qualified to approve. HR records the move, but the HR→directory service→eQMS sync is one-way and unacknowledged, the change never reaches the eQMS, and U-07 keeps the QA approver role; the eQMS account of a leaver also stays active. U-07 later e-signs approval of an SOP in the eQMS, which makes it effective; and because the signature manifestation (name, date/time, meaning) is not bound to the signed version, the old signature still appears after the document is revised. The requirements, risks, controls and tests in this pack center on this scenario.
