A C E F G H I M P R S T U V 

A

addFieldValue(int, Segment.FieldValue) - Method in class com.illcode.hl7.Segment
Add a value to a given field.
addFieldValue(int, String) - Method in class com.illcode.hl7.Segment
Add a scalar value to a given field.

C

children - Variable in class com.illcode.hl7.Segment.FieldValue
Sub-values of this FieldValue.
clearFieldValues(int) - Method in class com.illcode.hl7.Segment
Clear any values from a given field
com.illcode.hl7 - package com.illcode.hl7
Simple-HL7v2 HL7 parser and encoder.
componentSeparator - Variable in class com.illcode.hl7.HL7Params
 
composite(Object...) - Static method in class com.illcode.hl7.Segment.FieldValue
Create a composite FieldValue, whose children are passed as arguments.
containsSegment(String) - Method in class com.illcode.hl7.Message
Return true if a segment with the given ID is in the message.
copyOf(Message) - Static method in class com.illcode.hl7.Message
Create and return a new Message that is a deep copy of the given message.
copyOf(Segment) - Static method in class com.illcode.hl7.Segment
Create and return a new Segment that is a deep copy of the given segment.
copyOf(Segment.FieldValue) - Static method in class com.illcode.hl7.Segment.FieldValue
Returns a new FieldValue that is a deep copy of the given argument.

E

encode(Message) - Method in class com.illcode.hl7.HL7Encoder
Encode a Message into HL7v2 format.
encode(Segment) - Method in class com.illcode.hl7.HL7Encoder
Encode a segment into HL7v2 format
escape(String) - Method in class com.illcode.hl7.HL7Params
Escapes text given the separators and escape character in this HL7Params instance.
escapeChar - Variable in class com.illcode.hl7.HL7Params
 

F

fieldSeparator - Variable in class com.illcode.hl7.HL7Params
 
fieldValueSeparators - Variable in class com.illcode.hl7.HL7Params
An array of the separators in "descending" order of a parse tree for field data:
i.e.

G

getField(String) - Method in class com.illcode.hl7.Message
Returns the string value of a segment field given a path-like spec string as input.
getFieldValue(int, int, int, int) - Method in class com.illcode.hl7.Segment
Return the string value of a given field/component/subcomponent, or the empty string ("") if the requested value does not exist, or is a null value.
getFieldValue(int) - Method in class com.illcode.hl7.Segment
getFieldValue(int, int) - Method in class com.illcode.hl7.Segment
getFieldValue(int, int, int) - Method in class com.illcode.hl7.Segment
getId() - Method in class com.illcode.hl7.Segment
Get the ID of this segment (ex.
getMessageType() - Method in class com.illcode.hl7.Message
Returns the message type found in MSH.9, if present, or null otherwise.
getParams() - Method in class com.illcode.hl7.HL7Encoder
Return the parameters being used by this HL7Encoder
getParams() - Method in class com.illcode.hl7.HL7Parser
Return the parameters being used by this HL7Parser
getSegment(String, int) - Method in class com.illcode.hl7.Message
Return a given reptition of segments with the given ID, or null if no such segment is in the Message.
getSegment(String) - Method in class com.illcode.hl7.Message
Return the first segment (among any repetitions) with the given ID, or null if no such segment is in the Message.
getSegmentIds() - Method in class com.illcode.hl7.Message
Return a set of all the segment IDs in the message.
getSegments(String) - Method in class com.illcode.hl7.Message
Return a list of repetitions for a given segment ID, or null if no segment with that ID is in the message.

H

HL7Encoder - Class in com.illcode.hl7
Encodes an instance of Message into HL7v2 text.
HL7Encoder() - Constructor for class com.illcode.hl7.HL7Encoder
Construct an HL7Encoder with default params.
HL7Encoder(HL7Params) - Constructor for class com.illcode.hl7.HL7Encoder
Construct an HL7Encoder with the given params.
HL7Params - Class in com.illcode.hl7
An instance of HL7Params stores the settings used to encode/decode HL7v2 messages.
HL7Params() - Constructor for class com.illcode.hl7.HL7Params
Construct an HL7Params using the default separators and escape character.
HL7Params(char, char, char, char, char) - Constructor for class com.illcode.hl7.HL7Params
Construct an HL7Params using the given separators and escape character.
HL7Params(String) - Constructor for class com.illcode.hl7.HL7Params
Construct an HL7Params using the separators and escape character found in the MSH segment text given as an argument.
HL7Parser - Class in com.illcode.hl7
Parses HL7v2 text into an instance of Message.
HL7Parser() - Constructor for class com.illcode.hl7.HL7Parser
Constuct an HL7Parser with default parameters.
HL7Parser(HL7Params) - Constructor for class com.illcode.hl7.HL7Parser
Constuct an HL7Parser with the given parameters.
HL7Parser(String) - Constructor for class com.illcode.hl7.HL7Parser
Constuct an HL7Parser with parameters derived from the given HL7 message.

I

indexed(Object...) - Static method in class com.illcode.hl7.Segment.FieldValue
Creates and returns a composite FieldValue whose children are specified by the indexedVals argument as a sequence of index, value pairs.
isScalar() - Method in class com.illcode.hl7.Segment.FieldValue
Returns true if this is a scalar FieldValue, i.e.

M

Message - Class in com.illcode.hl7
An HL7v2 message.
Message() - Constructor for class com.illcode.hl7.Message
Construct an empty message.

P

parse(String) - Method in class com.illcode.hl7.HL7Parser
Parse text as a single HL7 message.
parse(Reader) - Method in class com.illcode.hl7.HL7Parser
Parse HL7v2 text from a Reader
parse(Path) - Method in class com.illcode.hl7.HL7Parser
Parse HL7v2 text from a Path
putFieldValues(int, List<Segment.FieldValue>) - Method in class com.illcode.hl7.Segment
Add or replace values for a field.
putSegment(Segment) - Method in class com.illcode.hl7.Message
Put a segment into the message.

R

removeSegment(Segment) - Method in class com.illcode.hl7.Message
Remove a segment from the message.
repetitionSeparator - Variable in class com.illcode.hl7.HL7Params
 

S

scalar(String) - Static method in class com.illcode.hl7.Segment.FieldValue
Create and return a scalar FieldValue, whose String value is given as an argument.
Segment - Class in com.illcode.hl7
Field data in a single HL7v2 segment.
Segment(String) - Constructor for class com.illcode.hl7.Segment
Construct an empty segment with the given ID.
Segment(String, List<List<Segment.FieldValue>>) - Constructor for class com.illcode.hl7.Segment
Construct a segment with the given ID and list of field values.
Segment(String, int) - Constructor for class com.illcode.hl7.Segment
Construct an empty segment with a hint about its final size.
Segment.FieldValue - Class in com.illcode.hl7
The value of a field (scalar or composite).
Segment.FieldValue() - Constructor for class com.illcode.hl7.Segment.FieldValue
Construct a null-value FieldValue
Segment.FieldValue(String) - Constructor for class com.illcode.hl7.Segment.FieldValue
Construct a scalar FieldValue (no children)
Segment.FieldValue(List<Segment.FieldValue>) - Constructor for class com.illcode.hl7.Segment.FieldValue
Construct a composite FieldValue
segments() - Method in class com.illcode.hl7.Message
Return a collection of all the repetitions of segments in the message.
setField(String, String) - Method in class com.illcode.hl7.Message
Sets a field of a segment in the message.
setFieldValue(int, int, int, int, String) - Method in class com.illcode.hl7.Segment
Set the scalar value for a specified field/repetition/component/subcomponent.
setFieldValue(int, String) - Method in class com.illcode.hl7.Segment
setFieldValue(int, int, String) - Method in class com.illcode.hl7.Segment
setFieldValue(int, int, int, String) - Method in class com.illcode.hl7.Segment
setParams(HL7Params) - Method in class com.illcode.hl7.HL7Encoder
Set the parameters to be used by this HL7Encoder
setParams(HL7Params) - Method in class com.illcode.hl7.HL7Parser
Set the parameters to be used by this HL7Parser
slurpReaderText(Reader, int) - Static method in class com.illcode.hl7.HL7Parser
Read all characters available from a Reader and return them as a string.
subcomponentSeparator - Variable in class com.illcode.hl7.HL7Params
 

T

toString() - Method in class com.illcode.hl7.Message
 
toString() - Method in class com.illcode.hl7.Segment
 

U

unescape(String) - Method in class com.illcode.hl7.HL7Params
Unescapes text given the separators and escape character in this HL7Params instance.

V

value - Variable in class com.illcode.hl7.Segment.FieldValue
Scalar value of this FieldValue.
A C E F G H I M P R S T U V