Details

    • Type: Story
    • Status: Accepted
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      Low
    • Sprint:
      Allergies Sprint 1, Allergies Sprint 2, Allergies Sprint 3

      Description

      Create the java Allergy object in the allergyapi module. You can see the fields on RA-354.

      class Allergy extends OpenmrsData {
        Int allergyId;
        Patient patient;
        Allergen allergen;
        Concept severity;
        String comment;
      }
      
      class Allergen {
        enum AllergenType { DRUG, FOOD, ENVIRONMENTAL };
        AllergenType type;
        Concept concept;
        String nonCodedConcept; // must have value if concept is null
        Boolean isCoded() { return concept != null; }  
      }
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    dkayiwa Daniel Kayiwa
                    Reporter:
                    dkayiwa Daniel Kayiwa
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    7 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0 minutes
                      0m
                      Logged:
                      Time Spent - 1 day, 6 hours
                      1d 6h