@cosyte/synth
@cosyte/synth - a deterministic, seedable synthetic-data / test-fixture generator for the
cosyte healthcare formats. A consumer of the parsers, not a parser: it builds artifacts through
each parser's own builder/serializer (so output is spec-clean by construction) and draws every
value from a guaranteed-non-colliding synthetic source (so no output can be real or
plausibly-real PHI). It is a format/conformance generator, not a clinical simulator.
This root entry point exposes the format-agnostic core: the seeded PRNG, the synthetic-safety
providers, the Corpus abstraction, the profile skeleton, and the fatal codes. Per-format
generation lives behind its own subpath (@cosyte/synth/hl7) so importing the root never pulls a
parser - the lazy per-format boundary.
Classes
Interfaces
- Artifact
- Corpus
- CorpusManifest
- QuirkArtifact
- QuirkDescriptor
- QuirkProfiledVerdict
- QuirkRoundTripResult
- Rng
- Sfc32State
- SyntheticAddress
- SyntheticIdentifier
- SyntheticName
- SynthProfile
- SynthProfileSpec
Type Aliases
Variables
- DEA_REGISTRANT_TYPES
- DOC_V6_PREFIX
- NPI_LUHN_PREFIX
- PROFILE_QUIRK_APPLIED
- RESERVED_EMAIL_DOMAINS
- safe
- SYNTH_FATAL_CODES
- SYNTH_FATAL_MESSAGES
- SYNTHETIC_ASSIGNING_AUTHORITY
- SYNTHETIC_CITY_NAMES
- SYNTHETIC_FAMILY_NAMES
- SYNTHETIC_GIVEN_NAMES
- SYNTHETIC_STREET_NAMES
- TEST_NET_V4_PREFIXES
- VERSION
Functions
- address
- assertIntendedWarnings
- createRng
- dateYmd
- dea
- deaCheckDigit
- defineSynthProfile
- identifier
- ipv4
- ipv6
- isSyntheticDea
- isSyntheticEmail
- isSyntheticIp
- isSyntheticNpi
- isSyntheticPhone
- isSyntheticSsn
- luhnMod10
- makeCorpus
- name
- npi
- npiCheckDigit
- phone
- profileTolerated
- resolveKind
- resolveMix
- resolveQuirk
- sameCodeSet
- sfc32Next
- splitmix32
- ssn
- uuid
- validateProfileQuirks