/** * Structural Validation Codes * * Codes for structural validation (JSON, cardinality, types). */ export declare const StructuralCodes: { readonly 'structural-required-element-missing': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Required element is missing'; }; readonly 'structural-resource-type-mismatch': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Resource type does not match'; }; readonly 'structural-missing-resource-type': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Resource is missing resourceType'; }; readonly 'structural-invalid-json': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Invalid JSON'; }; readonly 'structural-invalid-format': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Primitive value format is invalid'; }; readonly 'structural-invalid-base64-format': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'base64Binary value format is invalid'; }; readonly 'structural-cardinality-violation': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Element cardinality violated'; }; readonly 'structural-cardinality-min': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Element count below minimum'; }; readonly 'structural-cardinality-max': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Element count exceeds maximum'; }; readonly 'structural-type-mismatch': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Element type does not match'; }; readonly 'structural-primitive-type-mismatch': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Primitive element type does not match'; }; readonly 'structural-attachment-size-mismatch': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Attachment.size does not match the decoded Attachment.data byte length'; }; readonly 'structural-attachment-hash-mismatch': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Attachment.hash does not match the SHA-1 digest of Attachment.data'; }; readonly 'structural-validation-error': { readonly aspect: 'structural'; readonly severity: 'warning'; readonly description: 'Structural validation failed'; }; readonly 'structural-hapi-error': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'HAPI structural validation error'; }; readonly 'structural-unknown-element': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Unknown element in resource'; }; readonly 'questionnaire-reference-not-resolved': { readonly aspect: 'structural'; readonly severity: 'warning'; readonly description: 'QuestionnaireResponse.questionnaire could not be resolved'; }; readonly 'narrative-malformed-xhtml': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Narrative text.div is not well-formed XHTML (includes DOCTYPE/ENTITY XXE protection)'; }; readonly 'narrative-invalid-root': { readonly aspect: 'structural'; readonly severity: 'error'; readonly description: 'Narrative text.div must be