Skip to content

v0.0.1

Choose a tag to compare

@github-actions github-actions released this 29 Jul 21:59
c1ae68b

What changed

  • Documentation only, with one small observable string change.
  • A seeded-PRNG, synthetic-safety and round-trip foundation for the generator, proven end to end on HL7 v2. The PRNG is hand-rolled and zero-dependency, and Math.random is lint-banned.
  • HL7 v2 generation extends from ADT alone to ORU^R01, ORM^O01, SIU^S12 and VXU^V04, each built through @cosyte/hl7's buildMessage, spec-clean by construction and round-tripping with zero warnings.
  • A new @cosyte/synth/fhir subpath generates the US Core clinical spine through @cosyte/fhir's own model constructors and serializer, validating under validateResource.
  • The @cosyte/synth/fhir subpath extends to the full US Core clinical set, adding Encounter, DiagnosticReport (Laboratory), Immunization and the rest.
  • C-CDA document generation, synthetic and seed-deterministic by construction, built through @cosyte/ccda's builder so template IDs and section codes are the builder's own.
  • Spec-clean HIPAA 005010 X12 generation, synthetic and seed-deterministic by construction, built through @cosyte/x12's domain builders so output round-trips with zero warnings.
  • Spec-clean NCPDP generation, synthetic and seed-deterministic by construction, built through @cosyte/ncpdp's own emit surface so output round-trips through the parser with zero warnings.
  • Spec-clean ASTM generation, synthetic and seed-deterministic by construction, built through @cosyte/astm's own emit surface, completing generation across all six formats.
  • Profile-driven vendor-quirk generation, producing deliberately off-spec fixtures whose vocabulary is the parsers' own profile systems.
  • A new @cosyte/synth/deid subpath: a deterministic, seeded closed-loop harness that generates a spec-clean artifact, plants synthetic PHI sentinels at its patient loci, de-identifies through @cosyte/deid, and verifies every sentinel is gone.
  • Release hardening. No new runtime API. A consolidated conformance property suite drives every spec-clean format generator through the same three mandatory properties: round-trip spec-clean, seed-determinism, and synthetic-safety.

Full detail for each change is in CHANGELOG.md.

Install

npm install @cosyte/synth@0.0.1

npm: https://www.npmjs.com/package/@cosyte/synth/v/0.0.1