UNPKG

@oystehr/sdk

Version:

Oystehr SDK

25 lines (24 loc) 866 B
import { SDKResource } from '../../client/client'; import { OystehrConfig } from '../../config'; import * as ext from './fhir-ext'; export declare class Fhir extends SDKResource { #private; constructor(config: OystehrConfig); /** * Performs a FHIR search and returns the results as a Bundle resource * @param options FHIR resource type and FHIR search parameters * @param request optional OystehrClientRequest object * @returns FHIR Bundle resource */ search: typeof ext.search; create: typeof ext.create; get: typeof ext.get; update: typeof ext.update; patch: typeof ext.patch; delete: typeof ext.delete; history: typeof ext.history; batch: typeof ext.batch; transaction: typeof ext.transaction; formatAddress: typeof ext.formatAddress; formatHumanName: typeof ext.formatHumanName; }