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

            try {
                ret = (ORL_O36_SPECIMEN_CONTAINER)this.GetStructure("SPECIMEN_CONTAINER");
            } 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);
        }
Exemple #2
0
 ///<summary>
 ///Removes the given ORL_O36_SPECIMEN_CONTAINER
 ///</summary>
 public void RemoveSPECIMEN_CONTAINER(ORL_O36_SPECIMEN_CONTAINER toRemove)
 {
     this.RemoveStructure("SPECIMEN_CONTAINER", toRemove);
 }