Widget:MattTest: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 606: Line 606:
if (subStudy == 0){
if (subStudy == 0){
var timeConstraints = {
var timeConstraints = {
// VisitNum : [Days from Index Event, Window + Days, Window - Days, Window + Hours, Window - Hours, Visit, Visit Description, Short Visit Description]
// VisitNum : [Days from Visit 2, Window + Days, Window - Days, Window + Hours, Window - Hours, Visit, Visit Description, Short Visit Description]
1 : [0, 5, 0, 12, 0, "Visit 2", "Infusion 1 of investigational product should occur no earlier than 12 h after IV contrast and be dosed within 5 days of First Medical Contact.  Subjects who are to undergo angiography and, therefore, receive IV contrast agent must have stable renal function.", "Infusion 1"],
1 : [0, 5, 0, 12, 0, "Visit 2", "Infusion 1 of investigational product should occur no earlier than 12 h after IV contrast and be dosed within 5 days of First Medical Contact.  Subjects who are to undergo angiography and, therefore, receive IV contrast agent must have stable renal function.", "Infusion 1"],
2 : [7, 1, 2, 0, 0, "Visit 3", "Infusion 2 should occur 7 days (-2/+1) after the 1st infusion (Visit 2).", "Infusion 2"],
2 : [7, 1, 2, 0, 0, "Visit 3", "Infusion 2 should occur 7 days (-2/+1) after the 1st infusion (Visit 2).", "Infusion 2"],
Line 612: Line 612:
4 : [21, 1, 2, 0, 0, "Visit 5", "Infusion 4 should occur 7 days (-2/+1) after the 3rd infusion (Visit 4).", "Infusion 4"],
4 : [21, 1, 2, 0, 0, "Visit 5", "Infusion 4 should occur 7 days (-2/+1) after the 3rd infusion (Visit 4).", "Infusion 4"],
5 : [28, 2, 2, 0, 0, "Visit 6", "This follow-up visit should occur 7 days (±2) after the 4th infusion (Visit 5).", "1st Follow-Up After Infusion 4"],
5 : [28, 2, 2, 0, 0, "Visit 6", "This follow-up visit should occur 7 days (±2) after the 4th infusion (Visit 5).", "1st Follow-Up After Infusion 4"],
6 : [59, 10, 10, 0, 0, "Visit 7", "This follow-up visit should occur approximately 30 days (±10) after the 4th infusion (Visit 5).", "2nd Follow-Up After Infusion 4"],
6 : [60, 10, 10, 0, 0, "Visit 7", "This follow-up visit should occur approximately 30 days (±10) after the 4th infusion (Visit 5).", "2nd Follow-Up After Infusion 4"],
7 : [89, 10, 10, 0, 0, "Visit 8", "This follow-up visit should occur approximately 60 days (±10) after the 4th infusion (Visit 5).", "3rd Follow-Up After Infusion 4"],
7 : [90, 10, 10, 0, 0, "Visit 8", "This follow-up visit should occur approximately 60 days (±10) after the 4th infusion (Visit 5).", "3rd Follow-Up After Infusion 4"],
8 : [179, 10, 10, 0, 0, "Visit 9", "This follow-up visit should occur approximately 150 days (±10) after the 4th infusion (Visit 5).", "4th Follow-Up After Infusion 4"],
8 : [180, 10, 10, 0, 0, "Visit 9", "This follow-up visit should occur approximately 150 days (±10) after the 4th infusion (Visit 5).", "4th Follow-Up After Infusion 4"],
9 : [269, 10, 10, 0, 0, "Visit 10", "This follow-up visit should occur approximately 240 days (±10) after the 4th infusion (Visit 5).", "5th Follow-Up After Infusion 4"],
9 : [270, 10, 10, 0, 0, "Visit 10", "This follow-up visit should occur approximately 240 days (±10) after the 4th infusion (Visit 5).", "5th Follow-Up After Infusion 4"],
10 : [364, 14, 14, 0, 0, "Visit 11", "This follow-up visit should occur approximately 335 days (±14) after the 4th infusion (Visit 5).", "End Of Study Visit"],
10 : [365, 14, 14, 0, 0, "Visit 11", "This follow-up visit should occur approximately 335 days (±14) after the 4th infusion (Visit 5).", "End Of Study Visit"],
};
};
return timeConstraints;
return timeConstraints;
Line 753: Line 753:
function updateVisitSelector(target, visitCounter){
function updateVisitSelector(target, visitCounter){
if (visitCounter > 1){
if (visitCounter > 1){
if (target.dmin.getHours() > 12){
if (target.dmin.getHours() >= 12){
var hrsMin = target.dmin.getHours() - 12;
var hrsMin = target.dmin.getHours() - 12;
var minsMin = target.dmin.getMinutes();
var minsMin = target.dmin.getMinutes();
Line 763: Line 763:
}
}
if(target.dmax.getHours() > 12){
if(target.dmax.getHours() >= 12){
var hrsMax = target.dmax.getHours() - 12;
var hrsMax = target.dmax.getHours() - 12;
var minsMax = target.dmax.getMinutes();
var minsMax = target.dmax.getMinutes();

Revision as of 18:41, 7 May 2018