/** * R6 Limited Support Warnings * Task 2.10: Centralized warning generation for R6 limited support * * R6 (FHIR 6.0.x-ballot) has partial support: * - ✅ Structure validation (JSON schema) * - ✅ Profile validation (limited, may have missing packages) * - ⚠️ Terminology validation (limited, ballot status) * - ⚠️ Reference validation (may have issues with new features) * * This module provides consistent warning messages across all validators. */ import type { ValidationIssue } from '../types'; type R6ValidationAspect = 'structural' | 'profile' | 'terminology' | 'reference' | 'metadata' | 'invariant' | 'custom_rule'; /** * R6 warning types */ export type R6WarningType = 'general' | 'terminology' | 'profile' | 'reference'; /** * Check if FHIR version is R6 */ export declare function isR6(fhirVersion: string | undefined): boolean; /** * Generate R6 limited support warning * Task 2.10: Create warning issue for R6 limitations * * @param aspect - Validation aspect * @param warningType - Type of R6 warning * @param additionalContext - Optional additional context * @returns ValidationIssue with R6 warning */ export declare function createR6Warning(aspect: R6ValidationAspect, warningType?: R6WarningType, additionalContext?: string): ValidationIssue; /** * Check if R6 warning should be added for a validation aspect * Task 2.10: Determine if R6 warning is needed * * @param fhirVersion - FHIR version * @param aspect - Validation aspect * @returns true if R6 warning should be added */ export declare function shouldAddR6Warning(fhirVersion: string | undefined, aspect: R6ValidationAspect): boolean; /** * Add R6 warning to issues if needed * Task 2.10: Helper to add R6 warning to validation results * * @param issues - Array of validation issues * @param fhirVersion - FHIR version * @param aspect - Validation aspect * @param warningType - Type of R6 warning * @returns Updated issues array with R6 warning if applicable */ export declare function addR6WarningIfNeeded(issues: ValidationIssue[], fhirVersion: string | undefined, aspect: R6ValidationAspect, warningType?: R6WarningType): ValidationIssue[]; /** * Get R6 support status summary * Task 2.10: Provide R6 support information * * @returns R6 support summary */ export declare function getR6SupportSummary(): { version: string; supportStatus: string; supportedAspects: string[]; limitedAspects: string[]; limitations: string[]; }; export {}; //# sourceMappingURL=r6-support-warnings.d.ts.map