|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.preparser.ER7
public class ER7
| Nested Class Summary | |
|---|---|
protected static class |
ER7.ER7SegmentHandler
|
protected static interface |
ER7.Handler
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
|
static boolean |
parseMessage(Properties props,
List<DatumPath> msgMask,
String message)
Parses message and dumps contents to props, with keys in the ZYX[a]-b[c]-d-e style. |
protected static boolean |
parseMSHSegmentWhole(Properties props,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
String segment)
given segment, starting with "MSH", then encoding characters, etc... |
protected static void |
parseSegmentGuts(ER7.Handler handler,
String guts,
List<Integer> nodeKey)
recursively tokenize "guts" (a segment, or part of one) into tokens, according to separators (aka delimiters) which are different at each level of recursion, and to a recursive depth which is discovered through "handler" via handler.delim(int) and handler.specDepth() As tokens are found, they are reported to handler via handler.putDatum(), which presumably stashes them away somewhere. |
protected static void |
parseSegmentWhole(Properties props,
Map<String,Integer> segmentId2nextRepIdx,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
String segment)
pass in a whole segment (of type other than MSH), including message type at the start, according to encodingChars, and we'll parse the contents and put them in props. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean parseMessage(Properties props,
List<DatumPath> msgMask,
String message)
protected static boolean parseMSHSegmentWhole(Properties props,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
String segment)
protected static void parseSegmentWhole(Properties props,
Map<String,Integer> segmentId2nextRepIdx,
List<DatumPath> msgMask,
EncodingCharacters encodingChars,
String segment)
protected static void parseSegmentGuts(ER7.Handler handler,
String guts,
List<Integer> nodeKey)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||