///<summary> /// Returns first repetition of ORU_R30_OBSERVATION (a Group object) - creates it if necessary ///</summary> public ORU_R30_OBSERVATION GetOBSERVATION() { ORU_R30_OBSERVATION ret = null; try { ret = (ORU_R30_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 ORU_R30_OBSERVATION (a Group object) - creates it if necessary</summary> public virtual ORU_R30_OBSERVATION getOBSERVATION() { ORU_R30_OBSERVATION ret = null; try { ret = (ORU_R30_OBSERVATION)this.get_Renamed("OBSERVATION"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given ORU_R30_OBSERVATION ///</summary> public void RemoveOBSERVATION(ORU_R30_OBSERVATION toRemove) { this.RemoveStructure("OBSERVATION", toRemove); }