Beispiel #1
0
	///<summary>
	/// Creates a RP.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public RP(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Pointer");
		data[1] = new HD(message,"Application ID");
		data[2] = new ID(message, 191,"Type of Data");
		data[3] = new ID(message, 291,"Subtype");
	}
Beispiel #2
0
	///<summary>
	/// Creates a SPD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public 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, 337,"Eligible or Certified");
		data[3] = new DT(message,"Date of Certification");
	}
Beispiel #3
0
	///<summary>
	/// Creates a ELD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public ELD(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Segment ID");
		data[1] = new NM(message,"Segment Sequence");
		data[2] = new NM(message,"Field Position");
		data[3] = new CE(message,"Code Identifying Error");
	}
Beispiel #4
0
	///<summary>
	/// Creates a QSC.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public QSC(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Segment Field Name");
		data[1] = new ID(message, 209,"Relational Operator");
		data[2] = new ST(message,"Value");
		data[3] = new ID(message, 210,"Relational Conjunction");
	}
Beispiel #5
0
	///<summary>
	/// Creates a PLN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public PLN(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"ID Number");
		data[1] = new IS(message, 338,"Type of ID Number");
		data[2] = new ST(message,"State/other Qualifying Information");
		data[3] = new DT(message,"Expiration Date");
	}
Beispiel #6
0
	///<summary>
	/// Creates a EI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public EI(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Entity Identifier");
		data[1] = new IS(message, 363,"Namespace ID");
		data[2] = new ST(message,"Universal ID");
		data[3] = new ID(message, 301,"Universal ID Type");
	}
Beispiel #7
0
	///<summary>
	/// Creates a PPN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public PPN(IMessage message, string description) : base(message, description){
		data = new IType[24];
		data[0] = new ST(message,"ID Number");
		data[1] = new FN(message,"Family Name");
		data[2] = new ST(message,"Given Name");
		data[3] = new ST(message,"Second and Further Given Names or Initials Thereof");
		data[4] = new ST(message,"Suffix (e.g., JR or III)");
		data[5] = new ST(message,"Prefix (e.g., DR)");
		data[6] = new IS(message, 360,"Degree (e.g., MD)");
		data[7] = new IS(message, 297,"Source Table");
		data[8] = new HD(message,"Assigning Authority");
		data[9] = new ID(message, 200,"Name Type Code");
		data[10] = new ST(message,"Identifier Check Digit");
		data[11] = new ID(message, 61,"Check Digit Scheme");
		data[12] = new ID(message, 203,"Identifier Type Code");
		data[13] = new HD(message,"Assigning Facility");
		data[14] = new TS(message,"Date/Time Action Performed");
		data[15] = new ID(message, 465,"Name Representation Code");
		data[16] = new CE(message,"Name Context");
		data[17] = new DR(message,"Name Validity Range");
		data[18] = new ID(message, 444,"Name Assembly Order");
		data[19] = new TS(message,"Effective Date");
		data[20] = new TS(message,"Expiration Date");
		data[21] = new ST(message,"Professional Suffix");
		data[22] = new CWE(message,"Assigning Jurisdiction");
		data[23] = new CWE(message,"Assigning Agency or Department");
	}
Beispiel #8
0
	///<summary>
	/// Creates a SN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public SN(IMessage message, string description) : base(message, description){
		data = new IType[4];
		data[0] = new ST(message,"Comparator");
		data[1] = new NM(message,"Num1");
		data[2] = new ST(message,"Separator/Suffix");
		data[3] = new NM(message,"Num2");
	}
Beispiel #9
0
	///<summary>
	/// Creates a FN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public FN(IMessage message, string description) : base(message, description){
		data = new IType[5];
		data[0] = new ST(message,"Surname");
		data[1] = new ST(message,"Own Surname Prefix");
		data[2] = new ST(message,"Own Surname");
		data[3] = new ST(message,"Surname Prefix From Partner/Spouse");
		data[4] = new ST(message,"Surname From Partner/Spouse");
	}
Beispiel #10
0
	///<summary>
	/// Creates a ERL.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public ERL(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new ST(message,"Segment ID");
		data[1] = new NM(message,"Segment Sequence");
		data[2] = new NM(message,"Field Position");
		data[3] = new NM(message,"Field Repetition");
		data[4] = new NM(message,"Component Number");
		data[5] = new NM(message,"Sub-Component Number");
	}
Beispiel #11
0
	///<summary>
	/// Creates a CF.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CF(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new ST(message,"Identifier");
		data[1] = new FT(message,"Formatted Text");
		data[2] = new ID(message, 396,"Name of Coding System");
		data[3] = new ST(message,"Alternate Identifier");
		data[4] = new FT(message,"Alternate Formatted Text");
		data[5] = new ID(message, 396,"Name of Alternate Coding System");
	}
Beispiel #12
0
	///<summary>
	/// Creates a RFR.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public RFR(IMessage message, string description) : base(message, description){
		data = new IType[7];
		data[0] = new NR(message,"Numeric Range");
		data[1] = new IS(message, 1,"Administrative Sex");
		data[2] = new NR(message,"Age Range");
		data[3] = new NR(message,"Gestational Age Range");
		data[4] = new ST(message,"Species");
		data[5] = new ST(message,"Race/subspecies");
		data[6] = new TX(message,"Conditions");
	}
Beispiel #13
0
	///<summary>
	/// Creates a CSU.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CSU(IMessage message, string description) : base(message, description){
		data = new IType[7];
		data[0] = new NM(message,"Channel Sensitivity");
		data[1] = new ST(message,"Unit of Measure Identifier");
		data[2] = new ST(message,"Unit of Measure Description");
		data[3] = new ID(message, 396,"Unit of Measure Coding System");
		data[4] = new ST(message,"Alternate Unit of Measure Identifier");
		data[5] = new ST(message,"Alternate Unit of Measure Description");
		data[6] = new ID(message, 396,"Alternate Unit of Measure Coding System");
	}
Beispiel #14
0
	///<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 ST(message,"Zip or Postal Code");
		data[5] = new ID(message, 399,"Country");
		data[6] = new ID(message, 190,"Address Type");
		data[7] = new ST(message,"Other Geographic Designation");
	}
Beispiel #15
0
	///<summary>
	/// Creates a CNE.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CNE(IMessage message, string description) : base(message, description){
		data = new IType[9];
		data[0] = new ST(message,"Identifier");
		data[1] = new ST(message,"Text");
		data[2] = new ID(message, 396,"Name of Coding System");
		data[3] = new ST(message,"Alternate Identifier");
		data[4] = new ST(message,"Alternate Text");
		data[5] = new ID(message, 396,"Name of Alternate Coding System");
		data[6] = new ST(message,"Coding System Version ID");
		data[7] = new ST(message,"Alternate Coding System Version ID");
		data[8] = new ST(message,"Original Text");
	}
Beispiel #16
0
	///<summary>
	/// Creates a XON.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public XON(IMessage message, string description) : base(message, description){
		data = new IType[10];
		data[0] = new ST(message,"Organization Name");
		data[1] = new IS(message, 204,"Organization Name Type Code");
		data[2] = new NM(message,"ID Number");
		data[3] = new NM(message,"Check Digit");
		data[4] = new ID(message, 61,"Check Digit Scheme");
		data[5] = new HD(message,"Assigning Authority");
		data[6] = new ID(message, 203,"Identifier Type Code");
		data[7] = new HD(message,"Assigning Facility");
		data[8] = new ID(message, 465,"Name Representation Code");
		data[9] = new ST(message,"Organization Identifier");
	}
Beispiel #17
0
	///<summary>
	/// Creates a CX.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CX(IMessage message, string description) : base(message, description){
		data = new IType[10];
		data[0] = new ST(message,"ID Number");
		data[1] = new ST(message,"Check Digit");
		data[2] = new ID(message, 61,"Check Digit Scheme");
		data[3] = new HD(message,"Assigning Authority");
		data[4] = new ID(message, 203,"Identifier Type Code");
		data[5] = new HD(message,"Assigning Facility");
		data[6] = new DT(message,"Effective Date");
		data[7] = new DT(message,"Expiration Date");
		data[8] = new CWE(message,"Assigning Jurisdiction");
		data[9] = new CWE(message,"Assigning Agency or Department");
	}
Beispiel #18
0
	///<summary>
	/// Creates a PL.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public PL(IMessage message, string description) : base(message, description){
		data = new IType[11];
		data[0] = new IS(message, 302,"Point of Care");
		data[1] = new IS(message, 303,"Room");
		data[2] = new IS(message, 304,"Bed");
		data[3] = new HD(message,"Facility");
		data[4] = new IS(message, 306,"Location Status");
		data[5] = new IS(message, 305,"Person Location Type");
		data[6] = new IS(message, 307,"Building");
		data[7] = new IS(message, 308,"Floor");
		data[8] = new ST(message,"Location Description");
		data[9] = new EI(message,"Comprehensive Location Identifier");
		data[10] = new HD(message,"Assigning Authority for Location");
	}
Beispiel #19
0
	///<summary>
	/// Creates a CNN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CNN(IMessage message, string description) : base(message, description){
		data = new IType[11];
		data[0] = new ST(message,"ID Number");
		data[1] = new ST(message,"Family Name");
		data[2] = new ST(message,"Given Name");
		data[3] = new ST(message,"Second and Further Given Names or Initials Thereof");
		data[4] = new ST(message,"Suffix (e.g., JR or III)");
		data[5] = new ST(message,"Prefix (e.g., DR)");
		data[6] = new IS(message, 360,"Degree (e.g., MD");
		data[7] = new IS(message, 297,"Source Table");
		data[8] = new IS(message, 363,"Assigning Authority   - Namespace ID");
		data[9] = new ST(message,"Assigning Authority  - Universal ID");
		data[10] = new ID(message, 301,"Assigning Authority  - Universal ID Type");
	}
Beispiel #20
0
	///<summary>
	/// Creates a OSD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public OSD(IMessage message, string description) : base(message, description){
		data = new IType[11];
		data[0] = new ID(message, 524,"Sequence/Results Flag");
		data[1] = new ST(message,"Placer Order Number: Entity Identifier");
		data[2] = new IS(message, 363,"Placer Order Number: Namespace ID");
		data[3] = new ST(message,"Filler Order Number: Entity Identifier");
		data[4] = new IS(message, 363,"Filler Order Number: Namespace ID");
		data[5] = new ST(message,"Sequence Condition Value");
		data[6] = new NM(message,"Maximum Number of Repeats");
		data[7] = new ST(message,"Placer Order Number: Universal ID");
		data[8] = new ID(message, 301,"Placer Order Number: Universal ID Type");
		data[9] = new ST(message,"Filler Order Number: Universal ID");
		data[10] = new ID(message, 301,"Filler Order Number: Universal ID Type");
	}
Beispiel #21
0
	///<summary>
	/// Creates a XTN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public XTN(IMessage message, string description) : base(message, description){
		data = new IType[12];
		data[0] = new ST(message,"Telephone Number");
		data[1] = new ID(message, 201,"Telecommunication Use Code");
		data[2] = new ID(message, 202,"Telecommunication Equipment Type");
		data[3] = new ST(message,"Email Address");
		data[4] = new NM(message,"Country Code");
		data[5] = new NM(message,"Area/City Code");
		data[6] = new NM(message,"Local Number");
		data[7] = new NM(message,"Extension");
		data[8] = new ST(message,"Any Text");
		data[9] = new ST(message,"Extension Prefix");
		data[10] = new ST(message,"Speed Dial Code");
		data[11] = new ST(message,"Unformatted Telephone number");
	}
Beispiel #22
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[12];
		data[0] = new CQ(message,"Quantity");
		data[1] = new 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 ST(message,"Priority");
		data[6] = new ST(message,"Condition");
		data[7] = new TX(message,"Text");
		data[8] = new ID(message, 472,"Conjunction");
		data[9] = new OSD(message,"Order Sequencing");
		data[10] = new CE(message,"Occurrence Duration");
		data[11] = new NM(message,"Total Occurrences");
	}
Beispiel #23
0
	///<summary>
	/// Creates a XPN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public XPN(IMessage message, string description) : base(message, description){
		data = new IType[14];
		data[0] = new FN(message,"Family Name");
		data[1] = new ST(message,"Given Name");
		data[2] = new ST(message,"Second and Further Given Names or Initials Thereof");
		data[3] = new ST(message,"Suffix (e.g., JR or III)");
		data[4] = new ST(message,"Prefix (e.g., DR)");
		data[5] = new IS(message, 360,"Degree (e.g., MD)");
		data[6] = new ID(message, 200,"Name Type Code");
		data[7] = new ID(message, 465,"Name Representation Code");
		data[8] = new CE(message,"Name Context");
		data[9] = new DR(message,"Name Validity Range");
		data[10] = new ID(message, 444,"Name Assembly Order");
		data[11] = new TS(message,"Effective Date");
		data[12] = new TS(message,"Expiration Date");
		data[13] = new ST(message,"Professional Suffix");
	}
Beispiel #24
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;
}
Beispiel #25
0
	///<summary>
	/// Creates a XAD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public XAD(IMessage message, string description) : base(message, description){
		data = new IType[14];
		data[0] = new SAD(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 ST(message,"Zip or Postal Code");
		data[5] = new ID(message, 399,"Country");
		data[6] = new ID(message, 190,"Address Type");
		data[7] = new ST(message,"Other Geographic Designation");
		data[8] = new IS(message, 289,"County/Parish Code");
		data[9] = new IS(message, 288,"Census Tract");
		data[10] = new ID(message, 465,"Address Representation Code");
		data[11] = new DR(message,"Address Validity Range");
		data[12] = new TS(message,"Effective Date");
		data[13] = new TS(message,"Expiration Date");
	}
Beispiel #26
0
	///<summary>
	/// Creates a LA2.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public LA2(IMessage message, string description) : base(message, description){
		data = new IType[16];
		data[0] = new IS(message, 302,"Point of Care");
		data[1] = new IS(message, 303,"Room");
		data[2] = new IS(message, 304,"Bed");
		data[3] = new HD(message,"Facility");
		data[4] = new IS(message, 306,"Location Status");
		data[5] = new IS(message, 305,"Patient Location Type");
		data[6] = new IS(message, 307,"Building");
		data[7] = new IS(message, 308,"Floor");
		data[8] = new ST(message,"Street Address");
		data[9] = new ST(message,"Other Designation");
		data[10] = new ST(message,"City");
		data[11] = new ST(message,"State or Province");
		data[12] = new ST(message,"Zip or Postal Code");
		data[13] = new ID(message, 399,"Country");
		data[14] = new ID(message, 190,"Address Type");
		data[15] = new ST(message,"Other Geographic Designation");
	}
Beispiel #27
0
 ///<summary>
 /// Creates a SRT.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public SRT(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new ST(message, "Sort-by Field");
     data[1] = new ID(message, 397, "Sequencing");
 }
Beispiel #28
0
	///<summary>
	/// Creates a HD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public HD(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new IS(message, 300,"Namespace ID");
		data[1] = new ST(message,"Universal ID");
		data[2] = new ID(message, 301,"Universal ID Type");
	}
Beispiel #29
0
        /// <summary>   Creates a WVS. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public WVS(IMessage message, string description) : base(message, description)
        {
            data    = new IType[2];
            data[0] = new ST(message, "Source One Name");
            data[1] = new ST(message, "Source Two Name");
        }
Beispiel #30
0
	///<summary>
	/// Creates a SRT.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public SRT(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new ST(message,"Sort-by Field");
		data[1] = new ID(message, 397,"Sequencing");
	}
Beispiel #31
0
        /// <summary>   Creates a WVI. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public WVI(IMessage message, string description) : base(message, description)
        {
            data    = new IType[2];
            data[0] = new NM(message, "Channel Number");
            data[1] = new ST(message, "Channel Name");
        }
Beispiel #32
0
	///<summary>
	/// Creates a WVI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public WVI(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new NM(message,"Channel Number");
		data[1] = new ST(message,"Channel Name");
	}
Beispiel #33
0
	///<summary>
	/// Creates a SCV.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public SCV(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new CWE(message,"Parameter Class");
		data[1] = new ST(message,"Parameter Value");
	}
Beispiel #34
0
 ///<summary>
 /// Creates a RI.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public RI(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new IS(message, 335, "Repeat Pattern");
     data[1] = new ST(message, "Explicit Time Interval");
 }