Skip to main content
Version: v0.0.4

Type Alias: QuirkProfileDisposition

QuirkProfileDisposition = "suppressed" | "rebadged" | "bare"

How the parser's matching profile treats a quirk once it is active - the three shapes the parsers' profile systems actually exhibit (verified firsthand against each parser):

  • "suppressed" - the profile makes the warning disappear (HL7 v2: a defineProfile customSegments claim suppresses UNKNOWN_SEGMENT for a declared Z-segment).
  • "rebadged" - the profile downgrades the warning to the value-free PROFILE_QUIRK_APPLIED marker with expected: true (C-CDA defineCcdaProfile / ASTM defineAstmProfile profileQuirkApplied).
  • "bare" - no shipped profile tolerates it; the quirk targets a real coded leniency a consumer can tolerate via their own defineProfile/defineAstmProfile, but no built-in re-badges it.