Skip to content

UHM-9418 - Bump labworkflow OWA to 2.0.0-SNAPSHOT, migrate its obs data - #679

Merged
mseaton merged 1 commit into
masterfrom
UHM-9418
Jul 30, 2026
Merged

mseaton merged 1 commit into
masterfrom
UHM-9418

Conversation

@mseaton

@mseaton mseaton commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

The lab-result-entry OWA (openmrs-owa-labworkflow / openmrs-react-components) moved obs form/path tracking from obs.comment to obs.formNamespaceAndPath (breaking change — see openmrs-react-components#281 and openmrs-owa-labworkflow#239). This couples the two changes this module owns so they land and stay in sync in the same commit:

  • Bumps labworkflowOwaVersion to 2.0.0-SNAPSHOT in pom.xml.
  • Adds a one-time liquibase changeset (api/src/main/resources/liquibase.xml) migrating historical result-entry-form^...-encoded obs.comments values into obs.form_namespace_and_path, clearing comments (previously repurposed for this tracking, now free for its actual clinical use).

Not mergeable until @openmrs/react-components@2.0.0 is actually published (only pushed on its own PR branch so far) and openmrs-owa-labworkflow's lockfile is regenerated against it — see the note on owa-labworkflow#239.

Test plan

  • Liquibase changeset XML validated well-formed
  • SQL transform manually traced for both nested and single-segment comments values (exactly one ^ in the resulting form_namespace_and_path, matching the field's core constraint)
  • Dry-run the migration's SELECT form against a production-shaped copy before deploy
  • Merge only once react-components 2.0.0 is published and the labworkflow OWA branch is unblocked

🤖 Generated with Claude Code

Couples the labworkflow OWA version bump (obs form/path tracking moved
from comment to formNamespaceAndPath - see openmrs-owa-labworkflow and
openmrs-react-components PRs) with the one-time data migration that
converts historical comment-encoded obs to formNamespaceAndPath, so the
code change and data migration land in the same commit and stay in sync.
@mseaton
mseaton requested a review from mogoodrich July 30, 2026 18:51
@mseaton
mseaton merged commit a681f39 into master Jul 30, 2026
@mseaton
mseaton deleted the UHM-9418 branch July 30, 2026 22:11
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