/** * Terminology Resource Validator * * Validates CodeSystem and ValueSet resources for terminology-specific * business rules that the Java reference validator checks: * * CodeSystem: * - caseSensitive SHOULD be stated (warning for HL7-defined CodeSystems) * - Concepts SHOULD have a definition (warning for HL7-defined CodeSystems) * - Complete CodeSystem with no concepts (warning) * - Canonical URL must be absolute * - Concept property valueCoding codes must exist in the referenced CodeSystem * (when that CodeSystem is available in the local cache) * * ValueSet: * - Canonical URL must be absolute * - compose.include.system must be absolute (not fragment reference) * - Contained CodeSystem canonical URL must be absolute * - compose.include.filter[].op must be one of the FHIR-defined operators * - compose.include.filter[].property must exist on the referenced CodeSystem * (when that CodeSystem is available in the local cache) * - For `=` filters on Coding-typed properties, value must be in * `system(|version)#code` format and the code must exist in the referenced * sub-CodeSystem * - For `regex` filters, value must compile as a valid JS RegExp * * UUID validation: * - urn:uuid: values must contain valid, lowercase UUIDs */ import type { ValidationIssue } from '../types'; export declare class TerminologyResourceValidator { /** * Validate terminology-specific business rules on a resource. * Returns empty array for non-CodeSystem/ValueSet resources. */ validate(resource: any, fhirVersion?: 'R4' | 'R5' | 'R6'): ValidationIssue[]; private validateValueSet; } export declare const terminologyResourceValidator: TerminologyResourceValidator; //# sourceMappingURL=terminology-resource-validator.d.ts.map