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

            try {
                ret = (OML_O39_OBSERVATION)this.GetStructure("OBSERVATION");
            } 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 OML_O39_OBSERVATION
 ///</summary>
 public void RemoveOBSERVATION(OML_O39_OBSERVATION toRemove)
 {
     this.RemoveStructure("OBSERVATION", toRemove);
 }