Skip to main content
Version: v0.0.5

Function: fhirIssueTypeFor()

fhirIssueTypeFor(code): string

The FHIR issue-type code for an IssueCode - used by the OperationOutcome renderer.

Parameters

code

IssueCode

The stable IssueCode.

Returns

string

Example

import { fhirIssueTypeFor, ISSUE_CODES } from "@cosyte/transform";
fhirIssueTypeFor(ISSUE_CODES.TRANSFORM_IDENTIFIER_SYSTEM_UNRESOLVED); // "not-found"