/// <summary> /// Returns first repetition of PPP_PCB_GOAL (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The goal. </returns> public PPP_PCB_GOAL GetGOAL() { PPP_PCB_GOAL ret = null; try { ret = (PPP_PCB_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> ///Removes the given PPP_PCB_GOAL ///</summary> public void RemoveGOAL(PPP_PCB_GOAL toRemove) { this.RemoveStructure("GOAL", toRemove); }