Function: requiredSectionKeys()
requiredSectionKeys(
documentType): readonlystring[]
The catalog section keys a DocumentType SHALL contain, in a stable order. Returns an empty array when no unconditional in-catalog SHALL section is asserted for that type (see the module note, empty ≠ "no requirements").
Parameters
documentType
Returns
readonly string[]
Example
import { requiredSectionKeys } from "@cosyte/ccda";
requiredSectionKeys("ccd"); // ["allergies", "medications", "problems", "results"]
requiredSectionKeys("progressNote"); // []