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

The API should not allow duplicate entries for an allergen

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: Platform 1.10.0, Platform 1.11.0
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      Low

      Description

      Currently, the API allows multiple allergies to be recorded for the same allergen. This should not be allowed. Any attempt to set a patient's allergy list to something that contains duplicate entries for the same allergen or to add an allergy for a patient using an allergen already recorded for the patient should throw a exception describing that duplicate entries for the same allergen are not allowed.

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    dkayiwa Daniel Kayiwa
                    Reporter:
                    burke Burke Mamlin
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: