/** * Deep Binding Validator * * Traverses a resource recursively and validates ALL coded elements against * their bindings. This ensures HAPI-level parity by checking every coding * anywhere in the resource, not just top-level fields. * * Key Features: * - Recursive traversal of entire resource tree * - Finds ALL Coding and CodeableConcept elements * - Validates each against SD element bindings * - Reports path-specific issues for each violation */ import type { ValidationIssue } from '../types'; import type { StructureDefinition } from '../core/structure-definition-types'; export interface DeepBindingContext { resource: any; resourceType: string; structureDef?: StructureDefinition; } export declare class DeepBindingValidator { /** * Validate all coded elements in a resource */ validate(context: DeepBindingContext): ValidationIssue[]; /** * Recursively find all coded elements in a resource */ private findCodedElements; /** * Build a map of element paths to their bindings from StructureDefinition */ private buildBindingMap; /** * Find the appropriate binding for an element path */ private findBindingForPath; /** * Validate a coded element against its binding */ private validateCodedElement; } export declare const deepBindingValidator: DeepBindingValidator; //# sourceMappingURL=deep-binding-validator.d.ts.map