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