Example #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, 0,"Type of data");
		data[3] = new ID(message, 0,"Subtype");
	}
Example #2
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 NM(message,"ID number (NM)");
		data[1] = new NM(message,"Check digit (NM)");
		data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
		data[3] = new HD(message,"Assigning authority");
	}
Example #3
0
File: RP.cs Project: nHapiNET/nHapi
 ///<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, 0, "Type of data");
     data[3] = new ID(message, 0, "Subtype");
 }
Example #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 NM(message, "ID number (NM)");
     data[1] = new NM(message, "Check digit (NM)");
     data[2] = new ID(message, 0, "Code identifying the check digit scheme employed");
     data[3] = new HD(message, "Assigning authority");
 }
Example #5
0
File: ED.cs Project: liddictm/nHapi
	///<summary>
	/// Creates a ED.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public ED(IMessage message, string description) : base(message, description){
		data = new IType[5];
		data[0] = new HD(message,"Source application");
		data[1] = new ID(message, 191,"Type of data");
		data[2] = new ID(message, 291,"Data");
		data[3] = new ID(message, 299,"Encoding");
		data[4] = new ST(message,"Data2");
	}
Example #6
0
 ///<summary>
 /// Creates a ED.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public ED(IMessage message, string description) : base(message, description)
 {
     data    = new IType[5];
     data[0] = new HD(message, "Source application");
     data[1] = new ID(message, 191, "Type of data");
     data[2] = new ID(message, 291, "Data");
     data[3] = new ID(message, 299, "Encoding");
     data[4] = new ST(message, "Data2");
 }
Example #7
0
File: CX.cs Project: liddictm/nHapi
	///<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[8];
		data[0] = new ST(message,"ID");
		data[1] = new ST(message,"Check digit (ST)");
		data[2] = new ID(message, 0,"Code identifying the check digit scheme employed");
		data[3] = new HD(message,"Assigning authority");
		data[4] = new ID(message, 203,"Identifier type code (ID)");
		data[5] = new HD(message,"Assigning facility");
		data[6] = new DT(message,"Effective date (DT)");
		data[7] = new DT(message,"Expiration date");
	}
Example #8
0
	///<summary>
	/// Creates a CN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CN(IMessage message, string description) : base(message, description){
		data = new IType[9];
		data[0] = new ST(message,"ID number (ST)");
		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, 0,"Degree (e.g., MD)");
		data[7] = new IS(message, 0,"Source table");
		data[8] = new HD(message,"Assigning authority");
	}
Example #9
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[9];
		data[0] = new ST(message,"Organization name");
		data[1] = new IS(message, 0,"Organization name type code");
		data[2] = new NM(message,"ID number (NM)");
		data[3] = new NM(message,"Check digit (NM)");
		data[4] = new ID(message, 0,"Code identifying the check digit scheme employed");
		data[5] = new HD(message,"Assigning authority");
		data[6] = new IS(message, 0,"Identifier type code (IS)");
		data[7] = new HD(message,"Assigning facility ID");
		data[8] = new ID(message, 0,"Name Representation code");
	}
Example #10
0
        /// <summary>   Creates a CX. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public CX(IMessage message, string description) : base(message, description)
        {
            data    = new IType[8];
            data[0] = new ST(message, "ID");
            data[1] = new ST(message, "Check digit (ST)");
            data[2] = new ID(message, 0, "Code identifying the check digit scheme employed");
            data[3] = new HD(message, "Assigning authority");
            data[4] = new ID(message, 203, "Identifier type code (ID)");
            data[5] = new HD(message, "Assigning facility");
            data[6] = new DT(message, "Effective date (DT)");
            data[7] = new DT(message, "Expiration date");
        }
Example #11
0
	///<summary>
	/// Creates a LA1.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public LA1(IMessage message, string description) : base(message, description){
		data = new IType[9];
		data[0] = new IS(message, 0,"Point of care (IS)");
		data[1] = new IS(message, 0,"Room");
		data[2] = new IS(message, 0,"Bed");
		data[3] = new HD(message,"Facility (HD)");
		data[4] = new IS(message, 0,"Location status");
		data[5] = new IS(message, 0,"Person location type");
		data[6] = new IS(message, 0,"Building");
		data[7] = new IS(message, 0,"Floor");
		data[8] = new AD(message,"Address");
	}
Example #12
0
 ///<summary>
 /// Creates a CN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CN(IMessage message, string description) : base(message, description)
 {
     data    = new IType[9];
     data[0] = new ST(message, "ID number (ST)");
     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, 0, "Degree (e.g., MD)");
     data[7] = new IS(message, 0, "Source table");
     data[8] = new HD(message, "Assigning authority");
 }
Example #13
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[9];
     data[0] = new ST(message, "Organization name");
     data[1] = new IS(message, 0, "Organization name type code");
     data[2] = new NM(message, "ID number (NM)");
     data[3] = new NM(message, "Check digit (NM)");
     data[4] = new ID(message, 0, "Code identifying the check digit scheme employed");
     data[5] = new HD(message, "Assigning authority");
     data[6] = new IS(message, 0, "Identifier type code (IS)");
     data[7] = new HD(message, "Assigning facility ID");
     data[8] = new ID(message, 0, "Name Representation code");
 }
Example #14
0
	///<summary>
	/// Creates a NDL.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public NDL(IMessage message, string description) : base(message, description){
		data = new IType[11];
		data[0] = new CNN(message,"Name");
		data[1] = new TS(message,"Start date/time");
		data[2] = new TS(message,"End date/time");
		data[3] = new IS(message, 0,"Point of care (IS)");
		data[4] = new IS(message, 0,"Room");
		data[5] = new IS(message, 0,"Bed");
		data[6] = new HD(message,"Facility (HD)");
		data[7] = new IS(message, 0,"Location status");
		data[8] = new IS(message, 0,"Person location type");
		data[9] = new IS(message, 0,"Building");
		data[10] = new IS(message, 0,"Floor");
	}
Example #15
0
 ///<summary>
 /// Creates a NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public NDL(IMessage message, string description) : base(message, description)
 {
     data     = new IType[11];
     data[0]  = new CNN(message, "Name");
     data[1]  = new TS(message, "Start date/time");
     data[2]  = new TS(message, "End date/time");
     data[3]  = new IS(message, 0, "Point of care (IS)");
     data[4]  = new IS(message, 0, "Room");
     data[5]  = new IS(message, 0, "Bed");
     data[6]  = new HD(message, "Facility (HD)");
     data[7]  = new IS(message, 0, "Location status");
     data[8]  = new IS(message, 0, "Person location type");
     data[9]  = new IS(message, 0, "Building");
     data[10] = new IS(message, 0, "Floor");
 }
Example #16
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, 0,"Point of care (IS)");
		data[1] = new IS(message, 0,"Room");
		data[2] = new IS(message, 0,"Bed");
		data[3] = new HD(message,"Facility (HD)");
		data[4] = new IS(message, 0,"Location status");
		data[5] = new IS(message, 0,"Person location type");
		data[6] = new IS(message, 0,"Building");
		data[7] = new IS(message, 0,"Floor");
		data[8] = new ST(message,"Street address (ST)");
		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, 0,"Country");
		data[14] = new ID(message, 0,"Address type");
		data[15] = new ST(message,"Other geographic designation");
	}
Example #17
0
        /// <summary>   Creates a LA2. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public LA2(IMessage message, string description) : base(message, description)
        {
            data     = new IType[16];
            data[0]  = new IS(message, 0, "Point of care (IS)");
            data[1]  = new IS(message, 0, "Room");
            data[2]  = new IS(message, 0, "Bed");
            data[3]  = new HD(message, "Facility (HD)");
            data[4]  = new IS(message, 0, "Location status");
            data[5]  = new IS(message, 0, "Person location type");
            data[6]  = new IS(message, 0, "Building");
            data[7]  = new IS(message, 0, "Floor");
            data[8]  = new ST(message, "Street address (ST)");
            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, 0, "Country");
            data[14] = new ID(message, 0, "Address type");
            data[15] = new ST(message, "Other geographic designation");
        }
Example #18
0
	///<summary>
	/// Creates a XCN.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public XCN(IMessage message, string description) : base(message, description){
		data = new IType[18];
		data[0] = new ST(message,"ID number (ST)");
		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, 0,"Degree (e.g., MD)");
		data[7] = new IS(message, 0,"Source table");
		data[8] = new HD(message,"Assigning authority");
		data[9] = new ID(message, 0,"Name type code");
		data[10] = new ST(message,"Identifier check digit");
		data[11] = new ID(message, 0,"Code identifying the check digit scheme employed");
		data[12] = new IS(message, 0,"Identifier type code (IS)");
		data[13] = new HD(message,"Assigning facility");
		data[14] = new ID(message, 0,"Name Representation code");
		data[15] = new CE(message,"Name context");
		data[16] = new DR(message,"Name validity range");
		data[17] = new ID(message, 0,"Name assembly order");
	}
Example #19
0
 ///<summary>
 /// Creates a XCN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public XCN(IMessage message, string description) : base(message, description)
 {
     data     = new IType[18];
     data[0]  = new ST(message, "ID number (ST)");
     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, 0, "Degree (e.g., MD)");
     data[7]  = new IS(message, 0, "Source table");
     data[8]  = new HD(message, "Assigning authority");
     data[9]  = new ID(message, 0, "Name type code");
     data[10] = new ST(message, "Identifier check digit");
     data[11] = new ID(message, 0, "Code identifying the check digit scheme employed");
     data[12] = new IS(message, 0, "Identifier type code (IS)");
     data[13] = new HD(message, "Assigning facility");
     data[14] = new ID(message, 0, "Name Representation code");
     data[15] = new CE(message, "Name context");
     data[16] = new DR(message, "Name validity range");
     data[17] = new ID(message, 0, "Name assembly order");
 }