示例#1
0
        ///<summary>
        /// Returns  first repetition of SUR_P09_FACILITY_DETAIL (a Group object) - creates it if necessary
        ///</summary>
        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 occurred", e);
            }
            return(ret);
        }
示例#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);
 }