Skip to main content

Cosyte Developer Documentation

Open-source HL7, MLLP, and FHIR packages, built for JavaScript and TypeScript developers

Browse Packages

@cosyte/hl7

HL7 v2 parser, serializer, and builder for JavaScript and TypeScript.

healthcare
Read Docs

@cosyte/mllp

Minimal Lower Layer Protocol (MLLP) client and server for HL7 message transport.

protocol
Read Docs

@cosyte/fhir

FHIR R4 resource model, JSON and XML codec, and layered validation for JavaScript and TypeScript.

standard
Read Docs

@cosyte/dicom

DICOM Part 10 parser and metadata toolkit for medical imaging.

healthcare
Read Docs

@cosyte/x12

ASC X12 EDI parser for HIPAA 005010 healthcare transactions.

healthcare
Read Docs

@cosyte/ccda

C-CDA (HL7 CDA R2) clinical document parser.

healthcare
Read Docs

@cosyte/ncpdp

NCPDP SCRIPT + Telecom parser for pharmacy and e-prescribing.

healthcare
Read Docs

@cosyte/astm

ASTM E1394 / E1381 parser for clinical laboratory analyzer (LIS) interfaces.

healthcare
Read Docs

Pathways

Git-native healthcare integration engine: build, version, and run interface channels.

healthcare
Read Docs

@cosyte/transform

HL7 v2 to FHIR transformation layer built on the cosyte parser models.

tooling
Read Docs

@cosyte/terminology

Healthcare terminology engine: validate and map codes across code systems.

tooling
Read Docs

@cosyte/cli

Command-line and MCP front door to the cosyte healthcare parsers.

tooling
Read Docs

@cosyte/deid

De-identification toolkit for healthcare data (HIPAA Safe Harbor).

tooling
Read Docs

@cosyte/synth

Deterministic synthetic healthcare fixture generator for testing and conformance.

tooling
Read Docs

@cosyte/dates

Precision-preserving date and time utilities for the cosyte parsers that never guess a timezone.

tooling
Read Docs

Why Cosyte?

Built for Real-World HL7

Parse, build, and serialize HL7 v2 messages exactly as they appear in production environments: pipes, escapes, and all.

Developer-First APIs

TypeScript-native, fully typed, zero runtime surprises. Works in Node.js, Bun, and edge runtimes.

MIT Licensed, Open Source

No hidden licensing costs. Fork it, extend it, ship it. Contributions welcome.