(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.
(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.
(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.
(create-empty-message)
Returns a new, empty message structure.
Returns a new, empty message structure.
(create-field data)
Returns a new field structure populated with the provided data.
Returns a new field structure populated with the provided data.
(create-message delimiters & segments)
Returns a new, empty message structure.
Returns a new, empty message structure.
(create-segment id & fields)
Returns a new, empty segment structure with the provided id.
Returns a new, empty segment structure with the provided id.
Structure for HL7 message delimiters
Structure for HL7 message delimiters
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).
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.
(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.
(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.
(pr-field delimiters field)
Returns an HL7 compatible String representation of the provided field.
Returns an HL7 compatible String representation of the provided field.
(pr-message message)
Prints the provided HL7 message to the current out stream.
Prints the provided HL7 message to the current *out* stream.
(pr-segment delimiters segment)
Returns an HL7 compatible String representation of the provided segment.
Returns an HL7 compatible String representation of the provided segment.
(str-message message)
Returns the provided HL7 message as a string.
Returns the provided HL7 message as a string.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close