From b16d91f0453113fc0567d4b04c3f99217bc01179 Mon Sep 17 00:00:00 2001 From: LeviCameron1 Date: Thu, 24 Oct 2024 15:41:29 -0500 Subject: [PATCH 1/3] Added necropsy details to WNPRC_EHR --- .../queries/study/necropsy.query.xml | 2 +- .../resources/views/necropsyDetails.html | 86 +++++++++++++++++++ .../resources/views/necropsyDetails.view.xml | 5 ++ 3 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 WNPRC_EHR/resources/views/necropsyDetails.html create mode 100644 WNPRC_EHR/resources/views/necropsyDetails.view.xml diff --git a/WNPRC_EHR/resources/queries/study/necropsy.query.xml b/WNPRC_EHR/resources/queries/study/necropsy.query.xml index c4ee54249..e4be1a510 100644 --- a/WNPRC_EHR/resources/queries/study/necropsy.query.xml +++ b/WNPRC_EHR/resources/queries/study/necropsy.query.xml @@ -2,7 +2,7 @@ - /EHR/necropsyDetails.view?key=${objectid} + /WNPRC_EHR-necropsyDetails.view?key=${objectid}&requestid=${requestid} diff --git a/WNPRC_EHR/resources/views/necropsyDetails.html b/WNPRC_EHR/resources/views/necropsyDetails.html new file mode 100644 index 000000000..7da49a677 --- /dev/null +++ b/WNPRC_EHR/resources/views/necropsyDetails.html @@ -0,0 +1,86 @@ + \ No newline at end of file diff --git a/WNPRC_EHR/resources/views/necropsyDetails.view.xml b/WNPRC_EHR/resources/views/necropsyDetails.view.xml new file mode 100644 index 000000000..8d8eb02e7 --- /dev/null +++ b/WNPRC_EHR/resources/views/necropsyDetails.view.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file From c48728f1d9c73a4daaa673c452476845156a6f16 Mon Sep 17 00:00:00 2001 From: LeviCameron1 Date: Fri, 25 Oct 2024 13:05:56 -0500 Subject: [PATCH 2/3] Switched order of tables being presented in necropsy details --- .../resources/views/necropsyDetails.html | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/WNPRC_EHR/resources/views/necropsyDetails.html b/WNPRC_EHR/resources/views/necropsyDetails.html index 7da49a677..43c700a46 100644 --- a/WNPRC_EHR/resources/views/necropsyDetails.html +++ b/WNPRC_EHR/resources/views/necropsyDetails.html @@ -10,32 +10,32 @@ var requestid = LABKEY.ActionURL.getParameter('requestid'); var webpart = <%=webpartContext%>; var domSpec = [{ - tag: 'div', - id: 'necropsyDetails_' + webpart.wrapperDivId + tag: 'div', + id: 'necropsyDetails_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyReport_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyReport_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyDiagnosis_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyTissues_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyImages_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyWeights_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyHistology_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyDiagnosis_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyTissues_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyImages_' + webpart.wrapperDivId },{ - tag: 'div', - style: 'padding-bottom: 10px;', - id: 'necropsyWeights_' + webpart.wrapperDivId + tag: 'div', + style: 'padding-bottom: 10px;', + id: 'necropsyHistology_' + webpart.wrapperDivId }] var el = Ext4.get(webpart.wrapperDivId); From e07f70a00660c5a2ae3764f85a3385eff4ffea4f Mon Sep 17 00:00:00 2001 From: LeviCameron1 Date: Tue, 29 Oct 2024 14:51:19 -0500 Subject: [PATCH 3/3] Added complete information for necropsy request form to necropsy details --- .../queries/study/Necropsy/Summary.qview.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/WNPRC_EHR/resources/queries/study/Necropsy/Summary.qview.xml b/WNPRC_EHR/resources/queries/study/Necropsy/Summary.qview.xml index 95b074ade..d35eb6e9b 100644 --- a/WNPRC_EHR/resources/queries/study/Necropsy/Summary.qview.xml +++ b/WNPRC_EHR/resources/queries/study/Necropsy/Summary.qview.xml @@ -1,20 +1,27 @@ + + + + + + + + + + + + - - - - -