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