Change relationship for multiple patients at once

Primary mentor

N/A

Backup mentor

N/A

Assigned to

N/A

Background

Currently there is no way to change the relationships for multiple patients at the same time. For example, if multiple patients are assigned to the same physician or nurse, and that physician leaves and another takes over their cases, you have to either make this change in the database or one by one in the UI.

There should be a simple page to change all or some of the patients that have a relationship with an OpenMRS user to another. I'm attaching an example of how it's done in another system

Abstract

There should be a simple page to change all or some of the patients that have a relationship with an OpenMRS user to another.  This page should allow the user to search for a specific user. Display all of the different relationships this use has with patients, the user can select one or more relationships, then search for another user and change all of those to the new user.

Project Champions

  • Joaquin Blaya

Objectives

  1. Create the page to change relationships for multiple patients at the same time.

Examples

Design

I'm attaching an image of the design in another system which I think we should use. 

Documentation

The student should write documentation as part of the project. Creating a single wiki page with the description of how to use the page

Work plan / deliverables:

(Assuming that an NCSU student chooses this project, here are the weekly deliverables. Please comment here as they are accomplished. Or maybe just edit this comment striking out the ones that are complete)

week 1:
Get OpenMRS Ids
Get ticket assigned and in progress
Get openmrs module name assigned. see http://openmrs.atlassian.net/wiki/display/docs/Code+Repository
Create openmrs module
Commit module to github
Check out module on partner machines
Create new admin page section via an extension point
Create new spring controller and jsp page.
week 2:
Add java code to controller to accept params and do the relationshipping
Add unit test for the controller
week 3:
Add jsp to page according to mockup
Post omod to wiki page and request feedback
Make modifications according to feedback

Resources

  •  A JIRA ticket has already been created for this project 
    Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.