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