From 36e31cfb944dde7209926d7348bd191114dea905 Mon Sep 17 00:00:00 2001 From: kollil Date: Fri, 14 Mar 2025 15:37:58 -0700 Subject: [PATCH 1/2] Updated the query to exclude speices other than rhesus and japanese macaques --- onprc_ehr/resources/views/groupProcessing.html | 2 +- .../resources/queries/study/processingGeneticsBloodDraws.sql | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/onprc_ehr/resources/views/groupProcessing.html b/onprc_ehr/resources/views/groupProcessing.html index 175d75a45..be53d0cd9 100644 --- a/onprc_ehr/resources/views/groupProcessing.html +++ b/onprc_ehr/resources/views/groupProcessing.html @@ -175,7 +175,7 @@ style: 'margin-bottom: 10px;' },{ html: 'This report will summarize blood needed for genetic testing, using the following criteria:
' + - '- 1mL of blood is needed for Parentage testing on all animals that do not already have genetic parentage data, unless the animal has been flagged as previously drawn.
' + + '- 1mL of blood is needed for Parentage testing on all rhesus and Japanese macaques that do not already have genetic parentage data, unless the animal has been flagged as previously drawn.
' + '- 1mL of blood is needed for MHC Typing on all U42 Indian-origin rhesus macaques (males and females, under 5 years old) and all male Indian rhesus under 5 years old only for non-U42, and all ESPF rhesus macaques (any NHP assigned to 0492-03), unless the animal already has MHC data or has been flagged as previously drawn.
' + '- Minimum 5mL of blood is needed for the DNA Bank on every animal (listed as 6mL in the report), unless one of the following samples is already in the freezer: any gDNA, buffy coat >=5mL or whole blood >=5mL', style: 'margin-bottom: 10px;' diff --git a/onprc_reports/resources/queries/study/processingGeneticsBloodDraws.sql b/onprc_reports/resources/queries/study/processingGeneticsBloodDraws.sql index 7ff1f2dc7..c6f5826da 100644 --- a/onprc_reports/resources/queries/study/processingGeneticsBloodDraws.sql +++ b/onprc_reports/resources/queries/study/processingGeneticsBloodDraws.sql @@ -150,7 +150,8 @@ LEFT JOIN ( GROUP BY u.Id ) u ON (u.Id = d.Id) - WHERE d.calculated_status = 'Alive' +-- Added by Kollil on 3/14/2025. Refer to Tkt # 12174 +And d.species in ('RHESUS MACAQUE', 'JAPANESE MACAQUE') ) t From 3a338a6d1397cf9cc4190a7052cb16ec9fa3d4f2 Mon Sep 17 00:00:00 2001 From: kollil Date: Fri, 21 Mar 2025 16:55:02 -0700 Subject: [PATCH 2/2] updated the instructions --- onprc_ehr/resources/views/groupProcessing.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onprc_ehr/resources/views/groupProcessing.html b/onprc_ehr/resources/views/groupProcessing.html index be53d0cd9..569141b64 100644 --- a/onprc_ehr/resources/views/groupProcessing.html +++ b/onprc_ehr/resources/views/groupProcessing.html @@ -175,9 +175,9 @@ style: 'margin-bottom: 10px;' },{ html: 'This report will summarize blood needed for genetic testing, using the following criteria:
' + - '- 1mL of blood is needed for Parentage testing on all rhesus and Japanese macaques that do not already have genetic parentage data, unless the animal has been flagged as previously drawn.
' + + '- 1mL of blood is needed for Parentage testing on all rhesus and japanese macaques that do not already have genetic parentage data, unless the animal has been flagged as previously drawn.
' + '- 1mL of blood is needed for MHC Typing on all U42 Indian-origin rhesus macaques (males and females, under 5 years old) and all male Indian rhesus under 5 years old only for non-U42, and all ESPF rhesus macaques (any NHP assigned to 0492-03), unless the animal already has MHC data or has been flagged as previously drawn.
' + - '- Minimum 5mL of blood is needed for the DNA Bank on every animal (listed as 6mL in the report), unless one of the following samples is already in the freezer: any gDNA, buffy coat >=5mL or whole blood >=5mL', + '- Minimum 5mL of blood is needed for the DNA Bank on every rhesus and japanese macaque (listed as 6mL in the report), unless one of the following samples is already in the freezer: any gDNA, buffy coat >=5mL or whole blood >=5mL', style: 'margin-bottom: 10px;' },{ xtype: 'button',