Liking cljdoc? Tell your friends :D

com.nervestaple.hl7-parser.parser


add-fieldclj

(add-field segment field)

Adds the provided field map to the provided segment map and returns a new segment.

Adds the provided field map to the provided segment map and returns a new
segment.
raw docstring

add-fieldsclj

(add-fields segment fields)

Adds the provided field maps to the provided segment map and returns a new segment.

Adds the provided field maps to the provided segment map and returns a new
segment.
raw docstring

add-segmentclj

(add-segment message segment)

Adds the provided segment map to the provided message map and returns a new message.

Adds the provided segment map to the provided message map and returns a new
message.
raw docstring

ASCII_AMPERSANDclj


ASCII_BACKSLASHclj


ASCII_CARATclj


ASCII_CRclj


ASCII_FSclj


ASCII_LFclj


ASCII_PIPEclj


ASCII_TILDEclj


ASCII_VTclj


convert-valuesclj

(convert-values values)

If provided a list of values, any in items are replaced with an empty string. When provided a single value a list with that value will be returned or an empty list of that value is nil.

If provided a list of values, any in items are replaced with an empty string.
When provided a single value a list with that value will be returned or an
empty list of that value is nil.
raw docstring

create-empty-messageclj

(create-empty-message)
(create-empty-message delimiters)

Returns a new, empty message map. if no map of delimiters is provided then the default set will be used.

Returns a new, empty message map. if no map of delimiters is provided then the
default set will be used.
raw docstring

create-fieldclj

(create-field)
(create-field data)

Returns a new field map populated with the provided data.

Returns a new field map populated with the provided data.
raw docstring

create-messageclj

(create-message delimiters & segments)

Accepts a map of delimiters and segments. Returns a new parsed message using the provided delimiters (or the default set if none is provided) populated with the provided segments.

Accepts a map of delimiters and segments. Returns a new parsed message using
the provided delimiters (or the default set if none is provided) populated
with the provided segments.
raw docstring

create-segmentclj

(create-segment id & fields)

Returns a new, empty segment map with the provided id.

Returns a new, empty segment map with the provided id.
raw docstring

DEFAULT-DELIMITERSclj


get-readercljmultimethod

Returns a PushBackReader for the provided Object. We want to wrap another Reader but we'll cast to a String and read that if required.

Returns a PushBackReader for the provided Object. We want to wrap
another Reader but we'll cast to a String and read that if
required.
raw docstring

parseclj

(parse message-source)

Reads data from the provided source (a Reader, String, etc.) and parses that data into a map that represents the content of the message.

Reads data from the provided source (a Reader, String, etc.) and parses that
data into a map that represents the content of the message.
raw docstring

pr-delimitersclj

(pr-delimiters delimiters)

Prints an HL7 compatible text representation of the provided delimiters to the current out stream.

Prints an HL7 compatible text representation of the provided
delimiters to the current *out* stream.
raw docstring

pr-fieldclj

(pr-field delimiters field)

Returns an HL7 compatible String representation of the provided field.

Returns an HL7 compatible String representation of the provided
field.
raw docstring

pr-messageclj

(pr-message message)

Prints the provided HL7 message to the current out stream.

Prints the provided HL7 message to the current *out* stream.
raw docstring

pr-segmentclj

(pr-segment delimiters segment)

Returns an HL7 compatible String representation of the provided segment.

Returns an HL7 compatible String representation of the provided
segment.
raw docstring

SEGMENT-DELIMITERclj


str-messageclj

(str-message message)

Returns the provided HL7 message as a string.

Returns the provided HL7 message as a string.
raw docstring

TIMESTAMP-FORMATclj

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

× close