How to Make Patient's History Available in a App

​Dear All,
I want to know if it is possible to display the last 5 data stored or
captured by a case property.

For instance, when a client goes to a consulting room, the doctor would
like to read the content of the Examination property for the last 5 visits.
Or for the last 5 visits what medicine were prescribed during each visit.

Yaw

Hi Yaw,

There are a couple of ways to create this interaction.

If there aren't a lot of these properties, the easiest thing to do is
create a sliding window of data ie:

property
property_prev_1
property_prev_2
..
property_prev_5

and in each form, load the previous property and load it in to the next, IE:

property_prev_1 = #case/property
property_prev_2 = #case/property_prev_1
...
etc

-Clayton

··· On Sun, Jul 9, 2017 at 12:49 PM, YAW ANTWI-ADJEI wrote:

​Dear All,
I want to know if it is possible to display the last 5 data stored or
captured by a case property.

For instance, when a client goes to a consulting room, the doctor would
like to read the content of the Examination property for the last 5 visits.
Or for the last 5 visits what medicine were prescribed during each visit.

Yaw

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

Hi Clayton,
Thank you for your support. Please, what other ways can I go about it since
there could be more. For instance, type of test requested, diagnosis,
prescription etc.

Yaw

··· On 21 Jul 2017 20:54, "Clayton Sims" wrote:

Hi Yaw,

There are a couple of ways to create this interaction.

If there aren't a lot of these properties, the easiest thing to do is
create a sliding window of data ie:

property
property_prev_1
property_prev_2
..
property_prev_5

and in each form, load the previous property and load it in to the next,
IE:

property_prev_1 = #case/property
property_prev_2 = #case/property_prev_1
...
etc

-Clayton

On Sun, Jul 9, 2017 at 12:49 PM, YAW ANTWI-ADJEI yawantwiadjei@gmail.com wrote:

​Dear All,
I want to know if it is possible to display the last 5 data stored or
captured by a case property.

For instance, when a client goes to a consulting room, the doctor would
like to read the content of the Examination property for the last 5 visits.
Or for the last 5 visits what medicine were prescribed during each visit.

Yaw

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

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

Hi Yaw,

The most robust way to accomplish this is to create a Child Case for each
visit where you record these values. That would allow you to review
historical visits from a patient and view the full record of the encounter.

-Clayton

··· On Fri, Jul 21, 2017 at 5:05 PM, YAW ANTWI-ADJEI wrote:

Hi Clayton,
Thank you for your support. Please, what other ways can I go about it
since there could be more. For instance, type of test requested, diagnosis,
prescription etc.

Yaw

On 21 Jul 2017 20:54, "Clayton Sims" csims@dimagi.com wrote:

Hi Yaw,

There are a couple of ways to create this interaction.

If there aren't a lot of these properties, the easiest thing to do is
create a sliding window of data ie:

property
property_prev_1
property_prev_2
..
property_prev_5

and in each form, load the previous property and load it in to the next,
IE:

property_prev_1 = #case/property
property_prev_2 = #case/property_prev_1
...
etc

-Clayton

On Sun, Jul 9, 2017 at 12:49 PM, YAW ANTWI-ADJEI <yawantwiadjei@gmail.com wrote:

​Dear All,
I want to know if it is possible to display the last 5 data stored or
captured by a case property.

For instance, when a client goes to a consulting room, the doctor would
like to read the content of the Examination property for the last 5 visits.
Or for the last 5 visits what medicine were prescribed during each visit.

Yaw

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

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

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