Exemplo n.º 1
0
		/// <summary> Creates a CM_OSP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_OSP(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new DT(message);
			data[2] = new DT(message);
		}
Exemplo n.º 2
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);
		}
Exemplo n.º 3
0
		/// <summary> Returns all repetitions of Contract Effective Date (PV1-25).</summary>
		public virtual DT[] getContractEffectiveDate()
		{
			DT[] ret = null;
			try
			{
				Type[] t = this.getField(25);
				ret = new DT[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (DT) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Exemplo n.º 4
0
		/// <summary> Creates a CM_PIP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_PIP(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new CE(message);
			data[1] = new CE(message);
			data[2] = new DT(message);
			data[3] = new DT(message);
		}
Exemplo n.º 5
0
 /// <summary> Creates a CM_OCD.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CM_OCD(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new ID(message, 0);
     data[1] = new DT(message);
 }
Exemplo n.º 6
0
		/// <summary> Creates a CM_AUI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CM_AUI(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new DT(message);
			data[2] = new ST(message);
		}