Interface: ConvertResult<T>
The result of one datatype conversion: the produced FHIR value (or undefined when the input was
empty or un-emittable) plus the diagnostics raised.
Example
import { toFhirHumanName } from "@cosyte/transform";
const { value, issues } = toFhirHumanName({ familyName: "Public" });
// value is a FHIR HumanName node; issues is [] here
void value;
void issues;
Type Parameters
T
T
The produced FHIR value's type (a FhirComplex datatype node, or a lexical string
for dateTime).
Properties
issues
readonlyissues: readonlyTransformIssue[]
The value-free diagnostics raised during the conversion, in emission order.
value
readonlyvalue:T|undefined
The produced FHIR value, or undefined when nothing could be safely emitted.