|
||||||||||
| 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.SUR_P09_FACILITY
public class SUR_P09_FACILITY
Represents a SUR_P09_FACILITY 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 | |
|---|---|
SUR_P09_FACILITY(Group parent,
ModelClassFactory factory)
Creates a new SUR_P09_FACILITY group |
|
| Method Summary | |
|---|---|
FAC |
getFAC()
Returns FAC (Facility) - creates it if necessary |
SUR_P09_FACILITY_DETAIL |
getFACILITY_DETAIL()
Returns the first repetition of FACILITY_DETAIL (a Group object) - creates it if necessary |
SUR_P09_FACILITY_DETAIL |
getFACILITY_DETAIL(int rep)
Returns a specific repetition of FACILITY_DETAIL (a Group object) - creates it if necessary |
int |
getFACILITY_DETAILReps()
Returns the number of existing repetitions of FACILITY_DETAIL |
SUR_P09_PRODUCT |
getPRODUCT()
Returns the first repetition of PRODUCT (a Group object) - creates it if necessary |
SUR_P09_PRODUCT |
getPRODUCT(int rep)
Returns a specific repetition of PRODUCT (a Group object) - creates it if necessary |
int |
getPRODUCTReps()
Returns the number of existing repetitions of PRODUCT |
PSH |
getPSH()
Returns PSH (Product Summary Header) - creates it if necessary |
String |
getVersion()
Returns "2.4" |
SUR_P09_FACILITY_DETAIL |
insertFACILITY_DETAIL(int rep)
Inserts a specific repetition of FACILITY_DETAIL (a Group object) |
void |
insertFACILITY_DETAIL(SUR_P09_FACILITY_DETAIL structure,
int rep)
Inserts a specific repetition of FACILITY_DETAIL (a Group object) |
SUR_P09_PRODUCT |
insertPRODUCT(int rep)
Inserts a specific repetition of PRODUCT (a Group object) |
void |
insertPRODUCT(SUR_P09_PRODUCT structure,
int rep)
Inserts a specific repetition of PRODUCT (a Group object) |
SUR_P09_FACILITY_DETAIL |
removeFACILITY_DETAIL(int rep)
Removes a specific repetition of FACILITY_DETAIL (a Group object) |
SUR_P09_PRODUCT |
removePRODUCT(int rep)
Removes a specific repetition of PRODUCT (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 |
|---|
public SUR_P09_FACILITY(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public String getVersion()
public FAC getFAC()
public SUR_P09_PRODUCT getPRODUCT()
public SUR_P09_PRODUCT getPRODUCT(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 getPRODUCTReps()
public void insertPRODUCT(SUR_P09_PRODUCT structure,
int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public SUR_P09_PRODUCT insertPRODUCT(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public SUR_P09_PRODUCT removePRODUCT(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public PSH getPSH()
public SUR_P09_FACILITY_DETAIL getFACILITY_DETAIL()
public SUR_P09_FACILITY_DETAIL getFACILITY_DETAIL(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 getFACILITY_DETAILReps()
public void insertFACILITY_DETAIL(SUR_P09_FACILITY_DETAIL structure,
int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public SUR_P09_FACILITY_DETAIL insertFACILITY_DETAIL(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)
public SUR_P09_FACILITY_DETAIL removeFACILITY_DETAIL(int rep)
throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||