core.formatcoding | Medplum
formatCoding() function
Formats a Coding element as a string.
Signature:
export declare function formatCoding(coding: Coding | undefined, includeCode?: boolean): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
| coding | Coding | undefined | A FHIR Coding element |
| includeCode | boolean | (Optional) If true, includes both the code and display if available |
Returns:
string
The coding as a string.