public TQ2 GetTQ2() {
TQ2 ret = null;
try {
ret = (TQ2)this.GetStructure("TQ2");
} catch(HL7Exception e) {
HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
throw new System.Exception("An unexpected error ocurred",e);
}
return ret;
}