Liking cljdoc? Tell your friends :D

com.nervestaple.hl7-parser.parser


add-fieldclj

(add-field segment field)

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

Adds the provided field structure to the provided segment structure
and returns a new segment.
sourceraw docstring

add-fieldsclj

(add-fields segment fields)

Adds the provided field structures to the provided segment structure and returns a new segment.

Adds the provided field structures to the provided segment
structure and returns a new segment.
sourceraw docstring

add-segmentclj

(add-segment message segment)

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

Adds the provided segment structure to the provided message
structure and returns a new message.
sourceraw docstring

ASCII_CRclj

source

ASCII_FSclj

source

ASCII_LFclj

source

ASCII_VTclj

source

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.
sourceraw docstring

create-empty-messageclj

(create-empty-message)

Returns a new, empty message structure.

Returns a new, empty message structure.
sourceraw docstring

create-fieldclj

(create-field data)

Returns a new field structure populated with the provided data.

Returns a new field structure populated with the provided data.
sourceraw docstring

create-messageclj

(create-message delimiters & segments)

Returns a new, empty message structure.

Returns a new, empty message structure.
sourceraw docstring

create-segmentclj

(create-segment id & fields)

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

Returns a new, empty segment structure with the provided id.
sourceraw docstring

delimiters-structclj

Structure for HL7 message delimiters

Structure for HL7 message delimiters
sourceraw docstring

field-structclj

Structure for an HL7 field. The :content will either be at atom, an array of atoms (indicating a field with components), an array of arrays of atoms (indicating a field with components and sub-components) or an array of more field structures (indicating a repeating field).

Structure for an HL7 field. The :content will either be
at atom, an array of atoms (indicating a field with components),
an array of arrays of atoms (indicating a field with components
and sub-components) or an array of more field
structures (indicating a repeating field).
sourceraw docstring

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.
sourceraw docstring

message-structclj

Structure for an HL7 message

Structure for an HL7 message
sourceraw docstring

parseclj

(parse message-source)

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

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

pr-delimitersclj

(pr-delimiters delimiters-struct)

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.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

SEGMENT-DELIMITERclj

source

segment-structclj

Structure for an HL7 segment

Structure for an HL7 segment
sourceraw docstring

str-messageclj

(str-message message)

Returns the provided HL7 message as a string.

Returns the provided HL7 message as a string.
sourceraw docstring

TIMESTAMP-FORMATclj

source

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

× close