/** * Array-aware validation target resolution for FHIR element paths. */ /** * Validation target for a specific path in a resource. * Includes the value, full path with array indices, and context path for parent checking. */ export interface ValidationTarget { /** Value at the target path */ value: any; /** Full path including array indices (e.g., "Patient.identifier[0].system") */ fullPath: string; /** Context path for parent existence checking (e.g., "Patient.identifier[0]") */ contextPath: string; /** Whether this target is within an array element */ isArrayElement: boolean; /** Array index if this is an array element */ arrayIndex?: number; } /** * Check if the value at a given path is an array. */ export declare function isArrayAtPath(resource: any, path: string): boolean; /** * Expand a path by inserting an array index. */ export declare function expandPathWithArrayIndex(path: string, arraySegment: string, index: number): string; /** * Get all validation targets for a path, expanding arrays. */ export declare function getValidationTargets(resource: any, path: string): ValidationTarget[]; //# sourceMappingURL=element-validation-targets.d.ts.map