Skip to content
@cosyte

Cosyte

Open-source parsers and tooling for healthcare data. HL7 v2, C-CDA, X12, DICOM, NCPDP, FHIR - in TypeScript

cosyte

Open-source parsers and tooling for healthcare data (HL7 v2, C-CDA, X12 EDI, DICOM, NCPDP, ASTM, and FHIR), written in strict TypeScript for Node.js. Lenient on parse, spec-clean on emit, with a bias toward never silently mis-reading a dose, a code system, or a patient identifier.

Published on npm

Pre-alpha, on the 0.0.x-until-first-alpha ladder.

Parsers, plus the MLLP transport for HL7 v2. Each installs on its own:

Package What it does
@cosyte/hl7 HL7 v2 messages: parse, build, validate, stream
@cosyte/mllp MLLP transport for HL7 v2: client + server, framing, ACK correlation, TLS
@cosyte/dicom DICOM Part 10: metadata, routing keys, metadata-level PS3.15 de-identification
@cosyte/x12 ASC X12 EDI: HIPAA 005010 (837 / 835 / 271 / 834 / 999 / …)
@cosyte/ccda C-CDA R2.1: parse, build, and edit clinical documents
@cosyte/ncpdp NCPDP: SCRIPT ePrescribing + Telecom pharmacy claims
@cosyte/astm ASTM lab instruments: E1394 records + E1381 framing
npm install @cosyte/hl7

Tooling that works across the formats, rather than a parser for one:

Package What it does
@cosyte/terminology Terminology engine: $lookup / $validate-code / $translate / $expand over code systems you supply
@cosyte/transform HL7 v2 → FHIR R4, grounded in the official v2-to-FHIR implementation guide
@cosyte/deid HIPAA-grounded de-identification policy engine, fail-closed
@cosyte/synth Deterministic, seedable synthetic test data across six formats, never real PHI
@cosyte/cli The cosyte command + MCP server, for the terminal or an LLM

Some of these do not install cleanly yet, and it is fair to know before you try: transform and synth declare a peer dependency on @cosyte/fhir, which is not on npm yet, and @cosyte/cli@0.0.1's published manifest points at local tarballs. terminology and deid install on their own today.

Also in the suite

fhir is public and in active development, not yet on npm: an FHIR R4 toolkit with a safety-critical status / negation model.

Shared CI/CD and toolchain config live in .github and config, which publishes six @cosyte/* toolchain packages of its own.

What we care about

  • Correct, not merely green. Healthcare data is safety-critical; a parser that silently mis-reads a value can harm someone. Conformance is graded against the standard, not the test suite.
  • PHI-safe by default. Synthetic-only fixtures, redaction in logs, no realistic PHI in the repos.
  • Near-zero dependencies, dual ESM/CJS, strict TypeScript, one enforced toolchain across the suite.

Learn more at cosyte.com · developer docs at docs.cosyte.com

Pre-alpha and pre-launch: APIs may change before the first alpha.

Popular repositories Loading

  1. claude-containers claude-containers Public

    Self-hosted Docker stack for isolated, long-lived Claude Code sessions. One container per repo, reachable over SSH/tmux and the Claude app's Remote Control. Unofficial; not affiliated with Anthropic.

    Shell 1

  2. hl7 hl7 Public

    TypeScript

  3. dicom dicom Public

    TypeScript

  4. fhir fhir Public

    TypeScript

  5. mllp mllp Public

    Production-grade MLLP (HL7 v2 transport) client + server for Node.js — strict framing, ACK correlation, auto-reconnect, backpressure, and TLS in three lines. Zero runtime deps, strict TypeScript. T…

    TypeScript

  6. x12 x12 Public

    Developer-focused ASC X12 EDI parser and utility library for Node.js + TypeScript. HIPAA 005010 healthcare transaction sets. Payer-side sibling to @cosyte/hl7.

    TypeScript

Repositories

Showing 10 of 16 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…