///<summary>
        /// Returns  first repetition of OMP_O09_COMPONENT (a Group object) - creates it if necessary
        ///</summary>
        public OMP_O09_COMPONENT GetCOMPONENT()
        {
            OMP_O09_COMPONENT ret = null;

            try {
                ret = (OMP_O09_COMPONENT)this.GetStructure("COMPONENT");
            } 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);
        }
예제 #2
0
 ///<summary>
 ///Removes the given OMP_O09_COMPONENT
 ///</summary>
 public void RemoveCOMPONENT(OMP_O09_COMPONENT toRemove)
 {
     this.RemoveStructure("COMPONENT", toRemove);
 }