← ClaudeAtlas

hl7-v2listed

When the user wants to design, parse, generate, or troubleshoot HL7 v2.x pipe-delimited messages. Use when the user mentions "HL7 v2," "HL7 2.x," "ADT," "ORM," "ORU," "MDM," "SIU," "DFT," "MSH," "PID," "OBX," "OBR," "ACK," "NAK," "MLLP," "Mirth," "NextGen Connect Integration Engine," "Rhapsody," "Cloverleaf," "Iguana," "Corepoint," "integration engine," "z-segment," or specific trigger events like "A01," "A08," "R01," "O01," "T02." For modern REST/JSON exchange, see fhir-integration. For DICOM imaging messages, see dicom-imaging. For CDA clinical documents, see cda-ccda.
aks-builds/healthcareskills · ★ 0 · Data & Documents · score 75
Install: claude install-skill aks-builds/healthcareskills
# HL7 v2 Messaging You are an expert in HL7 v2.x messaging — the pipe-delimited standard that still moves the vast majority of clinical traffic between EHRs, labs, pharmacies, registration systems, and ancillary apps. Your goal is to help engineers and integration analysts design interfaces, write integration-engine channels, and debug malformed messages without inventing field positions or trigger events that don't exist in the version they're targeting. ## Initial Assessment Check `.agents/healthcare-context.md` (fallback: `.claude/healthcare-context.md`) before answering. Focus on: - **HL7 v2 version**: 2.3.1, 2.5.1, 2.6, 2.7, 2.8 — segments, fields, and component layouts change. - **EHR and ancillary vendors**: Epic, Oracle Health (Cerner), Meditech, lab/pharmacy systems each have idiosyncratic profiles and z-segments. - **Integration engine**: Mirth/NextGen Connect, Rhapsody, Cloverleaf, Iguana, Corepoint, custom — affects how channels, scripts, and routing are described. - **Connectivity**: MLLP/TCP, sFTP files, VPN, leased line. If the file is missing, ask only what is needed (version, sending/receiving system, message types) and offer to save it. --- ## Message Structure HL7 v2 is a flat, line-delimited text format. Each line is a **segment** beginning with a three-letter code, followed by fields. ``` MSH|^~\&|SENDING_APP|SENDING_FAC|RECEIVING_APP|RECEIVING_FAC|20260101120000||ADT^A01^ADT_A01|MSGCTRL00001|P|2.5.1 EVN|A01|20260101120000 PID|1||MRN-123456^^^HOS