URS-QUA-001: Quality and Statistics¶
| Property | Value |
|---|---|
| ID | URS-QUA-001 |
| Version | 1.0 |
| Status | Draft |
| Bounded Context | Quality |
| Author | |
| Approved By | |
| Date |
BR Traceability¶
| URS Requirement | Business Requirement | arc42 Reference |
|---|---|---|
| URS-QUA-001.1 | BR-04 | arc42/06 s6.6 |
| URS-QUA-001.2 | BR-04 | arc42/01 s1.1 |
| URS-QUA-001.3 | BR-04, BR-07 | arc42/01 s1.1 |
| URS-QUA-001.4 | BR-04 | arc42/01 s1.1 |
| URS-QUA-001.5 | BR-04, BR-06 | arc42/08 s8.11 |
Scope¶
The Quality bounded context handles measurement recording, message management, and statistical analysis for manufacturing processes. It supports multiple measurement types and provides real-time notifications.
Requirements¶
URS-QUA-001.1: Record Measurements¶
Description: The system shall record quality measurements for multiple types (EGP, Kann, Length, Valve, etc.) with order/serial traceability.
Acceptance Criteria: - Record measurements with type, value, order number, and serial number - Support measurement types: EGP, Kann, Length, Valve, Camera, CMMT, Force, Pressure, Temperature, Weight (see arc42/12 - Glossary) - Each measurement receives auto-generated UID and CRC - Measurements are linked to the originating process
GxP Relevance: Direct Risk Class: High
URS-QUA-001.2: Current Message Management¶
Description: The system shall manage a queue of current messages that can be added, removed, and listed.
Acceptance Criteria: - Add a message to the current message queue with message ID and timestamp - Remove a message from the queue - List all current messages - Messages are persisted in the statistics database
GxP Relevance: Indirect Risk Class: Low
URS-QUA-001.3: Message Archiving¶
Description: The system shall archive messages with timestamp and rising edge flag for historical traceability.
Acceptance Criteria: - Archive a message with its metadata - Rising edge flag indicates message activation - Archived messages are timestamped and include creator - Historical messages are queryable
GxP Relevance: Direct Risk Class: Medium
URS-QUA-001.4: Process Statistics Calculation¶
Description: The system shall calculate process statistics including count, OK/NOK rate, and cycle time (min/max/avg).
Acceptance Criteria: - Calculate total process count for a given time period - Calculate OK/NOK ratio - Calculate cycle time statistics: minimum, maximum, average - Statistics are calculated from recorded measurement data
GxP Relevance: Indirect Risk Class: Low
URS-QUA-001.5: Real-Time Message Notifications¶
Description: The system shall provide real-time notifications when current messages are added or removed.
Acceptance Criteria: - Publish events when a message is added to the current queue - Publish events when a message is removed from the current queue - Events are consumable via GraphQL subscriptions (WebSocket) - Events include message ID, timestamp, and change type (Added/Removed)
GxP Relevance: Supporting Risk Class: Low
References¶
- Architecture: arc42/05 s5.2.1 — Quality BC
- Runtime: arc42/06 s6.6 — Statistics Recording
- Event Pattern: arc42/08 s8.11 — Real-Time Event Pattern
- Related URS: URS-MFG-001, URS-INT-001