///<summary> /// Returns first repetition of PPG_PCJ_GOAL (a Group object) - creates it if necessary ///</summary> public PPG_PCJ_GOAL GetGOAL() { PPG_PCJ_GOAL ret = null; try { ret = (PPG_PCJ_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 PPG_PCJ_GOAL ///</summary> public void RemoveGOAL(PPG_PCJ_GOAL toRemove) { this.RemoveStructure("GOAL", toRemove); }