-
Notifications
You must be signed in to change notification settings - Fork 1
Update matrix #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update matrix #56
Conversation
…intent/soa-workbench into ui-move-transition-rules pull
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the matrix display format and fixes several data generation issues. The changes ensure proper code system formatting, correct HTML form behavior, and enhanced matrix visualization with additional timing information.
Changes:
- Updated code system generation to prepend "db://" prefix for proper system identification
- Fixed HTML template form control to ensure NULL is inserted when no default condition is selected
- Enhanced matrix display to show timeline, encounter, epoch, timing label, study day, and visit window information in separate header rows
- Added ISO-8601 duration parsing utility to convert duration strings to days for display
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/usdm/generate_study_timings.py | Prepends "db://" to code system values for proper system identification |
| src/soa_builder/web/utils.py | Adds ISO-8601 duration to days conversion helper function |
| src/soa_builder/web/templates/rules.html | Moves closing table tag outside loop for correct HTML structure |
| src/soa_builder/web/templates/instances.html | Corrects select option to use "value" attribute instead of "name" |
| src/soa_builder/web/templates/elements.html | Moves closing table tag outside loop for correct HTML structure |
| src/soa_builder/web/templates/edit.html | Restructures matrix header to display timing metadata in separate rows and simplifies instance column headers |
| src/soa_builder/web/app.py | Enhances instance query to retrieve timing metadata and converts study day duration to numeric days |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
spelling Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Matrix format updated
Generator for instances updated to include correct code system
Instance HTML template updated to ensure NULL inserted in database when no default_condition_uid chosen