public class BTS extends AbstractSegment
Represents an HL7 BTS message segment (BTS - batch trailer segment). 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
|
NM[] |
getBatchTotals()
Returns all repetitions of Batch Totals (BTS-3).
|
NM |
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
|
NM[] |
getBts3_BatchTotals()
Returns all repetitions of Batch Totals (BTS-3).
|
NM |
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).
|
NM |
insertBatchTotals(int rep)
Inserts a repetition of
BTS-3: "Batch Totals" at a specific index
|
NM |
insertBts3_BatchTotals(int rep)
Inserts a repetition of
BTS-3: "Batch Totals" at a specific index
|
NM |
removeBatchTotals(int rep)
Removes a repetition of
BTS-3: "Batch Totals" at a specific index
|
NM |
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, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public BTS(Group parent, ModelClassFactory factory)
public ST getBatchMessageCount()
public ST getBts1_BatchMessageCount()
public ST getBatchComment()
public ST getBts2_BatchComment()
public NM[] getBatchTotals()
public NM[] getBts3_BatchTotals()
public int getBatchTotalsReps()
public NM getBatchTotals(int rep)
rep
- The repetition index (0-indexed)public NM getBts3_BatchTotals(int rep)
rep
- The repetition index (0-indexed)public int getBts3_BatchTotalsReps()
public NM 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 NM 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 NM 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 NM 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 AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.