UNPKG

fhir-snapshot-generator

Version:
15 lines 740 B
/** * © Copyright Outburn Ltd. 2022-2025 All Rights Reserved * Project name: fhir-snapshot-generator */ import { ElementDefinition } from '../../../types'; /** * Rewrites the paths and id's of elements in an array to match a new prefix. * The id's maintain slice names while the paths don't. * @param elements - the array of elements to rewrite * @param newPrefix - the new prefix to use for the element ids and paths * @param oldPrefix - the old prefix to replace in the element ids and paths * @returns - the rewritten array of elements */ export declare const rewriteElementPaths: (elements: ElementDefinition[], newPrefix: string, oldPrefix: string) => ElementDefinition[]; //# sourceMappingURL=rewriteElementPaths.d.ts.map