Пример #1
0
		/// <summary> Returns all repetitions of Sender Organization Name (PES-1).</summary>
		public virtual XON[] getSenderOrganizationName()
		{
			XON[] ret = null;
			try
			{
				Type[] t = this.getField(1);
				ret = new XON[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (XON) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Пример #2
0
		/// <summary> Returns all repetitions of Patient Primary Facility (PD1-3).</summary>
		public virtual XON[] getPatientPrimaryFacility()
		{
			XON[] ret = null;
			try
			{
				Type[] t = this.getField(3);
				ret = new XON[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (XON) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}