/// <summary> /// Returns first repetition of DFT_P03_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 DFT_P03_OBSERVATION GetOBSERVATION() { DFT_P03_OBSERVATION ret = null; try { ret = (DFT_P03_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 DFT_P03_OBSERVATION ///</summary> public void RemoveOBSERVATION(DFT_P03_OBSERVATION toRemove) { this.RemoveStructure("OBSERVATION", toRemove); }