/// <summary> /// Returns first repetition of RQA_I08_OBSERVATION (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The observation. </returns> public RQA_I08_OBSERVATION GetOBSERVATION() { RQA_I08_OBSERVATION ret = null; try { ret = (RQA_I08_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> Returns first repetition of RQA_I08_OBSERVATION (a Group object) - creates it if necessary</summary> public virtual RQA_I08_OBSERVATION getOBSERVATION() { RQA_I08_OBSERVATION ret = null; try { ret = (RQA_I08_OBSERVATION)this.get_Renamed("OBSERVATION"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given RQA_I08_OBSERVATION ///</summary> public void RemoveOBSERVATION(RQA_I08_OBSERVATION toRemove) { this.RemoveStructure("OBSERVATION", toRemove); }