///<summary> /// Returns first repetition of CSU_C12_STUDY_PHARM (a Group object) - creates it if necessary ///</summary> public CSU_C12_STUDY_PHARM GetSTUDY_PHARM() { CSU_C12_STUDY_PHARM ret = null; try { ret = (CSU_C12_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_C12_STUDY_PHARM ///</summary> public void RemoveSTUDY_PHARM(CSU_C12_STUDY_PHARM toRemove) { this.RemoveStructure("STUDY_PHARM", toRemove); }