Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6026

Add Support for creating for user_patient_property into OpenMRS Data Model

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Could
    • Resolution: Won't Fix
    • Platform 2.5.0
    • None
    • Data Model, Roadmap
    • None
    • Low

    Description

      Background

      There are a growing number of examples within OpenMRS 3.0 of needing to be able to store user-specific application state. This is being partly being handled at TRUNK-6020

      In some instances, however, there may arise need to store user-patient-specific state, which is currently not supported in the data model.

      Solution

      Add support for UserPatientProperty to OpenMRS.

      • user_patient_property table following conventions in TRUNK-6060 (user, patient, property, and property value)
      • User, patient, and property should be unique
      • Property value as MEDIUMTEXT
      • Service should require View Patient privilege – i.e., if a user loses this privilege, they shouldn't have access to UserPatientProperty values.
      • Associated REST API endpoints

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                tendomart tendo kiiza Martyn
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: