예제 #1
0
파일: REF_I12.cs 프로젝트: nHapiNET/nHapi
	///<summary>
	/// Returns  first repetition of REF_I12_PROVIDER_CONTACT (a Group object) - creates it if necessary
	///</summary>
	public REF_I12_PROVIDER_CONTACT GetPROVIDER_CONTACT() {
	   REF_I12_PROVIDER_CONTACT ret = null;
	   try {
	      ret = (REF_I12_PROVIDER_CONTACT)this.GetStructure("PROVIDER_CONTACT");
	   } 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;
	}
예제 #2
0
        /// <summary> Returns  first repetition of REF_I12_PROVIDER_CONTACT (a Group object) - creates it if necessary</summary>
        public virtual REF_I12_PROVIDER_CONTACT getPROVIDER_CONTACT()
        {
            REF_I12_PROVIDER_CONTACT ret = null;

            try
            {
                ret = (REF_I12_PROVIDER_CONTACT)this.get_Renamed("PROVIDER_CONTACT");
            }
            catch (NuGenHL7Exception)
            {
                throw new Exception();
            }
            return(ret);
        }
예제 #3
0
파일: REF_I12.cs 프로젝트: nHapiNET/nHapi
 ///<summary>
 ///Removes the given REF_I12_PROVIDER_CONTACT
 ///</summary>
 public void RemovePROVIDER_CONTACT(REF_I12_PROVIDER_CONTACT toRemove)
 {
     this.RemoveStructure("PROVIDER_CONTACT", toRemove);
 }