示例#1
0
        public MedFieldsLists GetSearchMedFieldsResults(GetMedFieldsRequest request)
        {
            try
            {
                var lists    = new MedFieldsLists();
                var matches  = EndpointUtil.GetMedicationMapsByName(request, request.UserId);
                var fMatches = SearchUtil.FilterFieldResultsByParams(request, matches);

                // break out into seperate lists here.
                lists.RouteList    = GetRouteSelections(fMatches);
                lists.FormList     = GetFormSelections(fMatches);
                lists.StrengthList = GetStrengthSelections(fMatches);
                return(lists);
            }
            catch (WebServiceException ex)
            {
                throw new WebServiceException("AD:GetSearchAllergyResults()::" + ex.Message, ex.InnerException);
            }
        }