Exemple #1
0
		/// <summary> Creates a CM_PTA.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PTA(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 147);
			data[1] = new ID(message, 193);
			data[2] = new NM(message);
		}
		/// <summary> Creates a CM_BATCH_TOTAL.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_BATCH_TOTAL(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new NM(message);
		}
Exemple #3
0
		/// <summary> Creates a CM_DTN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_DTN(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ID(message, 0);
			data[1] = new NM(message);
		}
Exemple #4
0
 /// <summary> Creates a CM_UVC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_UVC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new ID(message, 0);
     data[1] = new NM(message);
 }
Exemple #5
0
		/// <summary> Creates a CM_PAT_ID.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PAT_ID(Message message):base(message)
		{
			data = new Type[5];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
			data[4] = new ID(message, 0);
		}
Exemple #6
0
		/// <summary> Creates a CK.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CK(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
		}
Exemple #7
0
		/// <summary> Creates a CM_DLT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_DLT(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new CM_RANGE(message);
			data[1] = new NM(message);
			data[2] = new ST(message);
			data[3] = new NM(message);
		}
		/// <summary> Creates a CK_ACCOUNT_NO.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CK_ACCOUNT_NO(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new NM(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
			data[3] = new ID(message, 0);
		}
Exemple #9
0
		/// <summary> Creates a CM_ELD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_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> Returns all repetitions of Contract Period (PV1-27).</summary>
		public virtual NM[] getContractPeriod()
		{
			NM[] ret = null;
			try
			{
				Type[] t = this.getField(27);
				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 #11
0
		/// <summary> Creates a CM_RMC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_RMC(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new ID(message, 0);
			data[2] = new NM(message);
		}
Exemple #12
0
		/// <summary> Creates a CM_DDI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_DDI(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new NM(message);
		}
Exemple #13
0
 /// <summary> Creates a CM_BATCH_TOTAL.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_BATCH_TOTAL(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new NM(message);
     data[1] = new NM(message);
 }