Пример #1
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);
		}
Пример #2
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);
 }
Пример #3
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;
		}
Пример #4
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);
		}
Пример #5
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;
		}
Пример #6
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;
		}
Пример #7
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;
		}
Пример #8
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;
		}
Пример #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);
		}
Пример #10
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;
		}
Пример #11
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);
		}
Пример #12
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);
		}
Пример #13
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);
		}
Пример #14
0
		/// <summary> Returns all repetitions of Event Symptom/Diagnosis Code (PEO-2).</summary>
		public virtual CE[] getEventSymptomDiagnosisCode()
		{
			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;
		}
Пример #15
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 ST(message);
			data[8] = new ST(message);
			data[9] = new OSD(message);
			data[10] = new CE(message);
			data[11] = new NM(message);
		}
Пример #16
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);
 }
Пример #17
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);
		}
Пример #18
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;
		}
Пример #19
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;
		}
Пример #20
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;
		}
Пример #21
0
		/// <summary> Returns all repetitions of Reflex Tests/Observations (OM1-34).</summary>
		public virtual CE[] getReflexTestsObservations()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(34);
				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;
		}
Пример #22
0
		/// <summary> Returns all repetitions of Procedure Code Modifier (PR1-16).</summary>
		public virtual CE[] getProcedureCodeModifier()
		{
			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;
		}
Пример #23
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;
		}
Пример #24
0
		/// <summary> Returns all repetitions of Diet, Supplement, or Preference Code (ODS-3).</summary>
		public virtual CE[] getDietSupplementOrPreferenceCode()
		{
			CE[] ret = null;
			try
			{
				Type[] t = this.getField(3);
				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;
		}
Пример #25
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;
		}
Пример #26
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);
		}
Пример #27
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);
		}
Пример #28
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);
		}
Пример #29
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;
		}
Пример #30
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;
		}
Пример #31
0
		/// <summary> Returns all repetitions of Billing Category (PRC-14).</summary>
		public virtual CE[] getBillingCategory()
		{
			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;
		}
Пример #32
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);
 }