Variable: RELEASE_CHAR
constRELEASE_CHAR:"?"
Internal
The release character is conventionally ? per ASC X12; HIPAA 005010
does not transmit it as a fifth ISA delimiter. The library accepts ? as
the universal release character - a non-? release sequence has never
been observed in real-world US healthcare X12 traffic. If a future
consumer needs a different release character, the constant is as const
so a parameterized variant can be added without breaking the public API.
Example
import { RELEASE_CHAR } from "@cosyte/x12";
// `?~` is an escaped segment terminator inside a value, not a real one:
"PER*IC*ACME?~BILLING".includes(RELEASE_CHAR); // true