"Cannot evaluate the reference [/date_of_procedure] in the current evaluation context. No default instance has been declared!"

Hi there,

I'm trying to test a patient tracking tool. I am able to use the
registration form without a problem, and that is supposed to lead to
another form for scheduling. However, every time I try to open this form, I
receive the error message, "Cannot evaluate the reference
[/date_of_procedure] in the current evaluation context. No default instance
has been declared!" date_of_procedure is one of the question IDs and I've
tried playing around with it, but still can't figure out the issue.

I appreciate any insights!

Erin,

When exactly do you get this error? Usually we see this error when someone
uses a value (like date_of_procedure) in a form or module filter, but that
value isn't available. If you want to reference this value in a filter
you'd need to save this as a case property with key date_of_procedure.
Another possibility is that you have an extra '/' in front of a reference
to date_of_procedure in your form.

Hope this helps!

Cheers,
Will

ยทยทยท On Fri, Apr 7, 2017 at 10:40 PM, Erin Sullivan wrote:

Hi there,

I'm trying to test a patient tracking tool. I am able to use the
registration form without a problem, and that is supposed to lead to
another form for scheduling. However, every time I try to open this form, I
receive the error message, "Cannot evaluate the reference
[/date_of_procedure] in the current evaluation context. No default instance
has been declared!" date_of_procedure is one of the question IDs and I've
tried playing around with it, but still can't figure out the issue.

I appreciate any insights!

--
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.

Hello,

I am having the same issue and I tried to delete wherever that case property was unfortunately in an inexplicable way, the error is still appearing.

I am also running into this issue, and saving the question id as a case property does not help.

Hi @Erin_Sullivan, I believe this issue arose based on how and where you referenced this case property. If you used this property in the display conditions, you have to reference whether or not the condition belongs to the case or the parent case.