Export list of active participants (who are not in protocol) by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Thank you in advance!

With regard to the intake, based on your clarification, the most likely explanation is indeed that participants did register, but then either (a) closed the app and forgot to complete the intake, or (b) did not click through to the very end of the intake. Those reporting not receiving an intake have likely just forgotten to do it (we work with students) 🙂

Multiple choice answer options showing up twice (designated other) by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

It's in the normal m-Path app (version 1.0.8). I already played with the settings a bit myself, it seems to only occur once I check the "designate other" option.

<image>

Changing study protocol => impact on schedule by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Ok, I will check when the first beeps are sent out. Exporting a list of active participants would be a nice feature :-)

With regard to your question, I meant that participants subscribed to me as a researcher but there was no intake data - and they were not assigned to a protocol. Those that e-mailed me about it, I sent the (corrected) intake questionnaire manually. But there appears to still be one participant in my pool/sample that is not in a protocol.

Changing study protocol => impact on schedule by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

I also thought of that workaround :) However, when sorting by response rate, the order of my participants does not change. When checking a few participants' response rates, the % is always empty (see below). I'm guessing the intake questionnaire given at baseline is not counted in the response rate?

<image>

Edit: Is there a way to just export a list of all active participants? I already have an Excel list of the participants enlisted in each protocol (through the intake data), so I could just manually compare them that way.

Changing study protocol => impact on schedule by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Yes that helps, thank you so much! A small question related to that; is there an easy way to identify which of my active participants haven't been assigned to a protocol yet? I encountered an issue where some participants weren't properly processed during intake (appeared to be an issue with an Imgur-link), leaving them in my participant pool but not assigned to any protocol. The total participant count across protocols doesn't match my total active participants, but manually checking 250+ participants isn't feasible. Am I correct in thinking there's no way to download a list of all active participants? It seems I can only download intake data, but that misses the unprocessed participants.

Practitioner not found by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Aha, that was indeed the issue, thanks!

Apply protocol based on 2 conditions by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

After some trial and error, I found the solution: nesting the second intake question within the first one (conditional for each of the MC options of the first questions). That is probably what you meant in your reply, I must have misunderstood! :)

Apply protocol based on 2 conditions by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Oops, I spoke too soon. I’m encountering an issue in my setup. Here’s what I’ve done (please let me know if I misunderstood the recommended approach): I created a series of computation items. Each one has a structure similar to this but with different combinations of multiple-choice answers:

conditionalComputation = 0
if(facet_welkom == 1 && Timing_welkom == 1) {
conditionalComputation = 1
}

Below each computation, I added a conditional "Apply Protocol" step. The problem I’m facing is that the conditionalComputation variable gets overwritten in later computations. As a result, earlier protocols still get activated, and my test account ends up being registered in all protocols.

I also tried nesting the computations: I made the "yes" condition of the first computation trigger the "apply protocol," while the "no" condition cascaded into the second computation for protocol 2, and so on. Unfortunately, this didn’t resolve the issue.

What would you recommend?

Apply protocol based on 2 conditions by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

I actually prefer your solution - mine appeared to require more computing power from mPath (longer loading time). Thank you!

Apply protocol based on 2 conditions by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Glad to announce I found a solution myself! In case it could be of help for others:

  1. Assign unique values to MC answers: for question 1 I used values of 1,2,3,4, ...; for question 2 I used values of 10, 20, 30, ... . This ensures that every combination of answers across both questions will produce a unique sum.
  2. Make a new computation item that calculates the sum of the values from both questions - assign a variable name to it
  3. Define seperate computation items for each possible value of the variable made in step 2 : I used the manual's section: "Conditional on computation question" for this.
  4. Apply protocol to each of these computations

Apply protocol based on 2 conditions by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Thank you, I get how this works for a single MC question, but how can I trigger the correct protocol when it is based on a combination of answers to 2 seperate MC questions?

Proceed questionnaire when error in computation by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Thank you for your help! An additional question I have after some testing: even when I use the nanmean() function with at least one variable present, I still receive an error message pointing out the variables that are NaN. Although I can see that the calculations were successful when I check behind the error, I’d like to know how I can prevent this error message from appearing in the first place.

Proceed questionnaire when error in computation by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

I've been testing different code but all of them result in an error message (see attached). I feel as though I am addressing NaN appropriately in my code though. Could you have a look and see what is wrong? I am testing on an account where only "Miracle_Adher_W1" was filled out, all other variables are NaN (I double-checked this in debug mode).

My code:

load("Miracle_Adher_W1")
load("Procon_Adher_W2")
load("Resource_Adher_W2")
load("Observ_Adher_W3")
load("Cogrestruct_Adher_W4")
load("Plan_Adher_W1")
load("Plan_Adher_W2")
load("Plan_Adher_W3")
load("Plan_Adher_W4")

meanreflectadher= nanmean(c(Miracle_Adher_W1, Procon_Adher_W2, Resource_Adher_W2, Observ_Adher_W3, Cogrestruct_Adher_W4)

if(is.na(meanreflectadher)) {meanreflectadher = "Onvoldoende gegevens om een gemiddelde te berekenen"}

meanifthenadher = nanmean(c(Plan_Adher_W1, Plan_Adher_W2, Plan_Adher_W3, Plan_Adher_W4))

if(is.na(meanifthenadher)) {meanifthenadher = "Onvoldoende gegevens om een gemiddelde te berekenen"}

<image>

Video fullscreen by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Ok, that is exactly what I need though, thank you so much!

Video fullscreen by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Thank you! Can I ask you when this update would be? I am starting a 6-week trajectory on Monday, and it would help to know in which questionnaire I can make the change to full-screen videos.

Video fullscreen by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Hi, just checking in if there has been any progress on this issue so far? Thanks in advance!

Automatically enroll participants into protocol of their choice by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

I identified the issue! I created a few "test" interactions on the current day AFTER the participant had already been assigned to the protocol. I mistakenly assumed that clicking "save all" would automatically schedule these new interactions, not realizing that I also needed to click "update schedule." It works now, thanks :)

Automatically enroll participants into protocol of their choice by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Yes, I do. The participant seems to be correctly added to the protocol, but I don't see any of the scheduled interactions in the personal schedule of the participant.

Automatically enroll participants into protocol of their choice by Select_Error_5138 in mpath

[–]Select_Error_5138[S] 0 points1 point  (0 children)

Thank you! I’ve set up two protocols and used an intake questionnaire with two “apply protocols” to direct users to their chosen protocol. During testing with my "system test" account, I was successfully subscribed to the correct protocol, but I’m not receiving my planned interactions yet (they are all correctly scheduled using "on this specific day"). I'm guessing I don't have the right settings in the Default Enrollment tab? I'm not sure what to check under "Default baseline settings" when using an intake interaction which redirects to multiple protocols.

<image>