Ejemplo n.º 1
0
	///<summary>
	/// Creates a CM_ELD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_ELD(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Segment-ID");
		data[1] = new NM(message,"Sequence");
		data[2] = new NM(message,"Field-Position");
		data[3] = new CE(message,"Code Identifying Error");
	}
Ejemplo n.º 2
0
	///<summary>
	/// Creates a CM_DLT.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_DLT(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new CM_RANGE(message,"Range");
		data[1] = new NM(message,"Numeric threshold");
		data[2] = new ST(message,"Change");
		data[3] = new NM(message,"Length of time-days");
	}
Ejemplo n.º 3
0
	///<summary>
	/// Creates a CK_PAT_ID.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CK_PAT_ID(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Patient ID");
		data[1] = new NM(message,"Check digit");
		data[2] = new ID(message, 0,"Check digit scheme");
		data[3] = new ID(message, 0,"Facility ID");
	}
Ejemplo n.º 4
0
	///<summary>
	/// Creates a CK.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CK(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"ID Number");
		data[1] = new NM(message,"Check Digit");
		data[2] = new ID(message, 0,"Check Digit Scheme");
		data[3] = new ID(message, 0,"Facility ID");
	}
Ejemplo n.º 5
0
	///<summary>
	/// Creates a CM_SPD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_SPD(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Specialty name");
		data[1] = new ST(message,"Governing board");
		data[2] = new ID(message, 0,"Eligible or certified");
		data[3] = new DT(message,"Date of certification");
	}
Ejemplo n.º 6
0
	///<summary>
	/// Creates a CE.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CE(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new ID(message, 0,"Identifier");
		data[1] = new ST(message,"Text");
		data[2] = new ST(message,"Name of coding system");
		data[3] = new ST(message,"Alternate identifier");
		data[4] = new ST(message,"Alternate text");
		data[5] = new ST(message,"Name of alternate coding system");
	}
Ejemplo n.º 7
0
Archivo: PN.cs Proyecto: liddictm/nHapi
	///<summary>
	/// Creates a PN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public PN(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new ST(message,"Family name");
		data[1] = new ST(message,"Given name");
		data[2] = new ST(message,"Middle initial or name");
		data[3] = new ST(message,"Suffix (e.g. JR or III)");
		data[4] = new ST(message,"Prefix (e.g. DR)");
		data[5] = new ST(message,"Degree (e.g. MD)");
	}
Ejemplo n.º 8
0
	///<summary>
	/// Creates a CM_RFR.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_RFR(IMessage message, string description) : base(message, description){
		data = new IType[7];
		data[0] = new CM_RANGE(message,"Reference Range");
		data[1] = new ID(message, 0,"Sex");
		data[2] = new CM_RANGE(message,"Age Range");
		data[3] = new CM_RANGE(message,"Gestational Age Range");
		data[4] = new ST(message,"Species");
		data[5] = new ID(message, 0,"Race / Subspecies");
		data[6] = new ST(message,"Text Condition");
	}
Ejemplo n.º 9
0
Archivo: AD.cs Proyecto: liddictm/nHapi
	///<summary>
	/// Creates a AD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public AD(IMessage message, string description) : base(message, description){
		data = new IType[8];
		data[0] = new ST(message,"Street address");
		data[1] = new ST(message,"Other designation");
		data[2] = new ST(message,"City");
		data[3] = new ST(message,"State or province");
		data[4] = new ID(message, 0,"Zip or postal code");
		data[5] = new ID(message, 0,"Country");
		data[6] = new ID(message, 0,"Type");
		data[7] = new ST(message,"Other geographic designation");
	}
Ejemplo n.º 10
0
	///<summary>
	/// Creates a CN_PERSON.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CN_PERSON(IMessage message, string description) : base(message, description){
		data = new IType[8];
		data[0] = new ID(message, 0,"ID number");
		data[1] = new ST(message,"Family name");
		data[2] = new ST(message,"Given name");
		data[3] = new ST(message,"Middle initial or name");
		data[4] = new ST(message,"Suffix (e.g. JR or III)");
		data[5] = new ST(message,"Prefix (e.g. DR)");
		data[6] = new ST(message,"Degree (e.g. MD)");
		data[7] = new ID(message, 0,"Source table id");
	}
Ejemplo n.º 11
0
	///<summary>
	/// Creates a TQ.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public TQ(IMessage message, string description) : base(message, description){
		data = new IType[10];
		data[0] = new CQ_QUANTITY(message,"Quantity");
		data[1] = new CM_RI(message,"Interval");
		data[2] = new ST(message,"Duration");
		data[3] = new TS(message,"Start date/time");
		data[4] = new TS(message,"End date/time");
		data[5] = new ID(message, 0,"Priority");
		data[6] = new ST(message,"Condition");
		data[7] = new TX(message,"Text (TX)");
		data[8] = new ID(message, 0,"Conjunction");
		data[9] = new ST(message,"Order sequencing");
	}
Ejemplo n.º 12
0
	///<summary>
	/// Creates a CN_PHYSICIAN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CN_PHYSICIAN(IMessage message, string description) : base(message, description){
		data = new IType[13];
		data[0] = new ID(message, 0,"Physician ID");
		data[1] = new ST(message,"Family name");
		data[2] = new ST(message,"Given name");
		data[3] = new ST(message,"Middle initial or name");
		data[4] = new ST(message,"Suffix (e.g. JR or III)");
		data[5] = new ST(message,"Prefix (e.g. DR)");
		data[6] = new ST(message,"Degree (e.g. MD)");
		data[7] = new ID(message, 0,"Source table id");
		data[8] = new AD(message,"Adresse");
		data[9] = new TN(message,"Telefon");
		data[10] = new TN(message,"Faxnummer");
		data[11] = new TN(message,"Online-Nummer");
		data[12] = new ST(message,"E-Mail");
	}
Ejemplo n.º 13
0
  ///<summary>
  /// Returns all repetitions of R/U Where Subject Definition (URS-1).
   ///</summary>
  public ST[] GetRUWhereSubjectDefinition() {
     ST[] ret = null;
    try {
        IType[] t = this.GetField(1);  
        ret = new ST[t.Length];
        for (int i = 0; i < ret.Length; i++) {
            ret[i] = (ST)t[i];
        }
    } catch (HL7Exception he) {
        HapiLogFactory.GetHapiLog(this.GetType()).Error("Unexpected problem obtaining field value.  This is a bug.", he);
        throw new System.Exception("An unexpected error ocurred", he);
    } catch (System.Exception cce) {
        HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected problem obtaining field value.  This is a bug.", cce);
        throw new System.Exception("An unexpected error ocurred", cce);
  }
 return ret;
}
Ejemplo n.º 14
0
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CM_MOC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new ST(message, "Dollar amount");
     data[1] = new ST(message, "Charge code");
 }
Ejemplo n.º 15
0
		///<summary>
		/// Creates a ACCIDENTDATA.
		/// <param name="message">The Message to which this Type belongs</param>
		///</summary>		
		public ACCIDENTDATA(IMessage message, string description) : base(message, description){
			data = new IType[2];
			data[0] = new ID(message, 0, "File number");
			data[1] = new ST(message, "Text");
		}
Ejemplo n.º 16
0
 ///<summary>
 /// Creates a CM_EIP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CM_EIP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new ST(message, "Parent´s placer order number");
     data[1] = new ST(message, "Parent´s filler order number");
 }
Ejemplo n.º 17
0
	///<summary>
	/// Creates a CM_EIP.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_EIP(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"Parent´s placer order number");
		data[1] = new ST(message,"Parent´s filler order number");
	}
Ejemplo n.º 18
0
	///<summary>
	/// Creates a CM_VR.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_VR(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"First data code value");
		data[1] = new ST(message,"Last data code calue");
	}
Ejemplo n.º 19
0
	///<summary>
	/// Creates a CM_DDI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_DDI(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new ST(message,"Delay days");
		data[1] = new NM(message,"Amount");
		data[2] = new NM(message,"Number of days");
	}
Ejemplo n.º 20
0
	///<summary>
	/// Creates a CQ_QUANTITY.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CQ_QUANTITY(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"Quantity");
		data[1] = new ST(message,"Units");
	}
Ejemplo n.º 21
0
	///<summary>
	/// Creates a CM_AUI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_AUI(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new ST(message,"Authorization number");
		data[1] = new DT(message,"Date");
		data[2] = new ST(message,"Source");
	}
Ejemplo n.º 22
0
 ///<summary>
 /// Creates a CM_VR.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CM_VR(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new ST(message, "First data code value");
     data[1] = new ST(message, "Last data code calue");
 }
Ejemplo n.º 23
0
	///<summary>
	/// Creates a CM_MOC.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_MOC(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"Dollar amount");
		data[1] = new ST(message,"Charge code");
	}
Ejemplo n.º 24
0
	///<summary>
	/// Creates a CM_PARENT_RESULT.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_PARENT_RESULT(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new CE(message,"Observation identifier (OBX-3) of parent result");
		data[1] = new ST(message,"Sub-ID (OBX-4) of parent result");
		data[2] = new CE(message,"Result (OBX-5) from parent");
	}
Ejemplo n.º 25
0
	///<summary>
	/// Creates a CM_LICENSE_NO.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_LICENSE_NO(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"License Number");
		data[1] = new ST(message,"Issuing state,province,country");
	}
Ejemplo n.º 26
0
        /// <summary>   Creates a TS. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public TS(IMessage message, string description) : base(message, description)
        {
            data    = new IType[2];
            data[0] = new TSComponentOne(message, "Time of an event");
            data[1] = new ST(message, "Degree of precision");
        }
Ejemplo n.º 27
0
	///<summary>
	/// Creates a CM_PLN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_PLN(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new ST(message,"ID number");
		data[1] = new ID(message, 0,"Type of ID number (ID)");
		data[2] = new ST(message,"State/other qualifiying info");
	}
Ejemplo n.º 28
0
	///<summary>
	/// Creates a CM_RI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_RI(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"Repeat pattern");
		data[1] = new ST(message,"Explicit time intevall");
	}
Ejemplo n.º 29
0
	///<summary>
	/// Creates a CM_POSITION.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CM_POSITION(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new ST(message,"Saal");
		data[1] = new ST(message,"Tisch");
		data[2] = new ST(message,"Stuhl");
	}
Ejemplo n.º 30
0
Archivo: TS.cs Proyecto: liddictm/nHapi
	///<summary>
	/// Creates a TS.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public TS(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new TSComponentOne(message,"Time of an event");
		data[1] = new ST(message,"Degree of precision");
	}