|
@@ -53,7 +53,6 @@ function init(){
|
|
//update this to pick crfRef from url
|
|
//update this to pick crfRef from url
|
|
let crfRef=searchParams.get('entryId');
|
|
let crfRef=searchParams.get('entryId');
|
|
//let formSetupQuery=searchParams.get('formSetupQuery');
|
|
//let formSetupQuery=searchParams.get('formSetupQuery');
|
|
- let registrationQueryId=searchParams.get('registrationQueryId');
|
|
|
|
document.getElementById("crfRefId").innerHTML=crfRef;
|
|
document.getElementById("crfRefId").innerHTML=crfRef;
|
|
|
|
|
|
|
|
|
|
@@ -61,14 +60,9 @@ function init(){
|
|
//config is part of crfVisit.js
|
|
//config is part of crfVisit.js
|
|
//will this change if we are in views?
|
|
//will this change if we are in views?
|
|
//config.review=true;
|
|
//config.review=true;
|
|
- config.reviewMode=searchParams.get("reviewMode");
|
|
|
|
- if (config.reviewMode=="EDIT") delete config.reviewMode;
|
|
|
|
|
|
|
|
//where to get ParticipantId
|
|
//where to get ParticipantId
|
|
- config.registrationQueryId=registrationQueryId;
|
|
|
|
- config.registrationParticipantIdField="participantCode";
|
|
|
|
//pick this from study properties
|
|
//pick this from study properties
|
|
- config.participantField="PatientId";
|
|
|
|
config.masterForm="visitForm";
|
|
config.masterForm="visitForm";
|
|
|
|
|
|
config.document=document;
|
|
config.document=document;
|
|
@@ -76,12 +70,11 @@ function init(){
|
|
config.debugDiv="debugDiv";
|
|
config.debugDiv="debugDiv";
|
|
config.debugId="formStatus";
|
|
config.debugId="formStatus";
|
|
config.crfRefId="crfRefId";
|
|
config.crfRefId="crfRefId";
|
|
|
|
+ config.registrationParticipantIdField="participantCode";
|
|
config.containerPath= LABKEY.ActionURL.getContainer();
|
|
config.containerPath= LABKEY.ActionURL.getContainer();
|
|
//config.setupQueryName=formSetupQuery;
|
|
//config.setupQueryName=formSetupQuery;
|
|
- config.formName=searchParams.get("formName");
|
|
|
|
config.formId=searchParams.get("formId");
|
|
config.formId=searchParams.get("formId");
|
|
- config.submitReportId="submitReport";
|
|
|
|
-
|
|
|
|
|
|
+ config.role=searchParams.get('role');
|
|
|
|
|
|
clear();
|
|
clear();
|
|
|
|
|