Skip to content

Conversation

@labkey-martyp
Copy link
Contributor

@labkey-martyp labkey-martyp commented Oct 7, 2021

Rationale

Clinical remarks categories value can be an integer so try to use title if it's available, then fall back to value. Also refresh EHR data entry cache when EHR lookup sets are updated.

Related Pull Requests

Changes

  • Add change to DefaultClinicalRemarksDataSource.getCategoryText
  • Add lookupsets table info and QUS with cache refresh

}

@Override
protected void afterInsertUpdate(int count, BatchValidationException errors)
Copy link
Contributor

Choose a reason for hiding this comment

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

For completeness should hook into deleteRows() as well. truncateRows() gets called when the whole table is being cleared, but won't be invoked for individual rows being deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, added.

@labkey-martyp labkey-martyp merged commit df4ab99 into release21.7-SNAPSHOT Oct 8, 2021
@labkey-martyp labkey-martyp deleted the 21.7_fb_etl_breeder_comments branch October 8, 2021 21:23
labkey-tchad pushed a commit that referenced this pull request Feb 24, 2025
* SND/Packages schema

* SubjectId, Date, SequenceNum

* EventData.objectid column

* objectid FK

* Filter on eventdata. Add qcstate.

* Categories schema

* Categories schema

* Avoid lookup joins for perf

* Bump schema versions to 25.000 (#248)

* Remove commented out code

---------

Co-authored-by: Marty Pradere <martyp@labkey.com>
Co-authored-by: Adam Rauch <adam@labkey.com>
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.

4 participants