ca.uhn.hl7v2.model.v24.group
Class ORD_O04_RESPONSE

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

public class ORD_O04_RESPONSE
extends AbstractGroup

Represents a ORD_O04_RESPONSE 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_O04_RESPONSE(Group parent, ModelClassFactory factory)
          Creates a new ORD_O04_RESPONSE group
 
Method Summary
 ORD_O04_ORDER_DIET getORDER_DIET()
          Returns the first repetition of ORDER_DIET (a Group object) - creates it if necessary
 ORD_O04_ORDER_DIET getORDER_DIET(int rep)
          Returns a specific repetition of ORDER_DIET (a Group object) - creates it if necessary
 int getORDER_DIETReps()
          Returns the number of existing repetitions of ORDER_DIET
 ORD_O04_ORDER_TRAY getORDER_TRAY()
          Returns the first repetition of ORDER_TRAY (a Group object) - creates it if necessary
 ORD_O04_ORDER_TRAY getORDER_TRAY(int rep)
          Returns a specific repetition of ORDER_TRAY (a Group object) - creates it if necessary
 int getORDER_TRAYReps()
          Returns the number of existing repetitions of ORDER_TRAY
 ORD_O04_PATIENT getPATIENT()
          Returns PATIENT (a Group object) - creates it if necessary
 String getVersion()
          Returns "2.4"
 ORD_O04_ORDER_DIET insertORDER_DIET(int rep)
          Inserts a specific repetition of ORDER_DIET (a Group object)
 void insertORDER_DIET(ORD_O04_ORDER_DIET structure, int rep)
          Inserts a specific repetition of ORDER_DIET (a Group object)
 ORD_O04_ORDER_TRAY insertORDER_TRAY(int rep)
          Inserts a specific repetition of ORDER_TRAY (a Group object)
 void insertORDER_TRAY(ORD_O04_ORDER_TRAY structure, int rep)
          Inserts a specific repetition of ORDER_TRAY (a Group object)
 ORD_O04_ORDER_DIET removeORDER_DIET(int rep)
          Removes a specific repetition of ORDER_DIET (a Group object)
 ORD_O04_ORDER_TRAY removeORDER_TRAY(int rep)
          Removes a specific repetition of ORDER_TRAY (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_O04_RESPONSE

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getPATIENT

public ORD_O04_PATIENT getPATIENT()
Returns PATIENT (a Group object) - creates it if necessary


getORDER_DIET

public ORD_O04_ORDER_DIET getORDER_DIET()
Returns the first repetition of ORDER_DIET (a Group object) - creates it if necessary


getORDER_DIET

public ORD_O04_ORDER_DIET getORDER_DIET(int rep)
Returns a specific repetition of ORDER_DIET (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.

getORDER_DIETReps

public int getORDER_DIETReps()
Returns the number of existing repetitions of ORDER_DIET


insertORDER_DIET

public void insertORDER_DIET(ORD_O04_ORDER_DIET structure,
                             int rep)
                      throws HL7Exception
Inserts a specific repetition of ORDER_DIET (a Group object)

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

insertORDER_DIET

public ORD_O04_ORDER_DIET insertORDER_DIET(int rep)
                                    throws HL7Exception
Inserts a specific repetition of ORDER_DIET (a Group object)

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

removeORDER_DIET

public ORD_O04_ORDER_DIET removeORDER_DIET(int rep)
                                    throws HL7Exception
Removes a specific repetition of ORDER_DIET (a Group object)

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

getORDER_TRAY

public ORD_O04_ORDER_TRAY getORDER_TRAY()
Returns the first repetition of ORDER_TRAY (a Group object) - creates it if necessary


getORDER_TRAY

public ORD_O04_ORDER_TRAY getORDER_TRAY(int rep)
Returns a specific repetition of ORDER_TRAY (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.

getORDER_TRAYReps

public int getORDER_TRAYReps()
Returns the number of existing repetitions of ORDER_TRAY


insertORDER_TRAY

public void insertORDER_TRAY(ORD_O04_ORDER_TRAY structure,
                             int rep)
                      throws HL7Exception
Inserts a specific repetition of ORDER_TRAY (a Group object)

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

insertORDER_TRAY

public ORD_O04_ORDER_TRAY insertORDER_TRAY(int rep)
                                    throws HL7Exception
Inserts a specific repetition of ORDER_TRAY (a Group object)

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

removeORDER_TRAY

public ORD_O04_ORDER_TRAY removeORDER_TRAY(int rep)
                                    throws HL7Exception
Removes a specific repetition of ORDER_TRAY (a Group object)

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


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