Condition List

Condition List

Primary mentor

@Daniel Kayiwa

Backup mentor

@Ellen Ball

Assigned to

@Haripriya Reddy

Abstract



Any self-respecting medical record (EMR) system needs to be able to track patient conditions (what is often called the patient's "Problem List").  We have chosen "Condition" instead of "Problem" to align with contemporary thinking (e.g., since "Pregnancy" isn't really a "Problem" for most people).  OpenMRS RefApp needs Condition Lists. This functionality exists in Bahmni-style OpenMRS. 

What is a Condition List?  It is a chronic condition which is important for all clinical care of the patient and lasts 3 months or more.  Chronic conditions include NCDs (Diabetes, hypertension, epilepsy, depression, asthma, COPD, arthritis, etc), cancers, infectious diseases (HIV, Hepatitis), and pregnancy.  This wiki page provides additional information. 

Initial development of this module was already completed (See here).  This project must be completed before it can be used.  There was a great start during the OMRS17 Hackathon in Malawi.

This would be implemented by Partners In Health (Haiti and other locations) when MVP (minimum viable product) is completed and tested.  Other implementations are bound to use this when version 1 is completed.

Dev Resources

Requirements

  • Good Java, Spring and JavaScript skills

  • Soft skills to interact with the community in order to gather requirements and technical feedback

  • Testing – including writing unit tests

  • Write clear technical and implementation documentation

Skills Needed

  • Java

  • Spring

  • JavaScript

  • HTML/CSS

  • MySQL

Objectives

  • Complete all the minimal work so Condition List can be used in production RA-209

  • Complete these tickets: 

    • RA-1458 Only allow current and past dates for conditions

    • RA-1459 Onset and Inactive date should be displayed for inactive conditions

    • RA-1461 Remove "History_of" functionality

    • RA-1486 Configure list of valid condition lists for implementations 

    • EA-40 Condition List V1

      • EA-51 Extend EncounterTransaction to include conditions during save

    • RA-208 Allow some users to add Conditions directly from the Consult Note (extra checkbox in addition to primary/secondary and confirmed).  Design/add to the consult note, so that conditions can be displayed or added directly on the same pages as diagnoses. (see attachment for Bahmni diagnoses/condition list page)

  • Write a RefApp ConditionList report in MySQL or CohortBuilder

Extra Credit

  • Translate into other languages (ie. French) and make certain that all text labels are in message properties (Transifex).  If you are not a native French speaker, find someone who can translate.

  • RA-1387 Upgrade FontAwesome from 3.x to latest (5+).   Find a great icon for the dashboard / condition list.    The current icon isn't ideal.

Progress TODO List

Primary Objectives

  1. Fix error while saving condition- PR1 , PR2 , PR3 (Completed)

  2. Onset date entry should allow past dates only (Completed)

  3. Display end date for inactive conditions (Completed)

  4. Remove ‘History Of’ functionality and add labels (Completed)

  5. Add labels to Condition and Onset date field (Completed)

  6. Fix radio buttons on ‘Add New Condition’ page (Completed)

  7. Minor UI changes- PR1, PR2 (Completed)

  8. Conditions should be limited to diagnosis,findings,etc (Completed)

  9. Change hover message for ‘x’ icon in manage conditions (Completed)

  10. Edit Conditions feature- PR1 , PR2 (Completed)

  11. Add translations to french in Transifex (Completed)

  12. Cohort Builder for Condition List (in progress)

Additional Objectives

  1. End date validation (Completed)

  2. Confirmation before deleting a condition (Completed)

  3. Cosmetic tweaks for Manage Conditions UI (Completed)

  4. Add Condition UI enhancement (Completed)

  5. Upgrade Font Awesome to latest for reference application (Completed)

  6. Upgrade Font Awesome to latest for uicommons (Completed)

  7. Replace plus minus icons with labels (Completed)

  8. Fix error on clicking ‘x’ icon on patient page (Completed)

  9. Add onset date check for conditions to ConditionValidator (Completed)

Screenshots

Resources