(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.
(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.
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.
(parse-message message)
Parses an HL7 messaging batch message, including trailer messages.
Parses an HL7 messaging batch message, including trailer messages.
(parse-trailer message)
Parses the trailer message into something like an HL7 message.
Parses the trailer message into something like an HL7 message.
(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).
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close