Insight Study Creation Wiki
We recommend creating the study in order of the following steps:
Configure the Study Tab
Name your study by typing a name into the Study Name field. This name will appear at the top of the app home screen.
In the Status Field, select Development while the app is in development, or select Active when the app has been fully developed and you are ready to begin enrolling study participants.
If desired, in the Staff Phone field, type a phone number that participants can click in order to connect them with your research staff. If you use this feature, a Call Staff button will populate on the top right hand corner of the app home screen.
If desired, in the Counselor Phone field, type a phone number that participants use to connect them with a counselor/nurse/doctor/etc. If you use this feature, a Call Counselor button will populate on the Insight application home screen.
In Assessment Timeout Minutes, type the number of minutes that you would like participants to have to complete each assessment. The assessment will automatically end when time runs out. Insight will record the duration of each initiated assessment and this information will be saved in the dataset.
Select study features:
Create Groups
Allows researchers to provide different content/questions to participants based upon group membership (e.g., Assessment only vs. Assessment + Intervention).
Create Questions
Do not use spaces for variable names. If needed, use an underscore. For example, “Question 1” will not be acceptable for a field name. Instead use Question1 or Question_1.
Question types and how to create them:
In the Questions tab, click the New Question Template button.
Type a variable name into the Field Name textbox. This will be a labeled column in your dataset.
Choose a Question Type (e.g., radio, slider, check all that apply, time, calendar, date, etc.).
Check the Required button if you would like this question to be answered before participants can move to the next question. If unchecked, participants will be allowed to skip the item.
Type your Question Text. This text will appear on the smartphone screen during the assessment.
Enter instructions on how to complete the question in the Description textbox (e.g., “Slide your finger from left to right to answer this question”). (Optional)
To adjust Font Color and Font Weight of the question, click the add button under Settings (if you do not change the font color or weight, Insight default settings will be used).
Under Responses, click Add for each desired answer response. For example, click Add 5 times for a 5-item Likert-Type scale (e.g., Strongly Agree, Agree, Neutral, Disagree, Strongly Disagree).
Type each answer into the Text field as it should appear on the smartphone screen (e.g., Strongly Agree).
Type a Value that corresponds to each answer response (e.g., “1” for Strongly Agree). These Values will appear in your dataset.
Hover the mouse over the Move ↕ button, click, hold, and move items up and down to reorder responses. The order of the responses here will set the response order in the app.
Click the Configure wheel next to each Response if you would like to change the Font Color and/or Font Weight for each answer response.
Click the Remove button to remove an answer response.
Click the Save button on the top right hand side of the screen, and always click the save button after you make changes to your study. You will lose all work that you do not save.
Insight allows you to clone Questions. This feature can save considerable amounts of time if your study contains similarly worded questions, or questions with similar/identical answer responses.
From the Questions dashboard, click the Clone button for a particular question.
Change the Field Name for this new item.
Change the Question Text.
Modify answer Responses and Settings as needed.
Save the new item.
Examples and instructions for creating each question type are available here:
Create Assessments
This section explains how to create assessments.
Click the Assessments tab.
Click Add to create a new Assessment.
Type a name for your assessment in the Assessment Name textbox.
We recommend that you use face value names to distinguish this assessment from other assessments (e.g., Morning Daily Diary - Intervention Group; Quit Date Morning Daily Diary - Control Group).
Assessment Timeout Minutes allows studies to customize how long a specific assessment can be; when using Add/Edit/Clone Assessment operations, the Assessment Timeout Minutes is defaulted from the Study Level timeout duration.
a. Change the assessment timeout to a preferred duration. (Optional)
i. The field is mandatory and must be greater than zero (0).
ii. An Event with multiple Assessments will be based on the timeout duration at the Study level, not the Assessment level.
Add questions to the assessment:
a. On the left side of the screen, you will find all questions that you have created for this study. On the right side of the screen are the questions that will be included in this particular assessment.
You can reuse questions for multiple assessments (e.g., there is no need to create an item – “I am hungry” more than once because the same item can be used in multiple assessments). However, if you would like to ask the same question twice in a single assessment, you should create two items to differentiate them in your dataset (e.g., “paintime1” and “paintime2”)
i. Use the Filter box as a quicker way to find your questions. Simply type in the variable name.
b. Click to add a question to the top of the assessment.
c. Click to add a question to the bottom of the assessment.
d. You can also drag and drop questions from the left side of the screen and place them in the desired order on the right side of the screen (this drag-and-drop feature can be used after at least 1 item has been added to the assessment using the chevron-up button).
Question Feature Buttons on the right hand side of the screen will enable you to customize your Assessment.
a. Move questions higher or lower in the assessment by hovering the mouse over the Move ↕ button. Then click, hold, and move the question higher or lower in the assessment.
b. Click the Open button to create branching logic and to review information about each question. Branching logic enables certain questions to be skipped or presented based upon responses to other questions. Click here to learn more about branching logic formulas and how to use them.
c. Click the Clone button to add a copy of this item to this assessment.
d. Click the Remove button to remove a question from the assessment.
Click the Save button.
Always click the save button after you make changes to your study. You will lose all work that you do not save.
Type in the formula for branching logic instead of copying and pasting formulas.
Copying and Pasting formulas have the potential to carry over hidden characters or HTML tags that are not seen in web browsers.
If it is a Rich Text question type the question text will be limited to displaying 50 characters.
Click Close to return to the Assessments tab where you will see your new assessment.
Create Stages
Insight conceptualizes Stages as periods of time. The Stage feature allows you to present different questions and intervention content and use different Insight features at different time points in your study. You can include as many stages as you like.
Stages are directly linear by default in each Study. Each Participant starts in the top-listed first Stage in the Study, and progresses through each Stage in a linear manner based on the conditions to complete each Stage.
The Stages listed in order in the CMS is the order of the Stages that will progress in the Study.
The additional Setting “Branching Logic → Branch-to-Stage“ is designed to allow Study Stages to progress in a non-linear (sometimes “circular stage“) manner.
Click the Events tab.
Click Add to create a new Stage.
Type a name for your stage in the Name textbox.
We recommend that you use face value names to distinguish stages (e.g., Stage 1; Study Days 1-14; Pre-Quit).
The Type dropdown box allows you to set how this stage will end.
a. Duration – Allows you to set how long (by number of days) a stage will last. The app will automatically move to the next stage (in order) when each stage ends. Type number of days for the stage in the Days Duration textbox.
i. Check the Ends at midnight checkbox if you would like a stage to advance to the next stage at midnight on the last day of the stage. If this box is not checked, the stage will advance at the same time of day as when the participant downloaded the app and started the study (this will result in some participants starting a new stage at 5:00 PM, and others at 8:00 AM). In most cases, the Ends at midnight checkbox should be checked for Duration Stages.
b. Formula – Allows you to end a stage when specific formula criteria are met (e.g., Participant indicates that they have not smoked in the past 7 days; Participant indicates exercising 3 or more days in the past week).
Type in the formula for branching logic instead of copying and pasting formulas.
Copying and Pasting formulas have the potential to carry over hidden characters or HTML tags that are not seen in web browsers.
Stage Settings
a. Branching Logic – Enables movement to any stage based upon a set formula. This feature enables circular stage logic. In other words, a participant can complete stage 1, then stage 3, then stage 2, then stage 1 again.
i. In the Branch-to Stage box, select the stage that you would like the participant to move to when the formula criteria are met
ii. In the Condition box, enter the criteria/formula needed to move the participant to the stage that is selected in the Branch-to Stage box
b. Payment Schedule – Allows you to define a specific payment schedule to a specific stage.
Click the Save button.
Always click the save button after you make changes to your study. You will lose all the work that you do not save.
We recommend that the first stage of any study be a “Start Study” Stage. The Start Study stage will standardize the study experience for all participants and will set the first day of your study for each participant. The Start Study stage should contain a Start Study assessment that includes the question: “Do you want to start the study now?” (Yes = 1; No = 0). The Formula stage change type should be used to move the participant to the first day of the study (type [start_study]==1 into the End Date Formula field).
You can ask baseline questions during the Start Study stage that can be used to drive question, message, and intervention content. For example, you can ask “What is your sex?” during the Start Study stage and use the answer to this question to select appropriate sex-based questions for the duration of your study – For women: “During the past week, how many days did you drink 4 or more alcohol containing beverages?”; for men: “During the past week, how many days did you drink 5 or more alcohol containing beverages?”
To enable this feature, use the LAST command when creating the skip pattern for a question within an assessment. The participant’s answer to the question the last time it was answered will be used to inform the skip logic – see Formulas section to learn more.
Create Events
Events are Assessments that are embedded within stages. There can be many events within a particular stage (e.g., Random Assessments, Fixed Assessments).
Select a stage for a new event.
Click in the Events section of the stage to create a new Event.
Type a name for the new Event in the Schedule Name textbox (e.g., Pre-Quit Daily Diary-Control Group).
For Participant Initiated Events, the name of the Event will appear in the app home screen. Thus, a concise and descriptive name for this type of event should be used (e.g., Meal Survey; I am about to smoke; Relaxation Videos).
You cannot add two (2) events at the same time because the CMS will not save the group or assessment of the second event. To add two (2) events to the same stage, we recommend the following: save the first event, click out of the Events tab, click back into the Events tab, then create the second event.
Select the particular group(s) that you would like to associate with this event under
Available Groups and drag the group(s) into the Selected Groups box.
In some cases, researchers will assign specific events to specific groups (e.g., Assessment Only Group vs. Assessment + Intervention Group).
If you created an Event you no longer want to appear on the app, you will need to remove the groups from that specific Event. Do not delete the Event as this will result in deletion of previously collected data.
Click the Save button.
Always click the save button after you make changes to your study. You will lose all work that you do not save.
Configure Events
This section describes the Insight Event types and how to configure them.
Scheduling for Each Event Type
Configure Notifications (Optional)
Notifications are messages that are presented to participants during specific stages on specific dates/times.
Click the Notifications tab in CMS.
In the Schedule Field Name text box type a name for the Notification (e.g., “Day 1 Message”).
Select a Message Type.
a. Alert – This message type will cause the phone to ring/vibrate at the assigned time and deliver the message as written.
b. Notification – This message type will cause a message to appear in the phone’s notification bar until it is dismissed.
Select the Group(s) that should get this notification. Then press .
The group will not be assigned unless you click .
Messages section
a. Message – Type the message as it should appear on the phone.
b. Value – Type the value this message should have in your dataset.
c. Day of Stage – Type the day of the stage for which this message should be presented.
d. Time Type – Select Preferred Time, Specific Time, Wake Time Offset, or Sleep Time Offset, and configure the message for the time you prefer.
Click the Save button.
Always click the save button after you make changes to your study. You will lose all work that you do not save.
Create and Configure Subject Payments (Optional)
This section provides instructions for setting up the optional payment button for your study. The payment button allows participants to review the history of prompted, completed surveys and the amount of credits earned thus far. To enable this option, click on the Custom Payments checkbox under Features in the Study tab and click Save .
Research teams utilizing Greenphire:
Reference the attachment below for which PHI (Protected Health Information) fields are required for processing cards.
The ‘State’ field must be written in the abbreviation format; for example, ‘Oklahoma’ must be input as ‘OK’.
Failure to write in the correct format results in cards failing to process.
Then click the Payments tab. Three folders will appear: Payment Schedules, Participation Calculation, and Payments. To open each folder, click the Open button to the right.
The Payment Schedules section must be set up before setting up the Participation Calculation section.
Payment Schedules
Follow the directions below to create criteria for subject payments.
Open the Payment Schedules folder
Click Add to add a new schedule
Enter a name for your payment schedule in the Schedule Name textbox (see Figure 1)
There are two payment Schedule Types: Default and Percent.
Default
This payment schedule type enables researchers to pay participants for completing a specific task in the app (e.g., completing a daily carbon monoxide test, completing a weekly EMA, completing a follow-up survey).
Percent
The percent schedule type is used to track the number of scheduled surveys that are prompted and completed by participants.
Fill in the 3 fields: Payment Name, Percent, and Amount
Payment Name will appear as text in this payment schedule.
Add Payment Names for each line in a payment schedule (see example below: 74% to 50%, 89% to 75%, 90% to 100%).
The Percent field is used to define requirements for the percentage of surveys that need to be completed for a specific level of payment (Note: enter .50 for 50%; see example in the payment screen below: 50%, 75%, and 90%). Note that the amount of current compensation is automatically populated for each participant based upon the percentage of EMAs complete up-to-the-moment.
The Amount field is used to define the amount of credit the participant will earn for completing a certain percentage of surveys.
Click Save once you have configured the payment schedule.
You can add additional payment schedules (e.g., separate payments for different weeks of the study) to customize the payment button. Different schedules allow participants to earn different amounts for completing surveys at different points in the study (e.g., up to $20 for completing 5 EMAs per day during the first week of the study and up to $15 for completing 3 EMAs per day during the second week of the study).
Participation Calculation
The Participant Calculation section enables the researcher to tie specific payment schedules with specific study stages and EMA types. There are 3 types of Participation Calculation: Stage Based, Grouped Stages, and Custom Event Inclusion. Click the Edit button on the corresponding stage to view Events that can be included or excluded in each Participant Calculation. Note: Only events assigned to a specific stage can be selected, but you can tie one payment to many stages. For example, you can tie Payment 1 to Week 1, Week 2, and Week 3 stages. In this case, participants will be able to track their EMA completion and credit earned across Weeks 1-3. Alternatively, you can create separate Payment Schedules for Week 1, Week 2, and Week 3. All payment schedules will be displayed in the same Payment screen.
Custom Event Inclusion
This option allows you to associate a payment schedule to specific events within and across stages. You can select which events you would like to count, or not count, towards a payment.
In the example below, Custom Event Inclusion is used to include only the Fixed Morning Daily Diary assessments in the Weeks 1-2 Payment calculation. None of the other interactions with the app (e.g., participant initiated EMAs) will be included in this payment calculation.
Payments (for Businelle/Kendzor studies only, used with Greenphire)
The Payments folder is used to track payments made to participant Greenphire MasterCards. The status (e.g., processing, pending, paid, failed) of each payment can be viewed in this section. Currently, this feature is only available to OUHSC researchers.
Manually clicking the “Mark Paid” button changes the Payment status shown in the CMS (Content Management System). However, this status has no correlation with Greenphire processing transactions.
Payments that do not meet Study or Assessment settings will not be submitted to Greenphire for processing.
Payment Log Question Type
In order to make the Payment button appear on the Insight app home screen, you will need to do the following:
Create a Payment Log question. To do this, select Payment Log under Question Type Dropdown. Under settings select Web View HTML.
Contact the mHealth Support team to create a HTML file and Payment Log.
The types of Payment Logs mHealth has to offer:
PercentPaymentLog - Shows percentage of assessments completed vs total possible assessments taken per stage
FlatPaymentLog - Shows history of payments
FlatPaymentLogV2 - Shows history of payments. Includes Events that triggered each payment.
FlatPaymentWithQ - Shows history of payments. Includes Questions that triggered each payment
Once that Payment Log is created, you will need to create a “Payment” Event with Payment Log as the assessment for each stage of your study.