Esempio n. 1
0
 /// <summary> Creates a XCN.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public XCN(Message message) : base(message)
 {
     data     = new Type[18];
     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 ID(message, 0);
     data[15] = new CE(message);
     data[16] = new DR(message);
     data[17] = new ID(message, 0);
 }
Esempio n. 2
0
		/// <summary> Returns all repetitions of Filler Supplemental Service Information (OBR-47).</summary>
		public virtual CE[] getFillerSupplementalServiceInformation()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(47);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 3
0
		/// <summary> Returns all repetitions of Transport Logistics of Collected Sample * (OBR-38).</summary>
		public virtual CE[] getTransportLogisticsOfCollectedSample()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(38);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 4
0
		/// <summary> Returns all repetitions of Substance Manufacturer Name (RXG-21).</summary>
		public virtual CE[] getSubstanceManufacturerName()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(21);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 5
0
		/// <summary> Creates a TQ.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public TQ(Message message):base(message)
		{
			data = new Type[12];
			data[0] = new CQ(message);
			data[1] = new RI(message);
			data[2] = new ST(message);
			data[3] = new TS(message);
			data[4] = new TS(message);
			data[5] = new ST(message);
			data[6] = new ST(message);
			data[7] = new TX(message);
			data[8] = new ID(message, 0);
			data[9] = new OSD(message);
			data[10] = new CE(message);
			data[11] = new NM(message);
		}
Esempio n. 6
0
		/// <summary> Creates a PRL.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public PRL(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new CE(message);
			data[1] = new ST(message);
			data[2] = new TX(message);
		}
Esempio n. 7
0
		/// <summary> Returns all repetitions of Government Reimbursement Billing Eligibility (PRA-11).</summary>
		public virtual CE[] getGovernmentReimbursementBillingEligibility()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(11);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 8
0
		/// <summary> Returns all repetitions of Outside Site(s) Where Observation may be Performed (OM1-27).</summary>
		public virtual CE[] getOutsideSiteSWhereObservationMayBePerformed()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(27);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 9
0
		/// <summary> Returns all repetitions of Stratum for Study Randomization (CSR-13).</summary>
		public virtual CE[] getStratumForStudyRandomization()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(13);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 10
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);
		}
Esempio n. 11
0
		/// <summary> Creates a CQ.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CQ(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new NM(message);
			data[1] = new CE(message);
		}
Esempio n. 12
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);
		}
Esempio n. 13
0
		/// <summary> Returns all repetitions of Events Scheduled This Time Point (CM2-4).</summary>
		public virtual CE[] getEventsScheduledThisTimePoint()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(4);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 14
0
		/// <summary> Creates a ELD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public ELD(Message message):base(message)
		{
			data = new Type[4];
			data[0] = new ST(message);
			data[1] = new NM(message);
			data[2] = new NM(message);
			data[3] = new CE(message);
		}
Esempio n. 15
0
		/// <summary> Creates a CP.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public CP(Message message):base(message)
		{
			data = new Type[6];
			data[0] = new MO(message);
			data[1] = new ID(message, 205);
			data[2] = new NM(message);
			data[3] = new NM(message);
			data[4] = new CE(message);
			data[5] = new ID(message, 298);
		}
Esempio n. 16
0
		/// <summary> Creates a VID.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public VID(Message message):base(message)
		{
			data = new Type[3];
			data[0] = new ID(message, 0);
			data[1] = new CE(message);
			data[2] = new CE(message);
		}
Esempio n. 17
0
		/// <summary> Creates a MOC.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public MOC(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new MO(message);
			data[1] = new CE(message);
		}
Esempio n. 18
0
 /// <summary> Creates a CQ.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public CQ(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new NM(message);
     data[1] = new CE(message);
 }
Esempio n. 19
0
		/// <summary> Creates a DIN.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public DIN(Message message):base(message)
		{
			data = new Type[2];
			data[0] = new TS(message);
			data[1] = new CE(message);
		}
Esempio n. 20
0
		/// <summary> Returns all repetitions of Test/Observations Included within an Ordered Test Battery (OM5-2).</summary>
		public virtual CE[] getTestObservationsIncludedWithinAnOrderedTestBattery()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(2);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 21
0
		/// <summary> Returns all repetitions of Problem Management Discipline (PRB-11).</summary>
		public virtual CE[] getProblemManagementDiscipline()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(11);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 22
0
 /// <summary> Creates a MOC.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public MOC(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new MO(message);
     data[1] = new CE(message);
 }
Esempio n. 23
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);
		}
Esempio n. 24
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);
		}
Esempio n. 25
0
		/// <summary> Returns all repetitions of Pharmacy/Treatment Supplier's Special Administration Instructions (RXG-13).</summary>
		public virtual CE[] getPharmacyTreatmentSupplierSSpecialAdministrationInstructions()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(13);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 26
0
		/// <summary> Returns all repetitions of What Department Data Code (QRD-10).</summary>
		public virtual CE[] getWhatDepartmentDataCode()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(10);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 27
0
		/// <summary> Returns all repetitions of Normal Text/Codes for Categorical Observations (OM3-4).</summary>
		public virtual CE[] getNormalTextCodesForCategoricalObservations()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(4);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 28
0
		/// <summary> Returns all repetitions of Identity of Instrument Used to Perform this Study (OM1-13).</summary>
		public virtual CE[] getIdentityOfInstrumentUsedToPerformThisStudy()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(13);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 29
0
		/// <summary> Returns all repetitions of Planned Patient Transport Comment (OBR-43).</summary>
		public virtual CE[] getPlannedPatientTransportComment()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(43);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 30
0
		/// <summary> Returns all repetitions of Coded Representation of Method (OM1-14).</summary>
		public virtual CE[] getCodedRepresentationOfMethod()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(14);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 31
0
		/// <summary> Returns all repetitions of Ethnic Group (NK1-28).</summary>
		public virtual CE[] getEthnicGroup()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(28);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 32
0
		/// <summary> Returns all repetitions of Observation Producing Department/Section (OM1-16).</summary>
		public virtual CE[] getObservationProducingDepartmentSection()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(16);
				ret = new CE[t.Length];
				for (int i = 0; i < ret.Length; i++)
				{
					ret[i] = (CE) t[i];
				}
			}
			catch (System.InvalidCastException )
			{
				throw new Exception();
			}
			catch (NuGenHL7Exception)
			{
				throw new Exception();
			}
			return ret;
		}
Esempio n. 33
0
		/// <summary> Creates a SPS.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public SPS(Message message):base(message)
		{
			data = new Type[7];
			data[0] = new CE(message);
			data[1] = new TX(message);
			data[2] = new TX(message);
			data[3] = new CE(message);
			data[4] = new CE(message);
			data[5] = new CE(message);
			data[6] = new CE(message);
		}
Esempio n. 34
0
 /// <summary> Creates a DIN.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public DIN(Message message) : base(message)
 {
     data    = new Type[2];
     data[0] = new TS(message);
     data[1] = new CE(message);
 }