lx-annotate Documentation¶
Welcome to the developer and maintainer documentation for lx-annotate. These pages
cover data modeling conventions, implementation details, and automation workflows
used throughout the project.
Contents¶
Guides
- General Documentation Guide
- Deployment Strategy
- Encrypted Storage Process
- Frontend Asset Deployment Contract
- Wheel Deployment
- Reporting Template & Requirement Sets Page (TemplateRequirementsPage)
- Audience and Purpose
- Where This Page Is Used
- What You See on the Page
- Why Requirement Sets Matter (Clinical View)
- Typical Step-by-Step Workflow
- Full Reporting Flow (All Steps)
- Related Specialized Guides
- Quick Practical Path for Clinical Documentation
- Deep Link Behavior
- Field and Button Reference
- Developer Mapping: Requirement Objects to
lx_dtypesValidators - Common Problems and Practical Fixes
- Training Checklist (For Clinical Onboarding)
- Glossary (Plain Language)
- Related Technical Files (for Admins/Developers)
- Segment Annotation Workflow
- Anonymization Validation and Correction Workflow
- 1. Always Use Strong Typing (Not Strings)
- 2. Enforce Timezone Awareness (Crucial)
- 3. Stick to ISO 8601 Standards
- 4. Validating Business Logic (Past/Future)
- 5. Handling “Now” and Defaults
- 6. Serialization (JSON Output)
- Summary Checklist
- 7. Example: Putting it all together
- Next Step
- Pydantic V2 Cheat Sheet
- The Pydantic V2 Lifecycle
- 1. The “Golden Standard” Base Model
- 2. DateTime & Timezones (Strict Mode)
- 3. Reusable Fields (Mixins)
- 4. Advanced Validation Patterns
- 5. Computed Fields (Derived Data)
- 6. Managing Aliases (Frontend vs Backend)
- 7. Path Objects & Filesystems
- 8. YAML Fixtures & Sample Data
- Summary Table: Validator Modes
- Next Step
- Reporting Template & Requirement Sets Page (TemplateRequirementsPage)
- Audience and Purpose
- Where This Page Is Used
- What You See on the Page
- Why Requirement Sets Matter (Clinical View)
- Typical Step-by-Step Workflow
- Full Reporting Flow (All Steps)
- Quick Practical Path for Clinical Documentation
- Deep Link Behavior
- Field and Button Reference
- Developer Mapping: Requirement Objects to
lx_dtypesValidators - Common Problems and Practical Fixes
- Training Checklist (For Clinical Onboarding)
- Glossary (Plain Language)
- Related Technical Files (for Admins/Developers)
API Reference
Quick Links¶
Project repository: https://github.com/wg-lux/lx-data-models
Issue tracker: https://github.com/wg-lux/lx-data-models/issues
Python Package Index (coming soon)
Need another topic? Open a discussion or file an issue and we will expand the docs.