예제 #1
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;
		}
예제 #2
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 ID(message, 0);
			data[1] = new DT(message);
		}
예제 #3
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;
		}
예제 #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);
		}