fume-fhir-converter
Version:
FHIR-Utilized Mapping Engine - Community
12 lines (11 loc) • 460 B
text/typescript
/**
* © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
* Project name: FUME-COMMUNITY
*/
export interface IFhirClient {
read: (url: string) => Promise<any>
search: (query: string, params?: object) => Promise<any>
create: (resource: object, resourceType: string) => Promise<any>
update: (resourceType: string, resourceId: string, resource: object) => Promise<any>
simpleDelete: (resourceType: string, resourceId: string) => Promise<any>
}