@cosyte/synth 0.1.0 → 0.1.2
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 +31 -2
- package/LICENSE +1 -1
- package/README.md +26 -25
- package/dist/astm/index.cjs.map +1 -1
- package/dist/astm/index.d.cts +6 -6
- package/dist/astm/index.d.ts +6 -6
- package/dist/astm/index.mjs.map +1 -1
- package/dist/ccda/index.cjs.map +1 -1
- package/dist/ccda/index.d.cts +2 -2
- package/dist/ccda/index.d.ts +2 -2
- package/dist/ccda/index.mjs.map +1 -1
- package/dist/deid/index.cjs.map +1 -1
- package/dist/deid/index.d.cts +3 -3
- package/dist/deid/index.d.ts +3 -3
- package/dist/deid/index.mjs.map +1 -1
- package/dist/fhir/index.cjs.map +1 -1
- package/dist/fhir/index.d.cts +1 -1
- package/dist/fhir/index.d.ts +1 -1
- package/dist/fhir/index.mjs.map +1 -1
- package/dist/hl7/index.cjs.map +1 -1
- package/dist/hl7/index.d.cts +3 -3
- package/dist/hl7/index.d.ts +3 -3
- package/dist/hl7/index.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/ncpdp/index.cjs.map +1 -1
- package/dist/ncpdp/index.d.cts +2 -2
- package/dist/ncpdp/index.d.ts +2 -2
- package/dist/ncpdp/index.mjs.map +1 -1
- package/dist/{providers-BQtPk3PN.d.cts → providers-DcPrqmp5.d.cts} +2 -2
- package/dist/{providers-BQtPk3PN.d.ts → providers-DcPrqmp5.d.ts} +2 -2
- package/dist/{quirk-C_lZrspq.d.cts → quirk-CilFUhwX.d.cts} +1 -1
- package/dist/{quirk-Bzx9g8KG.d.ts → quirk-DmqYw3Vk.d.ts} +1 -1
- package/dist/x12/index.cjs.map +1 -1
- package/dist/x12/index.d.cts +3 -3
- package/dist/x12/index.d.ts +3 -3
- package/dist/x12/index.mjs.map +1 -1
- package/package.json +41 -51
package/dist/x12/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-
|
|
1
|
+
import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-DcPrqmp5.cjs';
|
|
2
2
|
import { X12Interchange, X12Decimal } from '@cosyte/x12';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -235,7 +235,7 @@ declare function money(n: number): string;
|
|
|
235
235
|
* - **NPI**: a deliberately **invalid Luhn** check digit, so it can never be a NPPES-issued NPI
|
|
236
236
|
* ({@link ../safe/reserved.isSyntheticNpi}).
|
|
237
237
|
* - **provider tax id**: emitted as an SSN (REF*SY) in the SSA **never-issued** 900-range, so it can
|
|
238
|
-
* never be a real, issuable SSN (900
|
|
238
|
+
* never be a real, issuable SSN (900 to 999 is never assigned as an SSN, the universal synthetic-safe
|
|
239
239
|
* SSN convention).
|
|
240
240
|
* - **name**: the shipped clearly-fake pool; **DOB / dates**: the seeded generator (no real event
|
|
241
241
|
* implied); **address**: synthetic street + reserved ZIP.
|
|
@@ -369,7 +369,7 @@ interface X12EnvelopeTiming {
|
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
371
|
* Mint a seeded envelope timing + control-number bundle. The service/transaction date is drawn in a
|
|
372
|
-
* recent plausible window (2024
|
|
372
|
+
* recent plausible window (2024 to 2026) so a generated transaction reads like a current one; every value
|
|
373
373
|
* is seeded, so the interchange is byte-reproducible.
|
|
374
374
|
*
|
|
375
375
|
* @param rng - The seeded generator.
|
package/dist/x12/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-
|
|
1
|
+
import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-DcPrqmp5.js';
|
|
2
2
|
import { X12Interchange, X12Decimal } from '@cosyte/x12';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -235,7 +235,7 @@ declare function money(n: number): string;
|
|
|
235
235
|
* - **NPI**: a deliberately **invalid Luhn** check digit, so it can never be a NPPES-issued NPI
|
|
236
236
|
* ({@link ../safe/reserved.isSyntheticNpi}).
|
|
237
237
|
* - **provider tax id**: emitted as an SSN (REF*SY) in the SSA **never-issued** 900-range, so it can
|
|
238
|
-
* never be a real, issuable SSN (900
|
|
238
|
+
* never be a real, issuable SSN (900 to 999 is never assigned as an SSN, the universal synthetic-safe
|
|
239
239
|
* SSN convention).
|
|
240
240
|
* - **name**: the shipped clearly-fake pool; **DOB / dates**: the seeded generator (no real event
|
|
241
241
|
* implied); **address**: synthetic street + reserved ZIP.
|
|
@@ -369,7 +369,7 @@ interface X12EnvelopeTiming {
|
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
371
|
* Mint a seeded envelope timing + control-number bundle. The service/transaction date is drawn in a
|
|
372
|
-
* recent plausible window (2024
|
|
372
|
+
* recent plausible window (2024 to 2026) so a generated transaction reads like a current one; every value
|
|
373
373
|
* is seeded, so the interchange is byte-reproducible.
|
|
374
374
|
*
|
|
375
375
|
* @param rng - The seeded generator.
|