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

            try {
                ret = (OMG_O19_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);
        }
Esempio n. 2
0
 ///<summary>
 ///Removes the given OMG_O19_OBSERVATION
 ///</summary>
 public void RemoveOBSERVATION(OMG_O19_OBSERVATION toRemove)
 {
     this.RemoveStructure("OBSERVATION", toRemove);
 }