@cosyte/hl7
LiveHL7 v2
Cosyte
We build and maintain an MIT-licensed suite of parsers for the formats that carry clinical data: HL7 v2, MLLP, DICOM, X12, C-CDA, NCPDP, ASTM, and FHIR. Each one is a lenient reader that records what it tolerated as a stable warning, with a dependency footprint small enough to audit in an afternoon. We also consult on the integrations that put them to work.
import { parseHL7 } from "@cosyte/hl7";
// A synthetic ADT^A01 admit. HL7 v2 ends every segment with a carriage return.
const raw =
"MSH|^~\\&|EPIC|MAIN|LIS|REF|20260419101500||ADT^A01^ADT_A01|MSG00001|P|2.5\r" +
"EVN|A01|20260419101500\r" +
"PID|1||MRN12345^^^HOSP^MR||Doe^John^Q||19800115|M|||123 Main St^^Boston^MA^02101||^PRN^PH^^^617^5551212\r" +
"PV1|1|I|ICU^101^A^HOSP|||||ATTEND^Smith^Jane^^^^MD|||||||||||VISIT001\r";
const msg = parseHL7(raw);
console.log("Patient record number:", msg.patient?.mrn);
console.log("Full name:", msg.patient?.fullName);
console.log("Date of birth:", msg.patient?.dateOfBirth?.raw);
console.log("Precision:", msg.patient?.dateOfBirth?.precision);
console.log("Message type:", msg.meta.type);
console.log("Sent at:", msg.meta.timestamp?.raw);
console.log("Ward:", msg.visit?.location?.pointOfCare);Patient record number: MRN12345
Full name: John Q Doe
Date of birth: 19800115
Precision: day
Message type: ADT^A01^ADT_A01
Sent at: 20260419101500
Ward: ICUThe suite
The list is the proof. Each package is engineered to the same standard-conformance bar and ships under MIT.
@cosyte/hl7
LiveHL7 v2
@cosyte/mllp
LiveMLLP
@cosyte/dicom
LiveDICOM Part 10
@cosyte/x12
LiveASC X12 / HIPAA 005010
@cosyte/ccda
LiveHL7 C-CDA R2.1
@cosyte/ncpdp
LiveNCPDP SCRIPT + Telecom
@cosyte/astm
LiveASTM E1394 / E1381
@cosyte/fhir
LiveHL7 FHIR
See the full open-source surface →Or start from the standard on your wire →
Consulting
We work with US labs, providers, and health-tech vendors on the integration work that has to be right the first time: ingesting an HL7 v2 feed, fielding 270/271 eligibility, posting an 835 remittance, parsing a C-CDA on referral, reading a DICOM study, handling a Surescripts ePrescribing message.
The credibility comes from the open-source suite. The engagement comes from the same engineering: quiet, spec-grounded, and honest about what is and is not solved.
Who we are
We write the parsers and we do the integration work on them, so the engineering you can read on GitHub is the engineering on your project: no account managers, no handoffs. No sales floor, no out-of-date marketing site, no “platform” pitch over a hollow stack. The site you're reading and the code on GitHub are the company.
Tell us what's on the wire and what has to come out the other side. We read the spec, write the code, and stay honest about what's solved.