Laboratory Service — Service Readiness
Status: populated Owner: TBD Last updated: 2026-04-18 Companion: Service Template · 03 platform-services · 02 DDD
1. Readiness Gate Checklist
A service instance is not eligible for production traffic until all gates are green.
Documentation
- All 19 docs complete (not stubs)
- API_CONTRACTS.md reviewed by consuming service tech leads
- EVENT_SCHEMAS.md registered in schema registry
Code Quality
- Unit test coverage ≥ 80%
-
test/integration/tenant-isolation.spec.tspassing -
test/integration/outbox.spec.tspassing -
test/integration/inbox.spec.tspassing - All Pact consumer tests green against broker
- Event schema conformance tests green
- Zero TypeScript strict-mode errors
- ESLint (domain import restrictions) passing
Security
-
ModuleEntitlementGuardverified on all endpoints - RLS policies active on all tables
- No hardcoded credentials in codebase
- PHI encryption at rest confirmed
- Sensitive test code categories (HIV, substance abuse) have enhanced consent checks
Operations
- OpenTelemetry traces visible in Grafana for critical paths
- SLOs declared and alerts configured with runbooks
- Canary deploy completed (5% / 30 min) in staging
- Rollback procedure verified
- On-call rotation assigned
Clinical Safety
- Critical value policy configuration verified with lab stakeholder
- Correction workflow and immutability rules verified with pathologist
- Accession number format confirmed with facility ops team
Sign-off
- Tech lead sign-off
- SRE sign-off
- Clinical informatics sign-off (for critical value thresholds)