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

            try {
                ret = (OML_O35_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);
        }
示例#2
0
 ///<summary>
 ///Removes the given OML_O35_OBSERVATION
 ///</summary>
 public void RemoveOBSERVATION(OML_O35_OBSERVATION toRemove)
 {
     this.RemoveStructure("OBSERVATION", toRemove);
 }