Esempio n. 1
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, 333);
			data[2] = new DT(message);
		}
Esempio n. 2
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);
		}
Esempio n. 3
0
		/// <summary> Creates a PLN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PLN(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new IS(message, 338);
			data[2] = new ST(message);
			data[3] = new DT(message);
		}
Esempio n. 4
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 CNE(message);
			data[1] = new DT(message);
		}
Esempio n. 5
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[10];
			data[0] = new ST(message);
			data[1] = new ST(message);
			data[2] = new ID(message, 61);
			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);
			data[8] = new CWE(message);
			data[9] = new CWE(message);
		}
Esempio n. 6
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;
		}
Esempio n. 7
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, 337);
			data[3] = new DT(message);
		}
Esempio n. 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;
		}
Esempio n. 9
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);
		}