Skip to content

CARDS-2808: Clarity Import may assign forms to the wrong visit if the same visit ID is used for a different patient - #2422

Draft
sdumitriu wants to merge 3 commits into
devfrom
CARDS-2808-subject-hierarchy
Draft

CARDS-2808: Clarity Import may assign forms to the wrong visit if the same visit ID is used for a different patient#2422
sdumitriu wants to merge 3 commits into
devfrom
CARDS-2808-subject-hierarchy

Conversation

@sdumitriu

Copy link
Copy Markdown
Member

No description provided.

@sdumitriu
sdumitriu force-pushed the CARDS-2808-subject-hierarchy branch from 7a37423 to d3eb8a7 Compare July 28, 2026 13:31
… same visit ID is used for a different patient
ConfiguredGenericMapper lets a mapping copy another column instead of
assigning a literal, by configuring the value as "%{COLUMN NAME}%". It
stripped the leading "%{" but only one of the two trailing characters, so
it looked the column "COLUMN NAME}" up, which never exists. The feature
could therefore never have worked: it always assigned null.
117 tests, covering every class that can be exercised without a Clarity
database behind it.
@sdumitriu
sdumitriu force-pushed the CARDS-2808-subject-hierarchy branch from d3eb8a7 to 46d85cf Compare August 11, 2026 22: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.

1 participant