///<summary>
        /// Returns  first repetition of CCR_I16_CLINICAL_HISTORY_DETAIL (a Group object) - creates it if necessary
        ///</summary>
        public CCR_I16_CLINICAL_HISTORY_DETAIL GetCLINICAL_HISTORY_DETAIL()
        {
            CCR_I16_CLINICAL_HISTORY_DETAIL ret = null;

            try {
                ret = (CCR_I16_CLINICAL_HISTORY_DETAIL)this.GetStructure("CLINICAL_HISTORY_DETAIL");
            } 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 CCR_I16_CLINICAL_HISTORY_DETAIL
 ///</summary>
 public void RemoveCLINICAL_HISTORY_DETAIL(CCR_I16_CLINICAL_HISTORY_DETAIL toRemove)
 {
     this.RemoveStructure("CLINICAL_HISTORY_DETAIL", toRemove);
 }