public class SUR_P09_FACPSHPDCPSHFACPDCNTE extends AbstractGroup
Represents a SUR_P09_FACPSHPDCPSHFACPDCNTE 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:
log
Constructor and Description |
---|
SUR_P09_FACPSHPDCPSHFACPDCNTE(Group parent,
ModelClassFactory factory)
Creates a new SUR_P09_FACPSHPDCPSHFACPDCNTE group
|
Modifier and Type | Method and Description |
---|---|
FAC |
getFAC()
Returns
FAC (FAC - facility segment) - creates it if necessary
|
SUR_P09_FACPDCNTE |
getFACPDCNTE()
Returns
the first repetition of
FACPDCNTE (a Group object) - creates it if necessary
|
SUR_P09_FACPDCNTE |
getFACPDCNTE(int rep)
Returns a specific repetition of
FACPDCNTE (a Group object) - creates it if necessary
|
List<SUR_P09_FACPDCNTE> |
getFACPDCNTEAll()
Returns a non-modifiable List containing all current existing repetitions of FACPDCNTE.
|
int |
getFACPDCNTEReps()
Returns the number of existing repetitions of FACPDCNTE
|
PSH |
getPSH()
Returns
PSH (PSH - product summary header segment) - creates it if necessary
|
SUR_P09_PSHPDC |
getPSHPDC()
Returns
the first repetition of
PSHPDC (a Group object) - creates it if necessary
|
SUR_P09_PSHPDC |
getPSHPDC(int rep)
Returns a specific repetition of
PSHPDC (a Group object) - creates it if necessary
|
List<SUR_P09_PSHPDC> |
getPSHPDCAll()
Returns a non-modifiable List containing all current existing repetitions of PSHPDC.
|
int |
getPSHPDCReps()
Returns the number of existing repetitions of PSHPDC
|
String |
getVersion()
Returns "2.3.1"
|
SUR_P09_FACPDCNTE |
insertFACPDCNTE(int rep)
Inserts a specific repetition of FACPDCNTE (a Group object)
|
void |
insertFACPDCNTE(SUR_P09_FACPDCNTE structure,
int rep)
Inserts a specific repetition of FACPDCNTE (a Group object)
|
SUR_P09_PSHPDC |
insertPSHPDC(int rep)
Inserts a specific repetition of PSHPDC (a Group object)
|
void |
insertPSHPDC(SUR_P09_PSHPDC structure,
int rep)
Inserts a specific repetition of PSHPDC (a Group object)
|
SUR_P09_FACPDCNTE |
removeFACPDCNTE(int rep)
Removes a specific repetition of FACPDCNTE (a Group object)
|
SUR_P09_PSHPDC |
removePSHPDC(int rep)
Removes a specific repetition of PSHPDC (a Group object)
|
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public SUR_P09_FACPSHPDCPSHFACPDCNTE(Group parent, ModelClassFactory factory)
public String getVersion()
public SUR_P09_PSHPDC getPSHPDC()
public SUR_P09_PSHPDC getPSHPDC(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 getPSHPDCReps()
public List<SUR_P09_PSHPDC> getPSHPDCAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PSHPDC.
Note that unlike getPSHPDC()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPSHPDC(SUR_P09_PSHPDC structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SUR_P09_PSHPDC insertPSHPDC(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SUR_P09_PSHPDC removePSHPDC(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public PSH getPSH()
public SUR_P09_FACPDCNTE getFACPDCNTE()
public SUR_P09_FACPDCNTE getFACPDCNTE(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 getFACPDCNTEReps()
public List<SUR_P09_FACPDCNTE> getFACPDCNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of FACPDCNTE.
Note that unlike getFACPDCNTE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertFACPDCNTE(SUR_P09_FACPDCNTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SUR_P09_FACPDCNTE insertFACPDCNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SUR_P09_FACPDCNTE removeFACPDCNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.