ca.uhn.hl7v2.model.v231.group
Class ORD_O02_PIDNTEORCODSNTEORCODTNTE

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractGroup
      extended by ca.uhn.hl7v2.model.v231.group.ORD_O02_PIDNTEORCODSNTEORCODTNTE
All Implemented Interfaces:
Group, Structure, Serializable

public class ORD_O02_PIDNTEORCODSNTEORCODTNTE
extends AbstractGroup

Represents a ORD_O02_PIDNTEORCODSNTEORCODTNTE group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:

See Also:
Serialized Form

Constructor Summary
ORD_O02_PIDNTEORCODSNTEORCODTNTE(Group parent, ModelClassFactory factory)
          Creates a new ORD_O02_PIDNTEORCODSNTEORCODTNTE group
 
Method Summary
 ORD_O02_ORCODSNTE getORCODSNTE()
          Returns the first repetition of ORCODSNTE (a Group object) - creates it if necessary
 ORD_O02_ORCODSNTE getORCODSNTE(int rep)
          Returns a specific repetition of ORCODSNTE (a Group object) - creates it if necessary
 int getORCODSNTEReps()
          Returns the number of existing repetitions of ORCODSNTE
 ORD_O02_ORCODTNTE getORCODTNTE()
          Returns the first repetition of ORCODTNTE (a Group object) - creates it if necessary
 ORD_O02_ORCODTNTE getORCODTNTE(int rep)
          Returns a specific repetition of ORCODTNTE (a Group object) - creates it if necessary
 int getORCODTNTEReps()
          Returns the number of existing repetitions of ORCODTNTE
 ORD_O02_PIDNTE getPIDNTE()
          Returns PIDNTE (a Group object) - creates it if necessary
 String getVersion()
          Returns "2.3.1"
 ORD_O02_ORCODSNTE insertORCODSNTE(int rep)
          Inserts a specific repetition of ORCODSNTE (a Group object)
 void insertORCODSNTE(ORD_O02_ORCODSNTE structure, int rep)
          Inserts a specific repetition of ORCODSNTE (a Group object)
 ORD_O02_ORCODTNTE insertORCODTNTE(int rep)
          Inserts a specific repetition of ORCODTNTE (a Group object)
 void insertORCODTNTE(ORD_O02_ORCODTNTE structure, int rep)
          Inserts a specific repetition of ORCODTNTE (a Group object)
 ORD_O02_ORCODSNTE removeORCODSNTE(int rep)
          Removes a specific repetition of ORCODSNTE (a Group object)
 ORD_O02_ORCODTNTE removeORCODTNTE(int rep)
          Removes a specific repetition of ORCODTNTE (a Group object)
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getClass, getMessage, getModelClassFactory, getName, getNames, getParent, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ORD_O02_PIDNTEORCODSNTEORCODTNTE

public ORD_O02_PIDNTEORCODSNTEORCODTNTE(Group parent,
                                        ModelClassFactory factory)
Creates a new ORD_O02_PIDNTEORCODSNTEORCODTNTE group

Method Detail

getVersion

public String getVersion()
Returns "2.3.1"


getPIDNTE

public ORD_O02_PIDNTE getPIDNTE()
Returns PIDNTE (a Group object) - creates it if necessary


getORCODSNTE

public ORD_O02_ORCODSNTE getORCODSNTE()
Returns the first repetition of ORCODSNTE (a Group object) - creates it if necessary


getORCODSNTE

public ORD_O02_ORCODSNTE getORCODSNTE(int rep)
Returns a specific repetition of ORCODSNTE (a Group object) - creates it if necessary

Parameters:
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
Throws:
HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.

getORCODSNTEReps

public int getORCODSNTEReps()
Returns the number of existing repetitions of ORCODSNTE


insertORCODSNTE

public void insertORCODSNTE(ORD_O02_ORCODSNTE structure,
                            int rep)
                     throws HL7Exception
Inserts a specific repetition of ORCODSNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

insertORCODSNTE

public ORD_O02_ORCODSNTE insertORCODSNTE(int rep)
                                  throws HL7Exception
Inserts a specific repetition of ORCODSNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

removeORCODSNTE

public ORD_O02_ORCODSNTE removeORCODSNTE(int rep)
                                  throws HL7Exception
Removes a specific repetition of ORCODSNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup.removeRepetition(String, int)

getORCODTNTE

public ORD_O02_ORCODTNTE getORCODTNTE()
Returns the first repetition of ORCODTNTE (a Group object) - creates it if necessary


getORCODTNTE

public ORD_O02_ORCODTNTE getORCODTNTE(int rep)
Returns a specific repetition of ORCODTNTE (a Group object) - creates it if necessary

Parameters:
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
Throws:
HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.

getORCODTNTEReps

public int getORCODTNTEReps()
Returns the number of existing repetitions of ORCODTNTE


insertORCODTNTE

public void insertORCODTNTE(ORD_O02_ORCODTNTE structure,
                            int rep)
                     throws HL7Exception
Inserts a specific repetition of ORCODTNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

insertORCODTNTE

public ORD_O02_ORCODTNTE insertORCODTNTE(int rep)
                                  throws HL7Exception
Inserts a specific repetition of ORCODTNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

removeORCODTNTE

public ORD_O02_ORCODTNTE removeORCODTNTE(int rep)
                                  throws HL7Exception
Removes a specific repetition of ORCODTNTE (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup.removeRepetition(String, int)


Copyright © 2001-2011 University Health Network. All Rights Reserved.