public class BTS extends AbstractSegment
Represents an HL7 BTS message segment (BATCH TRAILER). This segment has the following fields:
log| Constructor and Description |
|---|
BTS(Group parent,
ModelClassFactory factory)
Creates a new BTS segment
|
| Modifier and Type | Method and Description |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ST |
getBatchComment()
Returns
BTS-2: "Batch Comment" - creates it if necessary
|
ST |
getBatchMessageCount()
Returns
BTS-1: "Batch Message Count" - creates it if necessary
|
CM_BATCH_TOTAL[] |
getBatchTotals()
Returns all repetitions of Batch Totals (BTS-3).
|
CM_BATCH_TOTAL |
getBatchTotals(int rep)
Returns a specific repetition of
BTS-3: "Batch Totals" - creates it if necessary
|
int |
getBatchTotalsReps()
Returns a count of the current number of repetitions of Batch Totals (BTS-3).
|
ST |
getBts1_BatchMessageCount()
Returns
BTS-1: "Batch Message Count" - creates it if necessary
|
ST |
getBts2_BatchComment()
Returns
BTS-2: "Batch Comment" - creates it if necessary
|
CM_BATCH_TOTAL[] |
getBts3_BatchTotals()
Returns all repetitions of Batch Totals (BTS-3).
|
CM_BATCH_TOTAL |
getBts3_BatchTotals(int rep)
Returns a specific repetition of
BTS-3: "Batch Totals" - creates it if necessary
|
int |
getBts3_BatchTotalsReps()
Returns a count of the current number of repetitions of Batch Totals (BTS-3).
|
CM_BATCH_TOTAL |
insertBatchTotals(int rep)
Inserts a repetition of
BTS-3: "Batch Totals" at a specific index
|
CM_BATCH_TOTAL |
insertBts3_BatchTotals(int rep)
Inserts a repetition of
BTS-3: "Batch Totals" at a specific index
|
CM_BATCH_TOTAL |
removeBatchTotals(int rep)
Removes a repetition of
BTS-3: "Batch Totals" at a specific index
|
CM_BATCH_TOTAL |
removeBts3_BatchTotals(int rep)
Removes a repetition of
BTS-3: "Batch Totals" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitiongetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic BTS(Group parent, ModelClassFactory factory)
public ST getBatchMessageCount()
public ST getBts1_BatchMessageCount()
public ST getBatchComment()
public ST getBts2_BatchComment()
public CM_BATCH_TOTAL[] getBatchTotals()
public CM_BATCH_TOTAL[] getBts3_BatchTotals()
public int getBatchTotalsReps()
public CM_BATCH_TOTAL getBatchTotals(int rep)
rep - The repetition index (0-indexed)public CM_BATCH_TOTAL getBts3_BatchTotals(int rep)
rep - The repetition index (0-indexed)public int getBts3_BatchTotalsReps()
public CM_BATCH_TOTAL insertBatchTotals(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public CM_BATCH_TOTAL insertBts3_BatchTotals(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public CM_BATCH_TOTAL removeBatchTotals(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)public CM_BATCH_TOTAL removeBts3_BatchTotals(int rep) throws HL7Exception
rep - The repetition index (0-indexed)HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegmentCopyright © 2001-2014 University Health Network. All Rights Reserved.