Skip to content

Commit

Permalink
(fix) Remove unnecessary param from diagnosis search request
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Mar 19, 2024
1 parent 45183fb commit 7236657
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function useInfiniteVisits(patientUuid: string) {

export function fetchConceptDiagnosisByName(searchTerm: string, diagnosisConceptClass: string) {
return openmrsObservableFetch<Array<Concept>>(
`${restBaseUrl}/concept?name=${searchTerm}&searchType=fuzzy&class=${diagnosisConceptClass}&name=&v=custom:(uuid,display)`,
`${restBaseUrl}/concept?name=${searchTerm}&searchType=fuzzy&class=${diagnosisConceptClass}&v=custom:(uuid,display)`,
).pipe(map(({ data }) => data['results']));
}

Expand Down

0 comments on commit 7236657

Please sign in to comment.