|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractGroup
ca.uhn.hl7v2.model.v24.group.RRA_O18_ADMINISTRATION
public class RRA_O18_ADMINISTRATION
Represents a RRA_O18_ADMINISTRATION 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:
| Constructor Summary | |
|---|---|
RRA_O18_ADMINISTRATION(Group parent,
ModelClassFactory factory)
Creates a new RRA_O18_ADMINISTRATION group |
|
| Method Summary | |
|---|---|
RXA |
getRXA()
Returns the first repetition of RXA (Pharmacy/Treatment Administration) - creates it if necessary |
RXA |
getRXA(int rep)
Returns a specific repetition of RXA (Pharmacy/Treatment Administration) - creates it if necessary |
int |
getRXAReps()
Returns the number of existing repetitions of RXA |
RXR |
getRXR()
Returns RXR (Pharmacy/Treatment Route) - creates it if necessary |
String |
getVersion()
Returns "2.4" |
RXA |
insertRXA(int rep)
Inserts a specific repetition of RXA (Pharmacy/Treatment Administration) |
void |
insertRXA(RXA structure,
int rep)
Inserts a specific repetition of RXA (Pharmacy/Treatment Administration) |
RXA |
removeRXA(int rep)
Removes a specific repetition of RXA (Pharmacy/Treatment Administration) |
| 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 |
|---|
public RRA_O18_ADMINISTRATION(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public String getVersion()
public RXA getRXA()
public RXA getRXA(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getRXAReps()
public void insertRXA(RXA structure,
int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public RXA insertRXA(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public RXA removeRXA(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public RXR getRXR()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||