Variable: SAFETY_CRITICAL_CODES
constSAFETY_CRITICAL_CODES:ReadonlySet<WarningCode>
Warning codes no profile may list in its tolerate set. Genuinely immutable:
it exposes only the read half of the Set surface and is frozen, so a
safety-critical code cannot be deleted at runtime to smuggle it past the
gate. (Object.freeze(new Set(...)) would not achieve this, delete
mutates an internal slot a freeze does not reach.)
Example
import { SAFETY_CRITICAL_CODES } from "@cosyte/ccda";
console.log(SAFETY_CRITICAL_CODES.has("MISSING_DOSE_QUANTITY")); // true