Rulerust
Tss Submit Rule
Submission Pipeline Rules (tss-submit)
MANDATORY: Deliberation First
Before ANY change to the submission pipeline:
- State the problem
- Present 2-3 approaches with pros/cons
- Wait for explicit approval
Example: If validation is failing, don't just fix the rule. Ask: "Is the validation correct? Should it be in tss-standards instead? Is there a better approach?"
Core Responsibilities
- Mapping source data to CDISC domains
- Normalization and validation
- Export to XPT/XML formats
Before Modifying
ASK before:
- Changing validation rules or error types
- Modifying the mapping pipeline
- Changing export format behavior
Dependencies
Uses:
tss-standardsfor CDISC definitionstss-ingestfor source dataxportrsfor XPT generationquick-xmlfor XML generation
Architecture Considerations
When fixing issues in this crate, always ask:
- Is this the right layer? Should this logic be in tss-standards instead?
- Is the validation correct? Does it match CDISC specifications?
- Are we validating or transforming? Keep these concerns separate.