Details

    • Complexity:
      Low
    • Sprint:
      Order Entry 1.10 Iteration 2, Order Entry 1.10 Iteration 3

      Description

      Add the following methods to ConceptService

      // gets all matching drugs
      List<Drug> getDrugsByMapping(String code, ConceptSource source, Collection<ConceptMapType> withAnyOfTheseTypes, boolean includeRetired);
      
      // gets the "best" matching drug, i.e. matching the earliest ConceptMapType passed in.
      // e.g. getDrugByMapping("12345", rxNorm, Arrays.asList(sameAs, narrowerThan));
      // If there are multiple matches for the highest-priority ConceptMapType, throw an exception
      Drug getDrugByMapping(String code, ConceptSource source, Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference, boolean includeRetired);
      

        Attachments

          Activity

            People

            • Assignee:
              ningosi Nicholas Ingosi
              Reporter:
              wyclif Wyclif Luyima
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 5 hours Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - 5 hours Remaining Estimate - 3 hours
                5h