Referencing case property in subsequent question

Hi,

I’m interested in referencing a response from a previous question in a
later question, in this case, the name of a case in a question in a
subsequent module/form. So, for instance, a question would read ‘did Lizzy
take her medication today?’ rather than ‘did she take her medication
today?’.

Thanks in advance.
L

Hi Elizabeth,

Please have a look at Displaying an Output
https://confluence.dimagi.com/display/commcarepublic/Hidden+Values+Tutorial+Part+4:+Displaying+an+Output
page.
Let me know in case you need further help.

Best,
Nynke

··· On Thu, May 12, 2016 at 8:15 PM, Elizabeth Ragan wrote:

Hi,

I’m interested in referencing a response from a previous question in a
later question, in this case, the name of a case in a question in a
subsequent module/form. So, for instance, a question would read ‘did Lizzy
take her medication today?’ rather than ‘did she take her medication
today?’.

Thanks in advance.
L


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Senior Field Manager | Gestionnaire sur terrain
Dimagi West Africa | Dimagi Afrique de l’Ouest
Mob Sénégal: +221765228700
Skype: nynke.brunner
http://www.dimagi.com

Hi Nynke, thank you - The issue is that the Question for the patient’s name
is in the Case Registration module, and I want to reference it within a
Follow-up module without having to ask for the patient’s name again. Is
there a way to modify the output value so that it pulls from another form?

··· On Friday, May 13, 2016 at 5:26:10 AM UTC-4, Nynke Brunner wrote: > > Hi Elizabeth, > > Please have a look at Displaying an Output > page. > Let me know in case you need further help. > > Best, > Nynke > > On Thu, May 12, 2016 at 8:15 PM, Elizabeth Ragan <ejr...@gmail.com > wrote: > >> Hi, >> >> I'm interested in referencing a response from a previous question in a >> later question, in this case, the name of a case in a question in a >> subsequent module/form. So, for instance, a question would read 'did Lizzy >> take her medication today?' rather than 'did she take her medication >> today?'. >> >> Thanks in advance. >> L >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Senior Field Manager | Gestionnaire sur terrain > Dimagi West Africa | Dimagi Afrique de l'Ouest > Mob Sénégal: +221765228700 > Skype: nynke.brunner > http://www.dimagi.com >

Hi Elizabeth,

You can use case management to reference data from a prior form. For
example, you could save the question asking for the patient’s name to the
case in the registration form.
Then in the follow-up form you would create a hidden value for the name and
load it from the case. Then you can reference the hidden value in the
follow-up form to display the name.

For more information and examples please see the Case Management Tutorials:
https://confluence.dimagi.com/display/commcarepublic/Basic+Case+Management+Tutorial

Thanks,

Jeremy

··· On Fri, May 13, 2016 at 11:58 AM, Elizabeth Ragan wrote:

Hi Nynke, thank you - The issue is that the Question for the patient’s
name is in the Case Registration module, and I want to reference it within
a Follow-up module without having to ask for the patient’s name again. Is
there a way to modify the output value so that it pulls from another form?

On Friday, May 13, 2016 at 5:26:10 AM UTC-4, Nynke Brunner wrote:

Hi Elizabeth,

Please have a look at Displaying an Output
https://confluence.dimagi.com/display/commcarepublic/Hidden+Values+Tutorial+Part+4:+Displaying+an+Output page.
Let me know in case you need further help.

Best,
Nynke

On Thu, May 12, 2016 at 8:15 PM, Elizabeth Ragan ejr...@gmail.com wrote:

Hi,

I’m interested in referencing a response from a previous question in a
later question, in this case, the name of a case in a question in a
subsequent module/form. So, for instance, a question would read ‘did Lizzy
take her medication today?’ rather than ‘did she take her medication
today?’.

Thanks in advance.
L


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Senior Field Manager | Gestionnaire sur terrain
Dimagi West Africa | Dimagi Afrique de l’Ouest
Mob Sénégal: +221765228700
Skype: nynke.brunner
http://www.dimagi.com


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.

Perfect - this is what I needed.
Thanks!

··· On Friday, May 13, 2016 at 2:21:53 PM UTC-4, Jeremy Wacksman wrote: > > Hi Elizabeth, > > You can use case management to reference data from a prior form. For > example, you could save the question asking for the patient's name to the > case in the registration form. > Then in the follow-up form you would create a hidden value for the name > and load it from the case. Then you can reference the hidden value in the > follow-up form to display the name. > > For more information and examples please see the Case Management > Tutorials: > https://confluence.dimagi.com/display/commcarepublic/Basic+Case+Management+Tutorial > > Thanks, > > Jeremy > > On Fri, May 13, 2016 at 11:58 AM, Elizabeth Ragan <ejr...@gmail.com > wrote: > >> Hi Nynke, thank you - The issue is that the Question for the patient's >> name is in the Case Registration module, and I want to reference it within >> a Follow-up module without having to ask for the patient's name again. Is >> there a way to modify the output value so that it pulls from another form? >> >> >> >> On Friday, May 13, 2016 at 5:26:10 AM UTC-4, Nynke Brunner wrote: >>> >>> Hi Elizabeth, >>> >>> Please have a look at Displaying an Output >>> page. >>> Let me know in case you need further help. >>> >>> Best, >>> Nynke >>> >>> On Thu, May 12, 2016 at 8:15 PM, Elizabeth Ragan wrote: >>> >>>> Hi, >>>> >>>> I'm interested in referencing a response from a previous question in a >>>> later question, in this case, the name of a case in a question in a >>>> subsequent module/form. So, for instance, a question would read 'did Lizzy >>>> take her medication today?' rather than 'did she take her medication >>>> today?'. >>>> >>>> Thanks in advance. >>>> L >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "commcare-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to commcare-user...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Senior Field Manager | Gestionnaire sur terrain >>> Dimagi West Africa | Dimagi Afrique de l'Ouest >>> Mob Sénégal: +221765228700 >>> Skype: nynke.brunner >>> http://www.dimagi.com >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Wacksman > Dimagi , Inc. > >