@cosyte/synth 0.1.6 → 0.1.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.
@@ -414,7 +414,8 @@ declare const PROCEDURE_MODIFIERS: readonly string[];
414
414
  declare const PLACES_OF_SERVICE: readonly string[];
415
415
  /**
416
416
  * ICD-10-CM diagnosis codes (HI qualifier `ABK` principal / `ABF` secondary): codes from the TR3
417
- * examples. Structural placeholders only.
417
+ * examples. Structural placeholders only. Each is written without its decimal point (`J209` for
418
+ * J20.9), as the 005010 claim guides transmit a diagnosis code.
418
419
  */
419
420
  declare const DIAGNOSES: readonly X12ExampleCode[];
420
421
  /** NUBC revenue codes (837I SV2-01): spec-example codes. */
@@ -414,7 +414,8 @@ declare const PROCEDURE_MODIFIERS: readonly string[];
414
414
  declare const PLACES_OF_SERVICE: readonly string[];
415
415
  /**
416
416
  * ICD-10-CM diagnosis codes (HI qualifier `ABK` principal / `ABF` secondary): codes from the TR3
417
- * examples. Structural placeholders only.
417
+ * examples. Structural placeholders only. Each is written without its decimal point (`J209` for
418
+ * J20.9), as the 005010 claim guides transmit a diagnosis code.
418
419
  */
419
420
  declare const DIAGNOSES: readonly X12ExampleCode[];
420
421
  /** NUBC revenue codes (837I SV2-01): spec-example codes. */
@@ -568,12 +568,12 @@ var PROCEDURE_MODIFIERS = Object.freeze(["25", "59", "76", "GT"]);
568
568
  var PLACES_OF_SERVICE = Object.freeze(["11", "22", "21", "12", "49"]);
569
569
  var DIAGNOSES = Object.freeze(
570
570
  [
571
- { code: "J20.9", label: "acute bronchitis, unspecified" },
572
- { code: "E11.9", label: "type 2 diabetes mellitus without complications" },
571
+ { code: "J209", label: "acute bronchitis, unspecified" },
572
+ { code: "E119", label: "type 2 diabetes mellitus without complications" },
573
573
  { code: "I10", label: "essential (primary) hypertension" },
574
- { code: "M54.5", label: "low back pain" },
575
- { code: "R07.9", label: "chest pain, unspecified" },
576
- { code: "Z00.00", label: "general adult medical exam without abnormal findings" }
574
+ { code: "M545", label: "low back pain" },
575
+ { code: "R079", label: "chest pain, unspecified" },
576
+ { code: "Z0000", label: "general adult medical exam without abnormal findings" }
577
577
  ].map((entry) => Object.freeze(entry))
578
578
  );
579
579
  var REVENUE_CODES = Object.freeze(
@@ -993,7 +993,8 @@ function generate271(options) {
993
993
  serviceTypeCodes: serviceTypes,
994
994
  inPlanNetwork: "Y",
995
995
  monetaryAmount: dec(money(rng.int(500, 5e3))),
996
- percent: dec(String(rng.pick([80, 90, 100])))
996
+ percent: dec(rng.pick([".8", ".9", "1"]))
997
+ // EB-08 is a decimal fraction
997
998
  }
998
999
  ]
999
1000
  }