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

Implement API to add condition

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Implement ConditionService.saveCondition to add a new condition.

      Examples:
      1. Presumed Angina
      2. Confirmed Tuberculosis
      3. History of Tobacco Addiction

      Tasks:
      1. Introduce "Edit Conditions" privilege and ensure the privilege for saving a new condition.
      2. Introduce ConditionDAO.saveCondition
      3. Validate that required fields are populated. Note: if coded value is "OTHER, NON-CODED", then the non-coded value is required.
      4. Ensure that there are not any duplicate conditions. Any given coded condition can have only one active entry at a time – i.e., any conditions that have not ended cannot have duplicate entries. Extra credit: prevent duplicate of "OTHER, NON-CODED" where the non-coded value is not a duplicate of another (case insensitive, whitespace ignored).

        Attachments

          Activity

            People

            Assignee:
            sravanthi17 sravanthi naraharisetti [X] (Inactive)
            Reporter:
            shruthidipali Shruthi Dipali [X] (Inactive)
            Designated Committer:
            Rafal Korytkowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: