Esempio n. 1
0
        ///<summary>
        /// Returns  first repetition of PPG_PCG_GOAL (a Group object) - creates it if necessary
        ///</summary>
        public PPG_PCG_GOAL GetGOAL()
        {
            PPG_PCG_GOAL ret = null;

            try {
                ret = (PPG_PCG_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);
        }
Esempio n. 2
0
 ///<summary>
 ///Removes the given PPG_PCG_GOAL
 ///</summary>
 public void RemoveGOAL(PPG_PCG_GOAL toRemove)
 {
     this.RemoveStructure("GOAL", toRemove);
 }