fume-fhir-converter
Version:
FHIR-Utilized Mapping Engine - Community
12 lines (10 loc) • 384 B
text/typescript
/**
* © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
* Project name: FUME-COMMUNITY
*/
import { getFhirClient } from '../fhirServer';
export const search = async (query: string, params?: Record<string, any>): Promise<Record<string, any> | undefined> => {
const url: string = encodeURI(query);
const res = await getFhirClient().search(url, params);
return res;
};