Ejemplo n.º 1
0
        ///<summary>
        /// Returns  first repetition of RDS_O13_COMPONENT (a Group object) - creates it if necessary
        ///</summary>
        public RDS_O13_COMPONENT GetCOMPONENT()
        {
            RDS_O13_COMPONENT ret = null;

            try {
                ret = (RDS_O13_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);
        }
Ejemplo n.º 2
0
 ///<summary>
 ///Removes the given RDS_O13_COMPONENT
 ///</summary>
 public void RemoveCOMPONENT(RDS_O13_COMPONENT toRemove)
 {
     this.RemoveStructure("COMPONENT", toRemove);
 }