/** Raw shape exported by generated UTG code system modules. */ export type UtgCodeSystemModule = Readonly<{ id: string; url: string; oid?: string; name: string; title: string; codes: readonly UtgCodeEntry[]; }>; /** A single code entry within a UTG code system. */ export type UtgCodeEntry = Readonly<{ code: string; display: string; status: string; }>; /** * Compiled UTG code system definition. * Returned by `profiles.codeSystems.load()`. */ export type CodeSystemDefinition = Readonly<{ id: string; url: string; oid?: string; name: string; title: string; /** O(1) lookup of code entry by code value. */ codes: ReadonlyMap; }>; /** The loader of UTG code systems, which have no HL7v2 version. */ export type CodeSystemStore = Readonly<{ /** * Loads the code system `id`, such as `"v2-0001"`, or `undefined` when no * code system `id` is bundled. * * @throws {Error} When a bundled code system fails to load. */ load(id: string): Promise; }>; /** The loader of UTG code systems. */ export declare const codeSystems: CodeSystemStore; //# sourceMappingURL=code-systems.d.ts.map