Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1358 commits
Select commit Hold shift + click to select a range
1232fe7
updated to use getSchemaVersion instead of getVersion
gottfred Mar 24, 2021
4c5edd6
dependency fixes
gottfred Mar 24, 2021
ac7fb3e
changed ClientDependency to Supplier<ClientDependency>
gottfred Mar 24, 2021
104646e
removed unused method and updated to use BaseColumnInfo
gottfred Mar 24, 2021
6557aab
removed org.labkey.ehr.EHRSchema dependency because it was causing co…
gottfred Mar 24, 2021
ef83347
reverted change so it will compile
gottfred Mar 24, 2021
973204e
commenting out code that relies on a class that won't import. may nee…
gottfred Mar 24, 2021
56a5f99
removed non-pregnancy related dataset
gottfred Mar 25, 2021
e8b167c
Adding specific Marmoset U24 projectType.
dnicolalde Mar 25, 2021
8f5f0d5
already taken care of in ehr-20.000-20.001.sql
gottfred Mar 26, 2021
dcb6933
compilation fix
gottfred Mar 26, 2021
689064c
updated module version
gottfred Mar 26, 2021
34a48c9
moved some things from wnprc-modules into WNPRC_EHR so as to not conf…
gottfred Mar 26, 2021
6e954df
Add field level permissions, remove labkey components for now
csebranek Mar 26, 2021
e1440bd
Add hold option to tb dashboard
csebranek Mar 31, 2021
71520d4
Add measles required to persons table
csebranek Apr 1, 2021
459e717
Rename new hold field for barrier accesss
csebranek Apr 1, 2021
ac05cd7
Trigger the compliance module upgrade
csebranek Apr 1, 2021
9a8d34e
updated datatypes to varchar
gottfred Apr 1, 2021
9307460
added check to see if column already exists
gottfred Apr 1, 2021
7ef0cc3
Merge pull request #180 from LabKey/release21.3-SNAPSHOT
gottfred Apr 1, 2021
ca15c31
update to java 15
gottfred Apr 1, 2021
75503d8
fix up compliance upgrade script
csebranek Apr 1, 2021
ccf51bb
updated to work with 21.3 TeamCity builds
gottfred Apr 2, 2021
d4c2b3a
Adding frequency and improving error handling in water monitoring
dnicolalde Apr 2, 2021
70bcd8c
Removing logging output.
dnicolalde Apr 2, 2021
96ec172
Adding return URL to button.
dnicolalde Apr 2, 2021
b768753
updated to use adoptopenjdk, java 15, and R-3.6.0 on centos
gottfred Apr 2, 2021
c6226ce
Fix DOB field on enter persons page
csebranek Apr 2, 2021
f40b815
Add placeholders for the new persons fields so the clearance api does…
csebranek Apr 5, 2021
c0cca6b
Completely remove measles required from enter tb frontend
csebranek Apr 5, 2021
91d25d1
rename barrier_access_requested column to hold
csebranek Apr 6, 2021
7fd9bbd
Make the filtering on the edit tb page case insensitive
csebranek Apr 7, 2021
8dce55d
Revert package.json and package-lock.json to remove fsevents
csebranek Apr 7, 2021
2a2bb5f
Merge branch 'wnprc18.3-SNAPSHOT' into 18.3w_fb_financeModuleChanges
dnicolalde Apr 7, 2021
31fdc3e
fix null pointer error when a measurement is deleted during review pr…
gottfred Apr 7, 2021
5a009f3
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Apr 7, 2021
9b30ffe
Merge branch 'wnprc21.3-SNAPSHOT' into temp_merge_wnprc18.3-SNAPSHOT
gottfred Apr 7, 2021
a433ba5
Merge pull request #181 from WNPRC-EHR-Services/temp_merge_wnprc18.3-…
gottfred Apr 7, 2021
bcc66d3
Update ordering in animal abstract table
csebranek Apr 7, 2021
1b50532
Merge pull request #183 from WNPRC-EHR-Services/wnprc18.3-SNAPSHOT
gottfred Apr 7, 2021
864d86f
initial animal link permissions code working
csebranek Apr 7, 2021
9e03137
Update links on homepage
csebranek Apr 9, 2021
3cfdf23
removed extraneous semicolon that was causing a syntax error
gottfred Apr 16, 2021
84e7921
Override getValue in the setDisplayColumnFactory for higher security,…
csebranek Apr 16, 2021
65820d9
Fix issue with bulk edit erasing existing vals
csebranek Apr 17, 2021
762a5db
Do not remove existing items when adding batch
csebranek Apr 17, 2021
3197b90
fixed issue with customizing an immutable column. code in source_mate…
gottfred Apr 22, 2021
0fb9597
Merge pull request #185 from LabKey/release21.3-SNAPSHOT
gottfred Apr 22, 2021
367caea
Adding custom edit link, testing getFormattedValue, in progress
csebranek Apr 23, 2021
6eeb4c1
When adding batch location do not clear the existing form data
csebranek Apr 23, 2021
2f4721d
Fix up and re-arrange abstract
csebranek Apr 23, 2021
02e9099
Clear form data if it is empty on batch add, sort by room & cage
csebranek Apr 23, 2021
2b5457c
added html string encoding on jsp where it was missing
gottfred Apr 26, 2021
cf70755
Merge branch 'wnprc21.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Apr 26, 2021
e5fcf90
correctly encode strings on jsp
gottfred Apr 27, 2021
486943e
revert to use ext3 version of page so that layout remains the same
gottfred Apr 27, 2021
6e201bf
removed semicolon that shouldn't have been in query
gottfred Apr 27, 2021
3b73bf7
pretty print so that code changes can be more easily seen
gottfred Apr 27, 2021
09e389b
updated to work with newer versions of jquery
gottfred Apr 27, 2021
418261a
Fix gender and avail fields in abstract
csebranek Apr 28, 2021
3090e70
Fix and rearrange abstract for feeding panel
csebranek Apr 29, 2021
09f3642
fix fkColumnName lookup to point at the correct column
gottfred Apr 29, 2021
3d204f5
Merge pull request #186 from WNPRC-EHR-Services/wnprc18.3-SNAPSHOT
gottfred Apr 29, 2021
73f2ecc
Update purchasing links on homepage
csebranek May 7, 2021
b50ed0d
Add vendor id to arrival and demographics default view
csebranek May 7, 2021
2e9ca05
UpdateToFullCalendar5 and fixing display issues with bootstrap display
dnicolalde May 7, 2021
8a8eba4
Fixing problem with JSP rendering of Javascript console log
dnicolalde May 10, 2021
7241675
Fixing problem with JSP rendering of Javascript console log
dnicolalde May 10, 2021
bbef69c
Adding change for userAccess.
dnicolalde May 10, 2021
7716435
Fixing to knockout bindings.
dnicolalde May 11, 2021
c2a971a
Adding fullCalendar 5.3.2
dnicolalde May 11, 2021
0121ed7
Adding NEPRC Id to r24 query.
dnicolalde May 11, 2021
d2dd918
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
dnicolalde May 11, 2021
684d6c4
Fix animal requests view
csebranek May 12, 2021
2f72fb8
Merge pull request #193 from WNPRC-EHR-Services/wnprc18.3-SNAPSHOT
gottfred May 12, 2021
5e19b68
Adding U24 project assignment to ETL
dnicolalde May 13, 2021
1333f51
Initial commit for locking down permissions and sending email notific…
csebranek May 13, 2021
96963ab
Get the field label using QueryService, adjust permission usage
csebranek May 14, 2021
d7b9f2b
Move difference builder into helper class
csebranek May 14, 2021
cfae2ec
Changes to R24 ETL to include animal assignment
dnicolalde May 14, 2021
58e2e3e
Re-render animal ids instead of overriding value, other misc refactor
csebranek May 17, 2021
5336be5
Merge branch 'wnprc18.3-SNAPSHOT' into 18.3w_fb_assignments_develop
csebranek May 17, 2021
aa07d63
Remove unused dependencies from wnprc customizer
csebranek May 17, 2021
8187a67
Use the context path in the returnUrl for animal request edit link
csebranek May 18, 2021
0748b80
Lock down report link and animal ids to created by field
csebranek May 19, 2021
1e29f17
update testserver scripts to disable all individual notifications as …
gottfred May 20, 2021
a5b32c6
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred May 20, 2021
5fc1e09
Adding water prePivot to fullHistory using a UNION ALL
dnicolalde May 21, 2021
8cbca7c
Fixing name of water total for the day, keeping with filter on the .q…
dnicolalde May 24, 2021
7e3c1b4
In bulk edit, only update the value not the entire object IDS issue 1…
csebranek May 25, 2021
afdf2a6
Better naming
csebranek May 25, 2021
cf1e3a3
Test weight restraint relationship everywhere where it is relevant
csebranek May 25, 2021
25e988e
Improving access control to allow vet and compliance to see water rec…
dnicolalde Jun 3, 2021
3a8c245
fixing merge issues
gottfred Jun 3, 2021
1b2d669
fixing merge issues
gottfred Jun 3, 2021
e3673cc
Merge pull request #195 from LabKey/release21.3-SNAPSHOT
gottfred Jun 3, 2021
6f1c865
deleting extra line
gottfred Jun 3, 2021
a1540f2
Merge branch 'wnprc21.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Jun 3, 2021
fee5067
Reducing the drop down options for insert and single day water in the…
dnicolalde Jun 7, 2021
7e53fc2
Creating new module for U24 etls to share with Oregon.
dnicolalde Jun 8, 2021
cc1c5b8
add research ultrasounds to extjs4 list
gottfred Jun 8, 2021
22d359e
Merge pull request #197 from LabKey/release21.3-SNAPSHOT
gottfred Jun 10, 2021
d06328f
force older library versions from cdn to keep the page working. will …
gottfred Jun 14, 2021
1754723
Merge branch 'wnprc21.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Jun 14, 2021
e06b06a
Add extra filter for only include marmoset, using scientific name.
dnicolalde Jun 15, 2021
9a4c103
Merge branch 'wnprc18.3-SNAPSHOT' into 18.3w_fb_enterWeightsReactBugs
csebranek Jun 15, 2021
f07ff23
Merge branch 'wnprc18.3-SNAPSHOT' into 18.3w_fb_assignments_develop
csebranek Jun 15, 2021
a1d2f48
Removing files from r24 that are not necessary.
dnicolalde Jun 15, 2021
3b1204d
Removing references to r24 within the text.
dnicolalde Jun 15, 2021
32f964b
Merge pull request #198 from WNPRC-EHR-Services/21.3w_fb_u24collabora…
dnicolalde Jun 15, 2021
238bf96
Revert package and package lock json files
csebranek Jun 16, 2021
1965de9
Remove prototype for assignments report
csebranek Jun 16, 2021
c1a7e1b
Remove test / devel code
csebranek Jun 16, 2021
358f4ae
Removing references to r24 alter column.
dnicolalde Jun 17, 2021
b61d8f0
Merge pull request #202 from WNPRC-EHR-Services/21.3w_fb_u24collabora…
gottfred Jun 17, 2021
662a7fb
Updating docker compose file
dnicolalde Jun 17, 2021
4f285cc
Adding dirty flag to improve the UI
dnicolalde Jun 22, 2021
7d9c027
add override for ProjectEntryField to use investigatorWithName instea…
gottfred Jun 24, 2021
ae0d478
Resetting dirty flag after updating or adding a water amount.
dnicolalde Jun 24, 2021
42387e1
fix feeding queries by adding table alias
gottfred Jun 25, 2021
5c8a32b
fix to show descriptions in billed by dropdown on blood draws page
gottfred Jun 25, 2021
ed8fea3
Merge pull request #205 from LabKey/release21.3-SNAPSHOT
gottfred Jun 28, 2021
d5a67ad
Adding better message for animals not in water restriction and adding…
dnicolalde Jul 1, 2021
7017c9c
Correcting validation for animals not in the water Schedule animals
dnicolalde Jul 2, 2021
9fbdfa9
Fixing waterGiven events on the Calendar view.
dnicolalde Jul 2, 2021
85420a0
Fixing problem with waterAmounts added from LabWater form, setting ti…
dnicolalde Jul 2, 2021
3a6b05e
Removing dirty flag text
dnicolalde Jul 2, 2021
0196457
pulled out datetimepicker and replaced with a standard html datetime-…
gottfred Jul 2, 2021
92f967b
Merge branch 'wnprc21.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Jul 2, 2021
0c8f596
Merge pull request #206 from WNPRC-EHR-Services/wnprc21.3-SNAPSHOT
gottfred Jul 2, 2021
eb46134
created new arrival and departure ETLs for marmosets
gottfred Jul 2, 2021
b19879b
standardize date format for virology email import
gottfred Jul 2, 2021
8921bd0
updated query name
gottfred Jul 2, 2021
472946e
fixed ETL names
gottfred Jul 2, 2021
67a9958
fixed space
gottfred Jul 6, 2021
ad6bacf
fixed species filter
gottfred Jul 6, 2021
4052332
Merge branch 'wnprc18.3-SNAPSHOT' into wnprc21.3-SNAPSHOT
gottfred Jul 8, 2021
43b293e
reverted to using old dateTimePicker because datetime-local inputs ar…
gottfred Jul 9, 2021
104d2d5
remove ldap authentication settings since we're now using campus ad t…
gottfred Jul 9, 2021
b6b2ed0
Animal request updates for 21.3: Use lambda expression to fix columni…
csebranek Jul 13, 2021
4f01e88
install fullcalendar via npm and then copy it to the WebUtils web dir…
gottfred Jul 13, 2021
2f8ba81
updated path in package.json and initial commit of package-lock.json
gottfred Jul 14, 2021
0754e05
don't track the fullcalendar files that are copied over into the web …
gottfred Jul 14, 2021
5e8fb47
updated to correct paths
gottfred Jul 14, 2021
6724fd0
moved location of copied files to web/gen folder to be more clear tha…
gottfred Jul 15, 2021
5648dbe
Add postgres tablespace option to load database script
csebranek Jul 20, 2021
8538cfb
Initial commit for replacing sire field
csebranek Jul 20, 2021
a3468bf
use a with query to get arrival results
csebranek Jul 20, 2021
d97f91a
New client store extending SlaveSectionClientStore.js
dnicolalde Jul 28, 2021
1a0e7e2
Changes to the stores to check date and time from encounter
dnicolalde Jul 28, 2021
47c8a8c
Merge branch 'wnprc18.3-SNAPSHOT' into 18.3w_fb_watermonitoring
dnicolalde Jul 28, 2021
273c29e
Change on name for class to Apprentice
dnicolalde Jul 28, 2021
ce11e84
More cases for dam and sire query
csebranek Jul 30, 2021
d877ba7
Merge pull request #209 from LabKey/release21.3-SNAPSHOT
gottfred Aug 2, 2021
7ec4cd7
Merge branch 'wnprc18.3-SNAPSHOT' into wnprc21.3-SNAPSHOT
gottfred Aug 2, 2021
5a67c4b
Merge branch 'wnprc21.3-SNAPSHOT' into 21.3w_fb_vendor_id_swap
csebranek Aug 3, 2021
065f715
Adding notification for the water system and adding a new drug.js and…
dnicolalde Aug 3, 2021
813d879
Improving notification for water monitoring system adding table with …
dnicolalde Aug 4, 2021
d935b88
Adding a selection for recurring events and fixing the on lixit
dnicolalde Aug 4, 2021
d5339d6
Commit checkOldVendorIds method added by Chad
dnicolalde Aug 4, 2021
74159a9
Merge remote-tracking branch 'origin/wnprc18.3-SNAPSHOT' into 18.3w_f…
dnicolalde Aug 4, 2021
04c2a75
Merge pull request #207 from WNPRC-EHR-Services/21.3w_fb_u24collabora…
dnicolalde Aug 5, 2021
aaeeec6
Comment out console logs in chairing trigger script
csebranek Aug 5, 2021
9f53d1e
Comments in drug trigger script
csebranek Aug 5, 2021
b51a436
Remove console logs from waterAmount trigger script
csebranek Aug 5, 2021
6dd9376
Cleaning up console logs in waterOrders trigger script
csebranek Aug 5, 2021
867ec8f
Remove debugger breakpoint from animalWaterCalendar
csebranek Aug 5, 2021
59529eb
Remove debugger from water grid calendar
csebranek Aug 5, 2021
0a00227
Clean up imports in wnprc module
csebranek Aug 5, 2021
4725a39
Remove incorrect authorship from water monitoring notification
csebranek Aug 5, 2021
8df6589
Clean up imports in wnprc customizer
csebranek Aug 5, 2021
0b9fc76
Clean up imports in wnprc customizer
csebranek Aug 5, 2021
f23a23d
Update logging on water request.js
csebranek Aug 5, 2021
ce57e17
Remove duplicate imports in wnprc controller
csebranek Aug 5, 2021
913a4be
Changes based on review by Chad and Gabe
dnicolalde Aug 6, 2021
196396f
Merge branch '18.3w_fb_watermonitoring' of https://github.com/WNPRC-E…
dnicolalde Aug 6, 2021
534c9d7
Merge pull request #210 from WNPRC-EHR-Services/18.3w_fb_watermonitoring
dnicolalde Aug 6, 2021
64362eb
Use coalesce instead of a case statement for calculating dams and sires
csebranek Aug 6, 2021
2c92939
updating jars.txt files
gottfred Aug 6, 2021
d12992f
updating jars.txt to include all libraries that are used
gottfred Aug 6, 2021
978ff3f
Merge branch 'wnprc21.3-SNAPSHOT' into 21.3w_fb_vendor_id_swap
csebranek Aug 9, 2021
0984cfb
Fixes to interactions of water monitoring system with othe dataset su…
dnicolalde Aug 10, 2021
d180844
Change if statement to simple version.
dnicolalde Aug 17, 2021
decd4e9
Changes to drug.js to allow entering data for previous dates.
dnicolalde Aug 17, 2021
3ec8de7
Make the vendor id swap case insensitive
csebranek Aug 17, 2021
596b16a
Merge branch 'wnprc18.3-SNAPSHOT' into 21.3w_fb_waterTestMerge
gottfred Aug 18, 2021
d8514c6
simple compilation fixes for 21.3
gottfred Aug 18, 2021
af1dd2f
removed unused compareTo method to fix compilation
gottfred Aug 18, 2021
6bab242
removing manually downloaded fullcalendar libraries from webutils
gottfred Aug 18, 2021
c32e4c3
make water calendar use fullcalendar libraries that are automatically…
gottfred Aug 18, 2021
065d2a0
added validation to housing change so that breeding requires a female…
gottfred Aug 18, 2021
40df57c
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
gottfred Aug 18, 2021
a5bb05d
Adding sql to add husbandry_frequency.
dnicolalde Aug 18, 2021
074f6b6
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
dnicolalde Aug 18, 2021
fb465d9
Removing EHR blood change qcStatus button and using wnprc blood chang…
dnicolalde Aug 19, 2021
83c4afc
Add better descriptions for dam/sire calculated columns, hide old dem…
csebranek Aug 19, 2021
b9d392d
compilation fix for housing change dependency
gottfred Aug 20, 2021
3ff796f
Getting the JSP webpart for water monitoring to work in 21.3
dnicolalde Aug 24, 2021
8bf7f64
Adding absolute path to JspPage.jsp
dnicolalde Aug 24, 2021
976d94f
Add rowid back to animal request default view
csebranek Aug 25, 2021
ec50525
fix so that blood alerts shows correct date
gottfred Aug 26, 2021
eacc774
explicitly import the various jooq classes so that there are no namin…
gottfred Aug 26, 2021
cba0d97
Merge branch 'wnprc21.3-SNAPSHOT' into 21.3w_fb_vendor_id_swap
csebranek Aug 30, 2021
d0184dd
Resolving additional problems with knockout bindings for the water ca…
dnicolalde Aug 31, 2021
df81413
Merge pull request #213 from WNPRC-EHR-Services/21.3w_fb_vendor_id_swap
gottfred Sep 1, 2021
19d1b25
Changing let to var for global variables in the WaterCalendar page, t…
dnicolalde Sep 1, 2021
b424dcf
Merge branch '21.3w_fb_waterTestMerge' into wnprc21.3-SNAPSHOT
gottfred Sep 1, 2021
cdac3c3
Merge branch 'wnprc18.3-SNAPSHOT' into wnprc21.3-SNAPSHOT
gottfred Sep 1, 2021
453e9d6
committing chages that were made locally on production server
dnicolalde Sep 1, 2021
a8bf5c1
Merge branch 'wnprc18.3-SNAPSHOT' of https://github.com/WNPRC-EHR-Ser…
dnicolalde Sep 1, 2021
32d260d
adding file deleted by merge
dnicolalde Sep 1, 2021
b1f8c7e
Merge pull request #214 from WNPRC-EHR-Services/wnprc18.3-SNAPSHOT
gottfred Sep 1, 2021
53e2352
Preserve existing purchasing links
csebranek Sep 1, 2021
3dfbab7
updating backup script so that it no longer exits with an unitialized…
gottfred Sep 3, 2021
59f1045
Fix for TB dashboard unidentified cards page see IDS ticket 14039, re…
csebranek Sep 9, 2021
bb7f253
Merge pull request #220 from WNPRC-EHR-Services/21.3w_fb_staging
csebranek Sep 9, 2021
bfe4d96
Changes to Biopsie form for billing process.
dnicolalde Sep 10, 2021
2194d54
Merge pull request #221 from WNPRC-EHR-Services/21.3w_fb_staging
dnicolalde Sep 10, 2021
124e7fb
SupplementalPedigreeETL for U24 grant
dnicolalde Sep 13, 2021
da98b95
Truncating the dataset.
dnicolalde Sep 13, 2021
2f79403
fix permissions issue with lkServerBackup.pl file by using the one bu…
gottfred Sep 14, 2021
be572be
fix permissions issue with lkServerBackup.pl file by using the one bu…
gottfred Sep 14, 2021
0a09e50
add dbtime option for cases where backup wasn't started at exactly 0100
gottfred Sep 14, 2021
6a95ad7
Hidding qualifier from morphologic diagnosis and adding a date to ped…
dnicolalde Sep 14, 2021
62ddcc1
Merge remote-tracking branch 'origin/21.3w_fb_staging' into 21.3w_fb_…
dnicolalde Sep 14, 2021
75d9f4e
Adding concentration to Treatment grid view.
dnicolalde Sep 15, 2021
495ff9a
Arranging order of the grid view
dnicolalde Sep 15, 2021
413ac2f
Update wnprc billing view page to use LabKey's fork of our modules, s…
csebranek Sep 23, 2021
b2d4df4
Merge branch 'wnprc21.3-SNAPSHOT' into 21.3w_fb_staging
csebranek Sep 23, 2021
84317a0
Adding borders and making text bold to the treatment grid
dnicolalde Sep 23, 2021
60c087f
Merge remote-tracking branch 'origin/21.3w_fb_staging' into 21.3w_fb_…
dnicolalde Sep 23, 2021
717126b
Adding X-Forwarded-For to log pattern
dnicolalde Sep 24, 2021
0c9ba4c
Merge pull request #222 from WNPRC-EHR-Services/21.3w_fb_staging
dnicolalde Sep 24, 2021
8544d7b
Merge WNPRC's wnprc21.3-SNAPSHOT to LabKey's release21.3-SNAPSHOT
Sep 24, 2021
2d3dc98
Merge additional commits from wnprc21.3-SNAPSHOT to LabKey's release2…
Sep 24, 2021
f220629
Only do the dam/sire vendor id swap if the species between parent and…
csebranek Sep 28, 2021
b99bfeb
Merge pull request #223 from WNPRC-EHR-Services/21.3w_fb_staging
dnicolalde Oct 1, 2021
b61e36f
Adding title to billedby for blood table, the right look up for food …
dnicolalde Oct 1, 2021
d5563d3
Merge branch '21.3w_fb_staging' of https://github.com/WNPRC-EHR-Servi…
dnicolalde Oct 1, 2021
18f67d5
Merge pull request #225 from WNPRC-EHR-Services/21.3w_fb_staging
csebranek Oct 1, 2021
08d0cdf
Changing order of data entry fields on MPR treatment section.
dnicolalde Oct 5, 2021
935e144
Adding dataset definition for the water monitoring system.
dnicolalde Oct 5, 2021
0f4a962
Merge pull request #226 from WNPRC-EHR-Services/21.3w_fb_staging
gottfred Oct 5, 2021
6162e35
Merge water monitoring datasets and other updates
Oct 6, 2021
02dbd0f
Correct casing on tableDbType attribute
Oct 6, 2021
c95cb86
Move study policy into WNPRC repo, add new datasets
Oct 6, 2021
3b3174a
Add missing endDate column on waterOrders dataset
Oct 7, 2021
f0ecb0c
Avoid dollar sign
Oct 7, 2021
6866888
Move husbandry_frequency table from ehr_lookups to wnprc schema, upda…
Oct 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ docker/nginx/key.pem

.storybook-out/

docker/ehrcron/scripts/pg_backup/lkbackup.ini

# generated artifacts from @labkey/build
*/resources/web/*/gen/
*/resources/views/gen/
2 changes: 1 addition & 1 deletion DBUtils/resources/credits/jars.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{table}
Filename|Component|Version|Source|License|LabKey Dev|Purpose
Filename|Component|Version|Source|License|Dev|Purpose
jooq-3.8.4.jar|jOOQ|3.8.4|{link:From GitHub|https://github.com/jOOQ/jOOQ}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Database-mapping for Java
jaxb-api-2.3.0.jar|jaxb|2.3.0|Oracle|{link:CDDL 1.1|https://oss.oracle.com/licenses/CDDL+GPL-1.1}{link:GPL2w/ CPE|https://oss.oracle.com/licenses/CDDL+GPL-1.1}|klum|Parsing XML
{table}
2 changes: 1 addition & 1 deletion DeviceProxy/resources/credits/jars.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{table}
Filename|Component|Version|Source|License|LabKey Dev|Purpose
Filename|Component|Version|Source|License|Dev|Purpose
jooq-3.8.4.jar|jOOQ|3.8.4|{link:From GitHub|https://github.com/jOOQ/jOOQ}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Database-mapping for Java
jaxb-api-2.3.0.jar|Java Architecture for XML Binding (JAXB)|2.3.0|Oracle|{link:CDDL|https://oss.oracle.com/licenses/CDDL}|klum|Parsing XML
{table}
4 changes: 2 additions & 2 deletions GoogleDrive/resources/credits/jars.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{table}
Filename|Component|Version|Source|License|LabKey Dev|Purpose
google-api-client-1.22.0.jar|Google APIs Client Library for Java|1.22.0|{link:From GitHub|https://github.com/google/google-api-java-client}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Used to connect to Google Drive
Filename|Component|Version|Source|License|WNPRC Dev|Purpose
google-api-client-1.23.0.jar|Google APIs Client Library for Java|1.23.0|{link:From GitHub|https://github.com/google/google-api-java-client}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Used to connect to Google Drive
google-api-services-drive-v3-rev85-1.23.0.jar|Google Drive API Client Library for Java|v3 rev85 1.23.0|{link:From Google|https://developers.google.com/api-client-library/java/apis/drive/v3}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Used to connect to Google Drive
{table}
2 changes: 1 addition & 1 deletion WNPRC_Compliance/module.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ License: Apache 2.0
LicenseURL: http://www.apache.org/licenses/LICENSE-2.0
ModuleClass: org.labkey.wnprc_compliance.WNPRC_ComplianceModule
Name: WNPRC_Compliance
SchemaVersion: 20.000
SchemaVersion: 21.001
SupportedDatabases: pgsql
ManageVersion: false
2 changes: 1 addition & 1 deletion WNPRC_Compliance/resources/credits/jars.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{table}
Filename|Component|Version|Source|License|LabKey Dev|Purpose
Filename|Component|Version|Source|License|WNPRC Dev|Purpose
jooq-3.8.4.jar|jOOQ|3.8.4|{link:From GitHub|https://github.com/jOOQ/jOOQ}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Database-mapping for Java
pdfbox-2.0.11.jar|Apache PDFBox|2.0.11|{link:From Apache|http://svn.apache.org/repos/asf/pdfbox/trunk/}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Generates and manipulates PDFs
{table}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ALTER TABLE wnprc_compliance.measles_clearances ADD COLUMN IF NOT EXISTS required BOOLEAN DEFAULT true;

ALTER TABLE wnprc_compliance.persons ADD COLUMN IF NOT EXISTS hold BOOLEAN DEFAULT false;
--update measles_required from wnprc_compliance.measles_clearances using labkey javascript API
ALTER TABLE wnprc_compliance.persons ADD COLUMN IF NOT EXISTS measles_required BOOLEAN DEFAULT false;
2 changes: 2 additions & 0 deletions WNPRC_Compliance/resources/schemas/wnprc_compliance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
<column columnName="modified"/>
<column columnName="archived_for_access_purposes"/>
<column columnName="date_of_birth"/>
<column columnName="hold"/>
<column columnName="measles_required"/>
</columns>
</table>
<table tableName="measles_clearances" tableDbType="TABLE">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
WebUtils.VM.submitMarkExempt = function() {
$exemptDialog.modal('hide');
var cardData = ko.mapping.toJS(WebUtils.VM.form);
WebUtils.API.postJSON("<%=q(urlFor(MarkCardExemptAPI.class))%>", {
WebUtils.API.postJSON(<%=q(urlFor(MarkCardExemptAPI.class))%>, {
cardId: cardData.selectedCard[0],
reason: cardData.notes
}).then(function(d) {
Expand All @@ -236,7 +236,7 @@

//TODO validate here...
//TODO not sure how this $parent selectedPerson really works here?
WebUtils.API.postJSON("<%=q(urlFor(WNPRC_ComplianceController.LinkCardAPI.class))%>", {
WebUtils.API.postJSON(<%=q(urlFor(WNPRC_ComplianceController.LinkCardAPI.class))%>, {
cardId: cardData.selectedCard[0],
personId: personData.selectedPerson
}).then(function(d) {
Expand Down Expand Up @@ -285,7 +285,7 @@
} else {
// knockout wasn't playing nice here, using jQuery to force button to disabled
$(document).on('click', '#radio-person', function () {
$('#link-card-button').removeProp('disabled');
$('#link-card-button').prop('disabled', false);
});
}
WebUtils.VM.listPersons.userMatches((PERSONS in results) ? results[PERSONS] : []);
Expand Down
14 changes: 11 additions & 3 deletions WNPRC_EHR/resources/credits/jars.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{table}
Filename|Component|Version|Source|License|LabKey Dev|Purpose
Filename|Component|Version|Source|License|WNPRC Dev|Purpose
joda-time-2.8.1.jar|Joda-Time|2.8.1|{link:From GitHub|https://github.com/JodaOrg/joda-time}|{link:Apache Software License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|jrichardson|Tools for dealing with dates/times in Java
jsoup-1.10.3.jar|jsoup: Java HTML Parser|1.10.3|{link:From GitHub|https://github.com/jhy/jsoup}|{link:MIT License|https://opensource.org/licenses/MIT}|jricharson|Tools for parsing and manipulating HTML and CSS using the DOM
jsoup-1.13.1.jar|jsoup: Java HTML Parser|1.10.3|{link:From GitHub|https://github.com/jhy/jsoup}|{link:MIT License|https://opensource.org/licenses/MIT}|jricharson|Tools for parsing and manipulating HTML and CSS using the DOM
reflections-0.9.10.jar|Reflections|0.9.10|{link:From GitHub|https://github.com/ronmamo/reflections}|{link:WTFPL|http://www.wtfpl.net/about/}|cstevens|Runtime analysis of Java classes and packages
{table}
google-api-client-1.23.0.jar|Google API Client for Java|1.30.5|{link:GitHub|https://github.com/googleapis/google-api-java-client}|{link:Apache License 2.0|https://github.com/googleapis/google-api-java-client/blob/master/LICENSE}|ggottfredsen|Library to interact with Google APIs
google-api-services-calendar-v3-rev255-1.23.0.jar|Google Calendar API Client Library for Java|v3-rev20210708-1.32.1|{link:GitHub|https://github.com/googleapis/google-api-java-client-services/tree/master/clients/google-api-services-calendar/v3}|{link:Apache License 2.0|http://www.apache.org/licenses/LICENSE-2.0}|ggottfredsen|Library for interacting with Google Calendars in Java
google-http-client-gson-1.23.0.jar|Google HTTP Client Library for Java|1.39.2-sp.1|{link:GitHub|https://github.com/googleapis/google-http-java-client/tree/master/google-http-client-gson}|{link:Apache License 2.0|https://github.com/googleapis/google-http-java-client/blob/master/LICENSE}|ggottfredsen|A flexible, efficient, and powerful Java library for accessing any resource on the web via HTTP
google-auth-library-oauth2-http-0.19.0.jar|Google Auth Library|1.0.0|{link:GitHub|https://github.com/googleapis/google-auth-library-java/tree/master/oauth2_http}|{link:BSD 3-Clause "New" or "Revised" License|https://github.com/googleapis/google-auth-library-java/blob/master/LICENSE}|ggottfredsen|Contains a wide variety of credentials as well as utility methods to create them and to get Application Default Credentials
commons-text-1.9.jar|Apache Commons Text|1.9|{link:GitHub|https://github.com/apache/commons-text}|{link:Apache License 2.0|https://github.com/apache/commons-text/blob/master/LICENSE.txt}|ggottfredsen|A library focused on algorithms working on strings
msal4j-1.11.0.jar|Microsoft Authentication Library (MSAL) for Java|1.11.0|{link:GitHub|https://github.com/AzureAD/microsoft-authentication-library-for-java}|{link:MIT License|https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/LICENSE}|ggottfredsen|Allows to sign in users or apps with Microsoft identities (Azure AD, Microsoft accounts and Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as Microsoft Graph
microsoft-graph-2.10.0.jar|Microsoft Graph Java SDK|2.10.0|{link:GitHub|https://github.com/microsoftgraph/msgraph-sdk-java}|{link:MIT License|https://github.com/microsoftgraph/msgraph-sdk-java/blob/dev/LICENSE}|ggottfredsen|Allows for interacting with Microsoft Graph (Calendars/User Accounts/Email/etc.)
slf4j-nop-1.8.0-beta4.jar|Simple Logging Facade for Java|1.8.0-beta4|{link:GitHub|https://github.com/qos-ch/slf4j/tree/master/slf4j-nop}|{link:MIT License|https://github.com/qos-ch/slf4j/blob/master/LICENSE.txt}|ggottfredsen|Abstraction for various logging frameworks allowing for plugging in a desired framework at deployment time
{table}
1 change: 1 addition & 0 deletions WNPRC_EHR/resources/queries/study/Biopsy/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<column name="remark" />
<column name="type" />
<column name="nhpbmd" />
<column name="billingComplete"/>
<column name="grossdescription" />
<column name="performedby" />
<column name="veterinarian" />
Expand Down
15 changes: 15 additions & 0 deletions WNPRC_EHR/resources/queries/study/Demographics.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
<!--</fk>-->
<url>/ehr/participantView.view?participantId=${dam}</url>
</column>
<column columnName="dam_old">
<isHidden>true</isHidden>
</column>
<column columnName="sire_old">
<isHidden>true</isHidden>
</column>
<column columnName="sire">
<columnTitle>Sire</columnTitle>
<!--<fk>-->
Expand All @@ -92,6 +98,9 @@
</column>
<column columnName="origin/source">
</column>
<column columnName="origin_old">
<isHidden>true</isHidden>
</column>
<column columnName="birth">
<formatString>yyyy-MM-dd</formatString>
<!--<shownInInsertView>false</shownInInsertView>-->
Expand All @@ -102,6 +111,9 @@
query.Id~eq=${Id}
</url>
</column>
<column columnName="birth_old">
<isHidden>true</isHidden>
</column>
<column columnName="death">
<formatString>yyyy-MM-dd</formatString>
<!--<shownInInsertView>false</shownInInsertView>-->
Expand Down Expand Up @@ -214,6 +226,9 @@
</column>
<column columnName="geographic_origin">
</column>
<column columnName="geographic_origin_old">
<isHidden>true</isHidden>
</column>
<!--<column columnName="behavior">
<isHidden>true</isHidden>
<shownInInsertView>false</shownInInsertView>
Expand Down
6 changes: 4 additions & 2 deletions WNPRC_EHR/resources/queries/study/Pedigree.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ END
AS status,
d.calculated_status as status_code,
'Demographics' as source,
d.species as Species
d.species as Species,
d.created AS date

--d.qcstate

Expand Down Expand Up @@ -79,7 +80,8 @@ CAST(p.departdate AS SQL_VARCHAR) as status_code,
--'Rhesus' as Species
--null as qcstate

p.species AS species
p.species AS species,
COALESCE(p.created,p.modified) AS date

FROM ehr.supplemental_pedigree p
LEFT JOIN study.demographics d ON (d.id=p.id)
Expand Down
6 changes: 5 additions & 1 deletion WNPRC_EHR/resources/queries/study/R24DemographicsSrc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ SELECT
d.dam,
d.sire,
d.modified as modified,
curdate() as date
curdate() as date,
CASE d.participantid.activeAssignments.projects
WHEN '20210102' THEN true
ELSE false
END AS U24_Animals
FROM study.demographics d

LEFT OUTER JOIN study.demographics as ih on d.id = ih.id and ih.origin.code in
Expand Down
Empty file.
64 changes: 64 additions & 0 deletions WNPRC_EHR/resources/queries/study/WaterOrders.query.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<query xmlns="http://labkey.org/data/xml/query">
<metadata>
<tables xmlns="http://labkey.org/data/xml">
<table tableName="waterOrders" tableDbType="TABLE" useColumnOrder="true">
<tableUrl />
<insertUrl />
<importUrl />
<updateUrl />
<deleteUrl />
<columns>
<column columnName="Id">

</column>
<column columnName="date">
<columnTitle>Start Date</columnTitle>
<formatString>yyyy-MM-dd hh:mm</formatString>
</column>
<column columnName="enddate">
<columnTitle>End Date</columnTitle>
<formatString>yyyy-MM-dd</formatString>
</column>
<column columnName="volume">
<columnTitle>Water Volume (mL)</columnTitle>
</column>
<column columnName="frequency">
<columnTitle>Frequency</columnTitle>
<fk>
<fkDbSchema>wnprc</fkDbSchema>
<fkTable>husbandry_frequency</fkTable>
<fkColumnName>rowid</fkColumnName>
<fkDisplayColumnName>Meaning</fkDisplayColumnName>
</fk>
</column>
<column columnName="assignedTo">
<columnTitle>Assigned To</columnTitle>
<fk>
<fkDbSchema>ehr_lookups</fkDbSchema>
<fkTable>husbandry_assigned</fkTable>
<fkColumnName>value</fkColumnName>
</fk>
</column>
<column columnName="waterSource">
<columnTitle>Water Source</columnTitle>
<fk>
<fkDbSchema>ehr_lookups</fkDbSchema>
<fkTable>water_source</fkTable>
<fkColumnName>value</fkColumnName>
<fkDisplayColumnName>title</fkDisplayColumnName>
</fk>
</column>
<column columnName="provideFruit">
<columnTitle>Provide Fruit</columnTitle>
<fk>
<fkDbSchema>ehr_lookups</fkDbSchema>
<fkTable>husbandry_fruit</fkTable>
<fkColumnName>value</fkColumnName>
</fk>
</column>

</columns>
</table>
</tables>
</metadata>
</query>
20 changes: 20 additions & 0 deletions WNPRC_EHR/resources/queries/study/WaterOrders/.qview.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<customView xmlns="http://labkey.org/data/xml/queryCustomView">
<columns>
<column name="Id" />
<column name="date" />
<column name="endDate" />
<column name="volume" />
<column name="frequency" />
<column name="waterSource"/>
<column name="assignedTo"/>
<column name="provideFruit"/>
<column name="qcstate" />
<column name="taskid" />
</columns>
<sorts>
<sort column="date" descending="true"/>
</sorts>
<!--<filters>-->
<!--<filter column="qcstate/publicdata" operator="eq" value="true"/>-->
<!--</filters>-->
</customView>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<customView xmlns="http://labkey.org/data/xml/queryCustomView">
<columns>
<column name="Id" />
<column name="date" />
<column name="endDate" />
<column name="volume" />
<column name="frequency" />
<column name="waterSource"/>
<column name="assignedTo"/>
<column name="provideFruit"/>
<column name="qcstate" />
<column name="taskid" />
</columns>
<sorts>
<sort column="date" descending="true"/>
</sorts>
<filters>
<filter column="enddatecoalescedfuture" operator="dategte" value="+0d"/>
</filters>
</customView>
27 changes: 27 additions & 0 deletions WNPRC_EHR/resources/queries/study/WaterRecentWeight.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
SELECT
voGi.id,
CAST (voGi.date AS DATE) AS Date,
voGi.volume,
voGi.RecentWeight,
voGi.InnerWeight,
voGi.objectid
--voGi.DayDiff

FROM (

SELECT
wa.id AS id,
wa.date AS date,
wa.volume,
(SELECT we.weight
FROM study.weight we
--INNER JOIN study.weight wein
--ON we.id = wein.id
WHERE we.id = wa.id AND we.date = (SELECT MAX(wen.date) from study.weight wen WHERE wen.id=wa.id AND timestampdiff('SQL_TSI_DAY',wa.date,wen.date)<=0))AS InnerWeight,
(SELECT MAX(wen.date) from study.weight wen WHERE wen.id=wa.id AND timestampdiff('SQL_TSI_DAY',wa.date,wen.date)<=0) AS RecentWeight,
wa.objectid
--timestampdiff('SQL_TSI_DAY',wa.date ,wa.RecentWeight) AS DayDiff

FROM study.waterGiven wa
) voGi
--GROUP BY voGi.id, voGi.date,voGi.RecentWeight,voGi.InnerWeight
41 changes: 41 additions & 0 deletions WNPRC_EHR/resources/queries/study/WaterScheduleWithWeight.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
SELECT
lsid AS lsid,
objectid AS objectIdCoalesced,
taskid AS taskid,
project AS projectCoalesced,
animalId AS animalId,
room || '-' || cage AS location,
date AS date,
dateOrdered AS dateOrdered,
startDateCoalesced AS startDateCoalesced,
volume AS volume,
provideFruit AS provideFruit,
provideFruitTitle AS provideFruitTitle,
dataSource AS dataSource,
assignedTo AS assignedToCoalesced,
assignedToTitle AS assignedToTitleCoalesced,
frequency AS frequencyCoalesced,
frequencyMeaning AS frequencyMeaningCoalesced,
timeofday AS timeofday,
displaytimeofday AS displaytimeofday,
qcstate AS qcstate,

--(SELECT max(wg.qcstate) as label FROM study.waterGiven wg WHERE WCO.objectid = wg.treatmentid AND WCO.dateOrdered = wg.dateordered ) AS waterStatus,
-- (SELECT timestampdiff(SQL_TSI_HOUR,WCO.date,wg.dateordered ) as diff FROM study.waterGiven wg WHERE WCO.objectid = wg.treatmentid ) AS difference,

(SELECT wg.weight AS weightAtDate
FROM study.weight wg
WHERE wg.id = WCO.animalId AND CAST(substring(CAST(wg.date AS VARCHAR) , 1, 10) AS DATE) <= WCO.date
ORDER BY wg.date DESC
LIMIT 1
) AS weightAtDate,

(SELECT wg.date AS weightDate
FROM study.weight wg
WHERE wg.id = WCO.animalId AND CAST(substring(CAST(wg.date AS VARCHAR) , 1, 10) AS DATE) <= WCO.date
ORDER BY wg.date DESC
LIMIT 1
) AS weightDate

FROM study.waterScheduleCoalesced WCO
--WHERE WCO.dateRangeStartDate >= curdate()
3 changes: 3 additions & 0 deletions WNPRC_EHR/resources/queries/study/biopsy.query.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<column columnName="nhpbmd">
<columnTitle>NHPBMD</columnTitle>
</column>
<column columnName="billingComplete">
<columnTitle>Billing Complete</columnTitle>
</column>
<column columnName="remark">
<columnTitle>Final Summary Comments</columnTitle>
</column>
Expand Down
Loading