Skip to main content
Version: v0.0.4

Interface: CodeableConcept

A concept described by one or more Codings plus optional free text - FHIR R4 CodeableConcept. Included so the value layer is complete for downstream consumers even though ../conceptmap/translate.translate operates on a single Coding.

Example

import { codeableConcept } from "@cosyte/terminology";

const cc = codeableConcept({
coding: [{ system: "http://loinc.org", code: "2160-0" }],
text: "Serum creatinine",
});
cc.coding[0].code; // => "2160-0"

Properties

coding

readonly coding: readonly Coding[]

The codings for this concept, in order of preference. Frozen and never empty-by-fabrication.


text?

readonly optional text?: string

Plain-text representation of the concept, when supplied.