Пример #1
0
		/// <summary> Creates a JCC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public JCC(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new IS(message, 327);
			data[1] = new IS(message, 328);
		}
Пример #2
0
		/// <summary> Creates a PI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PI(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ST(message);
			data[1] = new IS(message, 0);
			data[2] = new ST(message);
		}
Пример #3
0
		/// <summary> Creates a FC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public FC(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new IS(message, 64);
			data[1] = new TS(message);
		}
Пример #4
0
		/// <summary> Creates a OSD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public OSD(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new ID(message, 0);
			data[1] = new ST(message);
			data[2] = new IS(message, 0);
			data[3] = new ST(message);
			data[4] = new IS(message, 0);
			data[5] = new ST(message);
			data[6] = new NM(message);
			data[7] = new ST(message);
			data[8] = new ID(message, 0);
			data[9] = new ST(message);
			data[10] = new ID(message, 0);
		}
Пример #5
0
		/// <summary> Creates a XON.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XON(Message message):base(message)
		{
			data = new Type[9];
			data[0] = new ST(message);
			data[1] = new IS(message, 0);
			data[2] = new NM(message);
			data[3] = new ST(message);
			data[4] = new ID(message, 0);
			data[5] = new HD(message);
			data[6] = new IS(message, 0);
			data[7] = new HD(message);
			data[8] = new ID(message, 0);
		}
Пример #6
0
		/// <summary> Creates a PPN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PPN(Message message):base(message)
		{
			data = new Type[19];
			data[0] = new ST(message);
			data[1] = new FN(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new IS(message, 0);
			data[7] = new IS(message, 0);
			data[8] = new HD(message);
			data[9] = new ID(message, 0);
			data[10] = new ST(message);
			data[11] = new ID(message, 0);
			data[12] = new IS(message, 0);
			data[13] = new HD(message);
			data[14] = new TS(message);
			data[15] = new ID(message, 0);
			data[16] = new CE(message);
			data[17] = new DR(message);
			data[18] = new ID(message, 0);
		}
Пример #7
0
		/// <summary> Creates a LA2.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public LA2(Message message):base(message)
		{
			data = new Type[16];
			data[0] = new IS(message, 0);
			data[1] = new IS(message, 0);
			data[2] = new IS(message, 0);
			data[3] = new HD(message);
			data[4] = new IS(message, 0);
			data[5] = new IS(message, 0);
			data[6] = new IS(message, 0);
			data[7] = new IS(message, 0);
			data[8] = new ST(message);
			data[9] = new ST(message);
			data[10] = new ST(message);
			data[11] = new ST(message);
			data[12] = new ST(message);
			data[13] = new ID(message, 0);
			data[14] = new ID(message, 0);
			data[15] = new ST(message);
		}
Пример #8
0
		/// <summary> Returns all repetitions of OCE Edits per Visit Code (GP1-4).</summary>
		public virtual IS[] getOCEEditsPerVisitCode()
		{
			IS[] ret = null;
			try
			{
				Type[] t = this.getField(4);
				ret = new IS[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (IS) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Пример #9
0
		/// <summary> Creates a XPN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XPN(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new FN(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new IS(message, 0);
			data[6] = new ID(message, 0);
			data[7] = new ID(message, 0);
			data[8] = new CE(message);
			data[9] = new DR(message);
			data[10] = new ID(message, 0);
		}
Пример #10
0
		/// <summary> Returns all repetitions of Second Opinion Documentation Received (IN3-24).</summary>
		public virtual IS[] getSecondOpinionDocumentationReceived()
		{
			IS[] ret = null;
			try
			{
				Type[] t = this.getField(24);
				ret = new IS[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (IS) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Пример #11
0
		/// <summary> Creates a CF.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CF(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new ID(message, 0);
			data[1] = new FT(message);
			data[2] = new IS(message, 0);
			data[3] = new ID(message, 0);
			data[4] = new FT(message);
			data[5] = new IS(message, 0);
		}
Пример #12
0
		/// <summary> Returns all repetitions of Insured's Contact Person Reason (IN2-54).</summary>
		public virtual IS[] getInsuredSContactPersonReason()
		{
			IS[] ret = null;
			try
			{
				Type[] t = this.getField(54);
				ret = new IS[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (IS) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Пример #13
0
		/// <summary> Creates a NDL.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public NDL(Message message):base(message)
		{
			data = new Type[11];
			data[0] = new CNN(message);
			data[1] = new TS(message);
			data[2] = new TS(message);
			data[3] = new IS(message, 0);
			data[4] = new IS(message, 0);
			data[5] = new IS(message, 0);
			data[6] = new HD(message);
			data[7] = new IS(message, 0);
			data[8] = new IS(message, 0);
			data[9] = new IS(message, 0);
			data[10] = new IS(message, 0);
		}
Пример #14
0
		/// <summary> Creates a PN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PN(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new FN(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new IS(message, 0);
		}
Пример #15
0
		/// <summary> Creates a LA1.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public LA1(Message message):base(message)
		{
			data = new Type[9];
			data[0] = new IS(message, 0);
			data[1] = new IS(message, 0);
			data[2] = new IS(message, 0);
			data[3] = new HD(message);
			data[4] = new IS(message, 0);
			data[5] = new IS(message, 0);
			data[6] = new IS(message, 0);
			data[7] = new IS(message, 0);
			data[8] = new AD(message);
		}
Пример #16
0
 /// <summary> Creates a UVC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public UVC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0);
     data[1] = new NM(message);
 }
Пример #17
0
 /// <summary> Creates a FC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public FC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 64);
     data[1] = new TS(message);
 }
Пример #18
0
		/// <summary> Creates a CSU.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CSU(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new NM(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new IS(message, 0);
			data[4] = new ST(message);
			data[5] = new ST(message);
			data[6] = new IS(message, 0);
		}
Пример #19
0
		/// <summary> Creates a EI.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public EI(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new IS(message, 300);
			data[2] = new ST(message);
			data[3] = new ID(message, 301);
		}
Пример #20
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);
		}
Пример #21
0
		/// <summary> Creates a RMC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public RMC(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new IS(message, 0);
			data[1] = new IS(message, 0);
			data[2] = new NM(message);
		}
Пример #22
0
 /// <summary> Creates a SCV.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public SCV(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 0);
     data[1] = new ST(message);
 }
Пример #23
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, 0);
			data[2] = new ST(message);
			data[3] = new DT(message);
		}
Пример #24
0
 /// <summary> Creates a JCC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public JCC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new IS(message, 327);
     data[1] = new IS(message, 328);
 }
Пример #25
0
		/// <summary> Creates a DTN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DTN(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new IS(message, 0);
			data[1] = new NM(message);
		}
Пример #26
0
		/// <summary> Returns all repetitions of Ambulatory Status (NK1-18).</summary>
		public virtual IS[] getAmbulatoryStatus()
		{
			IS[] ret = null;
			try
			{
				Type[] t = this.getField(18);
				ret = new IS[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (IS) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Пример #27
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);
 }