/// <summary> /// Returns first repetition of PPG_PCG_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 PPG_PCG_PATHWAY GetPATHWAY() { PPG_PCG_PATHWAY ret = null; try { ret = (PPG_PCG_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); }
/// <summary> Returns first repetition of PPG_PCG_PATHWAY (a Group object) - creates it if necessary</summary> public virtual PPG_PCG_PATHWAY getPATHWAY() { PPG_PCG_PATHWAY ret = null; try { ret = (PPG_PCG_PATHWAY)this.get_Renamed("PATHWAY"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given PPG_PCG_PATHWAY ///</summary> public void RemovePATHWAY(PPG_PCG_PATHWAY toRemove) { this.RemoveStructure("PATHWAY", toRemove); }