| Package | Description | 
|---|---|
| ca.uhn.hl7v2.conf.check | |
| ca.uhn.hl7v2.model | |
| ca.uhn.hl7v2.parser | |
| ca.uhn.hl7v2.util | |
| ca.uhn.hl7v2.validation.builder | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HL7Exception> | DefaultValidator. testStructure(Structure s,
             ProfileStructure profile,
             String profileID)Tests a structure (segment or group) against the corresponding part of a profile. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | GroupAn abstraction representing >1 message parts which may repeated together. | 
| interface  | Message
 Represents a complete HL7 message including all structures, segments, and fields. | 
| interface  | SegmentRepresents an HL7 message segment, which is a unit of data that contains multiple fields. | 
| interface  | SuperStructure | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractGroupA partial implementation of Group. | 
| class  | AbstractMessageA default implementation of Message. | 
| class  | AbstractSegment
 Provides common functionality needed by implementers of the Segment
 interface. | 
| class  | AbstractStructure | 
| class  | AbstractSuperMessageBase class for a  SuperStructuremessage. | 
| class  | GenericGroupAn undefined segment group. | 
| class  | GenericMessageA generic HL7 message, meant for parsing message with unrecognized structures
 into a flat list of segments. | 
| static class  | GenericMessage.UnknownVersion | 
| static class  | GenericMessage.V21 | 
| static class  | GenericMessage.V22 | 
| static class  | GenericMessage.V23 | 
| static class  | GenericMessage.V231 | 
| static class  | GenericMessage.V24 | 
| static class  | GenericMessage.V25 | 
| static class  | GenericMessage.V251 | 
| static class  | GenericMessage.V26 | 
| static class  | GenericMessage.V27 | 
| static class  | GenericMessage.V271 | 
| static class  | GenericMessage.V28 | 
| static class  | GenericMessage.V281 | 
| class  | GenericSegmentAn unspecified segment that has an undefined number of fields, each 
 of which is a Varies. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <T extends Structure> | AbstractGroup. getAllAsList(String name,
            Class<T> theType)Returns a list containing all existing repetitions of the structure identified by name | 
| protected <T extends Structure> | AbstractGroup. getTyped(String name,
        Class<T> type) | 
| protected <T extends Structure> | AbstractGroup. getTyped(String name,
        int rep,
        Class<T> type) | 
| Modifier and Type | Method and Description | 
|---|---|
| Structure | Group. get(String name)Returns the named structure. | 
| Structure | AbstractGroup. get(String name)Returns the named structure. | 
| Structure | Group. get(String name,
   int rep)Returns a particular repetition of the named Structure. | 
| Structure | AbstractGroup. get(String name,
   int rep)Returns a particular repetition of the named Structure. | 
| Structure[] | Group. getAll(String name)Returns an array of Structure objects by name. | 
| Structure[] | AbstractGroup. getAll(String name)Returns an array of Structure objects by name. | 
| Structure | AbstractGroup. insertRepetition(String name,
                int index)Inserts a repetition of a given Structure into repetitions of that structure by name. | 
| Structure | AbstractGroup. removeRepetition(String name,
                int index)Removes a repetition of a given Structure objects by name. | 
| protected Structure | AbstractGroup. tryToInstantiateStructure(Class<? extends Structure> c,
                         String name)Attempts to create an instance of the given class and return it as a Structure. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Structure> | Group. getClass(String name)Returns the Class of the Structure at the given name index. | 
| Class<? extends Structure> | AbstractGroup. getClass(String name)Returns the Class of the Structure at the given name index. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | AbstractGroup. insertRepetition(String name,
                Structure structure,
                int index)Inserts a repetition of a given Structure into repetitions of that structure by name. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | AbstractGroup. add(Class<? extends Structure> c,
   boolean required,
   boolean repeating)Adds a new Structure (group or segment) to this Group. | 
| protected String | AbstractGroup. add(Class<? extends Structure> c,
   boolean required,
   boolean repeating,
   boolean choiceElement)Adds a new Structure (group or segment) to this Group. | 
| protected String | AbstractGroup. add(Class<? extends Structure> c,
   boolean required,
   boolean repeating,
   int index)Adds a new Structure (group or segment) to this Group. | 
| protected String | AbstractGroup. insert(Class<? extends Structure> c,
      boolean required,
      boolean repeating,
      boolean choiceElement,
      int index,
      String name) | 
| protected String | AbstractGroup. insert(Class<? extends Structure> c,
      boolean required,
      boolean repeating,
      int index,
      String name)Inserts the given structure into this group, at the indicated index number. | 
| protected Structure | AbstractGroup. tryToInstantiateStructure(Class<? extends Structure> c,
                         String name)Attempts to create an instance of the given class and return it as a Structure. | 
| Modifier and Type | Method and Description | 
|---|---|
| Structure | MessageIterator. next()
 Returns the next node in the message. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T extends Structure> | ReflectionUtil. instantiateStructure(Class<T> theType,
                    Group parent,
                    ModelClassFactory theModelClassFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| Structure[] | MessageNavigator. getCurrentChildReps()Returns the array of structures at the current location. | 
| Structure | MessageNavigator. getCurrentStructure(int rep)Returns the given rep of the structure at the current location. | 
| Structure | MessageIterator. next()Returns the next node in the message. | 
| Structure | ReadOnlyMessageIterator. next() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedSegmentIterator(Group theRoot) | 
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedStructureIterator(Group theRoot,
                                Class<? extends Structure> c) | 
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedStructureIterator(Group theRoot,
                                FilterIterator.Predicate<Structure> structureFilter) | 
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedStructureIterator(Group theRoot,
                                String structureName) | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | MessageIterator. contains(Structure s,
        String name,
        boolean firstDescendentsOnly,
        boolean upToFirstRequired)Determines whether the given structure matches the given name, or contains 
 a child that does. | 
| boolean | StructurePredicate. evaluate(Structure obj) | 
| boolean | StructureNamePredicate. evaluate(Structure obj) | 
| static MessageIterator.Index | MessageIterator. getIndex(Group parent,
        Structure child)Returns the index of the given structure as a child of the 
 given parent. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedStructureIterator(Group theRoot,
                                Class<? extends Structure> c) | 
| static Iterator<Structure> | ReadOnlyMessageIterator. createPopulatedStructureIterator(Group theRoot,
                                FilterIterator.Predicate<Structure> structureFilter) | 
| Constructor and Description | 
|---|
| MessageIterator(Structure start,
               String direction,
               boolean handleUnexpectedSegments)Creates a new instance of MessageIterator | 
| Constructor and Description | 
|---|
| StructurePredicate(Class<? extends Structure> desired) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | Expression<T extends Structure>Expression used to obtain values from a message structure | 
Copyright © 2001–2017 University Health Network. All rights reserved.