Exemplo n.º 1
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);
 }
Exemplo n.º 2
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 IS(message, 0);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new IS(message, 0);
		}
Exemplo n.º 3
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);
		}
Exemplo n.º 4
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, 0);
			data[1] = new NM(message);
		}
Exemplo n.º 5
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);
		}
Exemplo n.º 6
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[3];
			data[0] = new IS(message, 0);
			data[1] = new IS(message, 0);
			data[2] = new NM(message);
		}
Exemplo n.º 7
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);
		}
Exemplo n.º 8
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, 0);
			data[1] = new ST(message);
			data[2] = new IS(message, 0);
			data[3] = new ST(message);
			data[4] = new IS(message, 0);
			data[5] = new ST(message);
			data[6] = new NM(message);
			data[7] = new ST(message);
			data[8] = new ID(message, 0);
			data[9] = new ST(message);
			data[10] = new ID(message, 0);
		}
Exemplo n.º 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);
		}
Exemplo n.º 10
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;
		}
Exemplo n.º 11
0
		/// <summary> Returns all repetitions of Probability (OBX-9).</summary>
		public virtual NM[] getProbability()
		{
			NM[] ret = null;
			try
			{
				Type[] t = this.getField(9);
				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;
		}
Exemplo n.º 12
0
		/// <summary> Creates a WVI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public WVI(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new ST(message);
		}
Exemplo n.º 13
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);
		}
Exemplo n.º 14
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[9];
			data[0] = new ST(message);
			data[1] = new IS(message, 0);
			data[2] = new NM(message);
			data[3] = new ST(message);
			data[4] = new ID(message, 0);
			data[5] = new HD(message);
			data[6] = new IS(message, 0);
			data[7] = new HD(message);
			data[8] = new ID(message, 0);
		}
Exemplo n.º 15
0
		/// <summary> Creates a DLT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DLT(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new NR(message);
			data[1] = new NM(message);
			data[2] = new ST(message);
			data[3] = new NM(message);
		}
Exemplo n.º 16
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, 0);
			data[9] = new OSD(message);
			data[10] = new CE(message);
			data[11] = new NM(message);
		}
Exemplo n.º 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);
 }
Exemplo n.º 18
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 ST(message);
			data[2] = new NM(message);
		}
Exemplo n.º 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);
		}