///<summary> /// Returns first repetition of OMQ_O42_ORDER_DOCUMENT (a Group object) - creates it if necessary ///</summary> public OMQ_O42_ORDER_DOCUMENT GetORDER_DOCUMENT() { OMQ_O42_ORDER_DOCUMENT ret = null; try { ret = (OMQ_O42_ORDER_DOCUMENT)this.GetStructure("ORDER_DOCUMENT"); } 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> ///Removes the given OMQ_O42_ORDER_DOCUMENT ///</summary> public void RemoveORDER_DOCUMENT(OMQ_O42_ORDER_DOCUMENT toRemove) { this.RemoveStructure("ORDER_DOCUMENT", toRemove); }