Interface: TransformIssue
A single value-free diagnostic.
Example
import { ISSUE_CODES } from "@cosyte/transform";
// issue.code === ISSUE_CODES.TRANSFORM_TIMESTAMP_NO_TIMEZONE
// issue.v2Location === "TS.1"; issue.fhirPath === "dateTime"
Properties
code
readonlycode:IssueCode
The stable code. One of ISSUE_CODES.
fhirPath?
readonlyoptionalfhirPath?:string
The FHIR path this issue concerns (e.g. Identifier.system), when applicable.
message
readonlymessage:string
A static, value-free description drawn from ISSUE_REGISTRY.
severity
readonlyseverity:TransformSeverity
The OperationOutcome-style severity, fixed per code.
v2Location
readonlyv2Location:string
The v2 source location - a segment / field / component index, never a value.