From 5fcbf1533951e2172d9336f1ff3c2854bdb11966 Mon Sep 17 00:00:00 2001 From: CalebSLane Date: Tue, 19 Sep 2023 17:00:36 -0700 Subject: [PATCH] actually add post mortem antemortem sample types --- frontend/src/components/layout/Header.js | 2 - .../liquibase/2.8.x.x/sample_types.xml | 657 ++++++++++++++++++ 2 files changed, 657 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/liquibase/2.8.x.x/sample_types.xml diff --git a/frontend/src/components/layout/Header.js b/frontend/src/components/layout/Header.js index bcbc04f001..3392a6885e 100644 --- a/frontend/src/components/layout/Header.js +++ b/frontend/src/components/layout/Header.js @@ -37,7 +37,6 @@ function OEHeader(props) { const [switchCollapsed, setSwitchCollapsed] = useState(true); const userSwitchRef = createRef(); const headerPanelRef = createRef(); - const componentMounted = createRef(false); const intl = useIntl(); const panelSwitchLabel = () => { @@ -96,7 +95,6 @@ function OEHeader(props) {
{BANNER_TEXT}

- {" "}  {" "} {releaseNumber}

diff --git a/src/main/resources/liquibase/2.8.x.x/sample_types.xml b/src/main/resources/liquibase/2.8.x.x/sample_types.xml new file mode 100644 index 0000000000..65f460ba6d --- /dev/null +++ b/src/main/resources/liquibase/2.8.x.x/sample_types.xml @@ -0,0 +1,657 @@ + + + + + + + select count(*) from clinlims.type_of_sample where description = 'Tissue antemortem'; + + add pathology test info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select count(*) + from clinlims.sampletype_test + where sample_type_id = ( select id from clinlims.type_of_sample where description = 'Tissue antemortem' LIMIT 1) + AND test_id = ( select id from clinlims.test where description = 'Anti-Pan Keratin' LIMIT 1) + ; + + + add immunohistochemistry tests to antemortem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select count(*) + from clinlims.sampletype_test + where sample_type_id = ( select id from clinlims.type_of_sample where description = 'Tissue post mortem' LIMIT 1) + AND test_id = ( select id from clinlims.test where description = 'Anti-Pan Keratin' LIMIT 1) + ; + + + add immunohistochemistry tests to post mortem + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file