@cosyte/x12 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/README.md +1 -1
- package/dist/index.cjs +57 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +138 -7
- package/dist/index.d.ts +138 -7
- package/dist/index.mjs +55 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1886,6 +1886,7 @@ function get835(delimiters, tx) {
|
|
|
1886
1886
|
const warnings = [];
|
|
1887
1887
|
const body = tx.se === void 0 ? tx.segments.slice(1) : tx.segments.slice(1, -1);
|
|
1888
1888
|
let payment = EMPTY_HEADER;
|
|
1889
|
+
let bprSegmentIndex = 0;
|
|
1889
1890
|
const traces = [];
|
|
1890
1891
|
let payer;
|
|
1891
1892
|
let payee;
|
|
@@ -1914,6 +1915,7 @@ function get835(delimiters, tx) {
|
|
|
1914
1915
|
switch (seg.id) {
|
|
1915
1916
|
case "BPR": {
|
|
1916
1917
|
payment = decodeBpr(seg, delimiters);
|
|
1918
|
+
bprSegmentIndex = position.segmentIndex;
|
|
1917
1919
|
break;
|
|
1918
1920
|
}
|
|
1919
1921
|
case "TRN": {
|
|
@@ -2081,7 +2083,7 @@ function get835(delimiters, tx) {
|
|
|
2081
2083
|
payment.totalActualPayment,
|
|
2082
2084
|
finalClaims,
|
|
2083
2085
|
providerAdjustments,
|
|
2084
|
-
{ segmentIndex:
|
|
2086
|
+
{ segmentIndex: bprSegmentIndex, transactionIndex: 0 }
|
|
2085
2087
|
);
|
|
2086
2088
|
if (remitTotalWarn !== void 0) warnings.push(remitTotalWarn);
|
|
2087
2089
|
return Object.freeze({
|
|
@@ -2442,10 +2444,32 @@ var Remit835BuildError = class extends Error {
|
|
|
2442
2444
|
}
|
|
2443
2445
|
};
|
|
2444
2446
|
|
|
2447
|
+
// src/builder/caller-value.ts
|
|
2448
|
+
var BUILD_REFUSAL_VALUE_MAX_LENGTH = 63;
|
|
2449
|
+
var MAX_LENGTH_DIGITS = 10;
|
|
2450
|
+
var BUILD_REFUSAL_VALUE_MAX_RENDERED = BUILD_REFUSAL_VALUE_MAX_LENGTH + 2 + 1 + " ( characters)".length + MAX_LENGTH_DIGITS;
|
|
2451
|
+
function renderCallerValue(value) {
|
|
2452
|
+
const text = coerce(value);
|
|
2453
|
+
if (text.length <= BUILD_REFUSAL_VALUE_MAX_LENGTH) return `"${text}"`;
|
|
2454
|
+
return `"${text.slice(0, BUILD_REFUSAL_VALUE_MAX_LENGTH)}\u2026" (${String(text.length)} characters)`;
|
|
2455
|
+
}
|
|
2456
|
+
function coerce(value) {
|
|
2457
|
+
if (typeof value === "string") return value;
|
|
2458
|
+
try {
|
|
2459
|
+
return String(value);
|
|
2460
|
+
} catch {
|
|
2461
|
+
return "[unrenderable value]";
|
|
2462
|
+
}
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2445
2465
|
// src/transactions/remit/build-835.ts
|
|
2446
2466
|
var X221A1_VERSION_RELEASE = "005010X221A1";
|
|
2447
2467
|
var X12_835_FUNCTIONAL_ID = "HP";
|
|
2448
2468
|
var X12_AGENCY_CODE = "X";
|
|
2469
|
+
var UNANCHORED_BUILD_POSITION = Object.freeze({
|
|
2470
|
+
segmentIndex: 0,
|
|
2471
|
+
transactionIndex: 0
|
|
2472
|
+
});
|
|
2449
2473
|
function build835(spec) {
|
|
2450
2474
|
const { envelope } = spec;
|
|
2451
2475
|
enforceStructuralSpec(spec);
|
|
@@ -2619,7 +2643,7 @@ function enforceStructuralSpec(spec) {
|
|
|
2619
2643
|
}
|
|
2620
2644
|
}
|
|
2621
2645
|
function enforceBalance(spec) {
|
|
2622
|
-
const position =
|
|
2646
|
+
const position = UNANCHORED_BUILD_POSITION;
|
|
2623
2647
|
const claims = spec.claims.map(materializeClaim);
|
|
2624
2648
|
for (const claim of claims) {
|
|
2625
2649
|
const claimWarn = checkClaimBalance(claim, position);
|
|
@@ -2925,7 +2949,7 @@ function padControl(value, width) {
|
|
|
2925
2949
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
2926
2950
|
throw new Remit835BuildError(
|
|
2927
2951
|
REMIT_835_BUILD_ERROR_CODES.X12_835_BUILD_INVALID_SPEC,
|
|
2928
|
-
`build835: control number
|
|
2952
|
+
`build835: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
2929
2953
|
);
|
|
2930
2954
|
}
|
|
2931
2955
|
function expandYY(yymmdd) {
|
|
@@ -4274,7 +4298,7 @@ function enforceClaim(variant, claim, locator) {
|
|
|
4274
4298
|
if (line.variant !== variant) {
|
|
4275
4299
|
throw new Claim837BuildError(
|
|
4276
4300
|
CLAIM_837_BUILD_ERROR_CODES.X12_837_BUILD_INVALID_SPEC,
|
|
4277
|
-
`build837${variant}: claim at ${locator} has a
|
|
4301
|
+
`build837${variant}: claim at ${locator} has a ${renderCallerValue(line.variant)} service line at index ${String(l)}; every line must be "${variant}".`
|
|
4278
4302
|
);
|
|
4279
4303
|
}
|
|
4280
4304
|
const code = line.variant === "I" ? line.revenueCode : line.procedureCode;
|
|
@@ -4618,7 +4642,7 @@ function padControl2(value, width) {
|
|
|
4618
4642
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
4619
4643
|
throw new Claim837BuildError(
|
|
4620
4644
|
CLAIM_837_BUILD_ERROR_CODES.X12_837_BUILD_INVALID_SPEC,
|
|
4621
|
-
`build837: control number
|
|
4645
|
+
`build837: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
4622
4646
|
);
|
|
4623
4647
|
}
|
|
4624
4648
|
function expandYY2(yymmdd) {
|
|
@@ -5483,7 +5507,7 @@ function padControl3(value, width) {
|
|
|
5483
5507
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
5484
5508
|
throw new Eligibility271BuildError(
|
|
5485
5509
|
ELIGIBILITY_271_BUILD_ERROR_CODES.X12_271_BUILD_INVALID_SPEC,
|
|
5486
|
-
`build271: control number
|
|
5510
|
+
`build271: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
5487
5511
|
);
|
|
5488
5512
|
}
|
|
5489
5513
|
function expandYY3(yymmdd) {
|
|
@@ -6257,7 +6281,7 @@ function padControl4(value, width) {
|
|
|
6257
6281
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
6258
6282
|
throw new ClaimStatus277BuildError(
|
|
6259
6283
|
CLAIM_STATUS_277_BUILD_ERROR_CODES.X12_277_BUILD_INVALID_SPEC,
|
|
6260
|
-
`build277: control number
|
|
6284
|
+
`build277: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
6261
6285
|
);
|
|
6262
6286
|
}
|
|
6263
6287
|
function expandYY4(yymmdd) {
|
|
@@ -6914,7 +6938,7 @@ function padControl5(value, width) {
|
|
|
6914
6938
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
6915
6939
|
throw new Premium820BuildError(
|
|
6916
6940
|
PREMIUM_820_BUILD_ERROR_CODES.X12_820_BUILD_INVALID_SPEC,
|
|
6917
|
-
`build820: control number
|
|
6941
|
+
`build820: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
6918
6942
|
);
|
|
6919
6943
|
}
|
|
6920
6944
|
function expandYY5(yymmdd) {
|
|
@@ -7429,7 +7453,7 @@ function enforceStructuralSpec6(spec) {
|
|
|
7429
7453
|
if (lookupMaintenanceType(member.maintenanceTypeCode) === void 0) {
|
|
7430
7454
|
throw new Enrollment834BuildError(
|
|
7431
7455
|
ENROLLMENT_834_BUILD_ERROR_CODES.X12_834_BUILD_UNKNOWN_MAINTENANCE_TYPE,
|
|
7432
|
-
`build834: member at index ${String(m)} has an unknown INS-03 maintenance type code
|
|
7456
|
+
`build834: member at index ${String(m)} has an unknown INS-03 maintenance type code ${renderCallerValue(member.maintenanceTypeCode)} (outside X12 Code Source 875).`
|
|
7433
7457
|
);
|
|
7434
7458
|
}
|
|
7435
7459
|
for (let c = 0; c < (member.healthCoverages ?? []).length; c += 1) {
|
|
@@ -7439,7 +7463,7 @@ function enforceStructuralSpec6(spec) {
|
|
|
7439
7463
|
if (hd01 !== void 0 && hd01 !== "" && lookupMaintenanceType(hd01) === void 0) {
|
|
7440
7464
|
throw new Enrollment834BuildError(
|
|
7441
7465
|
ENROLLMENT_834_BUILD_ERROR_CODES.X12_834_BUILD_UNKNOWN_MAINTENANCE_TYPE,
|
|
7442
|
-
`build834: coverage at member[${String(m)}].healthCoverages[${String(c)}] has an unknown HD-01 maintenance type code
|
|
7466
|
+
`build834: coverage at member[${String(m)}].healthCoverages[${String(c)}] has an unknown HD-01 maintenance type code ${renderCallerValue(hd01)} (outside X12 Code Source 875).`
|
|
7443
7467
|
);
|
|
7444
7468
|
}
|
|
7445
7469
|
}
|
|
@@ -7588,7 +7612,7 @@ function padControl6(value, width) {
|
|
|
7588
7612
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
7589
7613
|
throw new Enrollment834BuildError(
|
|
7590
7614
|
ENROLLMENT_834_BUILD_ERROR_CODES.X12_834_BUILD_INVALID_SPEC,
|
|
7591
|
-
`build834: control number
|
|
7615
|
+
`build834: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
7592
7616
|
);
|
|
7593
7617
|
}
|
|
7594
7618
|
function expandYY6(yymmdd) {
|
|
@@ -8244,7 +8268,7 @@ function padControl7(value, width) {
|
|
|
8244
8268
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
8245
8269
|
throw new ServicesReview278BuildError(
|
|
8246
8270
|
AUTH_278_BUILD_ERROR_CODES.X12_278_BUILD_INVALID_SPEC,
|
|
8247
|
-
`build278: control number
|
|
8271
|
+
`build278: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
8248
8272
|
);
|
|
8249
8273
|
}
|
|
8250
8274
|
function expandYY7(yymmdd) {
|
|
@@ -8846,7 +8870,7 @@ function enforceAcceptIsClean(group) {
|
|
|
8846
8870
|
if (functionalIsAccept && functionalHasErrorCodes) {
|
|
8847
8871
|
throw new AckBuildError(
|
|
8848
8872
|
ACK_BUILD_ERROR_CODES.X12_ACK_ACCEPT_WITH_ERRORS,
|
|
8849
|
-
`build999: AK9-01 was 'A' (Accept) but AK9-05..AK9-09 carried ${
|
|
8873
|
+
`build999: AK9-01 was 'A' (Accept) but AK9-05..AK9-09 carried ${renderCallerValue(
|
|
8850
8874
|
(group.syntaxErrorCodes ?? []).length
|
|
8851
8875
|
)} syntax error code(s). Use 'E' (Accept, with errors noted) or a reject disposition instead.`
|
|
8852
8876
|
);
|
|
@@ -8857,13 +8881,13 @@ function enforceAcceptIsClean(group) {
|
|
|
8857
8881
|
if (responseIsAccept && responseHasErrors) {
|
|
8858
8882
|
throw new AckBuildError(
|
|
8859
8883
|
ACK_BUILD_ERROR_CODES.X12_ACK_ACCEPT_WITH_ERRORS,
|
|
8860
|
-
`build999: AK2 (ST-02 ${response.transactionSetControlNumber}) IK5-01 was 'A' (Accept) but the response carried error payload. Use 'E' (Accept, with errors noted) or a reject disposition instead.`
|
|
8884
|
+
`build999: AK2 (ST-02 ${renderCallerValue(response.transactionSetControlNumber)}) IK5-01 was 'A' (Accept) but the response carried error payload. Use 'E' (Accept, with errors noted) or a reject disposition instead.`
|
|
8861
8885
|
);
|
|
8862
8886
|
}
|
|
8863
8887
|
if (functionalIsAccept && (!responseIsAccept || responseHasErrors)) {
|
|
8864
8888
|
throw new AckBuildError(
|
|
8865
8889
|
ACK_BUILD_ERROR_CODES.X12_ACK_ACCEPT_WITH_ERRORS,
|
|
8866
|
-
`build999: AK9-01 was 'A' (Accept) but transaction response (ST-02 ${response.transactionSetControlNumber}) reported a non-accept disposition or carried errors. Lift the functional disposition to 'P' (Partial), 'E' (Accept, errors noted), or a reject.`
|
|
8890
|
+
`build999: AK9-01 was 'A' (Accept) but transaction response (ST-02 ${renderCallerValue(response.transactionSetControlNumber)}) reported a non-accept disposition or carried errors. Lift the functional disposition to 'P' (Partial), 'E' (Accept, errors noted), or a reject.`
|
|
8867
8891
|
);
|
|
8868
8892
|
}
|
|
8869
8893
|
}
|
|
@@ -8875,25 +8899,25 @@ function enforceCountInvariants(group) {
|
|
|
8875
8899
|
if (declared < 0 || received < 0 || accepted < 0) {
|
|
8876
8900
|
throw new AckBuildError(
|
|
8877
8901
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8878
|
-
`build999: AK9 counts must be non-negative (declared=${
|
|
8902
|
+
`build999: AK9 counts must be non-negative (declared=${renderCallerValue(declared)}, received=${renderCallerValue(received)}, accepted=${renderCallerValue(accepted)}).`
|
|
8879
8903
|
);
|
|
8880
8904
|
}
|
|
8881
8905
|
if (accepted > received) {
|
|
8882
8906
|
throw new AckBuildError(
|
|
8883
8907
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8884
|
-
`build999: AK9-04 accepted (${
|
|
8908
|
+
`build999: AK9-04 accepted (${renderCallerValue(accepted)}) cannot exceed AK9-03 received (${renderCallerValue(received)}).`
|
|
8885
8909
|
);
|
|
8886
8910
|
}
|
|
8887
8911
|
if (received > declared) {
|
|
8888
8912
|
throw new AckBuildError(
|
|
8889
8913
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8890
|
-
`build999: AK9-03 received (${
|
|
8914
|
+
`build999: AK9-03 received (${renderCallerValue(received)}) cannot exceed AK9-02 declared (${renderCallerValue(declared)}).`
|
|
8891
8915
|
);
|
|
8892
8916
|
}
|
|
8893
8917
|
if (group.transactionResponses.length !== received) {
|
|
8894
8918
|
throw new AckBuildError(
|
|
8895
8919
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8896
|
-
`build999: AK9-03 received (${
|
|
8920
|
+
`build999: AK9-03 received (${renderCallerValue(received)}) must equal the number of supplied transaction responses (${renderCallerValue(group.transactionResponses.length)}).`
|
|
8897
8921
|
);
|
|
8898
8922
|
}
|
|
8899
8923
|
}
|
|
@@ -8962,7 +8986,7 @@ function buildIk5(response, esc, elementSeparator, segmentTerminator) {
|
|
|
8962
8986
|
if (codes.length > 5) {
|
|
8963
8987
|
throw new AckBuildError(
|
|
8964
8988
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8965
|
-
`build999: IK5 accepts up to 5 syntax error codes (IK5-02..IK5-06); ${
|
|
8989
|
+
`build999: IK5 accepts up to 5 syntax error codes (IK5-02..IK5-06); ${renderCallerValue(codes.length)} supplied.`
|
|
8966
8990
|
);
|
|
8967
8991
|
}
|
|
8968
8992
|
for (const code of codes) parts.push(esc(code));
|
|
@@ -8980,7 +9004,7 @@ function buildAk9(group, esc, elementSeparator, segmentTerminator) {
|
|
|
8980
9004
|
if (codes.length > 5) {
|
|
8981
9005
|
throw new AckBuildError(
|
|
8982
9006
|
ACK_BUILD_ERROR_CODES.X12_ACK_COUNT_MISMATCH,
|
|
8983
|
-
`build999: AK9 accepts up to 5 syntax error codes (AK9-05..AK9-09); ${
|
|
9007
|
+
`build999: AK9 accepts up to 5 syntax error codes (AK9-05..AK9-09); ${renderCallerValue(codes.length)} supplied.`
|
|
8984
9008
|
);
|
|
8985
9009
|
}
|
|
8986
9010
|
for (const code of codes) parts.push(esc(code));
|
|
@@ -8999,7 +9023,7 @@ function padControl8(value, width) {
|
|
|
8999
9023
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
9000
9024
|
throw new AckBuildError(
|
|
9001
9025
|
ACK_BUILD_ERROR_CODES.X12_ACK_INVALID_SPEC,
|
|
9002
|
-
`build999: control number
|
|
9026
|
+
`build999: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
9003
9027
|
);
|
|
9004
9028
|
}
|
|
9005
9029
|
function expandYY8(yymmdd) {
|
|
@@ -9029,7 +9053,7 @@ function enforceAcceptIsClean2(spec) {
|
|
|
9029
9053
|
if (spec.ackCode === TA1_ACK_CODES.A && spec.noteCode !== "000") {
|
|
9030
9054
|
throw new AckBuildError(
|
|
9031
9055
|
ACK_BUILD_ERROR_CODES.X12_TA1_ACCEPT_WITH_NOTE,
|
|
9032
|
-
`buildTA1: TA1-04 was "A" (Accept) but TA1-05 carried note
|
|
9056
|
+
`buildTA1: TA1-04 was "A" (Accept) but TA1-05 carried note ${renderCallerValue(spec.noteCode)}. An accept must cite "000" (no error). Use ackCode "E" (accept, errors noted) when the inbound had defects you elected to ignore.`
|
|
9033
9057
|
);
|
|
9034
9058
|
}
|
|
9035
9059
|
}
|
|
@@ -9320,7 +9344,11 @@ function buildTransaction(tx, esc, elementSeparator, segmentTerminator) {
|
|
|
9320
9344
|
if (segment.length === 0 || (segment[0] ?? "") === "") {
|
|
9321
9345
|
throw new X12BuildError(
|
|
9322
9346
|
X12_BUILD_ERROR_CODES.X12_BUILD_INVALID_SPEC,
|
|
9323
|
-
|
|
9347
|
+
// Rendered from the RAW id, not the `?`-escaped one. `esc` can double
|
|
9348
|
+
// the length, so escaping first made the reported "(N characters)" the
|
|
9349
|
+
// escaped length rather than the caller's: a 100-character all-`?` id
|
|
9350
|
+
// reported 200. The escape exists for the wire, and this is a message.
|
|
9351
|
+
`buildInterchange: a segment spec in transaction ${renderCallerValue(tx.transactionSetIdCode)} has no segment id.`
|
|
9324
9352
|
);
|
|
9325
9353
|
}
|
|
9326
9354
|
bodySegments += joinSeg2(segment.map(esc), elementSeparator, segmentTerminator);
|
|
@@ -9346,7 +9374,7 @@ function padControl9(value, width) {
|
|
|
9346
9374
|
if (value.length < width) return "0".repeat(width - value.length) + value;
|
|
9347
9375
|
throw new X12BuildError(
|
|
9348
9376
|
X12_BUILD_ERROR_CODES.X12_BUILD_INVALID_SPEC,
|
|
9349
|
-
`buildInterchange: control number
|
|
9377
|
+
`buildInterchange: control number ${renderCallerValue(value)} exceeds the ${String(width)}-char spec limit.`
|
|
9350
9378
|
);
|
|
9351
9379
|
}
|
|
9352
9380
|
function expandYY9(yymmdd) {
|
|
@@ -9640,8 +9668,8 @@ var profiles = Object.freeze({
|
|
|
9640
9668
|
});
|
|
9641
9669
|
|
|
9642
9670
|
// src/index.ts
|
|
9643
|
-
var VERSION = "0.0.
|
|
9671
|
+
var VERSION = "0.0.5";
|
|
9644
9672
|
|
|
9645
|
-
export { ACK_BUILD_ERROR_CODES, ALL_WARNING_MESSAGES, AUTH_278_BUILD_ERROR_CODES, AUTH_278_LOOP_2000A, AUTH_278_LOOP_2000B, AUTH_278_LOOP_2000C, AUTH_278_LOOP_2000D, AUTH_278_LOOP_2000E, AUTH_278_LOOP_2000F, AckBuildError, BALANCE_INVARIANTS, CARC, CLAIM_837D_LOOP_2000A, CLAIM_837D_LOOP_2300, CLAIM_837D_LOOP_2400, CLAIM_837I_LOOP_2000A, CLAIM_837I_LOOP_2300, CLAIM_837I_LOOP_2400, CLAIM_837P_LOOP_2000A, CLAIM_837P_LOOP_2300, CLAIM_837P_LOOP_2400, CLAIM_837P_LOOP_2410, CLAIM_837_BUILD_ERROR_CODES, CLAIM_837_LOOP_1000A, CLAIM_837_LOOP_1000B, CLAIM_837_LOOP_2010AA, CLAIM_837_LOOP_2010BA, CLAIM_837_LOOP_2010BB, CLAIM_837_LOOP_2010CA, CLAIM_837_LOOP_2430, CLAIM_ADJUSTMENT_GROUP_CODES, CLAIM_STATUS_277_BUILD_ERROR_CODES, CLAIM_STATUS_CATEGORY_CODES, CLAIM_STATUS_CODES, CLP_STATUS, CONTROL_NUMBER_PAIRS, Claim837BuildError, ClaimStatus277BuildError, DELIMITER_POSITIONS, ELIGIBILITY_271_BUILD_ERROR_CODES, ELIGIBILITY_271_LOOP_2000A, ELIGIBILITY_271_LOOP_2000B, ELIGIBILITY_271_LOOP_2000C, ELIGIBILITY_271_LOOP_2000D, ELIGIBILITY_271_LOOP_2100C, ELIGIBILITY_271_LOOP_2100D, ELIGIBILITY_271_LOOP_2110, ENROLLMENT_834_BUILD_ERROR_CODES, ENROLLMENT_834_LOOP_1000A, ENROLLMENT_834_LOOP_1000B, ENROLLMENT_834_LOOP_2000, ENROLLMENT_834_LOOP_2100A, ENROLLMENT_834_LOOP_2300, ENROLLMENT_834_LOOP_2320, Eligibility271BuildError, Enrollment834BuildError, FATAL_CODES, HI_QUALIFIERS, HL_LEVEL_CODES, IK3_SYNTAX_ERROR_CODES, IK4_SYNTAX_ERROR_CODES, ISA_MIN_LENGTH, LoopSpecDefinitionError, MAINTENANCE_TYPE_CODES, NM1_QUALIFIERS, NON_SPEC_SEGMENT_ID, PREMIUM_820_BUILD_ERROR_CODES, PREMIUM_820_LOOP_1000A, PREMIUM_820_LOOP_1000B, PREMIUM_820_LOOP_2000A, PREMIUM_820_LOOP_2100A, PREMIUM_820_LOOP_2300A, PREMIUM_820_LOOP_2310A, Premium820BuildError, RARC, RELEASE_CHAR, REMIT_835_BUILD_ERROR_CODES, REMIT_835_LOOP_1000A, REMIT_835_LOOP_1000B, REMIT_835_LOOP_2000, REMIT_835_LOOP_2100, REMIT_835_LOOP_2110, REQUIRED_LOOPS, Remit835BuildError, SERVICE_TYPE_CODES, STATUS_277_LOOP_2000A, STATUS_277_LOOP_2000B, STATUS_277_LOOP_2000C, STATUS_277_LOOP_2000D, STATUS_277_LOOP_2000E, STATUS_277_LOOP_2200, STATUS_277_LOOP_2220, ServicesReview278BuildError, TA1_ACK_CODES, TA1_NOTE_CODES, UNEXPECTED_SEGMENT_CONTEXTS, VERSION, WARNING_CODES, X12BuildError, X12Decimal, X12ParseError, X12ProfileError, X12_ACK_DISPOSITION_CODES, X12_BUILD_ERROR_CODES, build271, build277, build277CA, build278Request, build278Response, build820, build834, build835, build837D, build837I, build837P, build999, buildInterchange, buildTA1, checkClaimBalance, checkRemitTotalBalance, checkServiceLineBalance, collectElementValues, componentOptional, controlNumberMismatch, danglingReleaseChar, decodeSegment, defineLoopSpec, defineProfile, detectDelimiters, elementDecimal, elementDecimalOrZero, elementOptional, elementValue, escapeRelease, get271Eligibility, get277CADisposition, get277Status, get278Request, get278Response, get820Payments, get834Enrollments, get834Header, get835, get837Claims, getAllSegmentValues, getDefaultProfile, getSegmentValue, groupCountMismatch, hlParentLevelInvalid, hlParentMismatch, isAcceptDisposition, isClaimAdjustmentGroupCode, isDiagnosisQualifier, isProcedureQualifier, lookupCarc, lookupClaimStatus, lookupClaimStatusCategory, lookupClpStatus, lookupMaintenanceType, lookupRarc, lookupServiceType, missingGe, missingIea, missingRequiredLoop, missingSe, parse999, parseTA1, parseX12, partitionWarnings, pre005010, profiles, remitBalanceMismatch, resolveHiQualifier, segmentCountMismatch, serializeX12, setDefaultProfile, trailingGarbage, transactionCountMismatch, unescapeRelease, unexpectedSegment, unknown837Variant, unknownCarc, unknownClaimStatus, unknownClaimStatusCategory, unknownHiQualifier, unknownMaintenanceType, unknownRarc };
|
|
9673
|
+
export { ACK_BUILD_ERROR_CODES, ALL_WARNING_MESSAGES, AUTH_278_BUILD_ERROR_CODES, AUTH_278_LOOP_2000A, AUTH_278_LOOP_2000B, AUTH_278_LOOP_2000C, AUTH_278_LOOP_2000D, AUTH_278_LOOP_2000E, AUTH_278_LOOP_2000F, AckBuildError, BALANCE_INVARIANTS, BUILD_REFUSAL_VALUE_MAX_LENGTH, BUILD_REFUSAL_VALUE_MAX_RENDERED, CARC, CLAIM_837D_LOOP_2000A, CLAIM_837D_LOOP_2300, CLAIM_837D_LOOP_2400, CLAIM_837I_LOOP_2000A, CLAIM_837I_LOOP_2300, CLAIM_837I_LOOP_2400, CLAIM_837P_LOOP_2000A, CLAIM_837P_LOOP_2300, CLAIM_837P_LOOP_2400, CLAIM_837P_LOOP_2410, CLAIM_837_BUILD_ERROR_CODES, CLAIM_837_LOOP_1000A, CLAIM_837_LOOP_1000B, CLAIM_837_LOOP_2010AA, CLAIM_837_LOOP_2010BA, CLAIM_837_LOOP_2010BB, CLAIM_837_LOOP_2010CA, CLAIM_837_LOOP_2430, CLAIM_ADJUSTMENT_GROUP_CODES, CLAIM_STATUS_277_BUILD_ERROR_CODES, CLAIM_STATUS_CATEGORY_CODES, CLAIM_STATUS_CODES, CLP_STATUS, CONTROL_NUMBER_PAIRS, Claim837BuildError, ClaimStatus277BuildError, DELIMITER_POSITIONS, ELIGIBILITY_271_BUILD_ERROR_CODES, ELIGIBILITY_271_LOOP_2000A, ELIGIBILITY_271_LOOP_2000B, ELIGIBILITY_271_LOOP_2000C, ELIGIBILITY_271_LOOP_2000D, ELIGIBILITY_271_LOOP_2100C, ELIGIBILITY_271_LOOP_2100D, ELIGIBILITY_271_LOOP_2110, ENROLLMENT_834_BUILD_ERROR_CODES, ENROLLMENT_834_LOOP_1000A, ENROLLMENT_834_LOOP_1000B, ENROLLMENT_834_LOOP_2000, ENROLLMENT_834_LOOP_2100A, ENROLLMENT_834_LOOP_2300, ENROLLMENT_834_LOOP_2320, Eligibility271BuildError, Enrollment834BuildError, FATAL_CODES, HI_QUALIFIERS, HL_LEVEL_CODES, IK3_SYNTAX_ERROR_CODES, IK4_SYNTAX_ERROR_CODES, ISA_MIN_LENGTH, LoopSpecDefinitionError, MAINTENANCE_TYPE_CODES, NM1_QUALIFIERS, NON_SPEC_SEGMENT_ID, PREMIUM_820_BUILD_ERROR_CODES, PREMIUM_820_LOOP_1000A, PREMIUM_820_LOOP_1000B, PREMIUM_820_LOOP_2000A, PREMIUM_820_LOOP_2100A, PREMIUM_820_LOOP_2300A, PREMIUM_820_LOOP_2310A, Premium820BuildError, RARC, RELEASE_CHAR, REMIT_835_BUILD_ERROR_CODES, REMIT_835_LOOP_1000A, REMIT_835_LOOP_1000B, REMIT_835_LOOP_2000, REMIT_835_LOOP_2100, REMIT_835_LOOP_2110, REQUIRED_LOOPS, Remit835BuildError, SERVICE_TYPE_CODES, STATUS_277_LOOP_2000A, STATUS_277_LOOP_2000B, STATUS_277_LOOP_2000C, STATUS_277_LOOP_2000D, STATUS_277_LOOP_2000E, STATUS_277_LOOP_2200, STATUS_277_LOOP_2220, ServicesReview278BuildError, TA1_ACK_CODES, TA1_NOTE_CODES, UNEXPECTED_SEGMENT_CONTEXTS, VERSION, WARNING_CODES, X12BuildError, X12Decimal, X12ParseError, X12ProfileError, X12_ACK_DISPOSITION_CODES, X12_BUILD_ERROR_CODES, build271, build277, build277CA, build278Request, build278Response, build820, build834, build835, build837D, build837I, build837P, build999, buildInterchange, buildTA1, checkClaimBalance, checkRemitTotalBalance, checkServiceLineBalance, collectElementValues, componentOptional, controlNumberMismatch, danglingReleaseChar, decodeSegment, defineLoopSpec, defineProfile, detectDelimiters, elementDecimal, elementDecimalOrZero, elementOptional, elementValue, escapeRelease, get271Eligibility, get277CADisposition, get277Status, get278Request, get278Response, get820Payments, get834Enrollments, get834Header, get835, get837Claims, getAllSegmentValues, getDefaultProfile, getSegmentValue, groupCountMismatch, hlParentLevelInvalid, hlParentMismatch, isAcceptDisposition, isClaimAdjustmentGroupCode, isDiagnosisQualifier, isProcedureQualifier, lookupCarc, lookupClaimStatus, lookupClaimStatusCategory, lookupClpStatus, lookupMaintenanceType, lookupRarc, lookupServiceType, missingGe, missingIea, missingRequiredLoop, missingSe, parse999, parseTA1, parseX12, partitionWarnings, pre005010, profiles, remitBalanceMismatch, renderCallerValue, resolveHiQualifier, segmentCountMismatch, serializeX12, setDefaultProfile, trailingGarbage, transactionCountMismatch, unescapeRelease, unexpectedSegment, unknown837Variant, unknownCarc, unknownClaimStatus, unknownClaimStatusCategory, unknownHiQualifier, unknownMaintenanceType, unknownRarc };
|
|
9646
9674
|
//# sourceMappingURL=index.mjs.map
|
|
9647
9675
|
//# sourceMappingURL=index.mjs.map
|