diff --git a/onprc_ehr/resources/web/onprc_ehr/panel/EnterDataPanel.js b/onprc_ehr/resources/web/onprc_ehr/panel/EnterDataPanel.js
index 07d179695..b3ad78b86 100644
--- a/onprc_ehr/resources/web/onprc_ehr/panel/EnterDataPanel.js
+++ b/onprc_ehr/resources/web/onprc_ehr/panel/EnterDataPanel.js
@@ -492,14 +492,9 @@ Ext4.define('onprc_ehr.panel.EnterDataPanel', {
width: 200
},{
xtype: 'ldk-linkbutton',
- text: 'Requests With Manual Results',
+ text: 'Requests',
linkCls: 'labkey-text-link',
- href: LABKEY.ActionURL.buildURL('query', 'executeQuery', null, {schemaName: 'study', 'query.queryName': 'Clinpath Runs', 'query.viewName': 'Requests', 'query.QCState/Label~startswith': 'Request:', 'query.servicerequested/chargetype~eq': 'Clinpath', 'query.mergeSyncInfo/automaticresults~eq': false})
- },{
- xtype: 'ldk-linkbutton',
- text: 'Requests With Automatic Results',
- linkCls: 'labkey-text-link',
- href: LABKEY.ActionURL.buildURL('query', 'executeQuery', null, {schemaName: 'study', 'query.queryName': 'Clinpath Runs', 'query.viewName': 'Requests', 'query.QCState/Label~startswith': 'Request:', 'query.servicerequested/chargetype~eq': 'Clinpath', 'query.mergeSyncInfo/automaticresults~eq': true})
+ href: LABKEY.ActionURL.buildURL('query', 'executeQuery', null, {schemaName: 'study', 'query.queryName': 'Clinpath Runs', 'query.viewName': 'Requests', 'query.QCState/Label~startswith': 'Request:', 'query.servicerequested/chargetype~eq': 'Clinpath'})
}]
},{
layout: 'hbox',
diff --git a/onprc_ehr/resources/web/onprc_ehr/panel/LabworkRequestInstructionsPanel.js b/onprc_ehr/resources/web/onprc_ehr/panel/LabworkRequestInstructionsPanel.js
deleted file mode 100644
index e0d8fb19b..000000000
--- a/onprc_ehr/resources/web/onprc_ehr/panel/LabworkRequestInstructionsPanel.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2013-2014 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
- */
-Ext4.define('ONPRC_EHR.panel.RequestInstructionsPanel', {
- extend: 'Ext.panel.Panel',
- alias: 'widget.onprc-labworkrequestinstructionspanel',
-
- initComponent: function(){
- var mergeURL = LABKEY.getModuleProperty('MergeSync', 'MergeURL');
- var items;
- if (mergeURL){
- items = [{
- html: 'This form allows you to request Labwork, similar to requesting in Merge. After requesting Clinpath services through this form, this request will be created in Merge. You can print print labels through Merge.' +
- 'Click here to open Merge
' +
- 'Click here for instructions on Merge label printing',
- style: 'padding: 5px;'
- }]
- }
- else {
- items = [{
- html: 'The Merge URL has not been configured for this site',
- style: 'padding: 5px;'
- }]
- }
-
- Ext4.apply(this, {
- defaults: {
- border: false
- },
- items: items
- });
-
- this.callParent(arguments);
- }
-});
\ No newline at end of file
diff --git a/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestFormType.java b/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestFormType.java
index 6f44fb36d..9127f1a57 100644
--- a/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestFormType.java
+++ b/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestFormType.java
@@ -39,10 +39,6 @@ public LabworkRequestFormType(DataEntryFormContext ctx, Module owner)
{
super(ctx, owner, NAME, LABEL, "Requests", Arrays.asList(
new RequestFormSection(),
-
- //Modified: 1-14-2019 R. Blasa No longer need Merge web link
-// new LabworkRequestInstructionsFormSection(),
-
new AnimalDetailsFormSection(),
new ClinpathRunsFormSection(true)
));
@@ -55,7 +51,6 @@ public LabworkRequestFormType(DataEntryFormContext ctx, Module owner)
//Added 2-8-2016 Blasa
addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/model/sources/labworkPanel.js"));
- addClientDependency(ClientDependency.supplierFromModuleName("MergeSync"));
addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/panel/LabworkRequestDataEntryPanel.js"));
setJavascriptClass("ONPRC_EHR.panel.LabworkRequestDataEntryPanel");
}
diff --git a/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestInstructionsFormSection.java b/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestInstructionsFormSection.java
deleted file mode 100644
index b896826b8..000000000
--- a/onprc_ehr/src/org/labkey/onprc_ehr/dataentry/LabworkRequestInstructionsFormSection.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2014 LabKey Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.labkey.onprc_ehr.dataentry;
-
-import org.labkey.api.ehr.dataentry.AbstractFormSection;
-import org.labkey.api.ehr.dataentry.DataEntryFormContext;
-import org.labkey.api.ehr.dataentry.FormElement;
-import org.labkey.api.view.template.ClientDependency;
-
-import java.util.Collections;
-import java.util.List;
-
-/**
- * User: bimber
- * Date: 6/9/13
- * Time: 4:15 PM
- */
-public class LabworkRequestInstructionsFormSection extends AbstractFormSection
-{
- public LabworkRequestInstructionsFormSection()
- {
- super("LabworkRequestInstructions", "Instructions", "onprc-labworkrequestinstructionspanel");
-
- addClientDependency(ClientDependency.supplierFromPath("onprc_ehr/panel/LabworkRequestInstructionsPanel.js"));
- }
-
- @Override
- protected List getFormElements(DataEntryFormContext ctx)
- {
- return Collections.emptyList();
- }
-}