core.createoperationoutcomeissue
Home > @medplum/core > createOperationOutcomeIssue
createOperationOutcomeIssue() function
Signature:
export declare function createOperationOutcomeIssue(severity: IssueSeverity, code: IssueType, message: string, path: string, data?: Record<string, any>): OperationOutcomeIssue;
Parameters
Parameter | Type | Description |
---|---|---|
severity | IssueSeverity | |
code | IssueType | |
message | string | |
path | string | |
data | Record<string, any> | (Optional) |
Returns:
OperationOutcomeIssue