Skip to main content
Version: v0.0.2

Interface: X12Profile

A readonly, frozen profile produced by defineProfile(). Mirrors the locked hl7 Profile shape (name / description / lineage) plus X12's quirks axis and a structured describe().

Example

import { parseX12, profiles } from "@cosyte/x12";
const ix = parseX12(raw, { profile: profiles.availity });
ix.profile?.name; // "availity"
ix.profile?.describe().adds.length;

Properties

describe

readonly describe: () => X12ProfileDescription

Returns

X12ProfileDescription


description?

readonly optional description?: string


lineage

readonly lineage: readonly string[]


name

readonly name: string


quirks

readonly quirks: readonly X12ProfileQuirk[]