Example #1
0
		/// <summary> Creates a CM_SPD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_SPD(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ID(message, 0);
			data[3] = new DT(message);
		}
Example #2
0
		/// <summary> Creates a AD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public AD(Message message):base(message)
		{
			data = new Type[8];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ID(message, 0);
			data[5] = new ID(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ST(message);
		}
Example #3
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);
		}
Example #4
0
		/// <summary> Creates a CM_VR.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_VR(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ST(message);
			data[1] = new ST(message);
		}
Example #5
0
		/// <summary> Creates a PN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PN(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ST(message);
		}
Example #6
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[10];
			data[0] = new CQ_QUANTITY(message);
			data[1] = new CM_RI(message);
			data[2] = new ST(message);
			data[3] = new TS(message);
			data[4] = new TS(message);
			data[5] = new ID(message, 0);
			data[6] = new ST(message);
			data[7] = new TX(message);
			data[8] = new ID(message, 0);
			data[9] = new ST(message);
		}
Example #7
0
		/// <summary> Creates a CM_PLN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PLN(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new ID(message, 0);
			data[2] = new ST(message);
		}
Example #8
0
		/// <summary> Creates a CM_LICENSE_NO.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_LICENSE_NO(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ST(message);
			data[1] = new ST(message);
		}
Example #9
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 CM_PARENT_RESULT.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PARENT_RESULT(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new CE(message);
			data[1] = new ST(message);
			data[2] = new CE(message);
		}
Example #11
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);
		}
Example #12
0
		/// <summary> Creates a CQ_QUANTITY.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CQ_QUANTITY(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new ST(message);
			data[1] = new ST(message);
		}
Example #13
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);
		}
Example #14
0
 /// <summary> Creates a CM_VR.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_VR(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new ST(message);
     data[1] = new ST(message);
 }
Example #15
0
		/// <summary> Returns all repetitions of Test / observation performance schedule (OM1-41).</summary>
		public virtual ST[] getTestObservationPerformanceSchedule()
		{
			ST[] ret = null;
			try
			{
				Type[] t = this.getField(41);
				ret = new ST[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ST) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Example #16
0
		/// <summary> Creates a CN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CN(Message message):base(message)
		{
			data = new Type[13];
			data[0] = new ID(message, 0);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new ST(message);
			data[7] = new ID(message, 0);
			data[8] = new AD(message);
			data[9] = new TN(message);
			data[10] = new TN(message);
			data[11] = new TN(message);
			data[12] = new ST(message);
		}
Example #17
0
		/// <summary> Returns all repetitions of Other Names (OM1-9).</summary>
		public virtual ST[] getOtherNames()
		{
			ST[] ret = null;
			try
			{
				Type[] t = this.getField(9);
				ret = new ST[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (ST) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Example #18
0
		/// <summary> Creates a CM_RFR.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_RFR(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new CM_RANGE(message);
			data[1] = new ID(message, 0);
			data[2] = new CM_RANGE(message);
			data[3] = new CM_RANGE(message);
			data[4] = new ST(message);
			data[5] = new ID(message, 0);
			data[6] = new ST(message);
		}