Directories
¶
| Path | Synopsis |
|---|---|
|
Package client provides Client, Connection, InboundResponse, and option normalization.
|
Package client provides Client, Connection, InboundResponse, and option normalization. |
|
builder
Package builder is the wire message model (delimiter-level, version-agnostic) for HL7 v2 messages: the Message, Batch, FileBatch roots and the uniform node hierarchy (NodeBase, RootBase, Segment, SegmentList, Field, FieldRepetition, Component, SubComponent, ValueNode, EmptyNode).
|
Package builder is the wire message model (delimiter-level, version-agnostic) for HL7 v2 messages: the Message, Batch, FileBatch roots and the uniform node hierarchy (NodeBase, RootBase, Segment, SegmentList, Field, FieldRepetition, Component, SubComponent, ValueNode, EmptyNode). |
|
ed
Package ed encodes and decodes the HL7 v2 ED (Encapsulated Data) datatype, the value carried by OBX-5 when OBX-2 is "ED" (for example a Base64 PDF).
|
Package ed encodes and decodes the HL7 v2 ED (Encapsulated Data) datatype, the value carried by OBX-5 when OBX-2 is "ED" (for example a Base64 PDF). |
|
helpers
Package helpers carries the client package's error hierarchy and shared constants.
|
Package helpers carries the client package's error hierarchy and shared constants. |
|
hl7
Package hl7 is the spec-driven, per-version HL7 v2 message builder.
|
Package hl7 is the spec-driven, per-version HL7 v2 message builder. |
|
hl7/metadata
Package metadata carries the machine-readable HL7 segment and data-type specs that drive the spec-driven builder and per-version usage validation.
|
Package metadata carries the machine-readable HL7 segment and data-type specs that drive the spec-driven builder and per-version usage validation. |
|
hl7/tables
Package tables carries the generated HL7 v2 code tables that back enum validation.
|
Package tables carries the generated HL7 v2 code tables that back enum validation. |
|
httpadapter
Package httpadapter is an optional, dependency-free bridge that lets a standard net/http application send HL7 messages over MLLP and expose the result to HTTP callers.
|
Package httpadapter is an optional, dependency-free bridge that lets a standard net/http application send HL7 messages over MLLP and expose the result to HTTP callers. |
|
internal/declaration
Package declaration carries the client package's enums and pure type/contract declarations.
|
Package declaration carries the client package's enums and pure type/contract declarations. |
|
modules
Package modules carries the MLLP codec, parser plan, and option/handler type aliases.
|
Package modules carries the MLLP codec, parser plan, and option/handler type aliases. |
|
utils
Package utils carries the small pure helpers the client package uses: HL7 date formatting, random strings, exponential backoff, IP-address checks, segment indexing, hex decoding, and regexp escaping.
|
Package utils carries the small pure helpers the client package uses: HL7 date formatting, random strings, exponential backoff, IP-address checks, segment indexing, hex decoding, and regexp escaping. |
|
cmd
|
|
|
genspec
command
Command genspec transpiles the committed TypeScript metadata (the hl7/metadata segment and data-type catalogs) into committed Go (*_gen.go) under client/hl7.
|
Command genspec transpiles the committed TypeScript metadata (the hl7/metadata segment and data-type catalogs) into committed Go (*_gen.go) under client/hl7. |
|
gentables
command
Command gentables builds the per-version HL7 value-table registry from the Caristix HL7 Definition API and writes client/hl7/tables/tables_gen.go.
|
Command gentables builds the per-version HL7 value-table registry from the Caristix HL7 Definition API and writes client/hl7/tables/tables_gen.go. |
|
Package server implements the HL7 MLLP server: Server, Inbound, InboundRequest, SendResponse, and option normalization.
|
Package server implements the HL7 MLLP server: Server, Inbound, InboundRequest, SendResponse, and option normalization. |
|
utils
Package utils carries the server package's error hierarchy, ACK-code constants, and option normalization.
|
Package utils carries the server package's error hierarchy, ACK-code constants, and option normalization. |
Click to show internal directories.
Click to hide internal directories.