Exemple #1
0
		/// <summary> Creates a MOP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public MOP(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 148);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
		}
Exemple #2
0
		/// <summary> Creates a OSD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OSD(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new ID(message, 524);
			data[1] = new ST(message);
			data[2] = new IS(message, 363);
			data[3] = new ST(message);
			data[4] = new IS(message, 363);
			data[5] = new ST(message);
			data[6] = new NM(message);
			data[7] = new ST(message);
			data[8] = new ID(message, 301);
			data[9] = new ST(message);
			data[10] = new ID(message, 301);
		}
Exemple #3
0
		/// <summary> Creates a CP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CP(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new MO(message);
			data[1] = new ID(message, 205);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new CE(message);
			data[5] = new ID(message, 298);
		}
Exemple #4
0
		/// <summary> Creates a MA.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public MA(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new NM(message);
			data[1] = new NM(message);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new NM(message);
			data[5] = new NM(message);
		}
Exemple #5
0
		/// <summary> Creates a DDI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DDI(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new NM(message);
			data[1] = new MO(message);
			data[2] = new NM(message);
		}
Exemple #6
0
		/// <summary> Returns all repetitions of Batch Totals (BTS-3).</summary>
		public virtual NM[] getBatchTotals()
		{
			NM[] ret = null;
			try
			{
				Type[] t = this.getField(3);
				ret = new NM[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (NM) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Exemple #7
0
		/// <summary> Creates a TQ.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public TQ(Message message):base(message)
		{
			data = new Type[12];
			data[0] = new CQ(message);
			data[1] = new RI(message);
			data[2] = new ST(message);
			data[3] = new TS(message);
			data[4] = new TS(message);
			data[5] = new ST(message);
			data[6] = new ST(message);
			data[7] = new TX(message);
			data[8] = new ID(message, 472);
			data[9] = new OSD(message);
			data[10] = new CE(message);
			data[11] = new NM(message);
		}
Exemple #8
0
 /// <summary> Creates a NR.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public NR(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new NM(message);
     data[1] = new NM(message);
 }
Exemple #9
0
		/// <summary> Creates a ELD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public ELD(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new NM(message);
			data[3] = new CE(message);
		}
Exemple #10
0
		/// <summary> Creates a MO.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public MO(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new ID(message, 0);
		}
Exemple #11
0
		/// <summary> Creates a PTA.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PTA(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new IS(message, 147);
			data[1] = new IS(message, 193);
			data[2] = new NM(message);
			data[3] = new MOP(message);
		}
Exemple #12
0
		/// <summary> Returns all repetitions of Number of Product Experience Reports Filed by Distributor (PSH-14).</summary>
		public virtual NM[] getNumberOfProductExperienceReportsFiledByDistributor()
		{
			NM[] ret = null;
			try
			{
				Type[] t = this.getField(14);
				ret = new NM[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (NM) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Exemple #13
0
 /// <summary> Creates a DTN.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public DTN(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 149);
     data[1] = new NM(message);
 }
Exemple #14
0
		/// <summary> Creates a DTN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DTN(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new IS(message, 149);
			data[1] = new NM(message);
		}
Exemple #15
0
		/// <summary> Creates a CSU.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CSU(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new NM(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ID(message, 396);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new ID(message, 396);
		}
Exemple #16
0
		/// <summary> Creates a NA.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public NA(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new NM(message);
			data[1] = new NM(message);
			data[2] = new NM(message);
			data[3] = new NM(message);
		}
Exemple #17
0
		/// <summary> Creates a CQ.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CQ(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new CE(message);
		}
Exemple #18
0
		/// <summary> Creates a XON.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XON(Message message):base(message)
		{
			data = new Type[10];
			data[0] = new ST(message);
			data[1] = new IS(message, 204);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new ID(message, 61);
			data[5] = new HD(message);
			data[6] = new ID(message, 203);
			data[7] = new HD(message);
			data[8] = new ID(message, 465);
			data[9] = new ST(message);
		}
Exemple #19
0
		/// <summary> Creates a CD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CD(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new WVI(message);
			data[1] = new WVS(message);
			data[2] = new CSU(message);
			data[3] = new CCP(message);
			data[4] = new NM(message);
			data[5] = new NR(message);
		}
Exemple #20
0
		/// <summary> Creates a XTN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XTN(Message message):base(message)
		{
			data = new Type[12];
			data[0] = new ST(message);
			data[1] = new ID(message, 201);
			data[2] = new ID(message, 202);
			data[3] = new ST(message);
			data[4] = new NM(message);
			data[5] = new NM(message);
			data[6] = new NM(message);
			data[7] = new NM(message);
			data[8] = new ST(message);
			data[9] = new ST(message);
			data[10] = new ST(message);
			data[11] = new ST(message);
		}
Exemple #21
0
		/// <summary> Creates a RPT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public RPT(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new CWE(message);
			data[1] = new ID(message, 527);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new NM(message);
			data[5] = new IS(message, 0);
			data[6] = new ID(message, 136);
			data[7] = new ID(message, 528);
			data[8] = new NM(message);
			data[9] = new IS(message, 0);
			data[10] = new GTS(message);
		}
Exemple #22
0
		/// <summary> Creates a RCD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public RCD(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new ID(message, 440);
			data[2] = new NM(message);
		}
Exemple #23
0
		/// <summary> Creates a RMC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public RMC(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new IS(message, 145);
			data[1] = new IS(message, 146);
			data[2] = new NM(message);
			data[3] = new MOP(message);
		}