/** * HL7 OperationOutcome issue-type mapping. * * Keeps Records issue-code to HL7 issue-type parity rules out of the * OperationOutcome boundary converter. Mapping order matters: first prefix * match wins, so preserve more-specific prefixes before generic families. */ type Hl7IssueType = 'invalid' | 'structure' | 'required' | 'value' | 'invariant' | 'security' | 'login' | 'unknown' | 'expired' | 'forbidden' | 'suppressed' | 'processing' | 'not-supported' | 'duplicate' | 'multiple-matches' | 'not-found' | 'deleted' | 'too-long' | 'code-invalid' | 'extension' | 'too-costly' | 'business-rule' | 'conflict' | 'transient' | 'lock-error' | 'no-store' | 'exception' | 'timeout' | 'incomplete' | 'throttled' | 'informational'; /** HL7 issue-type CodeSystem URI */ export declare const HL7_ISSUE_TYPE_SYSTEM = "http://hl7.org/fhir/issue-type"; /** Records custom code system URI */ export declare const RECORDS_CODE_SYSTEM = "https://records.medvertical.com/fhir/issue-code"; /** * Map a Records issue code to the HL7 issue-type ValueSet code. */ export declare function mapToHl7IssueType(code: string | undefined): Hl7IssueType; /** * Normalize Records severity to HL7 OperationOutcome severity. * Records uses 'info' internally; HL7 requires 'information'. * Records uses 'inherit'; map to 'warning' as safe default. */ export declare function normalizeToHl7Severity(severity: string | undefined): 'fatal' | 'error' | 'warning' | 'information'; export {}; //# sourceMappingURL=operation-outcome-issue-mapping.d.ts.map