Skip to main content
Version: v0.0.3

Type Alias: NcpdpProfileEffect

NcpdpProfileEffect = "relaxes" | "adds" | "requires"

The bucket a quirk falls into when rendered by NcpdpProfile.describe. Mirrors the roadmap's "what this profile relaxes / adds / requires" framing.

  • relaxes: the partner tolerates / emits a structural variation a strict baseline read would flag (e.g. a SCRIPT version stamp outside the explicitly supported set).
  • adds: the partner emits extra spec-optional content (e.g. an additional Telecom response segment, a deeper reject-code taxonomy) a generic consumer might not expect.
  • requires: the partner mandates a normally-situational element be present (e.g. a PBM that requires Person Code in the Insurance segment).

Example

import type { NcpdpProfileEffect } from "@cosyte/ncpdp/profiles";
const effect: NcpdpProfileEffect = "adds";