diff --git a/onprc_ehr/resources/web/onprc_ehr/templates/Epoc_Template.xlsx b/onprc_ehr/resources/web/onprc_ehr/templates/Epoc_Template.xlsx new file mode 100644 index 000000000..88f8dabb7 Binary files /dev/null and b/onprc_ehr/resources/web/onprc_ehr/templates/Epoc_Template.xlsx differ diff --git a/onprc_ehr/resources/web/onprc_ehr/window/EpocImportWindow.js b/onprc_ehr/resources/web/onprc_ehr/window/EpocImportWindow.js index 7fe59916a..816d39940 100644 --- a/onprc_ehr/resources/web/onprc_ehr/window/EpocImportWindow.js +++ b/onprc_ehr/resources/web/onprc_ehr/window/EpocImportWindow.js @@ -19,7 +19,15 @@ Ext4.define('ONPRC_EHR.window.EpocImportWindow', { items: [{ html: 'This helper allows you to bulk import EPOC data, exported as an excel file from the Epoc software.', style: 'padding-bottom: 10px;' - },{ + },{ + xtype: 'ldk-linkbutton', + text: '[Download Epoc Template]', + scope: this, + style: 'margin-bottom: 10px;', + handler: function(){ + window.location = LABKEY.contextPath + '/onprc_ehr/templates/Epoc_Template.xlsx' + } + },{ xtype: 'textarea', itemId: 'textField', height: 300,