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