///<summary> /// Returns first repetition of PGL_PC6_GOAL (a Group object) - creates it if necessary ///</summary> public PGL_PC6_GOAL GetGOAL() { PGL_PC6_GOAL ret = null; try { ret = (PGL_PC6_GOAL)this.GetStructure("GOAL"); } 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); }
/// <summary> Returns first repetition of PGL_PC6_GOAL (a Group object) - creates it if necessary</summary> public virtual PGL_PC6_GOAL getGOAL() { PGL_PC6_GOAL ret = null; try { ret = (PGL_PC6_GOAL) this.get_Renamed("GOAL"); } catch (NuGenHL7Exception) { throw new Exception(); } return ret; }
///<summary> ///Removes the given PGL_PC6_GOAL ///</summary> public void RemoveGOAL(PGL_PC6_GOAL toRemove) { this.RemoveStructure("GOAL", toRemove); }