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