Example #1
0
 /// <summary> Creates a PIP.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public PIP(Message message) : base(message)
 {
     data    = new Type[5];
     data[0] = new CE(message);
     data[1] = new CE(message);
     data[2] = new DT(message);
     data[3] = new DT(message);
     data[4] = new EI(message);
 }
Example #2
0
		/// <summary> Returns all repetitions of External Referral Identifier (RF1-11).</summary>
		public virtual EI[] getExternalReferralIdentifier()
		{
			EI[] ret = null;
			try
			{
				Type[] t = this.getField(11);
				ret = new EI[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (EI) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Example #3
0
 /// <summary> Creates a EIP.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public EIP(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new EI(message);
     data[1] = new EI(message);
 }
Example #4
0
		/// <summary> Returns all repetitions of Alternate Study ID (CM0-3).</summary>
		public virtual EI[] getAlternateStudyID()
		{
			EI[] ret = null;
			try
			{
				Type[] t = this.getField(3);
				ret = new EI[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (EI) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Example #5
0
		/// <summary> Creates a PIP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PIP(Message message):base(message)
		{
			data = new Type[5];
			data[0] = new CE(message);
			data[1] = new CE(message);
			data[2] = new DT(message);
			data[3] = new DT(message);
			data[4] = new EI(message);
		}
Example #6
0
		/// <summary> Returns all repetitions of Placer Order Number (ARQ-24).</summary>
		public virtual EI[] getPlacerOrderNumber()
		{
			EI[] ret = null;
			try
			{
				Type[] t = this.getField(24);
				ret = new EI[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (EI) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Example #7
0
		/// <summary> Creates a EIP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public EIP(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new EI(message);
			data[1] = new EI(message);
		}