Skip to main content
Version: v0.0.3

Function: codedValue()

codedValue(value, qualifier): CodedValue

Build a frozen CodedValue from a raw code and qualifier, recognizing the code system in the process.

Parameters

value

string

The code, verbatim.

qualifier

string

The accompanying qualifier string.

Returns

CodedValue

A frozen CodedValue.

Example

codedValue("00002821501", "ND").system; // "NDC"