@cosyte/x12 0.0.7 → 0.0.9
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 +143 -0
- package/dist/index.cjs +61 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.mjs +61 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2002,12 +2002,37 @@ declare function unescapeRelease(input: string, delimiters: Delimiters, emit: (w
|
|
|
2002
2002
|
* delimiters (or the release character itself) is preceded by `?`; other
|
|
2003
2003
|
* bytes pass through verbatim. The companion to {@link unescapeRelease}.
|
|
2004
2004
|
*
|
|
2005
|
+
* **Throws `TypeError` on a non-string, and the previous behaviour was the
|
|
2006
|
+
* defect.** This function is declared over `string`, but a JavaScript or
|
|
2007
|
+
* JSON-driven caller is not held to that. Reading `value.length` gave three
|
|
2008
|
+
* different wrong answers depending on what arrived: a `number`, a `boolean`
|
|
2009
|
+
* or a plain object has no `.length`, so `undefined === 0` was false, `i <
|
|
2010
|
+
* undefined` was false, and the function **returned the empty accumulator** -
|
|
2011
|
+
* the value vanished with no error and no warning; `null` and `undefined` threw
|
|
2012
|
+
* on the property read; an array or an array-like threw on `charAt`. The silent
|
|
2013
|
+
* one was by far the worst: `build835` emitted `CLP**1*500.00*…` with
|
|
2014
|
+
* `warnings.length === 0`, dropping the CLP-01 reassociation key TR3
|
|
2015
|
+
* 005010X221A1 requires. All three now terminate the same way.
|
|
2016
|
+
*
|
|
2017
|
+
* `TypeError` and not a code-tagged library error is deliberate, and it is not
|
|
2018
|
+
* the untyped-refusal defect this package has fixed elsewhere. This is a pure
|
|
2019
|
+
* text utility with no spec, no element and no caller context to name, so
|
|
2020
|
+
* `TypeError` is the accurate answer for a wrong-typed argument. **Nothing
|
|
2021
|
+
* inside this library can reach it**: all nine builders route every element
|
|
2022
|
+
* through `src/builder/caller-string.ts`, which refuses first with the calling
|
|
2023
|
+
* builder's own typed, code-tagged error. This throw is the backstop for a
|
|
2024
|
+
* consumer calling the export directly, where the alternative was silent data
|
|
2025
|
+
* loss.
|
|
2026
|
+
*
|
|
2027
|
+
* @throws TypeError if `value` is not a string
|
|
2028
|
+
*
|
|
2005
2029
|
* @example
|
|
2006
2030
|
* ```ts
|
|
2007
2031
|
* import { escapeRelease } from "@cosyte/x12";
|
|
2008
2032
|
* const d = { element: "*", repetition: "^", component: ":", segment: "~" };
|
|
2009
2033
|
* escapeRelease("ab~cd*ef:gh", d); // "ab?~cd?*ef?:gh"
|
|
2010
2034
|
* escapeRelease("a?b", d); // "a??b"
|
|
2035
|
+
* escapeRelease(1 as unknown as string, d); // TypeError (was "")
|
|
2011
2036
|
* ```
|
|
2012
2037
|
*/
|
|
2013
2038
|
declare function escapeRelease(value: string, delimiters: Delimiters): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2002,12 +2002,37 @@ declare function unescapeRelease(input: string, delimiters: Delimiters, emit: (w
|
|
|
2002
2002
|
* delimiters (or the release character itself) is preceded by `?`; other
|
|
2003
2003
|
* bytes pass through verbatim. The companion to {@link unescapeRelease}.
|
|
2004
2004
|
*
|
|
2005
|
+
* **Throws `TypeError` on a non-string, and the previous behaviour was the
|
|
2006
|
+
* defect.** This function is declared over `string`, but a JavaScript or
|
|
2007
|
+
* JSON-driven caller is not held to that. Reading `value.length` gave three
|
|
2008
|
+
* different wrong answers depending on what arrived: a `number`, a `boolean`
|
|
2009
|
+
* or a plain object has no `.length`, so `undefined === 0` was false, `i <
|
|
2010
|
+
* undefined` was false, and the function **returned the empty accumulator** -
|
|
2011
|
+
* the value vanished with no error and no warning; `null` and `undefined` threw
|
|
2012
|
+
* on the property read; an array or an array-like threw on `charAt`. The silent
|
|
2013
|
+
* one was by far the worst: `build835` emitted `CLP**1*500.00*…` with
|
|
2014
|
+
* `warnings.length === 0`, dropping the CLP-01 reassociation key TR3
|
|
2015
|
+
* 005010X221A1 requires. All three now terminate the same way.
|
|
2016
|
+
*
|
|
2017
|
+
* `TypeError` and not a code-tagged library error is deliberate, and it is not
|
|
2018
|
+
* the untyped-refusal defect this package has fixed elsewhere. This is a pure
|
|
2019
|
+
* text utility with no spec, no element and no caller context to name, so
|
|
2020
|
+
* `TypeError` is the accurate answer for a wrong-typed argument. **Nothing
|
|
2021
|
+
* inside this library can reach it**: all nine builders route every element
|
|
2022
|
+
* through `src/builder/caller-string.ts`, which refuses first with the calling
|
|
2023
|
+
* builder's own typed, code-tagged error. This throw is the backstop for a
|
|
2024
|
+
* consumer calling the export directly, where the alternative was silent data
|
|
2025
|
+
* loss.
|
|
2026
|
+
*
|
|
2027
|
+
* @throws TypeError if `value` is not a string
|
|
2028
|
+
*
|
|
2005
2029
|
* @example
|
|
2006
2030
|
* ```ts
|
|
2007
2031
|
* import { escapeRelease } from "@cosyte/x12";
|
|
2008
2032
|
* const d = { element: "*", repetition: "^", component: ":", segment: "~" };
|
|
2009
2033
|
* escapeRelease("ab~cd*ef:gh", d); // "ab?~cd?*ef?:gh"
|
|
2010
2034
|
* escapeRelease("a?b", d); // "a??b"
|
|
2035
|
+
* escapeRelease(1 as unknown as string, d); // TypeError (was "")
|
|
2011
2036
|
* ```
|
|
2012
2037
|
*/
|
|
2013
2038
|
declare function escapeRelease(value: string, delimiters: Delimiters): string;
|
package/dist/index.mjs
CHANGED
|
@@ -424,6 +424,9 @@ function unescapeRelease(input, delimiters, emit, position) {
|
|
|
424
424
|
return out;
|
|
425
425
|
}
|
|
426
426
|
function escapeRelease(value, delimiters) {
|
|
427
|
+
if (typeof value !== "string") {
|
|
428
|
+
throw new TypeError(`escapeRelease: value must be a string, received ${typeof value}.`);
|
|
429
|
+
}
|
|
427
430
|
if (value.length === 0) return value;
|
|
428
431
|
let out = "";
|
|
429
432
|
for (let i = 0; i < value.length; i++) {
|
|
@@ -2506,6 +2509,25 @@ function isRealArray(value) {
|
|
|
2506
2509
|
return Array.isArray(value);
|
|
2507
2510
|
}
|
|
2508
2511
|
|
|
2512
|
+
// src/builder/caller-string.ts
|
|
2513
|
+
function describeCallerValue(value) {
|
|
2514
|
+
if (value === null) return "null";
|
|
2515
|
+
if (value === void 0) return "undefined";
|
|
2516
|
+
const type = typeof value;
|
|
2517
|
+
if (type === "object") return Array.isArray(value) ? "an array" : "an object";
|
|
2518
|
+
if (type === "function") return "a function";
|
|
2519
|
+
return `a ${type} (${renderCallerValue(value)})`;
|
|
2520
|
+
}
|
|
2521
|
+
function requireCallerString(value, at, refuse) {
|
|
2522
|
+
if (typeof value === "string") return value;
|
|
2523
|
+
refuse(
|
|
2524
|
+
`${at}: every element value must be a string, but received ${describeCallerValue(value)}. Values are never coerced - a JavaScript number cannot carry a leading-zero identifier, so converting here could emit a different value than the caller sent. Convert at the call site.`
|
|
2525
|
+
);
|
|
2526
|
+
}
|
|
2527
|
+
function makeCallerEscaper(delimiters, at, refuse) {
|
|
2528
|
+
return (value) => escapeRelease(requireCallerString(value, at, refuse), delimiters);
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2509
2531
|
// src/transactions/remit/build-835.ts
|
|
2510
2532
|
function refuseSpec(message) {
|
|
2511
2533
|
throw new Remit835BuildError(REMIT_835_BUILD_ERROR_CODES.X12_835_BUILD_INVALID_SPEC, message);
|
|
@@ -2531,7 +2553,7 @@ function build835(spec) {
|
|
|
2531
2553
|
component: componentSeparator,
|
|
2532
2554
|
segment: segmentTerminator
|
|
2533
2555
|
};
|
|
2534
|
-
const esc = (
|
|
2556
|
+
const esc = makeCallerEscaper(delimiters, "build835", refuseSpec);
|
|
2535
2557
|
const seg = (parts) => {
|
|
2536
2558
|
let end = parts.length;
|
|
2537
2559
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -4208,7 +4230,7 @@ function buildClaim837(variant, spec) {
|
|
|
4208
4230
|
component: componentSeparator,
|
|
4209
4231
|
segment: segmentTerminator
|
|
4210
4232
|
};
|
|
4211
|
-
const esc = (
|
|
4233
|
+
const esc = makeCallerEscaper(delimiters, "build837", refuseSpec2);
|
|
4212
4234
|
const seg = (parts) => {
|
|
4213
4235
|
let end = parts.length;
|
|
4214
4236
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -5349,6 +5371,12 @@ function refuseHierarchy2(message) {
|
|
|
5349
5371
|
message
|
|
5350
5372
|
);
|
|
5351
5373
|
}
|
|
5374
|
+
function refuseSpec3(message) {
|
|
5375
|
+
throw new Eligibility271BuildError(
|
|
5376
|
+
ELIGIBILITY_271_BUILD_ERROR_CODES.X12_271_BUILD_INVALID_SPEC,
|
|
5377
|
+
message
|
|
5378
|
+
);
|
|
5379
|
+
}
|
|
5352
5380
|
var X279A1_VERSION_RELEASE = "005010X279A1";
|
|
5353
5381
|
var X12_271_FUNCTIONAL_ID = "HB";
|
|
5354
5382
|
var X12_AGENCY_CODE3 = "X";
|
|
@@ -5366,7 +5394,7 @@ function build271(spec) {
|
|
|
5366
5394
|
component: componentSeparator,
|
|
5367
5395
|
segment: segmentTerminator
|
|
5368
5396
|
};
|
|
5369
|
-
const esc = (
|
|
5397
|
+
const esc = makeCallerEscaper(delimiters, "build271", refuseSpec3);
|
|
5370
5398
|
const seg = (parts) => {
|
|
5371
5399
|
let end = parts.length;
|
|
5372
5400
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -6041,7 +6069,7 @@ function refuseHierarchy3(message) {
|
|
|
6041
6069
|
message
|
|
6042
6070
|
);
|
|
6043
6071
|
}
|
|
6044
|
-
function
|
|
6072
|
+
function refuseSpec4(message) {
|
|
6045
6073
|
throw new ClaimStatus277BuildError(
|
|
6046
6074
|
CLAIM_STATUS_277_BUILD_ERROR_CODES.X12_277_BUILD_INVALID_SPEC,
|
|
6047
6075
|
message
|
|
@@ -6075,7 +6103,7 @@ function buildClaimStatus(version, spec) {
|
|
|
6075
6103
|
component: componentSeparator,
|
|
6076
6104
|
segment: segmentTerminator
|
|
6077
6105
|
};
|
|
6078
|
-
const esc = (
|
|
6106
|
+
const esc = makeCallerEscaper(delimiters, "build277", refuseSpec4);
|
|
6079
6107
|
const seg = (parts) => {
|
|
6080
6108
|
let end = parts.length;
|
|
6081
6109
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -6250,12 +6278,12 @@ function enforceClaim2(claim, locator, isFirst) {
|
|
|
6250
6278
|
const statuses = requireCallerArray(
|
|
6251
6279
|
claim.statuses,
|
|
6252
6280
|
`build277: claim at ${locator}: statuses`,
|
|
6253
|
-
|
|
6281
|
+
refuseSpec4
|
|
6254
6282
|
);
|
|
6255
6283
|
const serviceLines = requireCallerArray(
|
|
6256
6284
|
claim.serviceLines,
|
|
6257
6285
|
`build277: claim at ${locator}: serviceLines`,
|
|
6258
|
-
|
|
6286
|
+
refuseSpec4
|
|
6259
6287
|
);
|
|
6260
6288
|
if (claim.trace === void 0 && statuses.length === 0 && serviceLines.length === 0) {
|
|
6261
6289
|
throw new ClaimStatus277BuildError(
|
|
@@ -6278,7 +6306,7 @@ function enforceClaim2(claim, locator, isFirst) {
|
|
|
6278
6306
|
const lineStatuses = requireCallerArray(
|
|
6279
6307
|
line.statuses,
|
|
6280
6308
|
`build277: claim at ${locator}.line[${String(l)}]: statuses`,
|
|
6281
|
-
|
|
6309
|
+
refuseSpec4
|
|
6282
6310
|
);
|
|
6283
6311
|
for (let i = 0; i < lineStatuses.length; i += 1) {
|
|
6284
6312
|
enforceStatus(lineStatuses[i], `${locator}.line[${String(l)}].status[${String(i)}]`);
|
|
@@ -6829,7 +6857,7 @@ var Premium820BuildError = class extends Error {
|
|
|
6829
6857
|
};
|
|
6830
6858
|
|
|
6831
6859
|
// src/transactions/premium/build-820.ts
|
|
6832
|
-
function
|
|
6860
|
+
function refuseSpec5(message) {
|
|
6833
6861
|
throw new Premium820BuildError(PREMIUM_820_BUILD_ERROR_CODES.X12_820_BUILD_INVALID_SPEC, message);
|
|
6834
6862
|
}
|
|
6835
6863
|
var X218_VERSION_RELEASE = "005010X218";
|
|
@@ -6848,7 +6876,7 @@ function build820(spec) {
|
|
|
6848
6876
|
component: componentSeparator,
|
|
6849
6877
|
segment: segmentTerminator
|
|
6850
6878
|
};
|
|
6851
|
-
const esc = (
|
|
6879
|
+
const esc = makeCallerEscaper(delimiters, "build820", refuseSpec5);
|
|
6852
6880
|
const seg = (parts) => {
|
|
6853
6881
|
let end = parts.length;
|
|
6854
6882
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -6975,7 +7003,7 @@ function build820(spec) {
|
|
|
6975
7003
|
return parseX12(raw);
|
|
6976
7004
|
}
|
|
6977
7005
|
function enforceStructuralSpec5(spec) {
|
|
6978
|
-
const traces = requireCallerArray(spec.traces, "build820: spec.traces",
|
|
7006
|
+
const traces = requireCallerArray(spec.traces, "build820: spec.traces", refuseSpec5);
|
|
6979
7007
|
if (traces.length === 0) {
|
|
6980
7008
|
throw new Premium820BuildError(
|
|
6981
7009
|
PREMIUM_820_BUILD_ERROR_CODES.X12_820_BUILD_INVALID_SPEC,
|
|
@@ -6985,7 +7013,7 @@ function enforceStructuralSpec5(spec) {
|
|
|
6985
7013
|
const remittances = requireCallerArray(
|
|
6986
7014
|
spec.remittances,
|
|
6987
7015
|
"build820: spec.remittances",
|
|
6988
|
-
|
|
7016
|
+
refuseSpec5
|
|
6989
7017
|
);
|
|
6990
7018
|
if (remittances.length === 0) {
|
|
6991
7019
|
throw new Premium820BuildError(
|
|
@@ -7005,7 +7033,7 @@ function enforceStructuralSpec5(spec) {
|
|
|
7005
7033
|
const openItems = requireCallerArray(
|
|
7006
7034
|
remittance.openItems,
|
|
7007
7035
|
`build820: spec.remittances[${String(r)}].openItems`,
|
|
7008
|
-
|
|
7036
|
+
refuseSpec5
|
|
7009
7037
|
);
|
|
7010
7038
|
if (openItems.length === 0) {
|
|
7011
7039
|
throw new Premium820BuildError(
|
|
@@ -7525,7 +7553,7 @@ var Enrollment834BuildError = class extends Error {
|
|
|
7525
7553
|
};
|
|
7526
7554
|
|
|
7527
7555
|
// src/transactions/enrollment/build-834.ts
|
|
7528
|
-
function
|
|
7556
|
+
function refuseSpec6(message) {
|
|
7529
7557
|
throw new Enrollment834BuildError(
|
|
7530
7558
|
ENROLLMENT_834_BUILD_ERROR_CODES.X12_834_BUILD_INVALID_SPEC,
|
|
7531
7559
|
message
|
|
@@ -7549,7 +7577,7 @@ function build834(spec) {
|
|
|
7549
7577
|
component: componentSeparator,
|
|
7550
7578
|
segment: segmentTerminator
|
|
7551
7579
|
};
|
|
7552
|
-
const esc = (
|
|
7580
|
+
const esc = makeCallerEscaper(delimiters, "build834", refuseSpec6);
|
|
7553
7581
|
const seg = (parts) => {
|
|
7554
7582
|
let end = parts.length;
|
|
7555
7583
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -7630,7 +7658,7 @@ function build834(spec) {
|
|
|
7630
7658
|
return parseX12(raw);
|
|
7631
7659
|
}
|
|
7632
7660
|
function enforceStructuralSpec6(spec) {
|
|
7633
|
-
const members = requireCallerArray(spec.members, "build834: spec.members",
|
|
7661
|
+
const members = requireCallerArray(spec.members, "build834: spec.members", refuseSpec6);
|
|
7634
7662
|
if (members.length === 0) {
|
|
7635
7663
|
throw new Enrollment834BuildError(
|
|
7636
7664
|
ENROLLMENT_834_BUILD_ERROR_CODES.X12_834_BUILD_INVALID_SPEC,
|
|
@@ -7655,7 +7683,7 @@ function enforceStructuralSpec6(spec) {
|
|
|
7655
7683
|
const coverages = requireCallerArray(
|
|
7656
7684
|
member.healthCoverages,
|
|
7657
7685
|
`build834: spec.members[${String(m)}].healthCoverages`,
|
|
7658
|
-
|
|
7686
|
+
refuseSpec6
|
|
7659
7687
|
);
|
|
7660
7688
|
for (let c = 0; c < coverages.length; c += 1) {
|
|
7661
7689
|
const coverage = coverages[c];
|
|
@@ -8182,6 +8210,12 @@ function refuseHierarchy4(message) {
|
|
|
8182
8210
|
message
|
|
8183
8211
|
);
|
|
8184
8212
|
}
|
|
8213
|
+
function refuseSpec7(message) {
|
|
8214
|
+
throw new ServicesReview278BuildError(
|
|
8215
|
+
AUTH_278_BUILD_ERROR_CODES.X12_278_BUILD_INVALID_SPEC,
|
|
8216
|
+
message
|
|
8217
|
+
);
|
|
8218
|
+
}
|
|
8185
8219
|
var X12_278_FUNCTIONAL_ID = "HI";
|
|
8186
8220
|
var X12_AGENCY_CODE7 = "X";
|
|
8187
8221
|
var HL_LEVEL4 = {
|
|
@@ -8210,7 +8244,7 @@ function buildServicesReview(version, direction, spec) {
|
|
|
8210
8244
|
component: componentSeparator,
|
|
8211
8245
|
segment: segmentTerminator
|
|
8212
8246
|
};
|
|
8213
|
-
const esc = (
|
|
8247
|
+
const esc = makeCallerEscaper(delimiters, "build278", refuseSpec7);
|
|
8214
8248
|
const seg = (parts) => {
|
|
8215
8249
|
let end = parts.length;
|
|
8216
8250
|
while (end > 1 && parts[end - 1] === "") end -= 1;
|
|
@@ -8961,6 +8995,9 @@ function narrowNoteCode(value) {
|
|
|
8961
8995
|
}
|
|
8962
8996
|
|
|
8963
8997
|
// src/transactions/ack/build-999.ts
|
|
8998
|
+
function refuseSpec8(message) {
|
|
8999
|
+
throw new AckBuildError(ACK_BUILD_ERROR_CODES.X12_ACK_INVALID_SPEC, message);
|
|
9000
|
+
}
|
|
8964
9001
|
var X231A1_VERSION_RELEASE = "005010X231A1";
|
|
8965
9002
|
var X12_AGENCY_CODE8 = "X";
|
|
8966
9003
|
function build999(spec) {
|
|
@@ -8977,7 +9014,7 @@ function build999(spec) {
|
|
|
8977
9014
|
component: componentSeparator,
|
|
8978
9015
|
segment: segmentTerminator
|
|
8979
9016
|
};
|
|
8980
|
-
const esc = (
|
|
9017
|
+
const esc = makeCallerEscaper(delimiters, "build999", refuseSpec8);
|
|
8981
9018
|
const senderQualifier = envelope.senderQualifier ?? "ZZ";
|
|
8982
9019
|
const receiverQualifier = envelope.receiverQualifier ?? "ZZ";
|
|
8983
9020
|
const usageIndicator = envelope.usageIndicator ?? "P";
|
|
@@ -9457,6 +9494,9 @@ var X12BuildError = class extends Error {
|
|
|
9457
9494
|
};
|
|
9458
9495
|
|
|
9459
9496
|
// src/builder/build-interchange.ts
|
|
9497
|
+
function refuseSpec9(message) {
|
|
9498
|
+
throw new X12BuildError(X12_BUILD_ERROR_CODES.X12_BUILD_INVALID_SPEC, message);
|
|
9499
|
+
}
|
|
9460
9500
|
function buildInterchange(spec) {
|
|
9461
9501
|
const elementSeparator = spec.elementSeparator ?? "*";
|
|
9462
9502
|
const repetitionSeparator = spec.repetitionSeparator ?? "^";
|
|
@@ -9468,7 +9508,7 @@ function buildInterchange(spec) {
|
|
|
9468
9508
|
component: componentSeparator,
|
|
9469
9509
|
segment: segmentTerminator
|
|
9470
9510
|
};
|
|
9471
|
-
const esc = (
|
|
9511
|
+
const esc = makeCallerEscaper(delimiters, "buildInterchange", refuseSpec9);
|
|
9472
9512
|
const senderQualifier = spec.senderQualifier ?? "ZZ";
|
|
9473
9513
|
const receiverQualifier = spec.receiverQualifier ?? "ZZ";
|
|
9474
9514
|
const usageIndicator = spec.usageIndicator ?? "P";
|
|
@@ -9890,7 +9930,7 @@ var profiles = Object.freeze({
|
|
|
9890
9930
|
});
|
|
9891
9931
|
|
|
9892
9932
|
// src/index.ts
|
|
9893
|
-
var VERSION = "0.0.
|
|
9933
|
+
var VERSION = "0.0.9";
|
|
9894
9934
|
|
|
9895
9935
|
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 };
|
|
9896
9936
|
//# sourceMappingURL=index.mjs.map
|