v0.0.1
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.randomis lint-banned. - HL7 v2 generation extends from
ADTalone toORU^R01,ORM^O01,SIU^S12andVXU^V04, each built through@cosyte/hl7'sbuildMessage, spec-clean by construction and round-tripping with zero warnings. - A new
@cosyte/synth/fhirsubpath generates the US Core clinical spine through@cosyte/fhir's own model constructors and serializer, validating undervalidateResource. - The
@cosyte/synth/fhirsubpath extends to the full US Core clinical set, addingEncounter,DiagnosticReport(Laboratory),Immunizationand 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/deidsubpath: 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