From 644322909dfef8b16b2f83ebcfdbfb73ae6997c2 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Sun, 20 Jul 2025 14:29:12 -0700 Subject: [PATCH 1/3] link crawler set up --- nirc_ehr/resources/data/editable_lookups.tsv | 2 -- .../src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nirc_ehr/resources/data/editable_lookups.tsv b/nirc_ehr/resources/data/editable_lookups.tsv index 5203f7e1..a321c69c 100644 --- a/nirc_ehr/resources/data/editable_lookups.tsv +++ b/nirc_ehr/resources/data/editable_lookups.tsv @@ -26,7 +26,6 @@ cage_type Colony Management Cage Type Used in cage details. capillary_refill_time Clinical Capillary Refill Times Used clinical observations. card_format Colony Management Card Format census_activity_status Colony Management Census Activity Status -clinical_obs_required Clinical Required Clinical Observations Clinical Observations that are required. clinremarks_category Clinical Clinical Remark Category Clinical remarks category. conc_units Clinical Concentration Units Used in drug and treatment datasets. congenital_abnormalities Clinical Congenital Abnormalities Clinical observation fixed values. @@ -85,7 +84,6 @@ nhp_training_result Behavior NHP Training Result Behavior training result values nhp_training_type Behavior NHP Training Type Behavior training type values normal_abnormal_only Clinical Normal/Abnormal Values Clinical observation values. numeric_unit Colony Management Numeric Unit -observation_types Clinical Clin remarks observation types observation_areas Clinical Observation Areas Clinical observation areas. obstetric_observations Clinical Obstetric Observations Obstetric Observations Fixed Values. ocular_observations Clinical Ocular Observations Ocular Observations Fixed Values. diff --git a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java index 9546fa59..ddf4b3f3 100644 --- a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java +++ b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java @@ -363,6 +363,12 @@ protected String getAnimalHistoryPath() return "/ehr/" + PROJECT_NAME + "/animalHistory.view?"; } + @Override + protected List skipLinksForValidation() + { + return List.of("ehr-colonyOverview.view"); + } + @Test public void testArrivalForm() { From e1e507c4614ef3bd3c7799c761f32efbddf85ef0 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Fri, 25 Jul 2025 06:35:53 -0700 Subject: [PATCH 2/3] Fix skip links --- .../src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java index ddf4b3f3..e1aa330c 100644 --- a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java +++ b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java @@ -67,6 +67,7 @@ import java.nio.file.attribute.BasicFileAttributes; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; +import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; @@ -366,7 +367,9 @@ protected String getAnimalHistoryPath() @Override protected List skipLinksForValidation() { - return List.of("ehr-colonyOverview.view"); + List links = new ArrayList<>(super.skipLinksForValidation()); + links.add("ehr-colonyOverview.view"); + return links; } @Test From 80a12c2236c597a2c27097e32434a5bd44690299 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Wed, 30 Jul 2025 11:47:50 -0700 Subject: [PATCH 3/3] comment --- .../test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java index e1aa330c..75268f35 100644 --- a/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java +++ b/nirc_ehr/test/src/org.labkey.test/tests.nirc_ehr/NIRC_EHRTest.java @@ -368,7 +368,7 @@ protected String getAnimalHistoryPath() protected List skipLinksForValidation() { List links = new ArrayList<>(super.skipLinksForValidation()); - links.add("ehr-colonyOverview.view"); + links.add("ehr-colonyOverview.view"); // Not fully implemented return links; }