Esempio n. 1
0
        /// <summary>
        /// Returns  first repetition of PTR_PCF_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 PTR_PCF_PATHWAY GetPATHWAY()
        {
            PTR_PCF_PATHWAY ret = null;

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