Skip to content

Conversation

@pendingintent
Copy link
Owner

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

Copilot AI review requested due to automatic review settings January 19, 2026 15:26
@pendingintent pendingintent self-assigned this Jan 19, 2026
@pendingintent pendingintent added the enhancement New feature or request label Jan 19, 2026
@pendingintent pendingintent added this to the v1.2-beta milestone Jan 19, 2026
Copy link
Contributor

Copilot AI left a 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>
Copilot AI review requested due to automatic review settings January 19, 2026 15:39
Copy link
Contributor

Copilot AI left a 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.

@pendingintent pendingintent merged commit 599857d into master Jan 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants