public class EDR_Q01 extends AbstractMessage
Represents a EDR_Q01 message structure (see chapter ?). This structure contains the following elements:
log| Constructor and Description |
|---|
EDR_Q01()
Creates a new EDR_Q01 message with DefaultModelClassFactory.
|
EDR_Q01(ModelClassFactory factory)
Creates a new EDR_Q01 message with custom ModelClassFactory.
|
| Modifier and Type | Method and Description |
|---|---|
DSC |
getDSC()
Returns
DSC (Continuation pointer segment) - creates it if necessary
|
DSP |
getDSP()
Returns
the first repetition of
DSP (Display data segment) - creates it if necessary
|
DSP |
getDSP(int rep)
Returns a specific repetition of
DSP (Display data segment) - creates it if necessary
|
List<DSP> |
getDSPAll()
Returns a non-modifiable List containing all current existing repetitions of DSP.
|
int |
getDSPReps()
Returns the number of existing repetitions of DSP
|
ERR |
getERR()
Returns
ERR (Error segment) - creates it if necessary
|
MSA |
getMSA()
Returns
MSA (Message acknowledgement segment) - creates it if necessary
|
MSH |
getMSH()
Returns
MSH (Message header segment) - creates it if necessary
|
QAK |
getQAK()
Returns
QAK (Query Acknowledgement) - creates it if necessary
|
String |
getVersion()
Returns "2.3"
|
void |
insertDSP(DSP structure,
int rep)
Inserts a specific repetition of DSP (Display data segment)
|
DSP |
insertDSP(int rep)
Inserts a specific repetition of DSP (Display data segment)
|
DSP |
removeDSP(int rep)
Removes a specific repetition of DSP (Display data segment)
|
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, setValidationContext, toStringadd, 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, visitNestedStructuresclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequiredisEmpty, provideLocationpublic EDR_Q01()
public EDR_Q01(ModelClassFactory factory)
public String getVersion()
getVersion in interface MessagegetVersion in class AbstractMessagepublic DSP getDSP()
Returns the first repetition of DSP (Display data segment) - creates it if necessary
public DSP getDSP(int rep)
Returns a specific repetition of DSP (Display data segment) - creates it if necessary
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 getDSPReps()
Returns the number of existing repetitions of DSP
public List<DSP> getDSPAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of DSP.
Note that unlike getDSP(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertDSP(DSP structure, int rep) throws HL7Exception
Inserts a specific repetition of DSP (Display data segment)
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public DSP insertDSP(int rep) throws HL7Exception
Inserts a specific repetition of DSP (Display data segment)
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public DSP removeDSP(int rep) throws HL7Exception
Removes a specific repetition of DSP (Display data segment)
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2014 University Health Network. All Rights Reserved.