/// <summary>
        /// Returns  first repetition of SUR_P09_FACILITY_DETAIL (a Group object) - creates it if
        /// necessary.
        /// </summary>
        ///
        /// <exception cref="Exception">    Thrown when an exception error condition occurs. </exception>
        ///
        /// <returns>   The facility detail. </returns>

        public SUR_P09_FACILITY_DETAIL GetFACILITY_DETAIL()
        {
            SUR_P09_FACILITY_DETAIL ret = null;

            try {
                ret = (SUR_P09_FACILITY_DETAIL)this.GetStructure("FACILITY_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);
        }
Exemple #2
0
 ///<summary>
 ///Removes the given SUR_P09_FACILITY_DETAIL
 ///</summary>
 public void RemoveFACILITY_DETAIL(SUR_P09_FACILITY_DETAIL toRemove)
 {
     this.RemoveStructure("FACILITY_DETAIL", toRemove);
 }