Пример #1
0
        ///<summary>
        /// Returns  first repetition of PPP_PCB_GOAL (a Group object) - creates it if necessary
        ///</summary>
        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);
        }
Пример #2
0
 ///<summary>
 ///Removes the given PPP_PCB_GOAL
 ///</summary>
 public void RemoveGOAL(PPP_PCB_GOAL toRemove)
 {
     this.RemoveStructure("GOAL", toRemove);
 }