Uploaded image for project: 'EMR API'
  1. EMR API
  2. EA-40 Condition List V1
  3. EA-43

Introduce domain for condition

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • TBD
    • Resolution: Fixed
    • None
    • 1.1
    • None
    • Low

    Description

      This work should go into the emrapi module.

      Add migrations to create 'Condition' table as described here.

      *condition_id (int 11)
      *patient_id (patient.patient_id)
      *status (varchar 255)
      *concept_id (concept.concept_id)
      *uuid (varchar 38)
      previous_condition_id (condition.condition_id)
      condition_noncoded (varchar 1024)
      onset_date (datetime)
      additional_detail (varchar 1024)
      end_date (datetime)
      end_reason (concept.concept_id)
      *creator (users.user_id)
      *date_created (datetime)
      *changed_by (users.user_id)
      *date_changed (datetime)
      voided (boolean)
      voided_by (users.user_id)
      date_voided (datetime)
      void_reason (varchar 255)
      

      3. Add hibernate mappings for the above table.
      4. Introduce Condition class.
      5. Status should be an Enum with allowed values:

      • Presumed
      • Confirmed
      • History Of

      Since this work is targeted to become part of the core API, classes should go under org.openmrs.* and org.openmrs.api.* (for example, org.openmrs.Condition).

      Gliffy Diagrams

        Attachments

          Activity

            People

              sravanthi17 sravanthi naraharisetti
              shruthidipali Shruthi Dipali
              Rafal Korytkowski Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: