Skip to content

Use shared treatment link display column factory - #736

Merged
labkey-martyp merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_centralize_treatment_link_factory
Aug 6, 2026
Merged

Use shared treatment link display column factory#736
labkey-martyp merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_centralize_treatment_link_factory

Conversation

@labkey-martyp

@labkey-martyp labkey-martyp commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Rationale

Adopt the shared treatment link renderer so this module no longer carries its own copy. The renderer was duplicated across three centers, which meant a recent fix to how the scheduled date is passed had to be repeated here. This depends on the ehrModules change linked below and does not compile until that merges.

Related Pull Requests

Changes

  • Replaces the local treatment link display column with the shared one from ehrModules.
  • Declares this center's Behavior treatment routing as configuration; every other category takes the shared defaults, so the rendered links are unchanged.
  • Adds test coverage for the form each treatment category routes to, and for the scheduled date being passed from the treatment schedule but not from the treatment order.

The shared config no longer seeds it. Same form names as before, so the rendered links are unchanged.
Covers each treatment category's form type routing and the scheduledDate distinction between the treatment order and treatment schedule links, neither of which had coverage in this module.

@labkey-martyp labkey-martyp left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated testing for this feature added in this module.

@labkey-martyp
labkey-martyp merged commit 44b1091 into release26.7-SNAPSHOT Aug 6, 2026
6 of 7 checks passed
@labkey-martyp
labkey-martyp deleted the 26.7_fb_centralize_treatment_link_factory branch August 6, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants