Liking cljdoc? Tell your friends :D

com.nervestaple.hl7-parser.batch


conj-not-emptyclj

(conj-not-empty seq item)

Addes the supplied string to the given sequence only if it is not blank.

Addes the supplied string to the given sequence only if it is not blank.
sourceraw docstring

filter-segmentclj

(filter-segment segment-id parsed-messages)

Returns a lazy sequence of messages that have a matching segment id in their first segment.

Returns a lazy sequence of messages that have a matching segment id in their
first segment.
sourceraw docstring

get-linescljmultimethod

Returns a sequence of lines for the provided Object. We would prefer to wrap another reader but we'll read a string if required.

Returns a sequence of lines for the provided Object. We would prefer to wrap
another reader but we'll read a string if required.
sourceraw docstring

parse-messageclj

(parse-message message)

Parses an HL7 messaging batch message, including trailer messages.

Parses an HL7 messaging batch message, including trailer messages.
sourceraw docstring

parse-trailerclj

(parse-trailer message)

Parses the trailer message into something like an HL7 message.

Parses the trailer message into something like an HL7 message.
sourceraw docstring

read-messageclj

(read-message lines-in)

Reads lines from the provided sequence and accumulates one HL7 message. Returns a vector where the first item is the message and the second the remaining lines in the sequence (or nil if all lines have been read).

Reads lines from the provided sequence and accumulates one HL7 message.
Returns a vector where the first item is the message and the second the
remaining lines in the sequence (or nil if all lines have been read).
sourceraw docstring

read-messagesclj

(read-messages data-in)
(read-messages message lines)

Reads through a set of data and returns a lazy sequence of parsed HL7 messaging messages. If a sequence is provided it will be read directly otherwise a reader will be opened on the provided data.

Reads through a set of data and returns a lazy sequence of parsed HL7
messaging messages. If a sequence is provided it will be read directly
otherwise a reader will be opened on the provided data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close