예제 #1
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 ST(message);
		}
예제 #2
0
파일: CQ.cs 프로젝트: carlhuth/GenXSource
 /// <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 ST(message);
 }
예제 #3
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[3];
			data[0] = new NM(message);
			data[1] = new NM(message);
			data[2] = new ID(message, 0);
		}
예제 #4
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;
		}