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