public class TQ1 extends AbstractSegment
Represents an HL7 TQ1 message segment (Timing/Quantity). This segment has the following fields:
log
Constructor and Description |
---|
TQ1(Group parent,
ModelClassFactory factory)
Creates a new TQ1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TX |
getConditionText()
Returns
TQ1-10: "Condition text" - creates it if necessary
|
ID |
getConjunction()
Returns
TQ1-12: "Conjunction" - creates it if necessary
|
DTM |
getEndDateTime()
Returns
TQ1-8: "End date/time" - creates it if necessary
|
TM[] |
getExplicitTime()
Returns all repetitions of Explicit Time (TQ1-4).
|
TM |
getExplicitTime(int rep)
Returns a specific repetition of
TQ1-4: "Explicit Time" - creates it if necessary
|
int |
getExplicitTimeReps()
Returns a count of the current number of repetitions of Explicit Time (TQ1-4).
|
CQ |
getOccurrenceDuration()
Returns
TQ1-13: "Occurrence duration" - creates it if necessary
|
CWE[] |
getPriority()
Returns all repetitions of Priority (TQ1-9).
|
CWE |
getPriority(int rep)
Returns a specific repetition of
TQ1-9: "Priority" - creates it if necessary
|
int |
getPriorityReps()
Returns a count of the current number of repetitions of Priority (TQ1-9).
|
CQ |
getQuantity()
Returns
TQ1-2: "Quantity" - creates it if necessary
|
CQ[] |
getRelativeTimeAndUnits()
Returns all repetitions of Relative Time and Units (TQ1-5).
|
CQ |
getRelativeTimeAndUnits(int rep)
Returns a specific repetition of
TQ1-5: "Relative Time and Units" - creates it if necessary
|
int |
getRelativeTimeAndUnitsReps()
Returns a count of the current number of repetitions of Relative Time and Units (TQ1-5).
|
RPT[] |
getRepeatPattern()
Returns all repetitions of Repeat Pattern (TQ1-3).
|
RPT |
getRepeatPattern(int rep)
Returns a specific repetition of
TQ1-3: "Repeat Pattern" - creates it if necessary
|
int |
getRepeatPatternReps()
Returns a count of the current number of repetitions of Repeat Pattern (TQ1-3).
|
CQ |
getServiceDuration()
Returns
TQ1-6: "Service Duration" - creates it if necessary
|
SI |
getSetIDTQ1()
Returns
TQ1-1: "Set ID - TQ1" - creates it if necessary
|
DTM |
getStartDateTime()
Returns
TQ1-7: "Start date/time" - creates it if necessary
|
TX |
getTextInstruction()
Returns
TQ1-11: "Text instruction" - creates it if necessary
|
NM |
getTotalOccurrences()
Returns
TQ1-14: "Total occurrences" - creates it if necessary
|
SI |
getTq11_SetIDTQ1()
Returns
TQ1-1: "Set ID - TQ1" - creates it if necessary
|
TX |
getTq110_ConditionText()
Returns
TQ1-10: "Condition text" - creates it if necessary
|
TX |
getTq111_TextInstruction()
Returns
TQ1-11: "Text instruction" - creates it if necessary
|
ID |
getTq112_Conjunction()
Returns
TQ1-12: "Conjunction" - creates it if necessary
|
CQ |
getTq113_OccurrenceDuration()
Returns
TQ1-13: "Occurrence duration" - creates it if necessary
|
NM |
getTq114_TotalOccurrences()
Returns
TQ1-14: "Total occurrences" - creates it if necessary
|
CQ |
getTq12_Quantity()
Returns
TQ1-2: "Quantity" - creates it if necessary
|
RPT[] |
getTq13_RepeatPattern()
Returns all repetitions of Repeat Pattern (TQ1-3).
|
RPT |
getTq13_RepeatPattern(int rep)
Returns a specific repetition of
TQ1-3: "Repeat Pattern" - creates it if necessary
|
int |
getTq13_RepeatPatternReps()
Returns a count of the current number of repetitions of Repeat Pattern (TQ1-3).
|
TM[] |
getTq14_ExplicitTime()
Returns all repetitions of Explicit Time (TQ1-4).
|
TM |
getTq14_ExplicitTime(int rep)
Returns a specific repetition of
TQ1-4: "Explicit Time" - creates it if necessary
|
int |
getTq14_ExplicitTimeReps()
Returns a count of the current number of repetitions of Explicit Time (TQ1-4).
|
CQ[] |
getTq15_RelativeTimeAndUnits()
Returns all repetitions of Relative Time and Units (TQ1-5).
|
CQ |
getTq15_RelativeTimeAndUnits(int rep)
Returns a specific repetition of
TQ1-5: "Relative Time and Units" - creates it if necessary
|
int |
getTq15_RelativeTimeAndUnitsReps()
Returns a count of the current number of repetitions of Relative Time and Units (TQ1-5).
|
CQ |
getTq16_ServiceDuration()
Returns
TQ1-6: "Service Duration" - creates it if necessary
|
DTM |
getTq17_StartDateTime()
Returns
TQ1-7: "Start date/time" - creates it if necessary
|
DTM |
getTq18_EndDateTime()
Returns
TQ1-8: "End date/time" - creates it if necessary
|
CWE[] |
getTq19_Priority()
Returns all repetitions of Priority (TQ1-9).
|
CWE |
getTq19_Priority(int rep)
Returns a specific repetition of
TQ1-9: "Priority" - creates it if necessary
|
int |
getTq19_PriorityReps()
Returns a count of the current number of repetitions of Priority (TQ1-9).
|
TM |
insertExplicitTime(int rep)
Inserts a repetition of
TQ1-4: "Explicit Time" at a specific index
|
CWE |
insertPriority(int rep)
Inserts a repetition of
TQ1-9: "Priority" at a specific index
|
CQ |
insertRelativeTimeAndUnits(int rep)
Inserts a repetition of
TQ1-5: "Relative Time and Units" at a specific index
|
RPT |
insertRepeatPattern(int rep)
Inserts a repetition of
TQ1-3: "Repeat Pattern" at a specific index
|
RPT |
insertTq13_RepeatPattern(int rep)
Inserts a repetition of
TQ1-3: "Repeat Pattern" at a specific index
|
TM |
insertTq14_ExplicitTime(int rep)
Inserts a repetition of
TQ1-4: "Explicit Time" at a specific index
|
CQ |
insertTq15_RelativeTimeAndUnits(int rep)
Inserts a repetition of
TQ1-5: "Relative Time and Units" at a specific index
|
CWE |
insertTq19_Priority(int rep)
Inserts a repetition of
TQ1-9: "Priority" at a specific index
|
TM |
removeExplicitTime(int rep)
Removes a repetition of
TQ1-4: "Explicit Time" at a specific index
|
CWE |
removePriority(int rep)
Removes a repetition of
TQ1-9: "Priority" at a specific index
|
CQ |
removeRelativeTimeAndUnits(int rep)
Removes a repetition of
TQ1-5: "Relative Time and Units" at a specific index
|
RPT |
removeRepeatPattern(int rep)
Removes a repetition of
TQ1-3: "Repeat Pattern" at a specific index
|
RPT |
removeTq13_RepeatPattern(int rep)
Removes a repetition of
TQ1-3: "Repeat Pattern" at a specific index
|
TM |
removeTq14_ExplicitTime(int rep)
Removes a repetition of
TQ1-4: "Explicit Time" at a specific index
|
CQ |
removeTq15_RelativeTimeAndUnits(int rep)
Removes a repetition of
TQ1-5: "Relative Time and Units" at a specific index
|
CWE |
removeTq19_Priority(int rep)
Removes a repetition of
TQ1-9: "Priority" 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 TQ1(Group parent, ModelClassFactory factory)
public SI getSetIDTQ1()
public SI getTq11_SetIDTQ1()
public CQ getQuantity()
public CQ getTq12_Quantity()
public RPT[] getRepeatPattern()
public RPT[] getTq13_RepeatPattern()
public int getRepeatPatternReps()
public RPT getRepeatPattern(int rep)
rep
- The repetition index (0-indexed)public RPT getTq13_RepeatPattern(int rep)
rep
- The repetition index (0-indexed)public int getTq13_RepeatPatternReps()
public RPT insertRepeatPattern(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 RPT insertTq13_RepeatPattern(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 RPT removeRepeatPattern(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 RPT removeTq13_RepeatPattern(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 TM[] getExplicitTime()
public TM[] getTq14_ExplicitTime()
public int getExplicitTimeReps()
public TM getExplicitTime(int rep)
rep
- The repetition index (0-indexed)public TM getTq14_ExplicitTime(int rep)
rep
- The repetition index (0-indexed)public int getTq14_ExplicitTimeReps()
public TM insertExplicitTime(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 TM insertTq14_ExplicitTime(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 TM removeExplicitTime(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 TM removeTq14_ExplicitTime(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 CQ[] getRelativeTimeAndUnits()
public CQ[] getTq15_RelativeTimeAndUnits()
public int getRelativeTimeAndUnitsReps()
public CQ getRelativeTimeAndUnits(int rep)
rep
- The repetition index (0-indexed)public CQ getTq15_RelativeTimeAndUnits(int rep)
rep
- The repetition index (0-indexed)public int getTq15_RelativeTimeAndUnitsReps()
public CQ insertRelativeTimeAndUnits(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 CQ insertTq15_RelativeTimeAndUnits(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 CQ removeRelativeTimeAndUnits(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 CQ removeTq15_RelativeTimeAndUnits(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 CQ getServiceDuration()
public CQ getTq16_ServiceDuration()
public DTM getStartDateTime()
public DTM getTq17_StartDateTime()
public DTM getEndDateTime()
public DTM getTq18_EndDateTime()
public CWE[] getPriority()
public CWE[] getTq19_Priority()
public int getPriorityReps()
public CWE getPriority(int rep)
rep
- The repetition index (0-indexed)public CWE getTq19_Priority(int rep)
rep
- The repetition index (0-indexed)public int getTq19_PriorityReps()
public CWE insertPriority(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 CWE insertTq19_Priority(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 CWE removePriority(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 CWE removeTq19_Priority(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 TX getConditionText()
public TX getTq110_ConditionText()
public TX getTextInstruction()
public TX getTq111_TextInstruction()
public ID getConjunction()
public ID getTq112_Conjunction()
public CQ getOccurrenceDuration()
public CQ getTq113_OccurrenceDuration()
public NM getTotalOccurrences()
public NM getTq114_TotalOccurrences()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.