LHNCBC / clin-table-search

For reporting issues with the Clinical Table Search Service
3 stars 1 forks source link

API doesn't give medication strength for some medicine #3

Closed hariveluwbc closed 3 years ago

hariveluwbc commented 4 years ago

Hi , https://clin-table-search.lhc.nlm.nih.gov/api/rxterms/v3/search?ef=STRENGTHS_AND_FORMS,RXCUIS&maxList=&terms=Hyoscyamine/Methenamine/Methylene blue/Phenyl salicylate/Sodium Phosphate, Monobasic (Oral Pill)

I faced strange issue when calling API . I didn't get any data by using above url. When we remove the last character from above url,it works fine . for example, https://clin-table-search.lhc.nlm.nih.gov/api/rxterms/v3/search?ef=STRENGTHS_AND_FORMS,RXCUIS&maxList=&terms=Hyoscyamine/Methenamine/Methylene blue/Phenyl salicylate/Sodium Phosphate, Monobasic (Oral Pill

Actually i need medication strength for medicine "Hyoscyamine/Methenamine/Methylene blue/Phenyl salicylate/Sodium Phosphate, Monobasic (Oral Pill)"

hariveluwbc commented 4 years ago

Hi, I found fix, now used double quotes in terms to resolve this Example: https://clin-table-search.lhc.nlm.nih.gov/api/rxterms/v3/search?ef=STRENGTHS_AND_FORMS,RXCUIS&maxList=&terms="Hyoscyamine/Methenamine/Methylene blue/Phenyl salicylate/Sodium Phosphate, Monobasic (Oral Pill)"

plynchnlm commented 3 years ago

This was fixed. I'm sorry for not updating the issue sooner.