UNPKG

fhir-kit-client

Version:
20 lines 778 B
import type { SearchParams } from './types.js'; export interface SplitReference { baseUrl?: string; resourceType: string; id: string; } /** * Split a FHIR reference into its baseUrl (if present), resourceType, and id. */ export declare function splitReference(reference: string): SplitReference; /** * Return true if the string is a valid FHIR resource type (no leading slash, no colon, non-blank). */ export declare function validResourceType(resourceType: string | undefined | null): boolean; /** * Serialize search parameters to a query string using native URLSearchParams. * Returns undefined when params is empty. */ export declare function createQueryString(queryParams: SearchParams | undefined): string | undefined; //# sourceMappingURL=utils.d.ts.map