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

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

public class SQR_S25_RESOURCES
extends AbstractGroup

Represents a SQR_S25_RESOURCES 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
SQR_S25_RESOURCES(Group parent, ModelClassFactory factory)
          Creates a new SQR_S25_RESOURCES group
 
Method Summary
 SQR_S25_GENERAL_RESOURCE getGENERAL_RESOURCE()
          Returns the first repetition of GENERAL_RESOURCE (a Group object) - creates it if necessary
 SQR_S25_GENERAL_RESOURCE getGENERAL_RESOURCE(int rep)
          Returns a specific repetition of GENERAL_RESOURCE (a Group object) - creates it if necessary
 int getGENERAL_RESOURCEReps()
          Returns the number of existing repetitions of GENERAL_RESOURCE
 SQR_S25_LOCATION_RESOURCE getLOCATION_RESOURCE()
          Returns the first repetition of LOCATION_RESOURCE (a Group object) - creates it if necessary
 SQR_S25_LOCATION_RESOURCE getLOCATION_RESOURCE(int rep)
          Returns a specific repetition of LOCATION_RESOURCE (a Group object) - creates it if necessary
 int getLOCATION_RESOURCEReps()
          Returns the number of existing repetitions of LOCATION_RESOURCE
 SQR_S25_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE()
          Returns the first repetition of PERSONNEL_RESOURCE (a Group object) - creates it if necessary
 SQR_S25_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE(int rep)
          Returns a specific repetition of PERSONNEL_RESOURCE (a Group object) - creates it if necessary
 int getPERSONNEL_RESOURCEReps()
          Returns the number of existing repetitions of PERSONNEL_RESOURCE
 RGS getRGS()
          Returns RGS (Resource Group) - creates it if necessary
 SQR_S25_SERVICE getSERVICE()
          Returns the first repetition of SERVICE (a Group object) - creates it if necessary
 SQR_S25_SERVICE getSERVICE(int rep)
          Returns a specific repetition of SERVICE (a Group object) - creates it if necessary
 int getSERVICEReps()
          Returns the number of existing repetitions of SERVICE
 String getVersion()
          Returns "2.4"
 SQR_S25_GENERAL_RESOURCE insertGENERAL_RESOURCE(int rep)
          Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
 void insertGENERAL_RESOURCE(SQR_S25_GENERAL_RESOURCE structure, int rep)
          Inserts a specific repetition of GENERAL_RESOURCE (a Group object)
 SQR_S25_LOCATION_RESOURCE insertLOCATION_RESOURCE(int rep)
          Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
 void insertLOCATION_RESOURCE(SQR_S25_LOCATION_RESOURCE structure, int rep)
          Inserts a specific repetition of LOCATION_RESOURCE (a Group object)
 SQR_S25_PERSONNEL_RESOURCE insertPERSONNEL_RESOURCE(int rep)
          Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
 void insertPERSONNEL_RESOURCE(SQR_S25_PERSONNEL_RESOURCE structure, int rep)
          Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)
 SQR_S25_SERVICE insertSERVICE(int rep)
          Inserts a specific repetition of SERVICE (a Group object)
 void insertSERVICE(SQR_S25_SERVICE structure, int rep)
          Inserts a specific repetition of SERVICE (a Group object)
 SQR_S25_GENERAL_RESOURCE removeGENERAL_RESOURCE(int rep)
          Removes a specific repetition of GENERAL_RESOURCE (a Group object)
 SQR_S25_LOCATION_RESOURCE removeLOCATION_RESOURCE(int rep)
          Removes a specific repetition of LOCATION_RESOURCE (a Group object)
 SQR_S25_PERSONNEL_RESOURCE removePERSONNEL_RESOURCE(int rep)
          Removes a specific repetition of PERSONNEL_RESOURCE (a Group object)
 SQR_S25_SERVICE removeSERVICE(int rep)
          Removes a specific repetition of SERVICE (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

SQR_S25_RESOURCES

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getRGS

public RGS getRGS()
Returns RGS (Resource Group) - creates it if necessary


getSERVICE

public SQR_S25_SERVICE getSERVICE()
Returns the first repetition of SERVICE (a Group object) - creates it if necessary


getSERVICE

public SQR_S25_SERVICE getSERVICE(int rep)
Returns a specific repetition of SERVICE (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.

getSERVICEReps

public int getSERVICEReps()
Returns the number of existing repetitions of SERVICE


insertSERVICE

public void insertSERVICE(SQR_S25_SERVICE structure,
                          int rep)
                   throws HL7Exception
Inserts a specific repetition of SERVICE (a Group object)

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

insertSERVICE

public SQR_S25_SERVICE insertSERVICE(int rep)
                              throws HL7Exception
Inserts a specific repetition of SERVICE (a Group object)

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

removeSERVICE

public SQR_S25_SERVICE removeSERVICE(int rep)
                              throws HL7Exception
Removes a specific repetition of SERVICE (a Group object)

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

getGENERAL_RESOURCE

public SQR_S25_GENERAL_RESOURCE getGENERAL_RESOURCE()
Returns the first repetition of GENERAL_RESOURCE (a Group object) - creates it if necessary


getGENERAL_RESOURCE

public SQR_S25_GENERAL_RESOURCE getGENERAL_RESOURCE(int rep)
Returns a specific repetition of GENERAL_RESOURCE (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.

getGENERAL_RESOURCEReps

public int getGENERAL_RESOURCEReps()
Returns the number of existing repetitions of GENERAL_RESOURCE


insertGENERAL_RESOURCE

public void insertGENERAL_RESOURCE(SQR_S25_GENERAL_RESOURCE structure,
                                   int rep)
                            throws HL7Exception
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)

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

insertGENERAL_RESOURCE

public SQR_S25_GENERAL_RESOURCE insertGENERAL_RESOURCE(int rep)
                                                throws HL7Exception
Inserts a specific repetition of GENERAL_RESOURCE (a Group object)

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

removeGENERAL_RESOURCE

public SQR_S25_GENERAL_RESOURCE removeGENERAL_RESOURCE(int rep)
                                                throws HL7Exception
Removes a specific repetition of GENERAL_RESOURCE (a Group object)

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

getPERSONNEL_RESOURCE

public SQR_S25_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE()
Returns the first repetition of PERSONNEL_RESOURCE (a Group object) - creates it if necessary


getPERSONNEL_RESOURCE

public SQR_S25_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE(int rep)
Returns a specific repetition of PERSONNEL_RESOURCE (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.

getPERSONNEL_RESOURCEReps

public int getPERSONNEL_RESOURCEReps()
Returns the number of existing repetitions of PERSONNEL_RESOURCE


insertPERSONNEL_RESOURCE

public void insertPERSONNEL_RESOURCE(SQR_S25_PERSONNEL_RESOURCE structure,
                                     int rep)
                              throws HL7Exception
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)

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

insertPERSONNEL_RESOURCE

public SQR_S25_PERSONNEL_RESOURCE insertPERSONNEL_RESOURCE(int rep)
                                                    throws HL7Exception
Inserts a specific repetition of PERSONNEL_RESOURCE (a Group object)

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

removePERSONNEL_RESOURCE

public SQR_S25_PERSONNEL_RESOURCE removePERSONNEL_RESOURCE(int rep)
                                                    throws HL7Exception
Removes a specific repetition of PERSONNEL_RESOURCE (a Group object)

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

getLOCATION_RESOURCE

public SQR_S25_LOCATION_RESOURCE getLOCATION_RESOURCE()
Returns the first repetition of LOCATION_RESOURCE (a Group object) - creates it if necessary


getLOCATION_RESOURCE

public SQR_S25_LOCATION_RESOURCE getLOCATION_RESOURCE(int rep)
Returns a specific repetition of LOCATION_RESOURCE (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.

getLOCATION_RESOURCEReps

public int getLOCATION_RESOURCEReps()
Returns the number of existing repetitions of LOCATION_RESOURCE


insertLOCATION_RESOURCE

public void insertLOCATION_RESOURCE(SQR_S25_LOCATION_RESOURCE structure,
                                    int rep)
                             throws HL7Exception
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)

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

insertLOCATION_RESOURCE

public SQR_S25_LOCATION_RESOURCE insertLOCATION_RESOURCE(int rep)
                                                  throws HL7Exception
Inserts a specific repetition of LOCATION_RESOURCE (a Group object)

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

removeLOCATION_RESOURCE

public SQR_S25_LOCATION_RESOURCE removeLOCATION_RESOURCE(int rep)
                                                  throws HL7Exception
Removes a specific repetition of LOCATION_RESOURCE (a Group object)

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


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