fhir-snapshot-generator
Version:
Generate snapshots for FHIR Profiles
13 lines • 599 B
TypeScript
/**
* © Copyright Outburn Ltd. 2022-2025 All Rights Reserved
* Project name: fhir-snapshot-generator
*/
import { ElementDefinition } from '../../../types';
/**
* Prepares an ElementDefinition array for inheritance into derived profiles.
* @param elements
* @param sourceUrl - The URL of the source StructureDefinition, used to determine if it is from the base FHIR spec and to add `source` to inherited constraints.
* @returns
*/
export declare const migrateElements: (elements: ElementDefinition[], sourceUrl: string) => ElementDefinition[];
//# sourceMappingURL=migrateElements.d.ts.map