Ejemplo n.º 1
0
        /// <summary>
        /// Returns  first repetition of PPT_PCL_PATHWAY (a Group object) - creates it if necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The pathway. </returns>

        public PPT_PCL_PATHWAY GetPATHWAY()
        {
            PPT_PCL_PATHWAY ret = null;

            try {
                ret = (PPT_PCL_PATHWAY)this.GetStructure("PATHWAY");
            } 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);
        }
Ejemplo n.º 2
0
 ///<summary>
 ///Removes the given PPT_PCL_PATHWAY
 ///</summary>
 public void RemovePATHWAY(PPT_PCL_PATHWAY toRemove)
 {
     this.RemoveStructure("PATHWAY", toRemove);
 }