Represents a single FHIR validation error.
The path is a list of strings tracing the location of the error
within the resource, following JSON pointer conventions.
Examples
%Error{path: ["status"], message: "is required"}
%Error{path: ["name", "0", "use"], message: "must be one of: usual, official, temp, nickname, anonymous, old, maiden"}
%Error{path: ["identifier", "0", "system"], message: "must be a valid URI"}
Summary
Functions
Formats the error as a human-readable string.
Formats a list of errors into a single newline-separated string.
Creates a new validation error with a path and message.
Types
Functions
Formats the error as a human-readable string.
Formats a list of errors into a single newline-separated string.
Creates a new validation error with a path and message.