/// <summary> /// Returns first repetition of DFT_P03_FINANCIAL (a Group object) - creates it if necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The financial. </returns> public DFT_P03_FINANCIAL GetFINANCIAL() { DFT_P03_FINANCIAL ret = null; try { ret = (DFT_P03_FINANCIAL)this.GetStructure("FINANCIAL"); } 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> Returns first repetition of DFT_P03_FINANCIAL (a Group object) - creates it if necessary</summary> public virtual DFT_P03_FINANCIAL getFINANCIAL() { DFT_P03_FINANCIAL ret = null; try { ret = (DFT_P03_FINANCIAL)this.get_Renamed("FINANCIAL"); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
///<summary> ///Removes the given DFT_P03_FINANCIAL ///</summary> public void RemoveFINANCIAL(DFT_P03_FINANCIAL toRemove) { this.RemoveStructure("FINANCIAL", toRemove); }