/// <summary> /// Returns first repetition of CSU_C11_STUDY_PHARM (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The study pharm. </returns> public CSU_C11_STUDY_PHARM GetSTUDY_PHARM() { CSU_C11_STUDY_PHARM ret = null; try { ret = (CSU_C11_STUDY_PHARM)this.GetStructure("STUDY_PHARM"); } 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 CSU_C11_STUDY_PHARM ///</summary> public void RemoveSTUDY_PHARM(CSU_C11_STUDY_PHARM toRemove) { this.RemoveStructure("STUDY_PHARM", toRemove); }