Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 38 Next »

Case Sharing allows your field team to share responsibilities of a case load.

This feature requires a CommCare Software Plan

This feature (Case Sharing) will only be available to CommCare project spaces with a Pro Plan or higher. For more details, see the CommCare Software Plan page.

Overview

In the default CommCare model, each CommCare user has their own list of cases, comprised of the cases he/she has created. When a mobile worker registers a pregnant mother on CommCare Mobile, let's call her 'Monica' in this example, the 'Monica' case will only appear in this specific mobile worker's case list (What's a case list is? Learn more). The 'Monica' case will not be show in anyone else's case list, meaning no other mobile worker can perform a follow-up visit with Monica.

Case Sharing changes this model by allowing mobile workers to share cases with other CommCare users.

To do so, you'll create a case sharing group, then add mobile users to that group. All mobile users within a single case sharing group have access to the cases other members of the group have created. These Case Sharing Groups allow multiple mobile workers to share responsibility for a group of cases, by making it seamless for different workers to conduct different pieces of overall project services for a single case. 

Some common use cases:

  1. David works with another community health worker, Maria, who has the same CommCare application on her phone.  David and Maria visit the same community members. Sometimes David will register a new pregnancy, and Maria will follow up with her later.

  2. David refers sick clients to a local clinic.  A nurse at the clinic has a phone with a different CommCare application for sick community members.  The nurse will want to see why David referred the patient, as well as all the data that David has collected about the patient in the past.  David will want to know the outcome of the visit.

How to enable case sharing

  1. Make sure any CommCare applications that you want to have share cases with one another are located in the same project space

  2. Turn on case sharing for your application(s), by doing the following for each app:

    1. Go to app settings (by clicking the gear icon next to the app name)

    2. Select the "Advanced Settings" tab

    3. Check the "Case Sharing" checkbox

  3. Add your mobile users to case sharing groups, by doing the following:

    1. Go to the "Users" page

    2. Click on "Groups"

    3. Enter a name for the group and then click on the "+ Create Group" button

    4. On the new page that loads, click "Edit Settings" and then turn on Case Sharing

    5. Under the "Group Membership" tab, add all users who you wish to have share cases with each other in this group, by entering each username one at a time and then clicking "Update"

  4. If you're sharing cases between two or more different CommCare applications, make sure that the case type matches between all the menus you want to have share case lists

It is important to note that by default case sharing assumes all users are in exactly one case sharing group (or location). If a user is not in a group, or is in more than one group, apps will throw an error for any form that creates a new case unless additional configuration is provided to clarify the owner of the case.

To configure case sharing for users in multiple groups, you can read the following guides depending on what features you are using.

You can find steps to address issues with those configurations on this page: Debugging Case Sharing errors

Advanced

You can structure your case sharing groups such that a "supervisor" user is in multiple case sharing groups. If you are on the Advanced plan or higher, this is easy to set up through Organizations. For more information, see Assigning cases to one of multiple groups.

Errors

Often if you have an error in case management (i.e. you did not follow one of the steps above), you will see a message indicating that your user is not in a case sharing group or is in more than one case sharing group. If you see this, go back and check your case sharing settings or visit the page Debugging Case Sharing errors to know more about the error. It is likely that 1 of your users is not in exactly one case sharing group.

Case Sharing FAQs

If a case was created before case sharing was turned on and the case sharing group was created, does that case get reassigned automatically to that group's owner id, or does the case retain its original owner id?

The case should retain the original case owner ID

What is the difference between user id and owner id?

The owner ID is the id of the user or group who owns the case (the case will appear on their application's case list). User id is the id of the user who last submitted a form to the case.

What happens if two mobile users are sharing a case, are both working offline, and both make changes to the case?

Once the forms are submitted they will update the case in the order in which they are received (according to the server received time). If one of the forms closed a case and a subsequent form attempts to update that case, the case will not be reopened but the (now closed) case will be updated.

Is there a way to specify case sharing for different groups by menu or a specific case type?

Unfortunately this use case is not currently supported in the app builder. However, you can configure this manually by specifying the "owner_id" property for new cases which you don't want to share to be set to the id of the current user (defined in the form as a hidden value) in the normal case property configuration screen. That will result in those cases not being shared.

  • No labels