示例#1
0
		/// <summary> Creates a OCD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OCD(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new IS(message, 0);
			data[1] = new DT(message);
		}
示例#2
0
		/// <summary> Creates a SPD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public 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);
		}
示例#3
0
		/// <summary> Creates a AUI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public AUI(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new DT(message);
			data[2] = new ST(message);
		}
示例#4
0
		/// <summary> Creates a DLN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DLN(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new IS(message, 0);
			data[2] = new DT(message);
		}
示例#5
0
		/// <summary> Creates a PIP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PIP(Message message):base(message)
		{
			data = new Type[5];
			data[0] = new CE(message);
			data[1] = new CE(message);
			data[2] = new DT(message);
			data[3] = new DT(message);
			data[4] = new EI(message);
		}
示例#6
0
		/// <summary> Creates a OSP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OSP(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new CE(message);
			data[1] = new DT(message);
			data[2] = new DT(message);
		}
示例#7
0
		/// <summary> Creates a CX.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CX(Message message):base(message)
		{
			data = new Type[8];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ID(message, 0);
			data[3] = new HD(message);
			data[4] = new ID(message, 203);
			data[5] = new HD(message);
			data[6] = new DT(message);
			data[7] = new DT(message);
		}
示例#8
0
		/// <summary> Returns all repetitions of Relationship To The Patient Stop Date (IN2-56).</summary>
		public virtual DT[] getRelationshipToThePatientStopDate()
		{
			DT[] ret = null;
			try
			{
				Type[] t = this.getField(56);
				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;
		}
示例#9
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;
		}
示例#10
0
 /// <summary> Creates a OCD.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public OCD(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0);
     data[1] = new DT(message);
 }