@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.
@@ -571,12 +571,12 @@ var PROCEDURE_MODIFIERS = Object.freeze(["25", "59", "76", "GT"]);
571
571
  var PLACES_OF_SERVICE = Object.freeze(["11", "22", "21", "12", "49"]);
572
572
  var DIAGNOSES = Object.freeze(
573
573
  [
574
- { code: "J20.9", label: "acute bronchitis, unspecified" },
575
- { code: "E11.9", label: "type 2 diabetes mellitus without complications" },
574
+ { code: "J209", label: "acute bronchitis, unspecified" },
575
+ { code: "E119", label: "type 2 diabetes mellitus without complications" },
576
576
  { code: "I10", label: "essential (primary) hypertension" },
577
- { code: "M54.5", label: "low back pain" },
578
- { code: "R07.9", label: "chest pain, unspecified" },
579
- { code: "Z00.00", label: "general adult medical exam without abnormal findings" }
577
+ { code: "M545", label: "low back pain" },
578
+ { code: "R079", label: "chest pain, unspecified" },
579
+ { code: "Z0000", label: "general adult medical exam without abnormal findings" }
580
580
  ].map((entry) => Object.freeze(entry))
581
581
  );
582
582
  var REVENUE_CODES = Object.freeze(
@@ -996,7 +996,8 @@ function generate271(options) {
996
996
  serviceTypeCodes: serviceTypes,
997
997
  inPlanNetwork: "Y",
998
998
  monetaryAmount: dec(money(rng.int(500, 5e3))),
999
- percent: dec(String(rng.pick([80, 90, 100])))
999
+ percent: dec(rng.pick([".8", ".9", "1"]))
1000
+ // EB-08 is a decimal fraction
1000
1001
  }
1001
1002
  ]
1002
1003
  }