@cosyte/synth 0.0.7 → 0.0.8

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +135 -17
  2. package/README.md +47 -45
  3. package/dist/astm/index.cjs +7 -7
  4. package/dist/astm/index.cjs.map +1 -1
  5. package/dist/astm/index.d.cts +47 -47
  6. package/dist/astm/index.d.ts +47 -47
  7. package/dist/astm/index.mjs +7 -7
  8. package/dist/astm/index.mjs.map +1 -1
  9. package/dist/ccda/index.cjs +15 -15
  10. package/dist/ccda/index.cjs.map +1 -1
  11. package/dist/ccda/index.d.cts +31 -31
  12. package/dist/ccda/index.d.ts +31 -31
  13. package/dist/ccda/index.mjs +15 -15
  14. package/dist/ccda/index.mjs.map +1 -1
  15. package/dist/deid/index.cjs +15 -15
  16. package/dist/deid/index.cjs.map +1 -1
  17. package/dist/deid/index.d.cts +37 -37
  18. package/dist/deid/index.d.ts +37 -37
  19. package/dist/deid/index.mjs +15 -15
  20. package/dist/deid/index.mjs.map +1 -1
  21. package/dist/{example-codes-DeXcnCSK.d.cts → example-codes-88f3_bQZ.d.cts} +8 -8
  22. package/dist/{example-codes-DeXcnCSK.d.ts → example-codes-88f3_bQZ.d.ts} +8 -8
  23. package/dist/fhir/index.cjs +12 -12
  24. package/dist/fhir/index.cjs.map +1 -1
  25. package/dist/fhir/index.d.cts +46 -46
  26. package/dist/fhir/index.d.ts +46 -46
  27. package/dist/fhir/index.mjs +12 -12
  28. package/dist/fhir/index.mjs.map +1 -1
  29. package/dist/hl7/index.cjs +6 -6
  30. package/dist/hl7/index.cjs.map +1 -1
  31. package/dist/hl7/index.d.cts +45 -45
  32. package/dist/hl7/index.d.ts +45 -45
  33. package/dist/hl7/index.mjs +6 -6
  34. package/dist/hl7/index.mjs.map +1 -1
  35. package/dist/index.cjs +9 -9
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +49 -49
  38. package/dist/index.d.ts +49 -49
  39. package/dist/index.mjs +9 -9
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/ncpdp/index.cjs +3 -3
  42. package/dist/ncpdp/index.cjs.map +1 -1
  43. package/dist/ncpdp/index.d.cts +42 -42
  44. package/dist/ncpdp/index.d.ts +42 -42
  45. package/dist/ncpdp/index.mjs +3 -3
  46. package/dist/ncpdp/index.mjs.map +1 -1
  47. package/dist/{providers-OLz3zAc-.d.cts → providers-B9uVinAe.d.cts} +24 -24
  48. package/dist/{providers-OLz3zAc-.d.ts → providers-B9uVinAe.d.ts} +24 -24
  49. package/dist/{quirk-C9t9CkPS.d.ts → quirk-HZdznAkM.d.ts} +23 -23
  50. package/dist/{quirk-DYMDojVw.d.cts → quirk-IaHp4z7N.d.cts} +23 -23
  51. package/dist/x12/index.cjs +6 -6
  52. package/dist/x12/index.cjs.map +1 -1
  53. package/dist/x12/index.d.cts +44 -44
  54. package/dist/x12/index.d.ts +44 -44
  55. package/dist/x12/index.mjs +6 -6
  56. package/dist/x12/index.mjs.map +1 -1
  57. package/package.json +3 -2
@@ -32,30 +32,30 @@ function sfc32Next(s) {
32
32
  // src/codes.ts
33
33
  var SYNTH_FATAL_CODES = {
34
34
  /**
35
- * A vendor quirk was requested that the target format's profile system does not support. Fatal —
35
+ * A vendor quirk was requested that the target format's profile system does not support. Fatal,
36
36
  * never a silent no-op and never a fabricated quirk.
37
37
  */
38
38
  SYNTH_UNSUPPORTED_QUIRK: "SYNTH_UNSUPPORTED_QUIRK",
39
39
  /**
40
40
  * A quirk transform found no structural anchor to mutate, so the fixture would not carry the
41
- * deviation it is labelled with. Fatal — a golden file that lies about its parser verdict is worse
41
+ * deviation it is labelled with. Fatal: a golden file that lies about its parser verdict is worse
42
42
  * than no golden file.
43
43
  */
44
44
  SYNTH_QUIRK_ANCHOR_ABSENT: "SYNTH_QUIRK_ANCHOR_ABSENT",
45
45
  /**
46
46
  * A bare parse of a freshly-generated quirk artifact did not produce exactly the declared intended
47
- * warning code(s). Fatal — never emit a mislabeled fixture.
47
+ * warning code(s). Fatal, never emit a mislabeled fixture.
48
48
  */
49
49
  SYNTH_INTENDED_WARNING_MISMATCH: "SYNTH_INTENDED_WARNING_MISMATCH",
50
50
  /** An integer range was requested with its maximum below its minimum. Fatal. */
51
51
  SYNTH_INVALID_RANGE: "SYNTH_INVALID_RANGE",
52
- /** A value was drawn from an empty pool. Fatal — never a fabricated substitute. */
52
+ /** A value was drawn from an empty pool. Fatal, never a fabricated substitute. */
53
53
  SYNTH_EMPTY_POOL: "SYNTH_EMPTY_POOL",
54
54
  /** A `defineSynthProfile` spec was not usable (a missing or blank `name`). Fatal. */
55
55
  SYNTH_INVALID_PROFILE: "SYNTH_INVALID_PROFILE",
56
56
  /**
57
57
  * A caller-supplied selector (a message kind, a document type, a corpus mix entry, a claim
58
- * variant, a Bundle type, a resource profile) is not in the closed set that governs it. Fatal —
58
+ * variant, a Bundle type, a resource profile) is not in the closed set that governs it. Fatal:
59
59
  * see `resolveKind`: a selector union is erased at run time, and a selector that falls through
60
60
  * either mislabels the fixture or hands the value to a peer builder that quotes it back.
61
61
  */
@@ -149,7 +149,7 @@ function makeCorpus(seed, artifacts, quirks = []) {
149
149
  var SYNTHETIC_ASSIGNING_AUTHORITY = Object.freeze({
150
150
  /** The human-readable assigning-authority namespace id (HL7 HD.1). */
151
151
  namespaceId: "COSYTE-SYNTH",
152
- /** The universal id — an OID under HL7's example arc `2.16.840.1.113883.19` (HD.2). */
152
+ /** The universal id, an OID under HL7's example arc `2.16.840.1.113883.19` (HD.2). */
153
153
  universalId: "2.16.840.1.113883.19.999",
154
154
  /** The universal id type (HD.3). */
155
155
  universalIdType: "ISO"
@@ -720,7 +720,7 @@ var ASTM_QUIRKS = Object.freeze({
720
720
  name: "unknown-record-type",
721
721
  format: "astm",
722
722
  intendedWarnings: Object.freeze(["ASTM_RECORD_UNKNOWN_TYPE"]),
723
- grounding: "ASTM E1394 permits manufacturer/site-defined record types; a Z record is surfaced as unsupported. A tolerable code (in the parser's defineAstmProfile allow-list) \u2014 a consumer authors a profile to re-badge it; no built-in public profile does.",
723
+ grounding: "ASTM E1394 permits manufacturer/site-defined record types; a Z record is surfaced as unsupported. A tolerable code (in the parser's defineAstmProfile allow-list): a consumer authors a profile to re-badge it; no built-in public profile does.",
724
724
  disposition: "bare"
725
725
  })
726
726
  });