/// <summary> /// Returns first repetition of DFT_P11_FINANCIAL_INSURANCE (a Group object) - creates it if /// necessary. /// </summary> /// /// <exception cref="Exception"> Thrown when an exception error condition occurs. </exception> /// /// <returns> The financial insurance. </returns> public DFT_P11_FINANCIAL_INSURANCE GetFINANCIAL_INSURANCE() { DFT_P11_FINANCIAL_INSURANCE ret = null; try { ret = (DFT_P11_FINANCIAL_INSURANCE)this.GetStructure("FINANCIAL_INSURANCE"); } 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 DFT_P11_FINANCIAL_INSURANCE ///</summary> public void RemoveFINANCIAL_INSURANCE(DFT_P11_FINANCIAL_INSURANCE toRemove) { this.RemoveStructure("FINANCIAL_INSURANCE", toRemove); }